summaryrefslogtreecommitdiff
path: root/tests/opencode
diff options
context:
space:
mode:
authorJesse Vincent <jesse@primeradiant.com>2026-07-23 11:55:24 -0700
committerJesse Vincent <jesse@primeradiant.com>2026-07-23 11:55:24 -0700
commit1f0e2ab9123f9078b0c333efcf6471f8bdd4324f (patch)
tree1ccea0ea529749540e59dcf02db18ef6e1f88705 /tests/opencode
parent0146173544e48a6bc970b2a7cca1e16c2c697a6d (diff)
fix(finishing): check in with human partner when worktree removal hits untracked files
git worktree remove refuses when the tree holds modified or untracked files, and the skill gave no guidance for that refusal — the natural agent response was --force, permanently destroying files that exist nowhere else (uncommitted plans, notes, scratch work). Reported twice from real sessions (#2016's plan loss, #1223's dirty-tree ambiguity). Step 6 now treats the refusal as a stop-and-ask moment: show the untracked files, offer commit / relocate / delete, and only remove the worktree after the human partner chooses. Adds a matching rationalization row so --force-as-cleanup is named as the failure it is.
Diffstat (limited to 'tests/opencode')
0 files changed, 0 insertions, 0 deletions