Artifact comment watchers can be restored after a headless resume by rescanning the transcript.
What's wrong with this entry?
Background watchers that report new comments on an artifact can now be re-established when a session resumes on a host surface, by rescanning the end of the session transcript instead of relying on the newer session-record store.
- The rescan reads the transcript from a saved byte offset and refuses if the file shrank, or grew by more than 8 MB, or if the appended region does not start on a line boundary and end with a newline.
- Only watcher records whose session id matches the current session are replayed.
- The watcher messages gained a host-surface variant that drops the
/tasks,/loginandclaude agentssuggestions, since those commands do not exist on those surfaces.
artifact-comment-monitor
Strings lifted out of the shipped bundle, so the claim above can be checked against them.