Decompose the reviewed architecture specs into taskgraph-managed tasks: - 2 setup tasks (project init, test infrastructure) - 4 schema tasks (enums, node attrs, edge attrs, graph schemas) - 1 error hierarchy task - 6 graph tasks (FlowGraph class, 3 construction paths, queries, validation) - 5 analysis tasks (type-compat, build-type-edges, ordering, template-validation, defaults) - 5 component tasks (Operation, Sequential, Parallel, Conditional, Map) - 2 host config tasks (GraphologyHostConfig, ReactiveHostConfig) - 4 reactive tasks (WorkflowRoot, node-status, max-concurrency, retry-semantics) - 3 review tasks (foundation, reactive-and-hosts, complete-library) - 5 meta cluster tasks (schema, graph, component, reactive, analysis layers) - 1 API exports task Validated with taskgraph: zero cycles, 38 tasks, 12 parallel generations. Critical path: 12 tasks through reactive execution layer.
2.0 KiB
2.0 KiB
id, name, status, depends_on, scope, risk, impact, level
| id | name | status | depends_on | scope | risk | impact | level | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| review/reactive-and-hosts | Review reactive execution and host configs — signal graph, preconditions, HostConfig implementations | pending |
|
broad | medium | phase | review |
Description
Review the reactive execution layer and host config implementations before final integration. Verify signal-backed state management is correct, preconditions drive proper state transitions, failure propagation follows dependency edges, and both HostConfig implementations render templates correctly.
Acceptance Criteria
- WorkflowReactiveRoot initializes signals correctly for all DAG nodes
- EventLogProjection correctly derives status and results from event log per ADR-005
- Computed preconditions: correct for Sequential, Parallel, Conditional, and join scenarios
- blockedByFailure: correctly propagates failures along dependency edges, NOT structural scope
- GraphologyHostConfig: Sequential → sequential edges, Parallel → no inter-child edges, Conditional → conditional edges with dataFlow
- ReactiveHostConfig: creates WorkflowNodes with correct signal references
- Conditional as error boundary: then-branch skipped, else-branch activated, downstream sees completed
- maxConcurrency semaphore limits parallel starts correctly
- Retry semantics: new requestId, projection reflects latest attempt
- dispose() cleans up all signals and effects — no leaks
- All tests pass:
npm test - TypeScript strict mode compilation succeeds:
npx tsc --noEmit
References
- docs/architecture/reactive-execution.md, docs/architecture/host-configs.md, docs/architecture/workflow-templates.md
Notes
To be filled by implementation agent
Summary
To be filled on completion