Repository navigation
Cue an agent turn arriving in an open thread like a sent one - #1714
Merged
Merged
Conversation
A message the user sent got the yellow cue on its own words, but an agent reply arriving in a card the user had open got nothing, and it was marked read as soon as it was shown, so its unread rail barely painted. The cue's condition was the message being a pending local send. It is now the message joining a thread view that was already presented, whoever wrote it, plus the pending send for a new thread's first message. Opening a card still cues nothing it already holds, and admission still never replays the cue. The `.lf-msg.grow` rule had no writer since the Lit rewrite and is gone; `.lf-thread.grow` still settles a new thread into the list. TODO gains the open question of whether a margin card may cover the rail, and how an element would declare that it may be covered. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A message the user sends gets a yellow cue on its own words, but an agent reply arriving in a thread card the user has open got nothing. It was also marked read as soon as it was fully on screen, so its unread rail barely painted. The cue's condition was the message being a pending local send (
messages.js). It is now any message joining a thread view that was already presented, whoever wrote it, plus a pending send for a new thread's first message. Opening a card still cues nothing it already holds, and admission still never replays the cue..lf-msg.growhad no writer since the Lit rewrite (#732) and is removed;.lf-thread.growstill settles a new thread into the list.test_an_agent_reply_into_an_open_card_cues_only_its_own_wordsfails without the runtime change and passes with it;test_sending_flashes_only_the_new_messagestill passes on all six send surfaces.TODO gains "Decide whether a thread card may cover the margin rail": the card starts right of the target's margin marker (
comment-placement.js,margin), and no element can yet declare whether a floating surface may cover it.