Skip to content

Write pipeline stage transition tests for mgw:run via mock agents #252

@snipcodeit

Description

@snipcodeit

Description

Simulate a full mgw:run cycle (triage to plan to execute to verify to pr-created) using mock agents. Assert: pipeline_stage transitions, checkpoint pipeline_step progression, comments posted at each stage, board Status field updated via mock GraphQL. One happy-path test and two failure-mode tests.

Acceptance Criteria

  • Write pipeline stage transition tests for mgw:run via mock agents

Milestone Context

Milestone v6 — Local Testing & Simulation Framework
Phase Phase 48: State & Pipeline Tests
GSD Route plan-phase
Phase Position Phase 2 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

Test coverage for lib/state.cjs functions, the validate_and_load pattern, and core pipeline stage transitions used in mgw:run and mgw:milestone.

Dependencies

write-tests-for-checkpoint-read-write-and-resume

Scope Hints

  • Estimated route: plan-phase
  • Labels: testing,pipeline

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions