Skip to content

Write scenario tests for mgw:project state detection all six STATE_CLASS paths #253

@snipcodeit

Description

@snipcodeit

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

  • Write scenario tests for mgw:project state detection all six STATE_CLASS paths

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

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions