You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit de1f4a4
Browse filesBrowse the repository at this point in the historyBrowse files
Colour a thread margin entry when its next word is the reader's (#785)
A reader scanning the margin rail had no way to tell which conversations
wanted something from them. The agent's side of that question was
already there in green, so the reader's side was the gap.
A thread reading now carries `awaitsReader` — the server's one answer to
whose turn a conversation is, which the Threads panel's On you filter
and the banner's Ask count already read — and paints it the way working
paints green: blue glyph, blue interior, and "On you" in the label and
the accessible name so colour is never the only channel. Agent workflow
outranks it on the same carrier, because live work is what the reader
needs first and one interior carries one wash. An aggregated thread
control takes the turn of any member, as it already takes the most
urgent member's workflow stage. Margin and Page Map paint the same
attribute.
Reading the existing projection rather than deriving "the agent spoke
last" is deliberate: a second reading in the margin would let the rail
say On you about a thread the panel's On you filter then hides. It is
narrower in one shape: with no structural Ask the projection consults
only the latest spoken turn, so a thread whose root is an agent comment
and whose latest spoken turn is an agent reply carrying no `awaits`
reads as on nobody, however plainly the root asked. A structural Ask
deliberately survives a later plain turn; the comment-is-a-question rule
does not. That asymmetry is `events.py`'s to settle and would move the
banner and the panel with it, so it is a TODO item rather than a
workaround here. No page in the corpus stands that shape, which the item
says, because seeding one is the evidence the decision will need.
The colour is a first pass, not a settled scheme. `--turn-tint` /
`--turn-wash` / `--turn-ink` sit beside the `--ok-*` trio, `--turn-ink`
is currently the accent, and TODO.md names what is still open: whether
the reader's turn wants a hue of its own, whether a thread on nobody
should say so, and the panel's On you chip, whose `lf-needs` hook class
no stylesheet reads.
`--lf-agent-tint` becomes `--lf-entry-tint`, since two states now set
the tint that hover must not erase.
### Where to look
`skills/leaf/assets/runtime/margin-projection.js` reads `awaitsReader`
onto the thread item and paints the marker and each reading option;
`margin-entries.js` owns `syncMarginTurn` and the module header's
statement that the turn is projection state rather than a contributor
axis; `page-map-dialog.js` paints the map rows; `chrome.css` holds both
rules and the precedence; `theme.css` holds the tokens and the comment
saying they are provisional.
### Checks
Everyday suite green (1141). Nightly render suites for margin,
conversations, gate, pages, navigation, startup, controls, widgets,
reactions, product and export green, plus `test_site.py`. The new test
in `test_render_margin.py` bug-backs five ways: flip the icon token,
flip the projection predicate, drop the agent-workflow precedence, drop
the Page Map paint, or make the attribute sticky instead of clearing,
and it goes red on the matching assertion.
The gallery specimen is `bg-thread-text` in the Threads section, whose
own Thread control is blue and visible. Its existing agent reply now
asks the reader a question and sets `awaits`, which leaves the log's
thread set, ids and order untouched — seeding a new thread instead
shifted the order and reddened three `t`-walk tests across a fixture
twelve nightly files share.
> _This was written by Claude Code on behalf of max-sixty_
---------
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Copy file name to clipboardExpand all lines: examples/developer/feature-gallery.jsonl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
{"kind":"comment","author":"claude","agent":"Codex","revision":1,"text":"Gallery conversation: which space is easier to find? This thread shares its target with the decision and reaction controls.","anchor":{"section":"bg-crowded"},"id":"a554d5e884abffdb6494a2fb90b0634f","ts":"2026-09-02T00:12:33-07:00"}
4
4
{"kind":"comment","author":"user","revision":1,"about":"design","text":"Gallery conversation: keep the filter rows compact enough to scan without hiding their facets.","id":"b654d5e884abffdb6494a2fb90b0634f","ts":"2026-09-02T00:12:34-07:00"}
5
5
{"kind":"reply","author":"claude","agent":"Codex","parent":"b654d5e884abffdb6494a2fb90b0634f","responds":"b654d5e884abffdb6494a2fb90b0634f","text":"The filter rows now wrap within the panel, so every facet stays visible without a horizontal scrollbar.","id":"c754d5e884abffdb6494a2fb90b0634f","ts":"2026-09-02T00:12:35-07:00"}
6
-
{"kind":"reply","author":"claude","agent":"Codex","parent":"2be2443f0bb6cc49fc86b52f340e6073","responds":"2be2443f0bb6cc49fc86b52f340e6073","text":"The pasted image stays inside this conversation.\n\n","id":"99c0fe07394842658a16eaeb73300ca8","ts":"2026-09-02T00:12:55-07:00"}
6
+
{"kind":"reply","author":"claude","agent":"Codex","parent":"2be2443f0bb6cc49fc86b52f340e6073","responds":"2be2443f0bb6cc49fc86b52f340e6073","text":"The pasted image stays inside this conversation. Does this crop show enough of the room, or should I reshoot it wider?\n\n","id":"99c0fe07394842658a16eaeb73300ca8","ts":"2026-09-02T00:12:55-07:00","awaits":true}
7
7
{"kind":"reply","author":"claude","agent":"Codex","parent":"bab3cdfcfb8c02aacbb27da731de947a","responds":"bab3cdfcfb8c02aacbb27da731de947a","text":"Yes. This sample answer closes the question; reopen it to try the resolved-thread controls.","id":"83c4cc0bc4433af2b0aadd2e034a6c46","ts":"2026-09-02T00:13:01-07:00"}
0 commit comments