Skip to content

docs: fix C4 diagrams based on Simon Brown's review#276

Merged
rdmueller merged 1 commit intodocToolchain:mainfrom
raifdmueller:fix/c4-diagram-review-272
Feb 9, 2026
Merged

docs: fix C4 diagrams based on Simon Brown's review#276
rdmueller merged 1 commit intodocToolchain:mainfrom
raifdmueller:fix/c4-diagram-review-272

Conversation

@raifdmueller
Copy link
Collaborator

Summary

Simon Brown (creator of the C4 model) reviewed our Building Block View diagrams and gave a 6/10. This PR addresses all four of his feedback points:

  1. Level 2 — File System moved inside system boundary as ContainerDb (it's dacli's data store per ADR-001, not an external system). Legend now consistent via LAYOUT_WITH_LEGEND().

  2. Level 3 MCP — File System as ContainerDb instead of System_Ext. Added abstraction type in Container_Boundary label for clarity without relying on grey shades.

  3. Level 3 CLI — All shared components (Parsers, Index, File Handler) now inside the container boundary, consistent with the MCP Server diagram.

  4. "Level 3: Document Parsers" removed — "Document Parsers" is a component, not a container. You can't zoom into components in C4. Replaced with a text-based "Document Parser Architecture" section with comparison table and class descriptions.

Ref: #272

Test plan

  • All 702 tests pass
  • dacli correctly parses updated sections

🤖 Generated with Claude Code

Fixes based on unsolicited diagram review by the C4 model creator:

- Level 2: File System moved inside system boundary as ContainerDb
  (it's dacli's data store per ADR-001, not an external system)
- Level 2: Use LAYOUT_WITH_LEGEND() consistently across all diagrams
- Level 3 MCP: Add Service Layer component, use ContainerDb for
  file system, add abstraction type in Container_Boundary label
- Level 3 CLI: Move all shared components (Parsers, Index, File
  Handler) inside the container boundary for consistency with MCP
- Remove fake "Level 3: Document Parsers" C4 component diagram
  (Document Parsers is a component, not a container — you can't
  zoom into components in C4). Replace with text description and
  comparison table under "Document Parser Architecture".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rdmueller rdmueller merged commit ab03bb3 into docToolchain:main Feb 9, 2026
4 checks passed
@raifdmueller raifdmueller deleted the fix/c4-diagram-review-272 branch February 9, 2026 09:56
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