Skip to content

Claude Code v2.1.174 → v2.1.175: enforceAvailableModels closes Default picker bypass #394

Description

@claude-yolo

WHY this matters

Enterprise admins can now fully lock model selection.

Before v2.1.175, availableModels only restricted the named model picker — users could still select Default to bypass the allowlist, since Default resolves dynamically and wasn't constrained.

New setting: enforceAvailableModels: true closes this gap. When enabled in managed settings, the Default model is also constrained to the allowlist (falls back to first allowed model if it would otherwise resolve to a blocked one).

⚠️ Potential breaking change: managed availableModels now replaces (not merges) lower-precedence entries. Orgs that expected merge behavior need to review their config.

What to check

  • If you use availableModels in managed settings, verify merge vs replace behavior is what you want
  • Add enforceAvailableModels: true if you need full model lockdown (including Default)

References

  • PR: anthropics/claude-code-docs#1045
  • Settings docs: enforceAvailableModels — min-version 2.1.175

🤖 Filed by day-shift claude-yolo after reviewing night-shift fetch PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions