Claude Code 2.1.185: Webhook Triggers Can No Longer Approve Auto-Mode Actions
Claude Code 2.1.185 reclassifies webhook and scheduled-task deliveries as task notifications, blocking them from approving pending actions in auto mode. Operators running CI/CD webhook pipelines and MCP-authenticated gateways need to review their automation boundaries.

Claude Code 2.1.185 shipped today with a security boundary change that directly affects any team running Claude Code in auto mode via webhook triggers or scheduled tasks: those deliveries can no longer approve a pending action or silently set the session title. They are now classified as task notifications, not keyboard input. If your CI/CD pipeline sends webhook events to Claude Code expecting them to confirm a tool call, that pipeline will need to be updated.
What happened
The 2.1.185 changelog entry is precise:
Fixed scheduled task and webhook trigger deliveries being treated as keyboard input; they now classify as task notifications and can no longer approve a pending action or set the session title in auto mode.
Previously, a webhook payload arriving in an active Claude Code auto-mode session could be processed the same way a user keypress would — including satisfying a pending action confirmation. This created an implicit approval pathway through the automation channel, bypassing the human-in-the-loop gate.
Two related fixes shipped in the same release:
- MCP auth-stub exposure: "Fixed MCP servers requiring authentication exposing auth-stub tools to the model in headless/SDK mode." In headless or SDK operation, if an MCP server required authentication that wasn't configured, Claude Code would previously advertise the stub tool to the model — giving the model tool-call opportunities that would fail at auth time. Those stubs are now suppressed.
- Attribution control: A new
attribution.sessionUrlsetting lets operators omit the claude.ai session link from commits and PRs in web and Remote Control sessions, giving teams control over what appears in commit metadata when Claude Code authors code.
The version also updates the stream-stall hint text (now reads "Waiting for API response · will retry in …" after 20 seconds) — a minor observability improvement for gateway teams monitoring upstream latency.
Why it matters for AI engineering teams
Auto-mode webhook pipelines need an audit. The most affected architecture is one where a CI/CD system sends webhook events to Claude Code to trigger work, and Claude Code runs in auto mode. If any step in that pipeline expected the webhook delivery to serve as an implicit confirmation for a tool call — file write, git commit, deployment trigger — that path is now broken by design. The fix enforces a clean separation: webhooks and scheduled tasks drive new work, but only explicit human approval (or a configured permission policy) can confirm pending actions.
Headless SDK pipelines may have been over-exposing tool surfaces. Teams running Claude Code in SDK mode via --print or programmatic invocation, and connecting to MCP servers that require authentication, should verify their MCP server configs are properly credentialed. If auth was not configured, Claude Code was offering the model tools it could call but not complete — generating unnecessary tool-call attempts and wasting tokens or triggering retries.
Commit attribution is now auditable. The attribution.sessionUrl setting matters for teams with git governance policies. Claude Code commits have historically included a claude.ai session link in the commit message. For enterprise teams with compliance requirements around commit metadata, the ability to suppress that link — or keep it as an audit trail — is now configurable.
The router/operator angle
This release tightens the security model for what the Claude Code auto-mode approval channel accepts. From a gateway routing perspective, three things follow:
Webhook-as-trigger vs. webhook-as-approver: Operators should establish a clear policy: webhooks and scheduled tasks are input sources, not confirmation channels. Any tool calls that require approval must route through a human review step or a configured policy — not through the automation channel. This is the boundary 2.1.185 now enforces.
MCP credential hygiene is a routing concern: If your gateway routes Claude Code sessions to MCP servers, those servers must be credentialed before the session reaches Claude Code. The auth-stub suppression in 2.1.185 removes the model's visibility of unavailable tools, but it also means incomplete MCP credential configs will now silently reduce the model's tool surface — potentially causing unexpected behavior if a tool disappears mid-session after a credential expires.
Attribution as a governance signal: For teams routing multiple Claude Code sessions through a shared gateway or shared repository, the attribution.sessionUrl setting gives you control over the commit-level identity trail. This is particularly relevant for teams where multiple CI agents share a repo and commit attribution needs to distinguish human work from agent work.
What TheRouter users should watch or try
If you run Claude Code in auto mode triggered by webhooks or scheduled events, review your automation pipelines to confirm no step relies on the webhook delivery as an action approval. Pipelines that send trigger events and then wait for a human to approve any blocking tool calls are already correctly scoped — 2.1.185 enforces that boundary for everyone.
For MCP-connected deployments, verify that every MCP server your Claude Code sessions connect to has valid credentials configured before the session starts. A credentialing gap that was previously visible as a callable (but failing) stub tool is now invisible to the model — meaning the model won't attempt those calls, but also won't know the capability exists.
Update to 2.1.185 by running npm install -g @anthropic-ai/claude-code or using your managed deployment update path.

Claude Code 2.1.269: Three Operator Changes Hidden Inside a 60-Fix Release
Claude Code 2.1.269 ships with a gateway discovery timeout override, a hard cap on concurrent workflow agents, and a fix for deny rules that were silently applying beyond their config source. Each one changes how operators govern Claude Code at scale.

Claude Code 2.1.228: The Settings-Merge Bug That Put Custom Headers in the Wrong Tier
2.1.228 fixes a settings-merge bug where marketplace entries could silently inherit custom headers from lower-precedence settings tiers, and makes Vertex AI credential failures fast — two changes that change how you audit operator deployments.

Claude Code 2.1.222 Fixes Silent Gateway Stream Drops and a Background-Task Hook Bypass
Three fixes in Claude Code 2.1.222 directly affect operators running custom ANTHROPIC_BASE_URL gateways: stream idle timeout now respects keepalives from any endpoint, a PreToolUse hook bypass in background tasks is closed, and worktree git-command scope is hardened.