Anthropic Product minor

Claude Code 2.1.289 closes permission-rule gaps and adds agent.spawn for mods

Claude Code 2.1.289 fixes several cases where Bash and Read deny or ask rules did not apply, stops user plugins rewriting managed MCP sign-in tool descriptions, and adds agent.spawn for teammates to the mods API.

What does this mean for me?

Action needed
  • Engineering leadership

    Cost, risk, timeline, team impact Action needed

    If your teams rely on Claude Code deny or ask rules as a guardrail, especially with sandbox auto-allow or on managed machines, have them upgrade to 2.1.289: earlier versions let some Bash and Read rules be bypassed.

  • Engineer

    What to change, what breaks, what to test Action needed

    Upgrade to Claude Code 2.1.289 if you use Bash deny/ask rules with sandbox auto-allow (env-var-prefixed commands slipped past them) or Read deny rules with IDE symlinks. Mod authors can now use agent.spawn for teammates and handle ui.fault from a failed Client.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do — this is a Claude Code release and does not change the Claude apps.

Claude Code 2.1.289 is mostly a fix release, but several of the fixes concern permission rules that did not hold, which matters to anyone relying on deny or ask rules as a guardrail.

Permission fixes in this version:

  • Bash deny and ask rules missed a command behind an environment-variable prefix with an expanded value (for example TZ="$HOME" rm -rf build) when the sandbox auto-allows commands, and were skipped when a bare variable assignment came before the command.
  • A deny or ask rule on a nested part of a compound shell command did not hold over a user-installed mod’s approval on managed machines.
  • Read deny rules did not apply to files @-mentioned, changed, or selected in the IDE through a symlink.
  • A user-installed plugin could rewrite the descriptions of an organization-managed MCP server’s sign-in tools.

For mod and plugin authors, the release adds agent.spawn for teammates, one agent id across plugin hook events, and idle and waiting states in $.agent.list(). A mod Client that fails while drawing now fails alone and raises ui.fault instead of taking down everything the mod drew around it. The VS Code extension also reverts a 2.1.288 change to claude auth status that may have made sign-outs more frequent.

The remaining items are rendering, plugin-listing, and stability fixes.

The changelog carries no release dates. This version appeared between the watchlist snapshots of October 2 and October 4, 2026, so the date is approximate.

Topics: Agents and tool use, Coding tools

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
approximate
How this entry was made
Drafted by an agent, reviewed by a person