37 lines
1000 B
Markdown
37 lines
1000 B
Markdown
---
|
|
id: component/sequential
|
|
name: Implement <Sequential> ujsx component
|
|
status: completed
|
|
depends_on:
|
|
- setup/project-init
|
|
scope: single
|
|
risk: trivial
|
|
impact: component
|
|
level: implementation
|
|
---
|
|
|
|
## Description
|
|
|
|
Implement the `Sequential` ujsx component function. Structural container that renders children in order with sequential edges between consecutive siblings.
|
|
|
|
## Acceptance Criteria
|
|
|
|
- [ ] `src/component/sequential.ts` exports `Sequential` component function
|
|
- [ ] `Sequential` produces `UElement` with `type: "sequential"`
|
|
- [ ] Props: optional `id: string`
|
|
- [ ] Valid children: Operation, Sequential, Parallel, Conditional, Map
|
|
- [ ] Single-child Sequential is valid but degenerate (produces no edges)
|
|
- [ ] Re-exported from `src/component/index.ts`
|
|
- [ ] Unit tests: correct UElement shape
|
|
|
|
## References
|
|
|
|
- docs/architecture/workflow-templates.md — Sequential component, composition rules
|
|
|
|
## Notes
|
|
|
|
> To be filled by implementation agent
|
|
|
|
## Summary
|
|
|
|
> To be filled on completion |