Why: 11 merged branches had left their task cards open (bookkeeping debt found on 2026-09-30); closure was manual and never triggered, so card status rotted after each merge. Evidence: dogfood run of `task.sh close --fold` closed and archived the 11 cards (previous commit); temp-repo matrix 33/33 PASS covering detection, pending-branch idempotence, dirty/no-fold refusals, post-merge auto-close on merge-type pulls, worktree guard, and the full lifecycle (closure PR merge archives cards on main). Impact: scripts/task.sh (+close, precheck [cards] report, finish-tail trigger), scripts/hooks/post-merge (new), Makefile (+task-close target, setup chmod), AGENTS.md rule; archive fixes correct PR links missed by the first dogfood run; no module or gitlink change. Refs: task card feature/card-autoclose-r1
1.4 KiB
1.4 KiB
feature/zcode-hooks 任务卡
任务主记录:PR #7 https://git-panel.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/7(merge 20727a8fd3);状态:已完成(回填);owner:weichen
基线与授权
- 权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)=
1e08eb6ba2 - 工作区:/home/weichen/projects/Agent-System-Dev-wt-feature-zcode-hooks(worktree);分支:feature/zcode-hooks
- 授权与交付终点:<本次允许的动作与终点;未授权事项写明>
目标与非目标
<预期结果、受影响入口/模块/契约;明确不做什么。>
同步记录
| 节点 | sync_base_sha | tested_head_sha | checked_at |
|---|---|---|---|
| 启动 | 1e08eb6ba2 |
1e08eb6ba2 |
2026-09-30T03:41:53Z |
结果与验证
- 结果:
- 验证:
- 影响与剩余项:
闭合记录(card-autoclose 回填)
- 依据:merge 20727a8fd3adeafee6fb37383948e2a9c5a004b0(PR #7)已包含于 origin/main,分支成果已落盘;本段为合入后回填。
- 合并主题:Merge pull request 'Add the zcode write-path guard instance with its adaptation matrix' (#7) from feature/zcode-hooks into main
- 归档:随闭合移入 .task/archive/;任务执行期的过程证据见原任务记录与 PR。