docs: 增加 Claude Code 模型路由 (#7)

This commit is contained in:
QiuSW
2026-08-08 11:18:06 +08:00
parent c6f353cbbb
commit 3bfe752a92
2 changed files with 30 additions and 1 deletions
+7
View File
@@ -206,6 +206,13 @@ def check_claude_code_entry(errors: list[str], root: Path = ROOT) -> None:
"共同规则事实来源",
"只记录 Claude Code 特有",
"只修改 `AGENTS.md`",
"## 模型路由",
"## Agent 交接",
"## Haiku 只读约束",
"当前模型足以完成任务时不升级模型",
"Opus 输出方案后必须等待用户确认",
"不让 Haiku 决定最终根因",
"只读必须通过子 Agent 工具权限实现",
)
for section in missing_sections(content, required):
errors.append(f"CLAUDE.md 缺少:{section}")