Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.318 ·

Some mod calls are refused in a classic.SessionStart hook on pre-started sessions

If a host started the session early, some mod calls made from a classic.SessionStart hook are now refused instead of hanging

You'll notice Improvements
JSON All of v2.1.318
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
ModsArea: what it touches
ImprovementsKind: in v2.1.318,
ImprovementsSection of the release

Unclear It is not clear which mod calls this applies to.

What

A mod is a user-written add-on, and a hook is code a mod runs when something happens. Some sessions are started ahead of time by the host, the program running Claude Code. In those sessions, certain calls made from a classic.SessionStart hook are now refused. The message says to run the code from session.start or a later event such as turn.complete.

Why

These calls would wait for start-up to finish, but start-up is itself waiting for the hook, so the session would hang. Mod authors whose code is refused should move it to one of the later events.

Read from
What the documentation says
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 clear which mod calls this applies to.

See this entry in the whole of v2.1.318 →

Feedback