Automatic replies to Artifact comments can move between sessions of the same conversation.
What's wrong with this entry?
Only one session at a time answers comments on a published Artifact automatically, and that job can now move between sessions of the same conversation. A session that resumes the conversation or republishes the Artifact takes replies from the session currently holding them, the permission dialog says plainly that approving takes replies back from the other session, and both sessions get notices when replies move, come back, or were stopped elsewhere. Claude Code is also told to explain the state to you: the other session answers the comments, no comment notifications arrive in yours meanwhile, and asking to publish or calling resume_replies brings them back. The takeover rides on local session-to-session messaging; with that off it does nothing.
- The Artifact
statusoutput gains ayieldedauto-reply state, described as "auto-replies handed to another session of this conversation, which answers the comments now", alongside the existing armed, paused, stopped and disarmed states. - A
yieldedpage is retaken by a publish you ask for in this session or byresume_replies; merely asking about the page's status does not take replies back. - When replies resume in your session, the notice can say they were "moved here from" the previous session, which "now only watches for new versions".
- The resume notice for auto-replies gains a third explanation branch, replies "handed to another session of this conversation that resumed it or published there", beside the existing paused-on-interrupt and killed-watch-task cases.
- The handoff sentence is only produced when the session actually has the comment auto-reply capability, so sessions without it never mention the handoff.
- Outcomes are counted as
took_over_...,takeover_handed_back,takeover_unyield_precautionary,unyield_holder_gone,holder_unreachableandnothing_freed; when local messaging is unavailable the paths returndisabledormessaging_offinstead. - Resume guidance was corrected: rather than promising at most one watch survives
--resumeor--continue, it now says the most recently published or read Artifact's watch usually returns in an interactive terminal, along with every comment-replying watch, and that other clients may restore nothing. - An
other_orgfailure reason joins the existingnot_foundfor Artifacts that cannot be acted on. - The older resumed-publish consent wiring around carried Artifact watches, with reasons such as
ws_open_error,not_editorandarm_in_flight, was dropped from that call site in favour of a plain catch.
unyield_artifact_replies, handed to another session of this conversation that resumed it or published there, auto-replies handed to another session of this conversation, which answers the comments now, auto-replies handed to another session of this conversation
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.223
--resume-session-at help text clarified to chain entries
Both mention resume
-
v2.1.228
A /resume mid-upload no longer sends the wrong transcript
Both mention resume
-
v2.1.239
Resume hints no longer point at directories that are gone
Both mention resume