mirror of
https://github.com/openai/codex.git
synced 2026-11-13 06:45:07 +00:00
## What changed - Register a tool lifecycle contributor when Guardian V2 is installed. - On tool start, asynchronously ask the existing Luna sampler for a low-effort `action_risk` score constrained to the range from `0.0` to `1.0`. - Bound the tool metadata supplied to the classifier and treat it as untrusted input. - Emit an extension warning if classification sampling fails. ## Testing Add an integration test that verifies the contributor reuses the configured Luna pool and sends the expected model, attribution metadata, reasoning effort, strict output schema, and tool-call context. GitOrigin-RevId: 6b69fcc0443086544086849c38bcdd90560a291f