Close merged task cards and add autoclose wiring (task.sh close, post-merge hook) #16

Merged
weichen merged 6 commits from feature/card-autoclose-r1 into main 2026-09-30 07:21:41 +00:00
6 Commits
Author SHA1 Message Date
weichen e5d9459c53 Record the merge-execution authorization and align card wording
ci / test (pull_request) Failing after 1m38s
Why: the owner authorized the agent to create and merge this PR end to end (2026-09-30), and the goal section still said "chore branch" while the implementation uses feature/card-close-*.
Evidence: user instruction quoted verbatim in the authorization field; branch naming per task.sh close.
Impact: task card only.
Refs: task card feature/card-autoclose-r1
2026-09-30 07:18:13 +00:00
weichen e4ae0c7a99 Record verification evidence in the task card
Why: the completion claim must carry precheck/task-sync/test evidence per AGENTS.md before review.
Evidence: temp-repo matrix 33/33 PASS; dogfood closed 11 real cards; make test PASS (core ok, backend 13 pkgs ok, frontend 9/9, ui 6/6, agent-command ok); task-sync sync_base=69fd335dea tested_head=beaefb7549.
Impact: task card only.
Refs: task card feature/card-autoclose-r1
2026-09-30 07:14:09 +00:00
weichen 2325875bf6 Record the sync checkpoint 2026-09-30 07:13:03 +00:00
weichen beaefb7549 Add task-card autoclose wiring: close subcommand, post-merge hook, gate reports
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
2026-09-30 07:12:54 +00:00
weichen 6f6b670e55 Close 11 merged task card(s) and archive them
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: delivery-mechanism.md(PR#unknown) feature-adopt-draft9.md(PR#unknown) feature-core-cards-commands-r1.md(PR#unknown) feature-gate-hardening.md(PR#unknown) feature-hardening-batch.md(PR#unknown) feature-pin-config-surface.md(PR#unknown) feature-pin-documents-lessons.md(PR#unknown) feature-tool-adaptation-standard.md(PR#unknown) feature-ui-foundation-r0.md(PR#unknown) feature-zcode-hooks.md(PR#unknown) fix-empty-list-json.md(PR#unknown) — merges verified via git log --merges against origin/main.
Impact: .task/*.md moved to .task/archive/ with status backfilled; no code or submodule change.
Refs: task.sh close (card-autoclose-r1)
2026-09-30 07:06:40 +00:00
weichen 95ac6c4567 Record the task card for feature-card-autoclose-r1 2026-09-30 07:02:09 +00:00