Skip to content

Sub-roadmap: DAG runtime phase 4 — IntegrationCandidate and repair loop #195

@devkade

Description

@devkade

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

  • Evaluation failures can create repair tasks.
  • Repair tasks can supersede failed tasks.
  • Repair budget is tracked.
  • Passed worker outputs can become IntegrationCandidate records.
  • Integration dry-run result is recorded.
  • Conflicts block final integration and produce actionable evidence.
  • Final completion requires integration evidence when integration is in scope.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions