Files
codex/codex-rs/tui
Eric Traut 8cd512c85f Track server-confirmed thread permissions in the TUI (#64393)
## Why

Embedded sessions can use a local execution profile that differs from
the sandbox policy reported by the app server. The TUI needs a
server-confirmed snapshot for permission displays.

## What changed

Capture the server-reported sandbox profile, active profile, approval
settings, working directory, and workspace roots when a thread starts,
resumes, forks, or receives a live settings update. Restore the snapshot
from cached sessions and preserve it during transcript replay. Leave the
snapshot unset when session settings are inferred.

## Testing

Extend tests to cover differing server and local profiles, workspace
roots from live settings updates, and snapshot preservation during
transcript replay.

GitOrigin-RevId: 525fdfa1b526f5d799bca01c955ac7cfc3e60774
2026-11-27 22:52:25 +00:00
..