Skip to main content
Version: 0.27.1

CC-SET-003: Invalid worktree.baseRef Value - Claude Settings

Summary

  • Rule ID: CC-SET-003
  • Severity: MEDIUM
  • Category: Claude Settings
  • Normative Level: MUST
  • Auto-Fix: No
  • Verified On: 2026-05-08

Applicability

  • Tool: claude-code
  • Version Range: >=2.1.133
  • 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

{
"worktree": {"baseRef": "main"}
}

Valid

{
"worktree": {"baseRef": "fresh"}
}