You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In agent mode there are no interactive prompts (#12). That removes the human's natural safety net. We need an explicit, machine-recognizable mechanism for destructive operations so:
agents can detect "this command needs explicit confirmation" before running it
Motivation
In agent mode there are no interactive prompts (#12). That removes the human's natural safety net. We need an explicit, machine-recognizable mechanism for destructive operations so:
Spec
Annotation
destructive: true|falseConfirmation mechanism
--yes/--confirmflagDCI_CONFIRM_DESTRUCTIVE=1env var (session-scoped opt-in){ "error": { "code": "DESTRUCTIVE_REQUIRES_CONFIRMATION", "hint": "Re-run with --yes" } }Dry-run
--dry-runthat emits what would happen, without doing itReporting
References
Dependencies
Open questions
destructive: trueenough, or do we need severity tiers (e.g. reversible-soft-delete vs. permanent)?--dry-runbe mandatory on every destructive command, or opt-in per command?Acceptance criteria
--yes/DCI_CONFIRM_DESTRUCTIVEgating enforced uniformly--dry-runsupported on every destructive command