the orchestrate dangerous-verify refusal ends by naming the surface that still allows it #567
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#563 Epic: the destructive surface has outgrown ADR 0029's classification table
sixfold-space/madtea
Reference
sixfold-space/madtea#567
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?
Part of #563.
The defect
internal/mcp/tools_orchestrate.go:131-141refuses averifycommand that matches a dangerous-pattern list held in the service layer. The refusal is correct up to its final clause, which tells the caller that the CLI keeps warn-only behaviour and names the command to reach it.That is the shape ADR 0029 removed. The record describes the killed
gateForcedWorktreeRemovestring as the same deny-message-recommends-the-escape flaw ADR 0009 removed the opt-out keys for, and clause 3 says a refusal never hands back a runnable madtea flag or incantation that performs the destruction. This one does.Two further points make it more than a wording slip:
The same closing advice ships a second time in the
orchestratehelp topic,internal/mcp/tools_help.go:820-823.Both strings are self-contained and carry no record or issue number, so ADR 0023 is satisfied. The defect is clause 3 only.
What needs deciding
I do not think this is only a string fix, so I do not want it closed by deleting one clause.
Acceptance criteria