学习工作台文章阅读
工作台/文章/附录 F · 模块 × 章节双向矩阵
返回文章列表
2026年7月11日3 分钟

附录 F模块 × 章节双向矩阵

墨圆
墨圆团队发布于 2026年7月11日

来源与授权

本文来自 Claude-Code-Source-Study 原文,固定导入版本为 31b6e07a82d4。Copyright (c) 2026 Yao,依据 MIT License 提供。

本站仅按“github-public-noncommercial-2026-07-11”用于匿名、免费、非商业学习,并调整章节编排、站内链接、重复标题与阅读标记;不代表原作者对本站的合作、认证或背书。如权利方要求删除,我们会立即下架;授权或删除请求请通过本站首页底部公开联系方式联系。

生成脚本:scripts/gen-module-matrix.ts;source_commit: 290fdc9481a70612bc5823aa4ed225c52c52aad3

正表:章节 → 覆盖目录

章节标题覆盖一级目录
C01项目全景与四种入口形态entrypoints/
C02启动链路与冷启动优化entrypoints/, screens/
C03配置体系与企业 MDMservices/, utils/
C04配置迁移即代码migrations/
C05QueryEngine 与对话主循环query/
C06System Prompt 与 Output Style 注入constants/, outputStyles/
C07上下文压缩家族services/
C08Prompt Cache 横切services/
C09Thinking、Effort 与 Advisorcommands/, services/
C10工具协议、注册与 ToolSearchtools/
C11BashTool / PowerShellTool 双 shelltools/
C12文件、代码与 LSP 协作族tools/, services/
C13通信、调度、问询与合成工具tools/
C14Agent 系统与 Sub-Agent 调用tools/, services/, commands/
C15内置 Agent 设计模式tools/
C16任务模型与 TaskType 谱系tasks/, tools/
C17Coordinator、Cron 与定时调度coordinator/, tools/, hooks/
C18MCP 协议实现services/, tools/
C19权限系统与远程权限回灌hooks/, bridge/, remote/
C20Hooks 系统schemas/, hooks/, query/
C21Skill / Plugin / Output Style 三扩展点skills/, services/, plugins/, outputStyles/
C22Feature Flag 与编译期优化utils/, constants/
C23客户端传输与 API 重试services/, cli/
C24Bridge IPC 与远程会话bridge/, remote/, commands/
C25DirectConnect 与上游代理server/, upstreamproxy/, hooks/
C26Ink 框架深度定制ink/, native-ts/
C27组件与设计系统components/
C28Keybindings、Vim、Voice 输入keybindings/, vim/, voice/, services/, hooks/, commands/
C29Buddy 人格buddy/
C30Doctor 屏与 Output Style UXscreens/, outputStyles/, commands/
C31Memory 子系统全景memdir/, services/, assistant/
C32命令系统全景commands/
C33状态管理与跨进程桥state/, bridge/
C34架构模式总结(横切)

反查:目录 → 覆盖章节

一级目录覆盖章节
assistant/C31
bootstrap/
bridge/C19, C24, C33
buddy/C29
cli/C23
commands/C09, C14, C24, C28, C30, C32
components/C27
constants/C06, C22
context/
coordinator/C17
entrypoints/C01, C02
hooks/C17, C19, C20, C25, C28
ink/C26
keybindings/C28
memdir/C31
migrations/C04
moreright/
native-ts/C26
outputStyles/C06, C21, C30
plugins/C21
query/C05, C20
remote/C19, C24
schemas/C20
screens/C02, C30
server/C25
services/C03, C07, C08, C09, C12, C14, C18, C21, C23, C28, C31
skills/C21
state/C33
tasks/C16
tools/C10, C11, C12, C13, C14, C15, C16, C17, C18
types/
upstreamproxy/C25
utils/C03, C22
vim/C28
voice/C28

孤儿目录

当前 commit 下 orphans=0(孤儿统计已剔除 scripts/orphan-allowlist.txt 中的条目)。

白名单(scripts/orphan-allowlist.txt)共 5 项:bootstrap/, context/, moreright/, types/, utils/

说明:反查表里的 标记任何未被成书章节直接覆盖的一级目录(即 reverse_index[dir] 为空),与是否在白名单无关。孤儿统计(orphans)= 出现 的目录集合再剔除 scripts/orphan-allowlist.txt 中的条目。白名单中如 utils/ 等条目实际被章节叙事覆盖,反查表里仍显示具体章号,并不出现 ——这属于"白名单兜底但实际不需要兜底",不算矛盾。