37 lines
1.0 KiB
Markdown
37 lines
1.0 KiB
Markdown
---
|
|
id: component/parallel
|
|
name: Implement <Parallel> ujsx component
|
|
status: completed
|
|
depends_on:
|
|
- setup/project-init
|
|
scope: single
|
|
risk: trivial
|
|
impact: component
|
|
level: implementation
|
|
---
|
|
|
|
## Description
|
|
|
|
Implement the `Parallel` ujsx component function. Structural container where all children execute simultaneously with no inter-child edges.
|
|
|
|
## Acceptance Criteria
|
|
|
|
- [ ] `src/component/parallel.ts` exports `Parallel` component function
|
|
- [ ] `Parallel` produces `UElement` with `type: "parallel"`
|
|
- [ ] Props: optional `id: string`, optional `maxConcurrency: number`
|
|
- [ ] `maxConcurrency` is a runtime scheduling hint, not a structural constraint (not encoded in DAG)
|
|
- [ ] Valid children: Operation, Sequential, Parallel, Conditional, Map
|
|
- [ ] Re-exported from `src/component/index.ts`
|
|
- [ ] Unit tests: correct UElement shape, maxConcurrency prop preserved
|
|
|
|
## References
|
|
|
|
- docs/architecture/workflow-templates.md — Parallel component, maxConcurrency semantics
|
|
|
|
## Notes
|
|
|
|
> To be filled by implementation agent
|
|
|
|
## Summary
|
|
|
|
> To be filled on completion |