Group of 4 Use it now Notable
Claude Code's per-model capability checks now honor explicit true/false overrides, including via a new CLAUDE_CODE_MODEL_CAPABILITIES env var
What
- The shared model-capability gate helper (
dm, formerlyRm) now distinguishes an explicitfalseresult from an undefined/unset one. Previously only a falsy or undefined answer fell through to the same "no answer" fallback; now an explicitfalseimmediately disables the feature. - This affects checks such as
mid_conv_system,adaptive_thinking,rejects_disabled_thinking,context_management,fast_mode,lean_prompt,thrifty_sonic,mid_conv_tool_change, andrefusal_fallback, which now short-circuit to "off" as soon as the gate explicitly saysfalse, instead of falling back to matching on model-name strings likeopus-4-8orclaude-mythos-5. - The
fable_5_mitigationsgate similarly now respects an explicitfalsefor theclaude-mythos-5model, where before mitigations were always applied for that model regardless of the gate value. - A new
CLAUDE_CODE_MODEL_CAPABILITIESenvironment variable lets you override these capability flags directly, as a semicolon-separated list of rules in the formmodelPattern=flag1,-flag2,..., with a trailing*wildcard supported when matching model IDs.
Why Makes model-specific behavior more predictable: capability gates can now definitively turn a feature off rather than silently falling back to guesswork based on the model's name, and the new env var gives a direct way to override these flags.