Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

permission-modes.md

47 lines2.1 KB

1# Permission Modes
2​
3A permission mode controls how much the agent does on its own and when it stops to ask you.
4​
5The mode is set per thread, from the mode control in the message composer. Changing it in one
6thread does not change any other thread. A thread created from inside another thread keeps that
7thread's mode; otherwise new threads start in **Full access** unless you pick something else
8before sending.
9​
10## The Modes
11​
12**Supervised**: ask before commands and file changes. The agent pauses and shows you what it
13wants to run or edit, and waits for approval. Work outside the workspace is restricted.
14​
15**Auto-accept edits**: auto-approve edits, ask before other actions. File changes go through
16without prompting; commands and anything else still stop for approval.
17​
18**Auto**: routine actions proceed without you; risky ones still ask. How this is enforced depends
19on the provider: Codex delegates routine approvals to an AI reviewer, Claude uses its own auto
20permission mode, and providers without an equivalent (such as OpenCode) fall back to asking, like
21Supervised.
22​
23**Full access**: allow commands and edits without prompts. The default. The agent runs
24unattended until it finishes or asks a question of its own.
25​
26Approvals appear inline in the conversation. Approve or reject one and the agent continues from
27there.
28​
29## Choosing a Mode
30​
31Use **Full access** for work in a worktree or a sandbox you can throw away.
32​
33Use **Supervised** on a repository where an unwanted command is expensive, or the first time you
34run an unfamiliar task.
35​
36**Auto-accept edits** suits refactors where the edits are the point and you only care about the
37shell commands.
38​
39## Provider Behavior
40​
41Each provider maps these modes onto its own approval and sandbox settings. Codex, for example,
42translates the mode into its approval policy and sandbox level, so **Supervised** runs the CLI
43with prompting enabled and a restricted workspace while **Full access** disables both. The
44labels above describe what you get; the exact per-provider translation is internal and may
45change.
46​
47Mobile offers the same four modes with the same labels and descriptions.