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.
1.4 KiB
1.4 KiB
id, name, status, depends_on, scope, risk, impact, level
| id | name | status | depends_on | scope | risk | impact | level | ||
|---|---|---|---|---|---|---|---|---|---|
| component/map | Implement <Map> ujsx component | pending |
|
narrow | low | component | 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.tsexportsMapcomponent functionMapproducesUElementwithtype: "map"- Props:
over: Signal<unknown[]> | unknown[] | ((results: Record<string, CallResult>) => unknown[])(required),as: string(required),children: UNode(required — template rendered per item) - The
asprop 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