Approvals and decision cards
When an agent wants to do something its tab does not allow on its own, such as running a command, editing a file or writing to a database, Cocobox asks you with a decision card. The card says what will happen, what it touches and whether it can be undone, and how careful you need to be.
Read a decision card
A request from the tab you are looking at sits in its conversation, so you can read what led to it. A request from another tab shows in the Needs you strip and as a dialog with Show.
The top names the verb (Reads, Edits, Pushes, Deletes…) and the kind of request. What will happen says it in a sentence.
Touches says where it reaches (this tab's folder, this Mac, or outside this Mac) and what it names: files, branches, remotes.
Undo says in words whether it can be taken back: nothing to undo, by hand, unknown (Cocobox could not check), or not possible. Cocobox uses facts from git and checkpoints for this.
Exactly this, unrewritten shows the command, tool call or SQL that will run, as is.

A critical request: deleting a branch on the remote. The footer shows how long is left before the request is refused for you.
Routine, careful and critical
Each request has a weight, and it looks different on screen.
Routine: reads and other things with nothing to undo. Plain card. Approve with ⌘Y or ⌘⇧Y.

Careful: changes that may be hard to take back, like editing a config file. Amber card. Approve with ⌘Y or ⌘⇧Y (⌘⏎ also works while the card has the focus).

Critical: a push to the default branch, a deploy, deleting a remote branch, a delete with no WHERE. Red striped card. ⌘Y does nothing here: approve with ⌘⇧⏎, so the reflex that clears a test run cannot ship to production.
Esc or Deny refuses at every weight. While you type in the message box, Esc never denies; ⌘Y or ⌘⇧Y there approves a routine or careful card on screen. ⌘J brings a waiting card into focus.
After you decide, the card folds into one line in the chat saying what you decided.

Read the flags before a big decision
On a careful or critical card, a Worth knowing box lists the open flags in the work it ships: a tab that stopped, a skipped test, an assumption. Flags from every tab in the family are included.
Read them and press Got it on each, or decide straight away: flags never lock the buttons.
The card also says who asked, through whom: "agent-12 asked › agent-1 passed it up › you decide".

Set what a tab may do without asking
Every agent tab shows its permission level in a badge in its header. Click the badge, or right-click the tab in the sidebar, and pick one:
- Ask: the tab asks before it edits files or runs commands.
- Edit freely: it edits files without asking and asks before commands.
- No approvals: it asks for nothing. Database rules, read-only connections and spend caps still apply.
The level stays through restarts and updates. A tab’s level also decides what it may approve for the tabs it opens: see below.
Let parent agents decide for their tabs
A tab an agent opened asks that agent for approval first, whatever the parent’s own level, so a coordinator and its workflows can run without you approving each step. The agent can approve only once, never "always". Some things always come to you.
While the parent decides, the child tab shows "Waiting for agent-1 to approve …" and no dialog. Click Decide myself to take the request and get the card.

Always yours: database writes outside the tab's own copy, permission and mode changes, force-pushes and deleting remote branches, recursive deletes outside the tab's folder, anything touching
.cocobox, "always allow", and anything the parent does not answer within 90 seconds, or within two minutes while the parent is still in the middle of a turn. A child's writes to its own database copy go to its parent.Anything the parent could do itself without asking is approved at once, with no wait, and logged in the Audit panel. The rest reach the parent together in one message, which it sees even while it works.
To change this, open Settings › Safety & spend. Agents approve for the tabs they open turns it on or off. Parent agents may approve chooses between All but protected (the default) and Only their own: only what the parent could do itself without asking.

Approve a database write
Reads run without asking. Anything that is not a pure read shows the exact SQL and waits. A single-table
UPDATEorDELETEis dry-run first, so the card says how many rows it would change.
Follow the shortcut shown on the card. Use ⌘Y for routine or careful requests and ⌘⇧⏎ for critical requests. A read-only connection refuses writes. More in SQL and connections.
On an agent's own database copy, Allow writes to this copy stops asking about writes to that copy until the tab closes.
Check what was decided
Open the Audit panel from the right panel. Every database write and DDL statement is listed the moment it is decided: approved, denied, refused by read-only or by policy, and requests an agent passed up to you.
Click a row for the full statement. Where Cocobox kept the rows a write changed, undo writes them back (click again to confirm).

The log lives at ~/.config/cocobox/audit.log.