Skip to main content
Back

Archive · Article

Never Let an AI Agent Choose Where It Writes

The permission that matters is not whether a model can write a file. It is whether the model picks the destination. I moved path choice into trusted code and bound approval to the exact bytes and the exact disk state I previewed. The token is not the control. The approval prompt is.

X · 2026-08-12

Open it

  • Open the original (opens in a new tab) — x.com

In the archive

  • Writing — Every dated piece of writing.
NextA Second Prompt Is Not an Independent Code ReviewAll artifacts