Fix two finish-guard false positives: IDE artifacts and remote-tracking refs #217

Merged
weichen merged 4 commits from feature/finish-guard-fixes into main 2026-10-05 15:03:26 +00:00
4 Commits
Author SHA1 Message Date
weichen c62a410e5a Record make test evidence 2026-10-05 15:03:25 +00:00
weichen 91d25a3ed1 Fix two finish-guard false positives: IDE locks and remote-only refs
ci / test (pull_request) Successful in 2m21s
Why: 2026-10-05 两次实测踩到——①rglob("*.lock") 把 .git/cursor/ IDE 产物当 Git 锁
(五天陈锁阻断 worktree 回收);②pinned-history 用 --all --reflog 把 refs/remotes
计入,pin 在 feature 顶端的子仓永远无法 finish(被迫删远端引用+清 reflog 损害现场)。
Evidence: FinishGuardFixTests 四例全绿(误报修复+真实锁仍拦+独有提交仍保);
全套治理回归 91 例 OK;make test 全链证据入卡。
Impact: 仅 finish 模式两处判定;IDE 产物与远端引用不再误伤,本地独有工作保全语义不变。
Refs: 本仓 governance 收尾实录(EXT-1 与 governance-reliability 两轮)。
2026-10-05 15:00:20 +00:00
weichen df23fcab56 Record the finish-guard-fixes task card 2026-10-05 14:54:42 +00:00
weichen eb140545a4 Record the task card for feature-finish-guard-fixes
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-finish-guard-fixes.md; R0=4edec763fff1b8239e203dc9106f16a241ca343d.

Impact: task metadata only; the feature workspace starts at 4edec763ff.

Refs: .task/feature-finish-guard-fixes.md
2026-10-05 14:53:45 +00:00