AI Aulis

AI NEWS IN ENGLISH · 20 November 2026

The most important AI news every morning. AI writes and checks the stories against the original sources – check important facts in the sources.

41 stories · next issue tomorrow morning · How the paper is made →

← Issue 20 November 2026Paper

Claude Code 2.1.329 trust dialog shows where a folder’s hooks come from

AI-generated contentWritten by AI

github.com, huggingface.co, htlin222.github.io, code.claude.com · 5 sources · Sources published: 20 November 2026 · Some source publication dates are unknown

Before users trust a folder, the new version of Anthropic’s coding agent tells them where its hooks are declared. In Code Mode, a PreToolUse hook that errors no longer blocks a tool call, so blocking hooks must now be marked explicitly.

Anthropic released Claude Code version 2.1.329 on 19 November. Claude Code is Anthropic’s coding agent, which runs in the terminal, IDE extensions, the Desktop app and the cloud. A hook is a command, HTTP request or other action that the user defines and Claude Code runs automatically at a set point, for example before a tool call.

Where hooks come from matters. Claude Code’s documentation says hooks can be defined in the user’s own settings, plugins, skills and subagents, and in a project’s .claude/settings.json file, which can be committed to the repository. A cloned repository can therefore bring hooks with it. The trust dialog now shows a warning that says where a folder’s hooks are declared, the changelog says. This is a warning only: the changelog does not say that the hooks are prevented from running.

Claude Desktop and other non-interactive hosts now show a warning in the conversation if hooks in an organisation’s managed settings fail to load.

One change requires users to act. By default, a hook error does not block the action, the documentation says. If a hook fails to start or exits with a code other than 0 or 2, the action goes ahead. Code Mode, in which Claude calls tools through a script it writes, has until now been stricter: a PreToolUse hook that errored blocked the script’s tool call. Version 2.1.329 removes this exception. If a command, HTTP or MCP tool hook must block a call even when it fails, add "onFailure": "block" to it. The field requires version 2.1.295 or later. Code Mode users have lost a layer of protection they never set up themselves, the Chinese-language CCChange blog wrote.

Code Mode now also starts when telemetry, non-essential traffic or feature flags are turned off. It can still be kept off in managed settings, and OpenTelemetry tracing still keeps it disabled.

In new signed-in sessions, most scheduled tasks saved by earlier versions need scheduling again. Resuming their original session with --resume still runs them. The CCChange blog’s author tested this on a personal machine. In that test, Claude Code skips any task it cannot show was created in the session’s organisation and leaves it untouched in the scheduled_tasks.json file. The file therefore does not reveal which tasks were not run.

The version removes the automatic retry at the limit named in a max_tokens error, which was added in version 2.1.326. If a model behind a gateway accepts fewer output tokens, set CLAUDE_CODE_MAX_OUTPUT_TOKENS to that limit.

The version also fixes, among other things, ~/.claude.json resetting to its defaults and dozens of bugs in Code Mode and the VS Code extension.

What this is based on

  1. v2.1.329

    anthropics · Publisher: github.com · published 20 November 2026 at 00:14 (UTC+02:00) · retrieved 20 November 2026 at 04:25 (UTC+02:00) · discovery channel: GitHub

  2. ratanon/claude-code

    Publisher: huggingface.co · source publication time unknown · retrieved 8 November 2026 at 05:05 (UTC+02:00) · discovery channel: web

  3. 2.1.329:舊版存下來的排程任務,換個登入就不跑了 - CCChange

    Publisher: htlin222.github.io · published 20 November 2026 at 02:00 (UTC+02:00) · retrieved 20 November 2026 at 05:10 (UTC+02:00) · discovery channel: web

  4. Hooks reference - Claude Code Docs

    Publisher: code.claude.com · source publication time unknown · retrieved 20 November 2026 at 05:10 (UTC+02:00) · discovery channel: web

  5. Automate actions with hooks - Claude Code Docs

    Publisher: code.claude.com · source publication time unknown · retrieved 20 November 2026 at 05:10 (UTC+02:00) · discovery channel: web

Report an error in this story