On this page · 8 sections
What the source measured
| What was measuredmetric | Exit status of a destructive command refused in non-interactive mode |
|---|---|
| With the changetreatment | 'Aborted.' on standard error, no deletion, exit status 0 |
| Which way it moveddirection | Not applicable |
| How bigsize | Exit 0 on a refused operation |
| How many casessample | One public reproduction (cf 1.0.0-beta.5); documented as current behaviour |
Who and what was tested
- Note on models: Not an agent run: CLI behaviour in a non-interactive session (CI=true).
Does anyone have a stake?
None apparent. The issue was filed by a user, not by Cloudflare.
Source
cloudflare/cf#94: workflows delete exits 0 when noninteractive confirmation aborts the operation. matthewbjones. GitHub, 29 September 2026.
The full primary source was fetched on 2026-10-08 and every number in this record was found in it. The documentation page (last updated 29 September 2026) states the behaviour and warns that "A successful exit does not mean the resource was deleted." The issue was open on the retrieval date.
Corroborating sources:
- Use cf with coding agents, Cloudflare Docs, 29 September 2026.
Limits of this finding
- Beta software (1.0.0-beta); the behaviour may change before general availability.
- The documentation states the behaviour plainly and warns about it under "Check for aborted deletes" ("A successful exit does not mean the resource was deleted"), so it is documented and known, not hidden; the public issue asks for a non-zero exit instead.
What this means if you build tools
A refused or cancelled operation should exit non-zero, because the exit status is the main success signal an agent or script checks. If it must exit 0, the agent has to parse standard error, which is fragile.
Related checks
Errors carry a fixed code
Errors carry a stable code with the message.
Rubric check · core
Effects are stated before the step
Before a step that matters, what it will do is stated where the agent decides: the cost, who will see it, and whether it can be undone.
Rubric check · core
Cite this record
Cite the original source for any number, and keep the evidence type and the models tested next to the figure. To point at this record, cite it as: AX evidence register, “A CLI exits 0 when a destructive command is refused”, https://agentexperience.tech/evidence/ev-0036/. The record is also in /evidence.json.
