Repository navigation
脚手架精简:只保留防事故的最小规则集 - #275
Merged
Merged
Conversation
- AGENTS.md 精简为一页:关键不变量、机器职责、单一主实施代理、提交与证据等级、事实源。 - CLAUDE.md 只剩 @AGENTS.md 与 Claude 特有三行;/verify 技能精简为入口与等级。 - 删除:tdd-task 技能、retro 命令、.claude/rules/(历史判例、过时的部署边界、 与 docs/architecture 重复的 owner 表)、Stop hook 与 stop_gate.sh、Codex 的 loop-planner / loop-executor(含 merge_gate.py)、通用 Codex 子代理、reviewer 锚点对齐测试。 - 保留:两份 reviewer 定义、bash_guard.sh(PreToolUse)、merge_pr.sh 合并门禁。 - 修正 docs / 脚本 / 测试注释中指向被删文件的引用。 Refs #274 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
结果
代理脚手架从约 1,500 行降到约 200 行(AGENTS.md 63 行、CLAUDE.md 9 行、/verify 19 行,加两份 reviewer 定义与 settings)。保留真正防事故的规则与机制,去掉流程文书与重复规则;每轮收口不再被 Stop hook 拦截。删留清单与理由见 #274。
改动
AGENTS.md(关键不变量全部保留,含时区对齐与 Cloudflare Free 预算)、CLAUDE.md、.claude/skills/verify/SKILL.md。.claude/skills/tdd-task/、.claude/commands/retro.md、.claude/rules/、Stop hook +scripts/stop_gate.sh+tests/test_stop_gate.py、.agents/skills/loop-*(含merge_gate.py)+tests/test_loop_*、.codex/agents/{explorer,implementer,tester}.toml、tests/test_reviewer_governance.py。.claude/agents/reviewer.md、.codex/agents/reviewer.toml、scripts/bash_guard.sh(PreToolUse)、scripts/merge_pr.sh。docs/architecture/architecture.md、docs/architecture/local-worker-development.md(过时的「只能由 Ops Agent 部署」改为现行机器职责)、docs/project-map.md、scripts/check_cf_usage.py、scripts/verify.sh及两处测试注释。docs/architecture/server-path-consolidation-decision.md为历史 ADR,原样保留。验证(证据等级 3)
scripts/verify.sh --full:Python 795 通过(减少的 38 条为被删的治理测试)、Worker 378 通过。未处理
Refs #274
🤖 Generated with Claude Code