mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
## Why A TUI connected to an app server on a different operating system could fail to decode a workspace-write policy. For example, a Unix client could reject a Windows writable root such as `C:\extra` because it is relative under Unix path rules. ## What changed Keep `writableRoots` as path strings on the wire. Use path URIs to preserve server paths when displaying thread permissions, and forward the original sandbox policy to the first turn of a child thread that inherits a legacy policy. The app server validates that each writable root is absolute on its host before enforcing a policy supplied to `command/exec` or `turn/start`. ## Testing Cover writable roots from another platform in permission profile templates, their round trip through thread lifecycle responses, and rejection of home-relative roots during enforcement conversion. GitOrigin-RevId: 57365b977bfced6c6ee864a0e54f25e8f9d09981