You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 54b11a2
Browse filesBrowse the repository at this point in the historyBrowse files
Resolve agent defaults through canonical exec policy with one approvals snapshot per listing. Omit labels when sandbox scope or noncanonical policy pairs make them inaccurate, and preserve the existing optional picker projection.
Refs: #132989
Copy file name to clipboardExpand all lines: docs/gateway/permission-modes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ File tools recognize aliases of the session's trusted root and working directory
30
30
31
31
New sessions, including managed worktree sessions, inherit the configured global or per-agent tool/exec policy when no mode is specified. Creating a worktree pins the working directory without selecting a permission mode. Explicit modes and modes already saved on existing sessions remain unchanged.
32
32
33
-
The Control UI permission picker labels Default with the agent's configured exec posture when it matches a session mode, for example **Default (Guarded)** for `tools.exec.mode: "ask"`. Global exec settings apply first, then the agent's overrides; without either, the non-sandbox default is full access. Allowlist-only policy and non-equivalent `security`/`ask` pairs, including `ask: "always"`, keep the plain **Default** label. This is display metadata, not an authorization decision or a filesystem-access guarantee: host approval rules, sandbox restrictions, and tool policy still apply. Selecting Default clears the session override; it does not save the displayed mode into the session.
33
+
The Control UI permission picker labels Default with the agent's resolved exec posture when it matches a session mode, for example **Default (Guarded)** for `tools.exec.mode: "ask"` without a stricter host approval policy. Resolution includes global settings, agent overrides, and host approval floors. Without those settings or sandboxing, the default is full access. Allowlist-only policy and non-equivalent `security`/`ask` pairs, including `ask: "always"`, keep the plain **Default** label. Agents whose sandbox configuration could apply to their sessions also keep plain **Default**, because effective policy cannot be stated at agent scope. This is display metadata, not an authorization decision or a filesystem-access guarantee; tool policy still applies. Selecting Default clears the session override; it does not save the displayed mode into the session.
0 commit comments