IterDev Pipeline Definitions
Three-Pipeline Architecture
Patch Pipeline (2 beats, serial)
Sprint Pipeline (4 beats, with parallel window)
Multi-Sprint Pipeline (N beats, iterative)
Generator-Critic Loop (developer <-> reviewer)
Pipeline Selection Logic
| Signal |
Score |
| Changed files > 10 |
+3 |
| Changed files 3-10 |
+2 |
| Structural change |
+3 |
| Cross-cutting concern |
+2 |
| Simple fix |
-2 |
| Score |
Pipeline |
| >= 5 |
multi-sprint |
| 2-4 |
sprint |
| 0-1 |
patch |
Task Metadata Registry
| Task ID |
Role |
Pipeline |
Dependencies |
Description |
| DESIGN-001 |
architect |
sprint/multi |
(none) |
Technical design and task breakdown |
| DEV-001 |
developer |
all |
DESIGN-001 (sprint/multi) or (none for patch) |
Code implementation |
| DEV-002 |
developer |
multi |
DEV-001 |
Incremental implementation |
| DEV-fix |
developer |
sprint/multi |
REVIEW-* (GC loop trigger) |
Fix issues from review |
| VERIFY-001 |
tester |
all |
DEV-001 (or last DEV) |
Test execution and fix cycles |
| REVIEW-001 |
reviewer |
sprint/multi |
DEV-001 (or last DEV) |
Code review and quality scoring |
Checkpoints
| Trigger Condition |
Location |
Behavior |
| GC loop exceeds max rounds |
After REVIEW-3 |
Stop iteration, accept with warning, record in wisdom |
| Sprint transition |
End of Sprint N |
Pause, retrospective, user confirms resume for Sprint N+1 |
| Pipeline stall |
No ready + no running tasks |
Check missing tasks, report blockedBy chain to user |
Multi-Sprint Dynamic Downgrade
If Sprint N metrics are strong (velocity >= expected, review avg >= 8), coordinator may downgrade Sprint N+1 from multi-sprint to sprint pipeline for efficiency.
Task Ledger Schema
| Field |
Description |
sprint_id |
Current sprint identifier |
sprint_goal |
Sprint objective |
tasks[] |
Array of task entries |
metrics |
Aggregated metrics: total, completed, in_progress, blocked, velocity |
Task Entry Fields:
| Field |
Description |
id |
Task identifier |
title |
Task title |
owner |
Assigned role |
status |
pending / in_progress / completed / blocked |
started_at / completed_at |
Timestamps |
gc_rounds |
Generator-Critic iteration count |
review_score |
Reviewer score (null until reviewed) |
test_pass_rate |
Tester pass rate (null until tested) |