Flockdeck docs

Using Flockdeck

Auto-approve read-only

Earlier versions called this auto-review. It has nothing to do with the diff review in Changes, which is where you read what an agent changed.

A pane can turn on Auto-approve read-only, which spares you the wait for some of what would otherwise stop and ask: the same hidden hook that reports a PreToolUse call can also carry a permission decision back, before Claude Code's own prompt ever opens, for a call Flockdeck is confident only reads. It works like Codex's auto_review, a reviewer looking at the request in front of it, but it never touches Claude Code's own permission settings and it can only ever say "let this one through," never "deny": off, or for a call it is not sure of, a pane behaves exactly as it always would. Today that reviewer is a fixed policy: a Bash call is let through only when it is a single call to a command that only ever reads (git status, cat, grep and the like) inside the project, with nothing in it that could chain into something else or write anywhere; a call that changes a file, reads outside the project, or reads a secret file (a .env, a private key, a credentials file) is always left to ask. A git command is let through only when git itself, asked where the command will run, has nothing configured that would run a program or reach the network, and git status, git diff or git describe never in a repository with a submodule in it. A command too long to be judged whole is always left to ask.

The details of that policy:

These path checks read the command as text, not the filesystem. Auto-approve read-only is not a sandbox. A symlink inside the project that points outside it reads as an ordinary in-project name and is let through, and the secret-file check knows only conventional names. Both err towards reading, which is part of why it is off unless you turn it on, and why you should turn it on only for a pane whose agent you trust.

It is off for a pane unless you turn it on, with the ✓ in the pane's header, or for new panes with Settings › General › Auto-approve read-only in new panes; a pane started from another one (a flockdeck spawn helper) starts as that pane is. A pane keeps its setting across restarts, whichever way you left it.

Reading Flockdeck mail

Reading Flockdeck mail is allowed in every pane, whether or not this switch is on, and it does not count towards the pane's auto-approved calls. Only these forms are allowed, written exactly so:

Anything else is asked about as usual: -wait, -follow, any other flag or extra word, sending a message (flockdeck msg send), every other subcommand, a path to the program (./flockdeck), a variable set in front of it, a pipe, a quote, or a command over 4 KiB. It is also asked about when the folder the command runs in holds a file named flockdeck or starting with flockdeck. (flockdeck.exe, flockdeck.ps1 and so on, in any letter case), since the shell could run that instead. A project that builds its own flockdeck binary into its root therefore never has mail reads allowed in that folder. The same goes when a flockdeck earlier on the pane's launch PATH than this application would run instead of it, when no flockdeck is found on the PATH at all, or when the PATH has a ~ entry. Words must be separated by single spaces.

This works for agents that report their tool calls to Flockdeck (Claude Code) and for the built-in chat client. Other command-line agents have approval modes of their own, which Flockdeck does not change; their briefings say how to allow flockdeck inbox.