Prepare the handoff rule candidate after target synchronization
Why: Finish the scoped documentation delivery with the latest authoritative policies. Evidence: Synchronized target and direct document/config/component checks pass. Impact: Task record only; exact-head CI remains pending. Refs: PR #651; queue #518
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
- 实施执行:agent-per-unit(配置:AGENT-EXECUTION.md)
|
||||
- 合入执行:agent(已授权交付范围内,Review 通过、冲突解决且当前 HEAD 的 CI 通过后合入)
|
||||
- 人工决策点:仅限目标/范围/验收变更、重大取舍、高后果操作或无法自动判定的业务验收
|
||||
- 当前阶段:恢复与 CI 排障;当前增量:I1(对话收尾交接块规范)
|
||||
- 当前阶段:最终验证与合入;当前增量:I1(对话收尾交接块规范)
|
||||
- 流程依据:仓库根目录 policy/delivery.md(归档后仍按仓库根目录定位)
|
||||
|
||||
## 目标与非目标
|
||||
@@ -79,8 +79,8 @@
|
||||
|
||||
## 交付调度
|
||||
|
||||
- 调度状态:未入队;调度记录:无
|
||||
- entry_id:无;attempt_id:无;窗口执行者:无
|
||||
- 调度状态:持有最终窗口;调度记录:#518 comment 8266
|
||||
- entry_id:mq-dev-20261020-conversation-handoff-01;attempt_id:final-01;窗口执行者:host / weichen
|
||||
- 固定候选:无(base/head、组件与相关配置引用实际尝试)
|
||||
- 调度依据:policy/delivery.md#合入调度
|
||||
- 固定后证据:源码外 RECEIPT;实际结果后按授权原样导入和闭合
|
||||
@@ -88,13 +88,13 @@
|
||||
## 结果与验证
|
||||
|
||||
- 结果:增加最终回复 handoff 规范及 AGENTS 强制指针;与任务卡/持久阶段交接权威边界一致。
|
||||
- 验证:`git show --check --format= HEAD` PASS;`make agent-exec-validate` PASS;新增标题和链接目标文本核对 PASS;PR head `0dcaa430e0d724752aef1f55f120f419eeda9ad4` 的 GATE `test-pg` FAIL(run #4403,失败测试在未修改的后端代码中)。
|
||||
- 影响与剩余项:规范变更已就绪;当前 PR 被无关后端测试失败阻塞,须当前 head CI 全绿后才能合入。
|
||||
- 验证:旧候选的 GATE 失败保留为历史;当前已同步权威 main 17f8bc06c110014b9101e7a33729d9f5445bd123,文档范围/字段/链接/现行规则保留、agent-exec validate 和递归组合检查均 SELF PASS(下方原始 evidence)。最终 HEAD 的 test/test-pg/svc-realcombo GATE 待运行。
|
||||
- 影响与剩余项:规范变更已就绪;Backend 修复 #226 已合入但 Dev 组合采用由独立 #653 承担。本 PR 仅规范与任务记录,须最终 HEAD 三项 CI 全绿后合入。
|
||||
|
||||
## 规划进展与下一步
|
||||
|
||||
- 本次推进/剩余:待核对(依据实际成果更新适用方案/规划)
|
||||
- 首选下一任务:待核对(无适用规划、已完成或受阻时如实说明,不虚构任务)
|
||||
- 本次推进/剩余:完成已授权的对话 handoff 规范;不属长期业务方案,剩余为当前候选 GATE、合入核验和安全收口。
|
||||
- 首选下一任务:完成本 PR 当前交付,无新增任务;新版运行时组合已有 PR #653,继续由原任务负责。
|
||||
- 推荐依据:待填写
|
||||
- 前置条件/待确认:待核对
|
||||
- 预期产物/验收条件:待定义
|
||||
@@ -283,3 +283,86 @@
|
||||
- 新版 Backend 同时包含尚待 Dev 组合采用的 O2 依赖,已有独立 PR #653;本规范 PR 不推进 gitlink,以免提前采用另一任务的运行时组合。#651 在最新 main 上重新验证,Backend 修复的已合入与 Dev 已采用分别记录。
|
||||
- 交付窗口 mq-dev-20261020-conversation-handoff-01 已在 #518 领取;此前 #652 已释放。当前需 task-sync、闭合任务卡、固定候选并等待三项 GATE。
|
||||
| 同步(记录前对象) | 17f8bc06c110014b9101e7a33729d9f5445bd123 | d0150787e2ba7fec94575e42c9bea2f945418c71 | 2026-10-20T09:20:53Z |
|
||||
|
||||
<!-- Local receipt: SELF. Digests detect corruption; they do not authenticate a reviewer or CI. -->
|
||||
```json
|
||||
{
|
||||
"summary_schema": 1,
|
||||
"source": "SELF",
|
||||
"timestamp": "2026-10-20T09:20:09.212113+00:00",
|
||||
"command": "make task-sync",
|
||||
"exit_code": 0,
|
||||
"cwd": "/home/weichen/projects/Agent-System-Dev-wt-feature-conversation-handoff",
|
||||
"before_head": "0dd24cafc6024d5854957ff8f5b6ecb2c65d3c72",
|
||||
"after_head": "11245d172c6841a17696a041889b8dbc4d8807a7",
|
||||
"branch": "feature/conversation-handoff",
|
||||
"target_branch": "main",
|
||||
"target_head": "17f8bc06c110014b9101e7a33729d9f5445bd123",
|
||||
"root_target": "main",
|
||||
"immediate_target": "main",
|
||||
"before_tracked_diff_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"after_tracked_diff_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"output_tail": [
|
||||
" create mode 100644 .task/archive/feature-fast-slow-o2-i1-agent-native.md",
|
||||
" create mode 100644 .task/archive/feature-fast-slow-o2-i2-backend.md",
|
||||
" create mode 100644 docs/superpowers/specs/2026-10-20-fast-slow-o2-i1-review.md",
|
||||
" create mode 100644 docs/superpowers/specs/2026-10-20-fast-slow-o2-i2-review.md",
|
||||
"[worktree] before-update: recursive component checks passed",
|
||||
"[worktree] materialize: recursive component checks passed",
|
||||
"[worktree] after-sync: recursive component checks passed",
|
||||
"admit: ok",
|
||||
"[evidence] WARN JSON receipt line 113: recorded HEAD predates non-card changes ——关键检查须重跑并以 make evidence 重新写入",
|
||||
"[evidence] WARN JSON receipt line 168: recorded HEAD predates non-card changes ——关键检查须重跑并以 make evidence 重新写入",
|
||||
"[evidence] WARN JSON receipt line 210: recorded HEAD predates non-card changes ——关键检查须重跑并以 make evidence 重新写入",
|
||||
"[evidence] WARN JSON receipt line 251: recorded HEAD predates non-card changes ——关键检查须重跑并以 make evidence 重新写入",
|
||||
"[synced] sync_base=17f8bc06c110014b9101e7a33729d9f5445bd123 tested_head=11245d172c6841a17696a041889b8dbc4d8807a7 checked_at=2026-10-20T09:20:53Z changed=1 sync_target=main",
|
||||
"[next] 跑正式验收(make test 等),证据写入任务卡",
|
||||
"make[1]: Leaving directory '/home/weichen/projects/Agent-System-Dev-wt-feature-conversation-handoff'"
|
||||
],
|
||||
"output_sha256": "447fa8d3b023bd473ca8076ad32b77ac406c86f6ff097e032b1c602e7a4649c6",
|
||||
"receipt_sha256": "faa7ddd69578d19c3c5280c5633868612431065be8ad6d74c37f15eca7642427",
|
||||
"receipt_path": "/home/weichen/.cache/agent-system-dev/evidence/faa7ddd69578d19c3c5280c5633868612431065be8ad6d74c37f15eca7642427.json"
|
||||
}
|
||||
```
|
||||
|
||||
<!-- Local receipt: SELF. Digests detect corruption; they do not authenticate a reviewer or CI. -->
|
||||
```json
|
||||
{
|
||||
"summary_schema": 1,
|
||||
"source": "SELF",
|
||||
"timestamp": "2026-10-20T09:21:27.020003+00:00",
|
||||
"command": "python3 /tmp/pr651-doc-check.py && make agent-exec-validate && make test-worktree",
|
||||
"exit_code": 0,
|
||||
"cwd": "/home/weichen/projects/Agent-System-Dev-wt-feature-conversation-handoff",
|
||||
"before_head": "11245d172c6841a17696a041889b8dbc4d8807a7",
|
||||
"after_head": "11245d172c6841a17696a041889b8dbc4d8807a7",
|
||||
"branch": "feature/conversation-handoff",
|
||||
"target_branch": "main",
|
||||
"target_head": "17f8bc06c110014b9101e7a33729d9f5445bd123",
|
||||
"root_target": "main",
|
||||
"immediate_target": "main",
|
||||
"before_tracked_diff_sha256": "56ecb85dcdac1667ad1f575d1021a6f5306fabf593cfa8326465e9997f56c62e",
|
||||
"after_tracked_diff_sha256": "56ecb85dcdac1667ad1f575d1021a6f5306fabf593cfa8326465e9997f56c62e",
|
||||
"output_tail": [
|
||||
"tested Dev HEAD 11245d172c6841a17696a041889b8dbc4d8807a7",
|
||||
"PASS handoff fields, authoritative links, document scope and preservation of current main policies",
|
||||
"make[1]: Entering directory '/home/weichen/projects/Agent-System-Dev-wt-feature-conversation-handoff'",
|
||||
"scripts/agent-exec validate --repo .",
|
||||
"validate: ok",
|
||||
"make[1]: Leaving directory '/home/weichen/projects/Agent-System-Dev-wt-feature-conversation-handoff'",
|
||||
"make[1]: Entering directory '/home/weichen/projects/Agent-System-Dev-wt-feature-conversation-handoff'",
|
||||
"python3 scripts/check-worktree.py verify",
|
||||
"[worktree] verify: recursive component checks passed",
|
||||
"make[1]: Leaving directory '/home/weichen/projects/Agent-System-Dev-wt-feature-conversation-handoff'"
|
||||
],
|
||||
"output_sha256": "e7627921f53b21804805a831022ddae38dae1b31a328efabd2ad4db6a9329638",
|
||||
"receipt_sha256": "3f45ddbd4927efd7848281e5575c71ad8b5b411584650f5440cd9327e0c08ace",
|
||||
"receipt_path": "/home/weichen/.cache/agent-system-dev/evidence/3f45ddbd4927efd7848281e5575c71ad8b5b411584650f5440cd9327e0c08ace.json"
|
||||
}
|
||||
```
|
||||
|
||||
## 最终对象审阅
|
||||
|
||||
- host Review 对同步后 11245d172c6841a17696a041889b8dbc4d8807a7 完成:相对 origin/main 的业务差异只有 AGENTS.md 一行与 policy/delivery.md 新增 22 行,另有本任务记录;现行 AGENT-EXECUTION.md 与其它 policy 无回退。
|
||||
- 需求 R1 的七项 handoff 字段、无续办例外、证据权威边界和入口链接均直接复核通过。文档没有新增平台功能,不制造业务测试。真实模型行为前后量化 NOT_RUN;当前规范交付以可审条款、链接和 GATE 为依据,不声称完成行为评测。
|
||||
- main 同步原始输出、文档检查与递归组合输出均由 make evidence 原样写入本卡。最终候选固定后只保存在源码外记录,避免为回填 CI 再改变 HEAD。
|
||||
|
||||
Reference in New Issue
Block a user