mirror of
https://github.com/openai/codex.git
synced 2026-10-29 19:08:43 +00:00
## What changed Add `ReviewInput` to bundle an approval request with its captured parent history and review context. Its `assess_isolated` method runs a fresh reviewer without publishing a live approval, honors deadlines and cancellation, and returns a `GuardianAssessment` or review error. Share review parameter construction with the live review path and extract assessment parsing and error conversion into `GuardianReviewSessionOutcome::into_assessment`. ## Testing Add a mock-backed test that verifies the isolated assessment is returned and the reviewer receives the captured history without instructions added after capture. GitOrigin-RevId: 10dd5fddf5fc58bfab124f5962a6b7f45d435c83