mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
## Why Selecting the final item in an idle thread's history ties Guardian review to what was recorded. For example, a client may record an `exec` script and need an assessment of an individual `exec_command` from that script. ## What changed Require `toolCall` in the experimental `thread/guardianReview` request. Guardian assesses the supplied `function_call` or `custom_tool_call` against the idle thread's full history without appending or executing it. ## Testing Cover rejection of requests missing `toolCall` and verify that Guardian sees the recorded script alongside each command submitted for review. Check that only the original script call is persisted in the thread. GitOrigin-RevId: a1ce61e10e98107b38db60071dd63f189ef33ad1