mirror of
https://github.com/openai/codex.git
synced 2026-11-05 16:29:31 +00:00
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
This commit is contained in:
1 parent
bde9db1375
commit
5b92c2d2f5
6 files changed
+24
-22
No files matched your search
@@ -1441,6 +1441,10 @@
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"persist_scores": {
|
||||
"description": "Persist reviewed actions and risk scores to rollout files for debugging.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"reasoning_effort": {
|
||||
"$ref": "#/definitions/ReasoningEffort"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user