mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
## Why An already-loaded conversation can ignore permission overrides sent with a resume request. Applying the preset to the TUI's launch configuration can also carry it into later conversations. ## What changed Resolve the preset using the selected conversation's workspace and managed requirements. Apply it only to the initial resume, so `/new` and later resumes use the regular launch configuration. If an already-loaded conversation needs a settings update, read back its approval and sandbox settings before submitting the initial prompt. Stop the resume when the server cannot confirm the requested settings or when workspace or managed restrictions cannot be verified. ## Testing Regression tests cover CLI flag precedence, updating an already-loaded conversation, rejecting unverifiable restrictions, and keeping the preset out of new and subsequently resumed conversations. GitOrigin-RevId: 6a09097dfc64fdeb890c03cd3e56bb404e5199c8