mirror of
https://github.com/openai/codex.git
synced 2026-09-08 15:50:34 +00:00
## What changed - Add optional `guardian_v2` model-message defaults for classifier instructions, review thresholds, reasoning effort, transcript selection and limits, and action and compaction token limits. - Apply those defaults when Guardian v2 samples a tool call, while preserving explicit `[features.guardianv2]` settings over catalog values. - Preserve the new catalog configuration when applying model overrides. ## Testing - Cover model-catalog serialization and model override behavior. - Verify that sampling uses catalog defaults while retaining local overrides. GitOrigin-RevId: 4ae9ec235c647acbca05a20b7c4b87a4e1331161
codex-protocol
This crate defines the "types" for the protocol used by Codex CLI, which includes both "internal types" for communication between codex-core and codex-tui, as well as "external types" used with codex app-server.
This crate should have minimal dependencies.
Ideally, we should avoid "material business logic" in this crate, as we can always introduce Ext-style traits to add functionality to types in other crates.