AIToday
Large Language ModelsAI Coding AssistantsZenn AI/MLPublished: Oct 12, 2026, 10:00 JST

Claude Code 2.1.294 plugs permission gaps in agent hooks

Claude Code 2.1.294 plugs permission gaps in agent hooks

3 Key Points

  1. What happened

    Anthropic's Claude Code 2.1.294 fixed natural-language prompt and agent hooks that were allowing operations they should deny, and improved Stop and SubagentStop judgment so it stops less slowly on build failures.

  2. Why it matters

    These four releases look like upgrades to permission state handling rather than model intelligence, which appears to matter because unattended automation depends on stop, approval, and resume transitions surviving failures.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

Read together, the four Claude Code releases read less like a capability jump than a repair of a state machine. Version 2.1.289 addresses a classic boundary problem: a rule that inspected the surface string of a command could be evaded once that command sat inside a compound shell expression or behind an environment variable assignment. Moving the rule to the operation actually executed, rather than its textual form, closes a path by which an allowed command's second half inherited the approval. Version 2.1.294 tackles the opposite failure, where a hook written in natural language permitted what it was meant to deny. Notably, the same change lets teams write short policy sentences while still stopping dangerous operations and continuing work that is unfinished.\n\nThe 2.1.290 and 2.1.291 releases then work on the surrounding plumbing of long runs. agentId and an organization approval ceiling give a hook the context of who is acting and at what level, which permits designs such as allowing an operation for the main session while requiring confirmation for a subagent. The same version restored scheduled task resumption after compaction, continuation of long WebFetch calls, and retention of a resumed subagent's reasoning and prompt cache. 2.1.291 then fixed regressions in which cloud sessions dropped answers to permission questions and lost the final message at exit. The pattern is that autonomy, at least here, looks less like a property of the model and more like the reliability of the stop, approve and resume transitions around it.\n\nThe adjacent items in the roundup point the same direction. Codex bootcamp 301 treats writable roots, execution rules, plan mode, the Codex SDK and non-interactive runs as one control system, and the HYSET tool-selection approach keeps a permission layer as a separate serial boundary instead of mixing it into a single score. The cheaper mid-tier models, and long-output systems that can be interrupted and resumed under internal-activity probes, appear to be pushing the same conclusion: what a model can call, where it can write, and whether it resumes correctly after a stop may matter more than what it knows.

FAQ
What exactly did version 2.1.294 fix?
It fixed natural-language prompt hooks and agent hooks that were permitting operations they should have rejected, and it improved how Stop and SubagentStop instruction-type hooks are judged.
Does version 2.1.289 close a security hole?
It fixes cases where compound shell commands and commands with environment variable assignments were evading deny and confirm rules, and it keeps those rules inside a command even after a variable assignment.
What is new for organizations in version 2.1.290?
It adds agentId to hook permission checks so a hook knows whether the main session or a subagent is calling a tool, and passes the organization's required approval level into the question and judgment.

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleJim Cramer: AMD's AI inference push opens growth