mirror of
https://github.com/openai/codex.git
synced 2026-11-20 22:40:37 +00:00
## Why A failed catalog fetch can leave an explicitly configured Guardian provider without a classifier. Waiting for another fetch during tool dispatch would delay the tool call. ## What changed When a tool call is observed and background scoring is allowed, retry initializing the Guardian catalog without blocking dispatch. Allow only one background retry at a time. Check catalog readiness against the current credentials and schedule initialization if auth needs to be resolved first. ## Testing Add a regression test that holds the catalog retry open while the first tool call completes, then verifies that a later call is scored once discovery succeeds. Cover full-access sessions and mandatory review requirements, where background recovery is skipped. GitOrigin-RevId: 2f07bb6bdcfbf22e512f0bd223845f149fa186b5