Skip to content

docs: create ARCHITECTURE.md explaining MGW and GSD separation#48

Merged
snipcodeit merged 1 commit intomainfrom
issue/25-create-docs-architecture-md
Feb 27, 2026
Merged

docs: create ARCHITECTURE.md explaining MGW and GSD separation#48
snipcodeit merged 1 commit intomainfrom
issue/25-create-docs-architecture-md

Conversation

@snipcodeit
Copy link
Owner

Summary

  • Create comprehensive docs/ARCHITECTURE.md covering the two-layer model (MGW orchestrates GitHub, GSD executes code), the delegation boundary rule, and the end-to-end data flow from issue to PR
  • Document pipeline stages, state management (.mgw/ schema), agent delegation model, slash command anatomy, CLI architecture, directory structure, and shared workflow system
  • Explain how GSD artifacts (PLAN.md, SUMMARY.md, VERIFICATION.md) flow into PR descriptions

Closes #25

Milestone Context

  • Milestone: v1 — Documentation & Developer Experience
  • Phase: 5 — Extended Documentation
  • Issue: 1 of 4 in milestone

Changes

  • docs/
    • ARCHITECTURE.md — new file (779 lines): system overview, two-layer model, delegation boundary, issue-to-PR data flow, command pipeline flow, state management, agent delegation model, slash command anatomy, CLI architecture, directory structure, shared workflow system, GSD artifact flow

Test Plan

  • Verify docs/ARCHITECTURE.md renders correctly on GitHub
  • Confirm all internal links (README, CONTRIBUTING) resolve
  • Review accuracy of pipeline stage diagram against commands/run.md
  • Review accuracy of state schema against workflows/state.md
  • Verify directory structure matches actual repo layout

Add comprehensive architecture documentation covering the two-layer model
(MGW orchestrates GitHub, GSD executes code), the delegation boundary rule,
end-to-end data flow from issue to PR, pipeline stages, state management
(.mgw/ schema), agent delegation model, slash command anatomy, CLI
architecture, directory structure, shared workflow system, and how GSD
artifacts flow into PR descriptions.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create docs/ARCHITECTURE.md explaining MGW and GSD separation

1 participant