mirror of
https://github.com/openai/codex.git
synced 2026-10-23 18:08:45 +00:00
## Why Resumed and forked threads need their persisted Guardian risk state available when routing later approval requests. ## What changed - Initialize a session's `SecurityRiskScore` from the latest score in its rollout history when no score was supplied explicitly. - Preserve the inherited score when resuming or forking a thread so low-risk actions can skip redundant Guardian reviews. ## Testing - Add app-server coverage for inheriting the latest Guardian score when resuming and forking threads. GitOrigin-RevId: 95a6c803f8dae75516d1da9d66a722379a0a7ef2