decompose architecture into 38 atomic tasks across 12 parallel generations
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.
This commit is contained in:
39
tasks/component-map.md
Normal file
39
tasks/component-map.md
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
id: component/map
|
||||
name: Implement <Map> ujsx component
|
||||
status: pending
|
||||
depends_on:
|
||||
- schema/edge-attrs
|
||||
- setup/project-init
|
||||
scope: narrow
|
||||
risk: low
|
||||
impact: component
|
||||
level: implementation
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
Implement the `Map` ujsx component function. Represents mapping over an array — creates one child instance per array item. Structurally equivalent to a dynamically-generated Parallel group.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] `src/component/map.ts` exports `Map` component function
|
||||
- [ ] `Map` produces `UElement` with `type: "map"`
|
||||
- [ ] Props: `over: Signal<unknown[]> | unknown[] | ((results: Record<string, CallResult>) => unknown[])` (required), `as: string` (required), `children: UNode` (required — template rendered per item)
|
||||
- [ ] The `as` prop names the variable each item is bound to
|
||||
- [ ] Aggregate completion semantics: all mapped nodes must reach satisfying terminal state for Map to be "completed"; any failed/aborted child makes Map failed/aborted
|
||||
- [ ] Re-exported from `src/component/index.ts`
|
||||
- [ ] Unit tests: correct UElement shape with each over form (static, function), as prop preserved
|
||||
|
||||
## References
|
||||
|
||||
- docs/architecture/workflow-templates.md — Map component, aggregate completion semantics, edge type
|
||||
- docs/architecture/reactive-execution.md — Map reactive behavior, maxConcurrency interaction
|
||||
|
||||
## Notes
|
||||
|
||||
> To be filled by implementation agent
|
||||
|
||||
## Summary
|
||||
|
||||
> To be filled on completion
|
||||
Reference in New Issue
Block a user