Skip to content

docs: Claude Code v2.1.319 - ExitPlanMode auto-approve hooks now need updatedInput, new attributionProject setting for spend tags - #1443

Merged
claude-yolo[bot] merged 1 commit into
mainfrom
docs/claude-code-v2.1.319-20261108-0648
Nov 8, 2026
Merged

claude-yolo[bot] merged 1 commit into
mainfrom
docs/claude-code-v2.1.319-20261108-0648

Conversation

@claude-yolo

@claude-yolo claude-yolo Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Night shift report

WHY THIS MATTERS: The documented "auto-approve ExitPlanMode" hook in hooks-guide was broken. Upstream now says an allow for a tool that needs user interaction (ExitPlanMode, AskUserQuestion) is ignored unless it also carries updatedInput, so anyone who copied the old echo '{..."behavior": "allow"}' snippet still gets the prompt and never finds out why. Separately, a new support article adds an attributionProject setting for Claude Code. It shows up nowhere else in the archive (not in settings.md), and if you leave it unset, Claude Code usage goes untagged with no warning. MCP also rewrote its authorization tutorial, which changes the guidance on client registration and token validation.

HIGHLIGHTS:

  • Hooks: updatedInput is required to auto-approve interactive tools (hooks-guide.md, hooks.md). The example is now jq -c '{... decision: {behavior: "allow", updatedInput: .tool_input}}', and the acceptEdits variant was rewritten the same way. The PermissionRequest table in hooks.md now links AskUserQuestion/ExitPlanMode to the "allow with updatedInput" section.
  • Project tags for spend attribution (Enterprise beta), new support article 18251257. Owners create tags such as cost_code or client_matter, up to 16 per project, and see spend under Organization settings > Usage > Spend by project, or through beta Admin/Analytics APIs (read:project_tags/write:project_tags scopes). Claude Code needs { "attributionProject": "PROJECT_ID" } in .claude/settings.json or ~/.claude/settings.json (Claude Code >= 2.1.305 or Desktop >= 3.6556.1). It doesn't work on Claude Code on the web, Bedrock/Vertex/gateway/API-key setups, or with HIPAA, CMEK, ZDR, or non-US data residency.
  • MCP tasks: Claude Code is more lenient (mcp.md). Since v2.1.317 it accepts a task answer that omits createdAt/lastUpdatedAt/ttlMs or sets pollIntervalMs: null. Older versions failed with Unsupported result type 'task'. Server authors who want to support older clients should still send all of them.
  • MCP authorization tutorial rewritten (2026-07-28 and draft, about 1.4k lines each). The Keycloak walkthrough is gone, replaced by a provider-neutral guide. New sections cover client registration order (pre-registration, then Client ID Metadata Documents, then DCR, which is now marked deprecated), a checklist for choosing an authorization server (audience binding, code_challenge_methods_supported, public clients, refresh rotation), RFC 9207 iss validation (clients must reject a response that leaves out iss when the server advertises support for it), opaque tokens, and deploying beyond localhost. This is the security guidance people will copy.
  • MCP Skills extension: spec links moved from specification/stable/ to specification/beta/ in ext-skills, even though SEP-2640 is still listed as Final. This could be a repo reshuffle or a status walk-back. Worth watching.
  • Noise: about 50 support articles changed only their image URL tokens, and discovery.json/tombstones.json changed only their updated dates (nothing newly gone, nothing newly found). No deletions. The manifest is unchanged at 2.1.319.

Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning

… updatedInput, new attributionProject setting for spend tags

Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
@claude-yolo
claude-yolo Bot merged commit 21301a8 into main Nov 8, 2026
1 check passed
@claude-yolo
claude-yolo Bot deleted the docs/claude-code-v2.1.319-20261108-0648 branch November 8, 2026 06:50
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.

0 participants