-
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
blocked-by:#247Blocked by issue #247Blocked by issue #247infrastructurephase:47-mock-infrastructurePhase 47: Mock InfrastructurePhase 47: Mock InfrastructuretestingTest coverageTest coverage
Description
Description
Implement a fake GSD agent runner that intercepts Task() spawns in MGW commands during tests. Stubs should: accept the prompt/subagent_type, return configurable outputs, and record spawn calls for assertion. Config via test/fixtures/agents/ JSON files.
Acceptance Criteria
- Create lib/mock-gsd-agent.cjs with fake Task() agent stubs
Milestone Context
| Milestone | v6 — Local Testing & Simulation Framework |
| Phase | Phase 47: Mock Infrastructure |
| GSD Route | plan-phase |
| Phase Position | Phase 1 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
Build the foundational mock layer — GitHub API interceptors and fake GSD agent stubs that respond predictably so test scenarios can run fully offline.
Dependencies
create-lib-mock-github-cjs-with-github-api-int
Scope Hints
- Estimated route:
plan-phase - Labels: testing,infrastructure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
blocked-by:#247Blocked by issue #247Blocked by issue #247infrastructurephase:47-mock-infrastructurePhase 47: Mock InfrastructurePhase 47: Mock InfrastructuretestingTest coverageTest coverage