Run Cantrip unattended

Auto-approve every ask permission so CI scripts don't stall — with deny rules still enforced.

When to use it

"Yolo" mode exists for one job: a non-interactive run where stopping on a prompt means a hung build. Typical uses:

If you're working interactively, stay out of yolo mode. The ask tier exists for a reason — you'll notice moments where you want the prompt.

How to enable it

Three ways in, one way out:

$ cantrip run --yolo /path/to/charm   # or ``-y``
$ cantrip run /path/to/charm
> /yolo on
> /yolo off

Bare /yolo toggles; /yolo on and /yolo off are unambiguous forms for scripts. Anything else (/yolo maybe, /yolo yes) is rejected with a usage line.

What changes under yolo

Only the ask tier of the permission policy flips. Concretely:

Plan mode, hooks, and the subprocess sandbox are unaffected. Yolo layers on top of permissions, not around them.

The escape hatch matters

Before you ship a CI script with --yolo, audit .cantrip/permissions.yaml for the commands the run will need. A call that you think is an ask today may become a deny tomorrow when a built-in default tightens — the run will fail loudly rather than silently skipping, which is deliberate. Treat yolo as a convenience for known-good flows, not as a blanket "trust everything" switch.

Two patterns work well:

Status indicator

While yolo is on the TUI status bar tints via a -yolo-mode CSS class backed by $error-darken-1 and renders a prominent "YOLO MODE — confirmations off" badge. Every surface that subscribes to STATUS_BAR_CHANGED with a mode field sees the same signal, so the Web and CLI UIs can render their own banner.

Related references