Repository navigation
harness:迁到独立引擎 delivery-harness 0.1.0(T008) - #66
Merged
Merged
Conversation
- .harness/engine(内置副本)与 engine.lock(版本、引擎提交、目录树哈希)。 - 本项目的规则与配置移到 .harness/config(rules.toml、autonomy.toml,新增 checks.toml: Agent 身份、运行时、源码与语言、verify 检查清单、发版版本文件、变异目标、回放套件、周报机器人); 棘轮状态移到 .harness/state,事故回放用例移到 .harness/project。 - 新入口 bin/harness。 Task: T008 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bin/verify、bin/dispatch 转到 bin/harness;bin/as-agent 的身份改读 checks.toml [identity]; git 钩子与 bin/harness 的解释器改读 [runtime] python;Claude Code、Codex、Zcode、OpenCode、Pi 的守卫 与 build、quality、auto-merge 工作流改调新入口。 Task: T008 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- tests/test_harness*.py 改为从 engine 包导入、按新路径构造夹具;作为引擎在本项目上的契约测试暂留本仓库(B42)。 - 规范 delivery-harness.md、AGENTS.md、README 索引、模板与规格覆盖引用改到新布局;指向 harness/README.md 的链接改到引擎仓库。 - 任务书 T008(方案 B);决策记录 0001;待办新增 B42–B47。 Task: T008 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Task: T008 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SnowsonZ
approved these changes
Sep 29, 2026
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.
任务
任务书:docs/plans/task-008-harness-extract.md(设计方自行实现,随本 PR 提交;K7、R3、架构级)
目标终态:
harness/删除;引擎 delivery-harness 0.1.0 以带锁文件的内置副本装在.harness/engine/(.harness/engine.lock),本项目的规则与配置在.harness/config/,所有入口、钩子与 CI 改调.harness/engine/cli.py;行为不变。对应验收编号:不挂规格(护栏),验收见任务书。
非目标:不改判定逻辑与阈值;
adopt、可观测性、国际化、TypeScript 插件另行处理。待办:新增 B42–B48。决策记录 docs/decisions/0001-harness-extraction.md。
依赖:锁文件中的引擎提交在 SnowsonZ/delivery-harness 的 PR(restructure/v0.1)中,请先合并那个 PR。
证据
ef69672与本分支都是 248 个、跳过 1 个;bin/verify --full全部通过(含 integrity、事故回放、Swift)。.harness/engine/…被拒,编辑.harness/state/acceptance-gaps.txt放行;git clean -x提示保留路径;main 仍为旧布局时派发的守卫导出走旧布局且预检通过。.harness/engine/任一文件后bin/harness integrity失败,恢复后通过。需要人工验收的部分
git pull后运行一次bin/verify(git 钩子改调新入口);Claude Code、Codex、Zcode 的项目守卫钩子命令已改,可能需要重新确认一次信任(Zcode 按zcode hooks trust status的提示grant)。🤖 Generated with Claude Code