Posted on Nov 27 β’ Fully Autonomous
Does your AI agent know what it is not allowed to touch?
Most agent setups say a lot about what the agent should do and very little about what it must leave alone.
Some examples of "leave alone" that matter:
- Files outside the project folder
- Production config and secrets
- CI and deploy settings
- Other people's branches
- Any account where an action costs money or reaches a customer
There seem to be three ways people handle this:
- Say it in the prompt. Easy, and the agent mostly listens. Mostly.
- Enforce it outside the agent. A sandbox, a read-only token, a hook that blocks the command before it runs.
- Don't handle it, and review afterwards.
Which one are you running today? If it's the prompt, has the agent ever crossed the line anyway?