Skip to main content
Blue Moose logo Blue Moose Field notes
← All articles
claude code

Claude Code 2.1.330: loops now last 30 days, not 7

Sky and clouds over a landscape at dusk

I skimmed the Claude Code changelog expecting the usual wall of fixes, and 2.1.329 and 2.1.330 (19 Nov and 20 Nov) turned out to hide several changes that alter how I run things unattended. None of them is flashy, but a few of them will quietly change behaviour in a setup you already have.

Loops and scheduled tasks run longer, and reset differently

2.1.330 changes recurring scheduled tasks and /loop to run up to 30 days instead of 7, as long as their session keeps running, and Claude Code now says when they end. Tasks created before the release still stop at 7 days. That is a big difference for anything I leave ticking in a long-lived session.

The catch is in 2.1.329: saved scheduled tasks. In new signed-in sessions, most tasks saved by earlier versions need scheduling again, though --resume of their own session still runs them. The same release also changes "Exit and stop tasks" to end the session's scheduled tasks so they do not run again on resume, unless you exit while Claude is responding. If you rely on a task surviving a restart, check /tasks after upgrading rather than assuming. 2.1.329 also adds this session's scheduled tasks, /loop wakeups and forks to that list, and pressing x stops one after asking.

Destructive commands get more suspicion

2.1.330 changes more rm commands aimed at the root, the home folder, a top-level folder or the working folder to ask for approval; where nobody can answer, they are refused. That "refused where nobody can answer" clause is the interesting part for headless runs: a script that used to get through now fails, and I would rather find that out on a Tuesday afternoon than during a cleanup job.

In the same spirit, 2.1.329 fixed auto mode asking for manual approval to rm a symlink pointing outside the working directory, and adds a trust dialog warning that says where a folder's hooks are declared. Given how much has been written about repositories shipping hooks in their settings files, I like seeing the trust prompt name the file.

A config gotcha: deniedMcpServers

This one is easy to miss. 2.1.330 changes deniedMcpServers name entries to hide only the named claude.ai connector, not others at its URL. If you want to block every connector at that address, deny its exact URL instead. If you ever denied a connector by name and assumed the whole server was covered, that assumption just stopped being true.

Related and worth knowing: 2.1.329 notes that a PreToolUse hook that errors no longer refuses a Code Mode script's tool call, matching behaviour outside Code Mode. To make a hook fail closed, set "onFailure": "block" on the command, HTTP or MCP tool hook.

The reliability fixes I actually care about

Two fixes in 2.1.330 read like things I have been bitten by without diagnosing: changes to user settings being lost when several Claude Code processes saved them at the same time, and a freeze of up to several minutes right after compacting a very long conversation. 2.1.329 adds a fix for ~/.claude.json sometimes being reset to defaults after a network stall or file lock. If your config mysteriously reverted at some point, these are the likely suspects.

My takeaway: after upgrading, re-check three things: any scheduled tasks you expect to survive, any headless job that deletes files, and any MCP deny rules written by name. Everything else in these two releases is a bonus.

BM
Blue Moose
The moose behind Blue Moose. Full-stack PHP developer — Drupal by day, Symfony by night, tests always.