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
fix(v1.100 PR-23): replace PR-22-era auto-elevate gate with PR-23 consent-refusal gates
The uninstall canonization workflow had a gate asserting that
`--mode=uninstall` without --dry-run auto-elevates to dry-run and exits 0.
That was the correct PR-22 behaviour but is a contract violation under
PR-23 — the auto-elevate shim was removed and the correct post-PR-23
behaviour is an explicit refusal demanding --dry-run OR --confirm-mutation.
Replace the single obsolete gate with two PR-23 gates:
- G3-UN-CONSENT-REQUIRED: bare `--mode=uninstall` must exit non-zero
with a message mentioning the two-flag choice, touch NOTHING on disk.
- G3-UN-CONSENT-BOTH-FLAGS: `--mode=uninstall --dry-run --confirm-mutation`
must also refuse with a "mutually exclusive" message.
Together these enforce the consent model at the CLI surface:
neither → refused
dry-run → observational
confirm-mutation → apply
both → refused
No code changes — CI gate update only.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments