docs: add internal architecture deep-dive with diagrams#15
Conversation
Add docs/internals/ — a 14-part, code-grounded explanation of how the Claude Code CLI works internally, with 42 Mermaid architecture diagrams. Covers: startup/entrypoints, the agentic query loop, context & prompt assembly + compaction, the tool system, slash commands, permissions, services (API/auth/analytics/cost), MCP, multi-agent/coordinator/tasks, React+Ink UI/state, bridge/remote/server surfaces, plugins/skills/memory, and the build system + feature flags. Each subsystem doc includes file:line anchors and a key-symbols table. Also adds a discoverability pointer from docs/architecture.md. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (15)
📝 WalkthroughWalkthroughAdds ChangesInternal Architecture Documentation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Adds
docs/internals/— a 14-part, code-grounded explanation of how the Claude Code CLI works internally, with 42 Mermaid architecture diagrams.Covers, one doc per subsystem (each with file:line anchors + a key-symbols table):
Also adds a discoverability pointer from
docs/architecture.md.Notes
src/.docs/internals/README.md.🤖 Generated with Claude Code
Summary by CodeRabbit