Repository navigation
Conversation
|
Speaking as Kun's firstmate: Thank you @dar1us8 — this is a careful, well-evidenced guard. I reviewed tip One question before this can move: sparse checkout. Contract-class (mine): new-default for now. The hidden-edit refusal itself fits the existing "dirty worktrees refuse / inconclusive refuses" promise. But refusing clean flagged entries, including sparse-checkout ones, is a new refusal on a default teardown path that succeeds today. If the refusal narrows to entries that can actually hide edits, I'd expect this to read as restore. VISION.md per rule: One captain, one interface: aligns (clear refusal text, nothing hidden). Authority explicit: aligns (no flags or files touched; Heads-up, not on you: main is currently red on the Pi shards ( Status: waiting on you for the sparse-checkout question. Thanks again! |
What Changed
Risk Assessment
✅ Low: The narrow guard refuses ordinary ship cleanup before destructive actions, preserves hidden-index flags and ownership, and adds behavioral regression coverage without changing production tools.
Testing
Focused regressions passed and reproduced the pre-fix failure. Seven live cleanup scenarios preserved files, index flags, ownership, task records, and the disposable worker. CLI transcripts and persisted-state evidence were captured; setup issues were corrected and fixtures removed. This validates the narrow cleanup correction, not a production tool upgrade.
Evidence: Live cleanup transcript and preservation evidence
Source: Live cleanup transcript and preservation evidence
Evidence: Pre-fix regression reproduction
Source: Pre-fix regression reproduction
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
TMPDIR="$PWD/.test-hidden-tmp" FM_TEARDOWN_HIDDEN_INDEX_ONLY=1 bash tests/fm-teardown.test.shRan the same focused regression against a disposable copy containing the base commit's teardown script; it failed as expected because hidden-index cleanup returned exit 0.python3 .test-hidden-tmp/drive.py: exercised realbin/fm-teardown.sh task-x1calls against a marked lab home, real Git worktree, Treehouse lease, backlog, and disposable resident process.treehouse get --lease --lease-holder task-x1 --json --no-fetch,treehouse status --json, andtasks-axi show task-x1 --file <lab>/data/backlog.mdCompared persistent SHA-256 hashes and HEAD before and after refusals; confirmed the resident process survived.treehouse --versionremained v2.3.0; removed disposable fixtures and verified no worktree changes remained.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.