mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Move Guardian reviewer configuration into the extension (#45729)
## What changed Move concrete reviewer settings into `guardian-v2` and replace `ReviewerConfigOverrides` with a `ReviewerConfig` callback stored in thread extension data. Apply the callback to each captured parent configuration before preparing context and checking session reuse. Keep model selection, policy prompt construction, and live network state in the core adapter. Preserve the existing read-only reviewer settings and share `reviewer_permission_profile` with inherited environment configuration. ## Testing Update existing Guardian configuration, session reuse, and prewarming tests to use the extension's actual configuration builder, including compiling the shared source in core's test host. GitOrigin-RevId: dfa1dae9f8d4469f2e4f6e64ab842cc662970898
This commit is contained in:
1 parent
7784318b5f
commit
a9d2564bcb
13 files changed
+148
-156
No files matched your search
Generated
-1
@@ -3568,7 +3568,6 @@ dependencies = [
|
||||
"anyhow",
|
||||
"codex-analytics",
|
||||
"codex-extension-api",
|
||||
"codex-features",
|
||||
"codex-feedback",
|
||||
"codex-guardian-context",
|
||||
"codex-mcp",
|
||||
|
||||
Reference in new issue
Block a user