Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Scheduled tasks in headless mode can now wait before starting

In headless mode the scheduler for recurring tasks can now hold off until the session is picked up, and adding a directory refreshes --add-dir settings

Under the hood Internal Changes
JSON All of v2.1.331
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Scheduled TasksArea: what it touches
Internal ChangesKind: in v2.1.331,
Internal ChangesSection of the release

Unclear It is not stated which sessions are marked to wait, so it is unclear whose scheduled tasks are delayed.

What

Headless mode is when Claude Code runs without its interactive screen, for example from a script. In that mode, the scheduler that runs recurring timed tasks used to start straight away. Some sessions are now marked to wait, and for those the scheduler does not start until the session has been taken up.

Adding a working directory, including through register_repo_root, now also refreshes the settings that come from --add-dir, the option that gives Claude access to extra folders.

Why

Scheduled tasks in a resumed headless session may fire later than they used to, once the session is actually running.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not stated which sessions are marked to wait, so it is unclear whose scheduled tasks are delayed.

See this entry in the whole of v2.1.331 →

Feedback