Description
One test per STATE_CLASS: Fresh, GSD-Only, GSD-Mid-Exec, Aligned, Diverged, Extend. Each test loads a fixture with pre-seeded .mgw/ and .planning/ state and asserts the correct routing branch is taken.
Acceptance Criteria
Milestone Context
|
|
| Milestone |
v6 — Local Testing & Simulation Framework |
| Phase |
Phase 49: Command Scenario Tests |
| GSD Route |
plan-phase |
| Phase Position |
Phase 3 of 4 in milestone |
Milestone Goal
Offline test suite with mock GitHub API and fake GSD agents to validate MGW orchestration logic without requiring live GitHub tokens or active Claude API calls.
Phase Goal
Scenario-based tests for mgw:project (all six state classes), mgw:milestone execution loop and recovery, and mgw:sync drift detection.
Dependencies
write-pipeline-stage-transition-tests-for-mgwrun
Scope Hints
- Estimated route:
plan-phase
- Labels: testing,mgw:project
Description
One test per STATE_CLASS: Fresh, GSD-Only, GSD-Mid-Exec, Aligned, Diverged, Extend. Each test loads a fixture with pre-seeded .mgw/ and .planning/ state and asserts the correct routing branch is taken.
Acceptance Criteria
Milestone Context
plan-phaseMilestone Goal
Offline test suite with mock GitHub API and fake GSD agents to validate MGW orchestration logic without requiring live GitHub tokens or active Claude API calls.
Phase Goal
Scenario-based tests for mgw:project (all six state classes), mgw:milestone execution loop and recovery, and mgw:sync drift detection.
Dependencies
write-pipeline-stage-transition-tests-for-mgwrun
Scope Hints
plan-phase