Skip to content

feat(claude-code-settings): sync to Claude Code v2.1.76#5467

Open
miteshashar wants to merge 2 commits intoSchemaStore:masterfrom
miteshashar:claude-code-schema-2.1.76
Open

feat(claude-code-settings): sync to Claude Code v2.1.76#5467
miteshashar wants to merge 2 commits intoSchemaStore:masterfrom
miteshashar:claude-code-schema-2.1.76

Conversation

@miteshashar
Copy link
Contributor

Schema

  • Add feedbackSurveyRate (number 0–1) for enterprise session quality survey control, as per settings documentation (v2.1.76)
  • Add modelOverrides (object, string→string) to map Anthropic model IDs to provider-specific values like Bedrock ARNs, Vertex names, or Foundry deployments, as per model-config documentation
  • Add worktree.sparsePaths (array of strings) for git sparse-checkout in large monorepos, as per settings documentation (v2.1.76)
  • Add PostCompact hook event — fires after context compaction completes, as per hooks documentation (v2.1.76)
  • Add Elicitation hook event — fires when an MCP server requests user input during a tool call, as per hooks documentation (v2.1.76)
  • Add ElicitationResult hook event — fires after user responds to an MCP elicitation, as per hooks documentation (v2.1.76)
  • Remove undocumented effortLevel default value ("high" was never documented as default); update description with tier-dependent defaults (Opus 4.6 defaults to medium for Max/Team) and /effort auto reference (v2.1.68)
  • Update outputStyle description to mention custom styles support in ~/.claude/output-styles/ or .claude/output-styles/, as per output-styles documentation
  • Update allowManagedDomainsOnly description to clarify that non-allowed domains are automatically blocked without user prompts (v2.1.74)
  • Remove LS, MultiEdit, NotebookRead, Task from permissionRule pattern — unverified tools from original community PR Add Claude Code settings.json schema #4798, not found in tools-reference docs or ToolSearch. Also remove MultiEdit and Task(Explore) from permissionRule examples
  • Add claudeMdExcludes — glob patterns for excluding CLAUDE.md files in monorepos, as per memory documentation. Not in changelog; documented feature missed in prior syncs.
  • Add allowedHttpHookUrls — URL pattern allowlist for HTTP hooks, as per settings documentation. HTTP hooks added in v2.1.63; this security setting missed since then.
  • Add httpHookAllowedEnvVars — env var name allowlist for HTTP hook header interpolation, as per settings documentation. Same origin as allowedHttpHookUrls.

Tests

Negative tests

  • No changes needed — no new enums, patterns, or required fields added

Skipped

🤖 Generated with Claude Code

miteshashar and others added 2 commits March 7, 2026 13:28
Schema:
- Add claudeMdExcludes property for excluding CLAUDE.md files in monorepos
- Add allowedHttpHookUrls property for HTTP hook URL allowlisting
- Add httpHookAllowedEnvVars property for HTTP hook env var allowlisting

Tests:
- Add claudeMdExcludes, allowedHttpHookUrls, httpHookAllowedEnvVars to modern-complete-config.json
- Add allowedHttpHookUrls, httpHookAllowedEnvVars to hooks-complete.json

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Schema:
- Add `feedbackSurveyRate` number property (0–1)
- Add `modelOverrides` object property
- Add `worktree` object with `sparsePaths` array
- Add `PostCompact`, `Elicitation`, `ElicitationResult` hook events
- Remove undocumented `effortLevel` default, update description
- Update `outputStyle` description with custom styles
- Update `allowManagedDomainsOnly` description with auto-blocking
- Remove LS, MultiEdit, NotebookRead, Task from permissionRule pattern
- Remove MultiEdit and Task(Explore) from permissionRule examples

Tests:
- Add feedbackSurveyRate, modelOverrides, worktree to modern-complete-config.json
- Add PostCompact, Elicitation, ElicitationResult to hooks-complete.json

Negative tests:
- No changes needed

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Contributor

Thanks for the PR!

This section of the codebase is owned by @domdomegg, @bogini, 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