Why: declarations were passing as capability; hand-transcribed outputs flowed through cards and PR bodies as if they were execution evidence, and stale external facts (e.g. the dead git-panel host) kept being trusted until burned. Evidence: guidelines draft.10 (PR Development-Guidelines#4, merged af199ee) pinned here; policy/facts.md F1-F4 each re-verified on 2026-10-05 before registration (endpoint version, token HTTP 200 via header only, SSH ls-remote, dead-host negative probe); scripts syntax-checked (bash -n); tool self-tests and make test recorded in the task card via the new make evidence. Impact: new AGENTS.md section (SELF/REPLAY/GATE, tool-written evidence, replay-on-review, zero-trust facts, honest-empty); make evidence/facts-verify; precheck gains [hooks]/[facts], task-sync gains stale-evidence-HEAD warning; task-start cards now embed the evidence table; gitlink advances to draft.10. Refs: task card .task/feature-evidence-driven-gates.md; guidelines CHANGELOG 0.1.0-draft.10.
2.0 KiB
2.0 KiB
feature/evidence-driven-gates 任务卡
任务主记录:<PR 链接,task-finish 时填写>;状态:进行中;owner:weichen
基线与授权
- 权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)=
602d2ce9c6 - 工作区:/home/weichen/projects/Agent-System-Dev-wt-feature-evidence-driven-gates(worktree);分支:feature/evidence-driven-gates
- 授权与交付终点:用户 2026-10-05 授权「按证据驱动方案完善规范」——guidelines 子模块(PR)+
Dev 仓(AGENTS.md/policy/工具/Makefile/task.sh + gitlink 推进)经
make test组合验证后 PR 合入 main 并回收工作区。未授权:改前端/后端业务代码、解除分支保护、改写历史。
目标与非目标
目标:落地「声明≠能力」证据门禁——
- guidelines draft.10:证据来源三分 SELF/REPLAY/GATE、工具写入、审阅者重放、外部事实 零信任、诚实出口(verification/collaboration/delivery/baseline/glossary/两模板/CHANGELOG)。
- Dev 仓:AGENTS.md「证据与验证门禁」节;policy/facts.md 事实登记表(F1–F4 实测后登记); scripts/evidence.sh(make evidence:命令×HEAD×sha256×尾部写入任务卡); scripts/facts-verify.sh(make facts-verify [--update]);task.sh:precheck 增 [hooks]/[facts], sync 增 [evidence] 旧 HEAD 告警,task-start 卡片模板带证据表;Makefile 增两目标。
- gitlink 推进至 guidelines 合入 SHA(af199ee),组合验证 make test。
非目标:task-close 核对 CI 状态(PR3 权威迁移)、CI 工作流改动、UI/业务代码、 review 技能文本改造(后续任务)。
同步记录
| 节点 | sync_base_sha | tested_head_sha | checked_at |
|---|---|---|---|
| 启动 | 602d2ce9c6 |
602d2ce9c6 |
2026-10-05T10:41:39Z |
结果与验证(完成后填写)
- 结果:
- 验证:
- 影响与剩余项: