Ask before removing a secret, version, vault or unlocker (closes #39) #100

Merged
clawbot merged 1 commits from issue-39-confirm-removals into next 2026-10-04 17:41:49 +02:00
1 Commits
Author SHA1 Message Date
sneak b4a03c595e Ask before removing a secret, version, vault or unlocker (closes #39)
check / check (push) Waiting to run
secret rm, secret version rm, secret vault remove and secret unlocker
remove ask [y/N] on a terminal, naming what they remove, and go ahead
only on y or yes. Without --force, a command whose stdin is not a
terminal fails at once. --force, now also on rm and version rm,
removes without asking; it replaces the old refusals to remove a vault
with secrets or the last unlocker without --force. The checks run and
the question is asked before the state directory lock is taken; under
the lock the checks run again, and nothing is removed if they would
ask a different question.

Model: opus-5-5
2026-10-04 15:18:17 +00:00