Repository navigation
Set "Queued for Claude" apart in the panel field's turn line - #4541
Merged
Merged
Conversation
An update the agent hasn't received read "Saving…" while the browser sent it
and "Saved" once the server logged it. Both describe storage, which the
message already drawn in the thread shows, and neither says where the agent
stands, which is what the user reads the label for. They were also the only
stage words not in the agent's voice, and named the machinery the glossary
rules out ("not that something was sent, logged, stored").
Both stages now read "Not seen yet", and the stale-delivery condition, which
read "Haven't seen it yet" after the two-minute pickup grace, reads "Still not
seen", so it escalates the same fact. A send that isn't getting through still
says so in the page's status ("Lost the connection — keep this page open and
this goes through", "Not through yet — trying again…"), and the message keeps
`aria-busy` while its POST is in flight.
Behavior change: the stage label on a message head, a Threads row, a margin
entry and the agent's list. Tests pinning "Saved", "Saving…" and "Haven't seen
it yet" now pin the new words; the smoke tests still prove the message draws
before its POST returns.
The user chose (2026-10-27) to have Leaf, not the agent, speak for an update the agent doesn't have yet: it reads "Queued for Claude", naming the page's agent, in the italic that sets Leaf's own words apart, and "Still queued for Claude" past the pickup grace. The agent can't be saying anything about an update it hasn't received, so the agent-voice "Not seen yet" put words in its mouth. `workflowVoice` says who speaks a workflow's word: Leaf at stages `sending` and `sent`, else the agent. The message head, the Threads row, the agent's list and a margin entry's label carry it as `data-voice` and set Leaf's in italic, as the panel's field already did; a contribution entry takes a `voice` for its label. The Page Map's group of such receipts reads "Queued". An open to-do the agent isn't running now reads "Still to do" rather than "To-do open", which named the record rather than what it means for the user's request. The answer head that leaves the to-do reads `todoLabel` too, instead of its own copy of the words. Behavior change: those words and their italic on each surface. Tests pinning "Not seen yet", "Still not seen" and "To-do open" pin the new words; a runtime test holds the voice and words of an unreceived update.
# Conflicts: # dist/kernel/kernel.json # dist/kernel/runtime/bundle-data.js
The workflow model imported `semantic-state.agentName` for "Queued for Claude", which gave `thread/workflow.js`, `margin-model.js` and `margin-map-model.js` the application state's initialization graph and broke their dependency closures (`.dependency-cruiser.mjs`; review on #4513). `workflowLabel`, `workflowTitle`, `workflowStep`, `threadAttention` and `threadMarks` now take `agent` as an argument, and their application-facing callers pass `agentName()`. No behavior changes; the words are the same. Also formats lines the earlier commits left unformatted.
# Conflicts: # browser/runtime/floating-panel.js # dist/kernel/kernel.json # dist/kernel/leaf.js
Seven more browser and journey tests pinned "Saved" or "Haven't seen it yet" on a message head, a Threads row or a margin entry; they now pin "Queued for …" and "Still queued for …". The margin status test names the claim's agent, Claude. Two "Saved" pins elsewhere are widget notices, not stage words, and stay.
# Conflicts: # dist/kernel/kernel.json # dist/kernel/runtime/bundle-data.js
The turn line beside the leaf in the panel's field (#4510) said a thread's word upright, so a thread whose update the agent doesn't have yet read "Queued for Claude" there in the agent's type while every other surface set it in Leaf's italic (#4513). `turnLead` now wraps the word in a span carrying the attention's `voice`, and `floating-panel.css` sets Leaf's in italic, as it does on a Threads row.
# Conflicts: # browser/runtime/floating-panel.js # dist/kernel/kernel.json # dist/kernel/leaf.js
leaf-agent
approved these changes
Oct 28, 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.
The turn line beside the leaf in the panel's field (#4510) said a thread's word upright, so a thread whose update the agent doesn't have yet read "Queued for Claude" there in the agent's type, while the message head, Threads row, On Claude list and margin entry set it in Leaf's italic (#4513).
turnLeadnow wraps the word in a span carrying the thread attention'svoice, andfloating-panel.csssets Leaf's in italic, as on a Threads row.