Description
Instrument mgw:run to write checkpoints at each pipeline_stage transition (new->triaged, triaged->planning, planning->executing, etc.). Each checkpoint captures the full state needed to resume from that point: issue context, triage results, plan artifacts, execution progress. Checkpoint writes are atomic (write to .tmp then rename) to prevent corruption from interrupts.
Acceptance Criteria
Milestone Context
- Milestone: v8 — Agent Reliability & Failure Recovery
- Phase: Phase 46: Checkpoint & Resume for Long-Running Pipelines
- GSD Route: plan-phase
Dependencies
design-checkpoint-schema-for-pipeline-exec
Description
Instrument mgw:run to write checkpoints at each pipeline_stage transition (new->triaged, triaged->planning, planning->executing, etc.). Each checkpoint captures the full state needed to resume from that point: issue context, triage results, plan artifacts, execution progress. Checkpoint writes are atomic (write to .tmp then rename) to prevent corruption from interrupts.
Acceptance Criteria
Milestone Context
Dependencies
design-checkpoint-schema-for-pipeline-exec