mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
## Why An explicit Guardian provider could handle approval reviews, but configuring it disabled Guardian V2 scoring. This prevented automatic reviews from using background scores from that provider. ## What changed Route classification through the configured Guardian provider and use its classifier catalog for instructions, reasoning effort, review thresholds, and input limits. Apply the Guardian provider's API-key access policy to classifier requests and ignore assessments from the actor's response stream when a Guardian provider is configured. Keep mandatory review requirements in force and skip background scoring in User approval mode and Full Access. ## Testing Extend coverage for separate actor and Guardian providers at startup and after cold resume, including when both use the same model name. Cover catalog settings, scoring restrictions, and provider-specific API-key policy. GitOrigin-RevId: 5f83d1704bacc63033e144bba0d78752283cb590