Skip to main content
Version: 0.37.2

CC-SET-007: Non-boolean enforceAvailableModels Setting

Summary

  • Rule ID: CC-SET-007
  • Severity: MEDIUM
  • Category: Claude Settings
  • Normative Level: MUST
  • Auto-Fix: No
  • Verified On: 2026-06-16

Applicability

  • Tool: claude-code
  • Version Range: >=2.1.175
  • Spec Revision: unspecified

Evidence Sources

Test Coverage Metadata

  • Unit tests: true
  • Fixture tests: false
  • E2E tests: false

Examples

The following examples demonstrate what triggers this rule and how to fix it.

Invalid

{
"enforceAvailableModels": "true"
}

Valid

{
"enforceAvailableModels": true
}