Make the Guardian v2 risk classifier model configurable (e.g. allow GPT-6 Luna)
Summary
Please make the model used by Guardian v2's asynchronous risk classifier configurable, and allow users to select a model such as gpt-6-luna instead of being locked to gpt-5.6-luna.
This is a feature request, not a report that the classifier is malfunctioning.
Current implementation
In the Codex source, the Guardian v2 async scorer currently hardcodes the model:
// codex-rs/ext/guardian-v2/src/async_scorer/sampler.rs
pub(crate) const MODEL: &str = "gpt-5.6-luna";
The Responses request then uses that constant directly:
model: MODEL.to_owned(),
This means users cannot choose a different classifier model through the normal Codex configuration.
Requested behavior
- Add a documented configuration option for the Guardian v2 asynchronous classifier model (for example, a dedicated
guardian/risk_classifier_modelsetting). - Allow users to select an available compatible model, for example
gpt-6-luna, rather than always usinggpt-5.6-luna. - Keep the current model as the default if needed, but make the choice explicit and overridable.
- Document model compatibility requirements and provide a safe fallback when a configured model is unavailable or does not satisfy the classifier's output contract.
Why this matters
The risk classifier runs as background work and its model choice is currently outside the user's control. Different models may offer better reasoning quality, latency, or usage characteristics. Users should be able to choose a newer compatible model while preserving Guardian's safety checks.
Scope clarification
This request is specifically about the Guardian v2 asynchronous scorer's hardcoded MODEL in codex-rs/ext/guardian-v2/src/async_scorer/sampler.rs.
It is distinct from DEFAULT_APPROVAL_REVIEW_PREFERRED_MODEL / the codex-auto-review model-selection path. A configuration option for one should not be assumed to configure the other.
Related discussion: https://github.com/openai/codex/issues/59835
Expected outcome
A documented, user-configurable Guardian v2 classifier model, with gpt-6-luna available as a selectable option when supported by the account/provider.
I tested this on macOS with Codex runtime 0.169.0-alpha.11.1 and gpt-6.2-astra selected for the chat.
- Opening Example Domain in the built-in browser produced a
Guardian V2 classification resultwith the same tool-call ID. A second call that only reported task completion produced its own matching result. - As a control, I requested approval for
/usr/bin/true. The synchronous reviewer appeared in the log ascodex-auto-reviewand returnedallow.
In a separate session, I matched all 38 retained background classification results to computer-use tool calls by ID. In the source for this release, the baseline scorer requests gpt-5.6-luna. The gpt-6-luna constant is used for an optional comparison. Baseline model · Comparison model
I'd like a documented setting that lets me select gpt-6-luna for routine background scoring when my account supports it, independently of the chat model and with the existing safety checks in place.