Repository navigation
A patch on top of 1.36.2: a conversation left open overnight now asks to hand off at its first message.
Fixed and improved
- The first message after a night, in a window left open, asks whether to hand off and clear.
1.36.2 handed off a conversation resumed after a night, but a window left open overnight starts
nothing: the next morning's message goes straight in, no session-start hook fires, and every
request from then on re-sends the whole conversation. That was 5 of 31 measured nights in one
repository. A newUserPromptSubmithook applies the same rule (a new date and eight hours or
more since the last reply), writes the handoff, and tells the session to ask in one line whether
to hand off and/clearbefore it starts on the message. "No" carries on and is not asked
again. Outside a chamnan workspace it still asks and writes nothing. It is silent within a
sitting, forclaude -pdispatches, and after a resume that was already handed off.
Verification
Local suite 7027/7027 on the tagged commit; CI green on all five legs (Ubuntu, macOS, Windows; Python 3.9 and 3.13).
Upgrade
/plugin update chamnan, then restart Claude Code so the new hook is registered.