Make Guardian risk score persistence opt-in (#40911)
## What changed - Add the `features.guardianv2.persist_scores` configuration option for debugging. - Default the option to `false`, so Guardian V2 reviewed actions and risk scores are only written to rollout files when explicitly enabled and the session is not ephemeral. ## Testing - Cover configuration deserialization, default non-persistence, and opt-in persistence for nested code-mode actions. GitOrigin-RevId: 452af99ef14553d45140340ececc2913389124d0
J
jif committed
5b92c2d2f54f90fee51bb8b71e17fa3619130425
Parent: bde9db1
Committed by copyberry <copyberry@app.openai.com>
on 8/26/2026, 4:23:34 PM