Prepare isolated Guardian reviewer sessions (#40742)
## What changed - Add a policy prompt and output contract for synchronous Guardian reviews. - Build reviewer thread options with a preferred review model, low reasoning effort when supported, and a fallback to the parent model and effective effort. - Isolate reviewer sessions from parent instructions, MCP servers, optional features, and write access while preserving read restrictions, resolved environments, managed network constraints, and rollout persistence. - Mark prepared threads as internal Guardian review sessions for later host-managed startup. ## Testing - Cover reviewer isolation, read-only environment inheritance, review-model overrides, and parent-model fallback behavior. GitOrigin-RevId: 5133be99674b64e06e19e7f2dbc86439e1678790
W
Won Park committed
dc08ace7821614a702b1214c9d08ae0db2634d82
Parent: 9b4a0f8
Committed by copyberry <copyberry@app.openai.com>
on 8/26/2026, 12:19:33 AM