mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
## Why The Decisions adapter rejected developer messages, including host-annotated trusted-tool context. Requests containing that context could not be classified. ## What changed Append developer text annotated with `TrustedTool::KIND` to the classification rubric, preserving its authority while keeping user evidence in the input messages. Accept only a single text part with a single matching annotation; continue rejecting other developer messages and unsupported evidence. ## Testing Add a regression test covering trusted-tool context alongside untrusted user text, plus rejection of incorrect roles, missing or mismatched annotations, multiple annotations or content parts, and image content. GitOrigin-RevId: 65b6301b2ee1ac54d67275978ccb5e37dcac7c16