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.
53 lines
2.0 KiB
Markdown
53 lines
2.0 KiB
Markdown
---
|
|
id: review/reactive-and-hosts
|
|
name: Review reactive execution and host configs — signal graph, preconditions, HostConfig implementations
|
|
status: pending
|
|
depends_on:
|
|
- reactive/workflow-root
|
|
- reactive/node-status
|
|
- reactive/max-concurrency
|
|
- reactive/retry-semantics
|
|
- host/graphology
|
|
- host/reactive
|
|
- component/operation
|
|
- component/sequential
|
|
- component/parallel
|
|
- component/conditional
|
|
- component/map
|
|
- review/foundation
|
|
scope: broad
|
|
risk: medium
|
|
impact: phase
|
|
level: 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 |