mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
## 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
11 lines
256 B
Python
11 lines
256 B
Python
load("//:defs.bzl", "codex_rust_crate")
|
|
|
|
codex_rust_crate(
|
|
name = "guardian-v2",
|
|
compile_data = [
|
|
"src/async_scorer/classifier_instructions.md",
|
|
"src/sync_reviewer/policy_template.md",
|
|
],
|
|
crate_name = "codex_guardian_v2",
|
|
)
|