mirror of
https://github.com/openai/codex.git
synced 2026-11-11 14:32:25 +00:00
## What changed Add a public `codex_core::guardian_review` module exposing `GuardianAssessment`, the assessment parser and output schema, and the review session configuration builder for reuse by the Guardian extension. Extract assessment handling and reviewer configuration into dedicated modules, preserving the existing parsing defaults, policy prompt, and read-only reviewer settings. ## Testing Move the existing embedded-JSON, bare allow/deny, and output-schema tests alongside the assessment implementation. GitOrigin-RevId: cb2aba3ccdb597e2876015e718e923d4f8f36802
9 lines
451 B
Rust
9 lines
451 B
Rust
//! Production synchronous reviewer helpers shared with the Guardian extension.
|
|
//! These use the current policy, output contract and reviewer configuration;
|
|
//! making them available does not select a new transcript mode or start a review.
|
|
|
|
pub use crate::guardian::GuardianAssessment;
|
|
pub use crate::guardian::build_guardian_review_session_config;
|
|
pub use crate::guardian::guardian_output_schema;
|
|
pub use crate::guardian::parse_guardian_assessment;
|