Removal guard limits from the PR #101 review: skip-worktree changes, linked-worktree commits, GIT_DIR #103
Labels
No labels
boundary:crosses
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/messages-mind-mcp#103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Non-blocking findings from the fresh security review of PR #101 (#72) at
53b5d37. The §9 Removal guard can still delete work in cases that need a deliberate operator action. Each case was reproduced against the guard line. The replacement PR #102 (464e1d3) does not change these.--skip-worktreeor--assume-unchangeddo not appear ingit status. The guard deletes the checkout. Option: document this next to the limit on branches that were never pushed, or add agit ls-files -vcheck that refuses anySor lower-case entry.refs/wip/*.Option: document these, or refuse when
git worktree listshows more than one entry.GIT_DIRorGIT_WORK_TREEin the operator's shell redirects everygit -Ccall in the block. Option: start the block withunset GIT_DIR GIT_WORK_TREE.Blocked by
None.
Filed under: operator grant "file tickets, merge T4, label/de-label svd:go, continue svd and batch-svd (with auto-gate)" (2026-11-16, DD-469 minds workspace), merge gate of PR #101.