feat(claude-code-settings): sync to Claude Code v2.1.138#5665
Open
miteshashar wants to merge 1 commit into
Open
feat(claude-code-settings): sync to Claude Code v2.1.138#5665miteshashar wants to merge 1 commit into
miteshashar wants to merge 1 commit into
Conversation
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>
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Schema
worktree.baseRefenum [fresh, head] to control whether worktrees branch from origin/ or local HEAD. Default: fresh. (v2.1.133, settings#worktree-settings)sandbox.bwrapPathandsandbox.socatPathmanaged-only string properties for Linux/WSL custom sandbox binary paths. (v2.1.133, server-managed-settings)parentSettingsBehavioradmin-tier enum [first-wins, merge] to control SDK managedSettings merge behavior. Default: first-wins. (v2.1.133, server-managed-settings)autoMode.hard_denyarray for unconditional-block classifier rules (parallel to existing allow/soft_deny). (v2.1.136, permissions)skillOverridesobject for per-skill visibility control with enum [on, name-only, user-invocable-only, off]. (v2.1.129, skills#override-skill-visibility-from-settings)$.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
modern-complete-config.jsonwith all new properties:worktree.baseRef: "head",sandbox.bwrapPath/socatPath,parentSettingsBehavior: "merge",autoMode.hard_deny,skillOverrides, all 5 new env vars set to "1"edge-cases.jsonwith default/boundary values:worktree.baseRef: "fresh",parentSettingsBehavior: "first-wins", all 5 new env vars set to "0"Negative tests
invalid-enum-values.jsonwith invalid enum values for all new properties and env varsCoverage
✅ 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