mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:16:05 +00:00
Move synchronous Guardian orchestration into the reviewer extension (#44252)
## What changed Move the synchronous review loop, outcome mapping, deadline helpers, and session pool into `codex-guardian-reviewer`. Core supplies adapters for evidence capture, authorization checks, session creation, and event publication through the new host interfaces. Have `guardian-v2` initialize the reviewer pool and host separately, with the pool managing prewarming, session reuse, concurrent forks, invalidation, and shutdown. ## Testing Extend the app-server reviewer lifecycle test to cover interrupted concurrent reviews as well as completed reviews, including resuming a reviewer after parent shutdown. Adapt core reviewer tests to use the pool and factory interfaces. GitOrigin-RevId: 2d69bd20c169b20534764b98cbdb63f38564a530
This commit is contained in:
1 parent
eb7bd64ef9
commit
2617ed2e1c
27 files changed
+1570
-1417
No files matched your search
@@ -684,7 +684,9 @@ impl CodexThread {
|
||||
pub async fn guardian_trunk_rollout_path(&self) -> Option<PathBuf> {
|
||||
self.session
|
||||
.guardian_review_session()
|
||||
.trunk_rollout_path()
|
||||
.trunk()
|
||||
.await?
|
||||
.rollout_path()
|
||||
.await
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user