mirror of
https://github.com/openai/codex.git
synced 2026-10-21 16:38:24 +00:00
## What changed - Add a Guardian circuit-breaker policy for models whose catalog specialty is `cyber`. - Interrupt those models after the first Guardian denial while retaining the existing denial thresholds for other models. - Centralize the `cyber` model-specialty identifier for use across core, protocol, app-server, and TUI code. ## Testing - Cover the cyber-specific threshold in the circuit-breaker unit tests. - Verify end to end that a denied command is not executed and the turn is interrupted after one denial. GitOrigin-RevId: fad24c9e7aa280432580db1f0e39d13535779710
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.