Skip to content

Write scenario tests for mgw:sync drift detection and auto-sync #255

@snipcodeit

Description

@snipcodeit

Description

Cover: no-drift baseline, stale state auto-sync where GitHub updatedAt is newer than local mtime, comment delta drift, PR merged but local stage still pr-created. Assert correct state mutations and console output per scenario.

Acceptance Criteria

  • Write scenario tests for mgw:sync drift detection and auto-sync

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-scenario-tests-for-mgwmilestone-execution-

Scope Hints

  • Estimated route: plan-phase
  • Labels: testing,mgw:sync

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions