Skip to content

feat(claude-code-settings): sync to Claude Code v2.1.138#5665

Open
miteshashar wants to merge 1 commit into
SchemaStore:masterfrom
miteshashar:claude-code-schema-2.1.138
Open

feat(claude-code-settings): sync to Claude Code v2.1.138#5665
miteshashar wants to merge 1 commit into
SchemaStore:masterfrom
miteshashar:claude-code-schema-2.1.138

Conversation

@miteshashar
Copy link
Copy Markdown
Contributor

Schema

  • Add worktree.baseRef enum [fresh, head] to control whether worktrees branch from origin/ or local HEAD. Default: fresh. (v2.1.133, settings#worktree-settings)
  • Add sandbox.bwrapPath and sandbox.socatPath managed-only string properties for Linux/WSL custom sandbox binary paths. (v2.1.133, server-managed-settings)
  • Add parentSettingsBehavior admin-tier enum [first-wins, merge] to control SDK managedSettings merge behavior. Default: first-wins. (v2.1.133, server-managed-settings)
  • Add autoMode.hard_deny array for unconditional-block classifier rules (parallel to existing allow/soft_deny). (v2.1.136, permissions)
  • Add skillOverrides object for per-skill visibility control with enum [on, name-only, user-invocable-only, off]. (v2.1.129, skills#override-skill-visibility-from-settings)
  • Add 5 missing environment variables to $.env.properties:
    • CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN — disable fullscreen renderer (v2.1.132)
    • CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL — enable feedback survey for OpenTelemetry (v2.1.136)
    • CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY — opt-in gateway model discovery (v2.1.129)
    • CLAUDE_CODE_FORCE_SYNC_OUTPUT — force synchronized output (v2.1.129)
    • CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE — enable auto-upgrade background task (v2.1.129)

Tests

  • Update modern-complete-config.json with all new properties: worktree.baseRef: "head", sandbox.bwrapPath/socatPath, parentSettingsBehavior: "merge", autoMode.hard_deny, skillOverrides, all 5 new env vars set to "1"
  • Update edge-cases.json with default/boundary values: worktree.baseRef: "fresh", parentSettingsBehavior: "first-wins", all 5 new env vars set to "0"
  • All 8 coverage checks passing (test completeness, enum coverage, default values, negative tests)

Negative tests

  • Update invalid-enum-values.json with invalid enum values for all new properties and env vars

Coverage

✅ All 8 coverage checks passing
✅ Test completeness: 83/83 top-level properties covered
✅ Enum coverage: 94/94 enums with positive and negative tests
✅ Default value coverage: all defaults tested

🤖 Generated with Claude Code

Schema:
- Add `worktree.baseRef` enum [fresh, head] to control worktree branch source (v2.1.133)
- Add `sandbox.bwrapPath` and `sandbox.socatPath` managed-only paths for custom sandbox binaries (v2.1.133)
- Add `parentSettingsBehavior` admin-tier setting to control SDK managedSettings merge behavior (v2.1.133)
- Add `autoMode.hard_deny` array for unconditional-block classifier rules (v2.1.136)
- Add `skillOverrides` object for per-skill visibility control with enum [on, name-only, user-invocable-only, off] (v2.1.129)
- Add 5 missing environment variables: CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN, CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL, CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY, CLAUDE_CODE_FORCE_SYNC_OUTPUT, CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE (v2.1.129–v2.1.136)

Tests:
- Update modern-complete-config.json: add all new properties with valid examples
- Update edge-cases.json: add default enum values for worktree.baseRef (fresh), parentSettingsBehavior (first-wins), and all 5 env vars with "0" value

Negative tests:
- Update invalid-enum-values.json: add invalid enum values for worktree.baseRef, parentSettingsBehavior, skillOverrides, and 5 env vars

All 8 coverage checks passing. Changes verified against documentation and schemas.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @domdomegg, @bogini, @sarahdeaton, and @ant-kurt - if they write a comment saying "LGTM" then it will be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant