Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.242 ·

A pre-shutdown callback slot exists but nothing fills it

A pre-exit callback slot exists, but nothing in the build ever fills it.

Nothing to try yet In Development
JSON All of v2.1.242
Nothing to try yetTier: how much it should matter to you
1Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Session LifecycleArea: what it touches
In DevelopmentKind: in v2.1.242,
In DevelopmentSection of the release

The shutdown hook slot is called on exit but its register and clear wrappers have no callers.

What

The interactive session host gained a way to register a callback that runs just before Claude Code exits, and the exit path does call it. But the register and clear operations are only reachable through two module-level wrappers that nothing in the build calls, so the slot is always empty and the new step does nothing.

Details
  • The run step is wired into the normal interactive exit sequence, followed by a short wait.
  • Infrastructure landed ahead of whatever will register into it.
Evidence

registerBeforeInteractiveShutdown

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.242 →

Feedback