Sub-roadmap: DAG runtime phase 4 — IntegrationCandidate and repair loop
Parent roadmap: #167
Related: #168, #190, #172, #189
Runtime-first sequence: phase 4 of 4
MVP inclusion: no — post-MVP hardening
Summary
Define and implement post-MVP convergence: failed or partial results generate repair tasks, verified worker outputs become IntegrationCandidate records, and integration dry-runs gate final completion.
Goal
Ilchul should be able to move from parallel task completion to safe convergence: repair what failed, combine what passed, and preserve evidence for final verification.
Scope
- Repair task creation rules.
- Repair budget consumption.
- Same-worker vs different-worker retry policy.
- Failed dependency downstream behavior.
- Task supersession model.
- IntegrationCandidate model.
- Integration dry-run workflow.
- Conflict detection and reporting.
- Regression/evaluation gate before final completion.
- Events for repair-created, task-superseded, integration-candidate-created, integration-started, integration-passed, integration-failed.
Non-goals
- No automatic merge to main/dev.
- No GitHub PR merge/tracker semantics in core.
- No destructive branch/worktree cleanup.
- No automatic objective weight changes.
Acceptance criteria
Verification
- Unit tests for repair task generation.
- Unit tests for supersession.
- Unit tests for repair budget exhaustion.
- Integration dry-run fixture with clean result.
- Integration dry-run fixture with conflict result.
Sub-roadmap: DAG runtime phase 4 — IntegrationCandidate and repair loop
Parent roadmap: #167
Related: #168, #190, #172, #189
Runtime-first sequence: phase 4 of 4
MVP inclusion: no — post-MVP hardening
Summary
Define and implement post-MVP convergence: failed or partial results generate repair tasks, verified worker outputs become IntegrationCandidate records, and integration dry-runs gate final completion.
Goal
Ilchul should be able to move from parallel task completion to safe convergence: repair what failed, combine what passed, and preserve evidence for final verification.
Scope
Non-goals
Acceptance criteria
Verification