Skip to content

docs: add comprehensive architecture document (ARCHITECTURE_v1.md)#207

Merged
forketyfork merged 3 commits intomainfrom
claude/document-architecture-eT1x5
Feb 8, 2026
Merged

docs: add comprehensive architecture document (ARCHITECTURE_v1.md)#207
forketyfork merged 3 commits intomainfrom
claude/document-architecture-eT1x5

Conversation

@forketyfork
Copy link
Owner

Structured overview of the system architecture including component
diagram (Mermaid), data flow diagrams, module boundary table for all
61 source files, and 12 architecture decision records in ADR format.

https://claude.ai/code/session_013745dWh9pqJUxB6j82uhw9

claude and others added 3 commits February 7, 2026 22:26
Structured overview of the system architecture including component
diagram (Mermaid), data flow diagrams, module boundary table for all
61 source files, and 12 architecture decision records in ADR format.

https://claude.ai/code/session_013745dWh9pqJUxB6j82uhw9
Rename ARCHITECTURE_v1.md to ARCHITECTURE.md and restructure based on
review feedback: add dependency direction rules, "Rules for New Code"
section extracting key patterns from ADRs, and a "Where to Put New Code"
decision table. Simplify the component diagram to show layer groups
instead of individual files, and collapse the module boundary table from
50+ rows to ~18 by grouping ui/components/*, app/*, session/*, gfx/*,
and shared utilities into single rows.
The app/* modules import c.zig directly for SDL type definitions in
input handling, which is technically a cross-layer dependency. Document
this as an explicit exception to the downward-only dependency rule.
@forketyfork forketyfork merged commit 72fe50b into main Feb 8, 2026
4 checks passed
@forketyfork forketyfork deleted the claude/document-architecture-eT1x5 branch February 8, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants