A pre-exit callback slot exists, but nothing in the build ever fills it.
The shutdown hook slot is called on exit but its register and clear wrappers have no callers.
What's wrong with this entry?
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.
- 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.
registerBeforeInteractiveShutdown
Strings lifted out of the shipped bundle, so the claim above can be checked against them.