Repository navigation
Give the panel's field back to the agent's status after a walk's step - #6421
Merged
Merged
Conversation
After `t` or `m`, the panel's empty field said the walk's position
("Thread 4 of 7") for as long as the user stayed at the stop it reached,
so the agent's status line, and every update to it, stayed hidden while
the user read there. Max asked for the position to show for a few
seconds and the status to come back, and for the rule behind when the
field says the user's own state ("page status") instead of the agent's.
The rule, now in the floating panel's header: the agent's status is the
field's own words. Something of the user's replaces it only while it
answers or directs what the user is doing: an error until their first
edit, selected words, held keys, the Go-to filter while it waits for a
key, and a notice or a walk's position for a notice's moment. Where the
user stands by a choice that lasts (a mode, an older version, a
comparison, hidden annotations) leads the status instead.
Behavior that changed:
- A walk's step holds the panel's seat for NOTICE_MS (4 s) from the
latest step (`answerStep`, replacing `holdStatus(900)`), then the
status returns while the walk itself stays where it landed (On Me's
ring, the thread view's lead). News arriving meanwhile now waits for
that moment, as it waits for a notice, rather than 900 ms.
- A thread open in the panel keeps the position before its reply, since
the field there says no status.
- A mode (Draw, Design, the picker) now leads the status, "In Draw mode
· <status>", with Close at the field's end, instead of replacing it;
the `stance` reading of `data-lf-says` is gone. This extends Max's
request to the general rule and is the call he may reverse.
Tests: a fake-clock browser test that the status returns after the
moment and a step renews it (fails on main); the Draw-mode tests read
the status after the mode's name; the semantic-selection journey no
longer depends on the match position outliving its moment.
> _This was written by Claude Code on behalf of max-sixty_
…e field's rule and the guide > _This was written by Claude Code on behalf of max-sixty_
# Conflicts: # browser/runtime/floating-panel.js
leaf-agent
approved these changes
Nov 18, 2026
max-sixty
added a commit
that referenced
this pull request
Nov 18, 2026
The panel's seat for passing words now says only what the screen doesn't. #6403 dropped "Options" from the On Me walk's position because it named the kind of item the user was already looking at; this puts the same question to every walk position and notice the seat shows. A walk's position names its list only when the walk carries the user across the page and the panel doesn't already name it ("Thread 2 of 5", "Match 3 of 9"). A walk inside a list on screen that may run past the window says only its place: tabs, the Page Map, the command reference and visual review's cases read "2 of 14", and the change walk reads "5 changes since v2 · 1 of 5". A walk over a list always wholly in view declares no walk: a question's options, the reaction bar, response options, a margin cluster's entries, the visible margin markers, Go-to hints and chart points. The field keeps the agent's status there, or the walk the user came by: On Me's "1 of 4 waiting on me" now stands while they arrow through that item's options. The Go-to filter's count is announced to screen readers only, as arming Go-to already is. <img src="https://gist.githubusercontent.com/max-sixty/ef48dcaccbd775c782c7aa87d0f3002f/raw/aa74d1eea1bba14c502081edc865089e8f7c78a8/panel-before-after.png" alt="The panel's field before and after five presses" width="900"> Where to look: the rule is stated at `beginWalk` in `walk-declaration.js`. `rowWalk` takes `position: null` for a list always wholly in view, which leaves the walk the user came by standing, where a reader returning null, as the panel's own rows pass, ends it. The portable API now exports `walkPositionLabel`, so an owner whose panel position names no list still announces one ("Change 1 of 5 since v2", a chart's "Point 3 of 8"); `module-input.md` states what a null noun shows. One gap: with a thread open in the panel, whose field shows no standing words, the change walk's lead reads a bare "1 of 5". Kept as notices, though they repeat the field: starting or ending a comparison, and the annotation toggle. Making them announce-only left an earlier notice standing over its opposite ("Annotations hidden — o shows them" after showing them), because a notice isn't tied to the condition its words state. That is a follow-up once #6421's rework of `notifications.js` lands. Max asked for this. A fresh reviewer used the captures, read the diff and checked the fixes for its findings. The touched browser and journey tests, the runtime tests and the browser type check pass. > _This was written by Claude Code on behalf of max-sixty_
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.
After
torm, the panel's empty field said the walk's position ("Thread 4 of 7") for as long as the user stayed at the stop, so the agent's status line and its updates stayed hidden while they read there. A walk's step now holds the field for a notice's moment (4 s from the latest step), then the status comes back; the walk itself still stands where it landed (On Me's ring, the position before an open thread's Reply, where no status shows).Max asked for that, and for the rule behind it. The rule, in
floating-panel.js's header and the guide's "What the panel's line says": something of the user's replaces the agent's status only while it answers or directs what they are doing (an error, selected words, held keys, the Go-to filter, a notice, a walk's step); a choice that lasts (an older version, a comparison, hidden annotations) leads the status instead.By the same rule, a mode (Draw, Design, the picker) now leads the status instead of replacing it; Max chose this over the mode's name standing alone.
t, agent working (status line injected into the page's state)News arriving during a step's moment now waits for it (4 s) rather than 900 ms. Reviewed by Codex and a fresh look at the captures. Tests: a fake-clock browser test that fails on main, the touched browser and journey tests,
pnpm run test:runtimeandcheck:browserpass, and CI is green.