Knowledge base
Permission asks
Which agent actions make a Picnic job stop and ask you first, how Always allow works per machine, and what's refused outright.
Jobs run unattended in auto mode, so most of what the agent does goes ahead without asking. A few kinds of action stop and ask you first, because they're the ones that can hurt beyond the job's own branch. A handful are refused outright, whatever anyone says.
These rules apply to Claude Code jobs. Codex jobs run in Codex's own sandbox instead; see Engines.
What asks
| Kind | Examples | Why |
|---|---|---|
| Admin rights | Any command run with sudo |
It can change the whole machine |
| CI config or secrets | Writing to .github/workflows/, .env files (not .env.example, .env.sample or .env.template), .npmrc, private keys and certificates (id_rsa, .pem, .p12), secrets.json or secrets.yaml |
A change here can leak secrets or change what CI lets through |
| Writes outside the worktree | Editing a file outside the job's repository, its git worktrees, its artifacts folder and temporary folders | The job should only change its own work |
Writing anywhere in the job's repository or any of its git worktrees doesn't ask, so an agent you tell to use another worktree can. New dependencies don't ask either; they show up in the pull request for review.
Answering
When a job asks, it moves to Needs you and you get a notification. The chat shows what it wants to do. Choose:
- Allow: it goes ahead this time
- Refuse: it doesn't, and you can add a note saying why or what to do instead
- Always allow: it goes ahead, and no job on this machine asks about that kind of action again
A job waiting for permission doesn't hold one of the machine's slots. You can't send a chat message while a permission request is open; answer it first (permission_open).
Always allow
Always allow is stored per machine and per kind: admin rights, CI config or secrets, or writes outside the worktree. Choosing it for sudo on the Mac mini means no job on the Mac mini asks about sudo again; your laptop still asks.
The machine panel in the Factory tab lists what that machine always allows: "Jobs on this machine do these without asking you first, after you chose Always allow." Reset them there, on any machine or iPhone, and the machine asks again.
Tip: Always allow is handy on a dedicated build machine. Think twice on a machine with access to production secrets, since it applies to every job on that machine.
What's refused outright
These are refused whatever you or the prompt say, and can't be always allowed:
| Refused | What the agent is told |
|---|---|
Force-push (git push --force, -f, --force-with-lease, +branch) |
Push normal commits instead |
Approving its own pull request (gh pr review --approve) |
Ask the person instead |
| Calling Picnic's own background agent on the machine | It's off limits |
rm -rf of the root or home folder |
Refused |
In Plan jobs
A Plan job changes nothing, so it's also refused file writes outside its artifacts folder and temp folders, and commits, pushes, and pull request or merge commands. See Modes.
Merging is allowed
Merging isn't something the agent needs to ask about. It merges Ship jobs with gh pr merge --squash, and Plan and build jobs when you tell it to, with --admin when you ask for it. Plan jobs never merge. See Review and merge.
Questions are different
When the agent needs a decision rather than permission, it asks a question with options. Choose one, type your own answer or send a message. See Chat.
