Approving edits
Cortland’s approval desk shows an agent’s file edit as an inline diff card in the Agents panel before the edit lands. You accept it or reject it there. The desk’s answer goes back as the agent’s own permission prompt, so you’re asked once, not twice.
The approval desk
Section titled “The approval desk”Claude Code, Pi, and Antigravity edits go through the desk. Each card shows the diff and offers:
- Accept, or Accept and remember for the file, its folder, or the rest of the session
- Reject. A rejection holds, even in autonomous modes.
On Linux, Ctrl+Shift+Enter accepts the oldest waiting edit and Ctrl+Shift+Backspace rejects it.
Codex keeps its own sandbox, reviewer, and in-terminal approvals. Edits Codex’s sandbox already allows never produce a permission event, so there’s nothing for the desk to answer. Codex permission prompts still show up as Needs input in the Agents panel.
Approval modes
Section titled “Approval modes”Set the mode in Preferences → Approvals or with [approval] mode. It
applies to the next agent you start in a pane.
| Mode | mode = |
What it means |
|---|---|---|
| Ask before changes | "ask" |
Claude prompts before edits. Codex runs read-only and asks before going past that. |
| Auto inside the workspace | "auto" |
Edits inside the project directory are approved automatically: Claude acceptEdits, Codex workspace-write. Anything outside the project still prompts. |
| Auto, safety-reviewed | "review" |
The same workspace-only autonomy, but requests that cross the boundary go to the agent’s own reviewer (Codex auto_review) instead of to you. |
| Full access | "bypass" |
No boundary and no prompts: Claude bypassPermissions, Codex danger-full-access. |
Rules for specific paths
Section titled “Rules for specific paths”The desk takes glob rules for Claude, Pi, and Antigravity edits:
[approval]mode = "auto"auto_allow = ["docs/**"] # approved silently, even in ask modealways_ask = [".env", "*.pem"] # always reviewed, even in full accessworktree_auto_approve = true # approve edits inside the pane's own worktreeAn always_ask path stops at the desk in every mode, and a rejection there
holds. Patterns broad enough to approve everything are refused.