mirror of
https://github.com/openai/codex.git
synced 2026-11-09 00:39:32 +00:00
## What changed - Replace `ComposedContext` with ordered `ContextSection` values that retain section identities through transcript selection and rendering. - Add a shared `PlannedAction` section and renderer for core synchronous approval prompts and the Guardian V2 asynchronous scorer, preserving full, delta, terminal-input, and network-request framing. - Keep action JSON and retry reasons out of `PlannedAction` debug output. ## Testing Update registry and transcript tests to assert section identities and source roles. Extend registry coverage to verify planned-action collection for both consumers and omission of action JSON and reasons from debug output. GitOrigin-RevId: 675b841a2cad06afce03f414615b4d7aa0553b13