mirror of
https://github.com/openai/codex.git
synced 2026-12-04 00:51:02 +00:00
## Why Submission diagnostics need approval and turn metadata without logging user input, tool responses, commands, paths, or instruction payloads. ## What changed - Log thread and submission IDs, operation kind, and parent/root turn IDs as explicit fields. - Give `Op` and `ThreadSettingsOverrides` selective `Debug` output that retains identifiers, approval decisions, and policy categories while omitting payloads. - Preserve Guardian review identifiers and status when logging approval of a denied-action retry. ## Testing Add an app-server integration test that verifies command approval, Guardian review, and turn policy metadata reach SQLite-backed diagnostic logs with `RUST_LOG=off`. GitOrigin-RevId: 308acb7b70e4849cf31514b11e4d9b46eaf6a09b