Repository navigation
Stop serving awaits_user; attention is the one turn reading - #1223
Merged
Merged
Conversation
#1215 left `awaits_user` on each served thread because `tests/test_interact_session.py` asserted it and was held by another change. No browser code read it. The server now serves `attention` as the only turn reading: `_apply_thread_attention` takes the user's turn from the thread's open Asks or its `user_prompt`, which is set exactly when the old flag was true outside an open Ask. The session tests assert `user_prompt` and `attention` in its place. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Sep 26, 2026
max-sixty
added a commit
that referenced
this pull request
Sep 26, 2026
Four sites from the concept survey restated something another module owns. - The Page Map walk is a `rowWalk` now (`margin-projection.js`). `rowWalk` gains `scroll`: `false` focuses without scrolling, for a list read off what is in view, where scrolling to the landed row would change the list. The Page Map keeps its `when` (the walk answers from a marker, not the entries beside it) and passes `holdTabStop` as `landed`. Its rows are `margin.walk` and `margin.edge`, with routes `margin.previous`/`next`/`first`/`last`. - `interaction-log.js` reads the page root from `storage.js` `PAGE_ROOT` instead of querying the canonical link and the offline marker itself; an interactive export has no declared root, so the one test covers both. - The Command Hub's stopped age is `shortAgo` from `presence.js`, now exported through `widget-api.js` and documented beside `ago` in `packages.md`. The hub floored where presence rounds, so ninety minutes read "1h" beside "2h ago". - Two comments in `test_render_threads.py` named `awaits_user`, which #1223 stopped serving; they now name the thread's `attention`. Behaviour moved: - The Command Hub's stopped age rounds to the nearest unit and says "now" under 45 seconds, where it floored and said "0m". The stopped-age browser test now dates the fresh stop ninety minutes back and expects "2h", which reproduced "1h" before the change; `tests/runtime/elapsed-time.test.mjs` pins the compact and sentence readings to one figure. - The Page Map's Home/End row leaves the shortcut bar ("first marker", "last marker"), as every other row walk's edge row does; the command reference and `aria-keyshortcuts` still name it. > _This was written by Claude Code on behalf of max-sixty_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Sep 27, 2026
The concept survey's drifted duplicates now each have one owner (#1214–#1221, #1223, #1228, #1231, #1235, #1244, #1245, #1247, #1250, #1251, #1254, #1260), so the survey note never lands. What it found and nobody has taken becomes `TODO.md` entries: - **Shared definitions** (new section under Next): re-addressing resource references in one pass instead of `http.py`'s regex scopers and three head composers; `tests/render_harness.py` `told()` beside `pageReadiness`'s `data` and `log` stages (#1250), which answer the same question; Python still naming a thread's identity a root (`thread_roots`, `FrozenThreadReading.roots`) now that the runtime keys threads on the served `id` (#1260). - **Requests**: the existing "Decide whether requests earn their weight" entry now says kept requests need one owner for seat availability, which four runtime modules restate. - **Implementation candidates**: the unresolved-gesture ledger as one state machine, deferred until a change has to touch it, since nothing there has drifted and it is the hottest race path. The survey's small undrifted items and its list of deliberate splits are dropped: none has drifted, and the splits are intended. 🤖 Generated with [Claude Code](https://claude.com/claude-code) > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
#1215 made
attentionthe browser's one reading of whose turn a thread is, but leftawaits_useron each served thread becausetests/test_interact_session.pyasserted it and another change held that file. No browser code read the field.The server no longer serves
awaits_user._apply_thread_attentionnow takes the user's turn from the thread's open Asks or itsuser_prompt.user_promptis set exactly when the old flag was true outside an open Ask, and an open Ask is already the first clause, so attention is unchanged. The session tests assertuser_promptandattentioninstead of the dropped field, and the attention fixture carriesuser_prompt.🤖 Generated with Claude Code