Skip to content

Sidebar: a stopped session of another machine ranks last and reads "Stopped" - #782

Merged
SSFSKIM merged 4 commits into
masterfrom
stopped-rows
Nov 19, 2026
Merged

SSFSKIM merged 4 commits into
masterfrom
stopped-rows

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 19, 2026

Copy link
Copy Markdown
Owner

What changes

A session of another machine whose process has ended stays in the sidebar for up to three days (sminos T1's stopped threads restate it as a member with the state word stopped). By the owner's decision of 2026-11-19, such a row ranks after every live row and every local row, and its glyph reads "Stopped".

  • src/renderer/src/sidebar/derive.ts: a stopped listed row of another machine takes STOPPED_TIER = RANK_REST + 1, so it fills only the slots the five and the eight leave over. A listed row leads its project's list only when it was spawned or unhidden and is not stopped (leadsListed), so an unhidden stopped row no longer sits above live rows until a restart.
  • src/renderer/src/attention/glyph.ts: wordGlyph('stopped') reads Stopped; mark and tone are unchanged.
  • src/renderer/src/sidebar/Sidebar.tsx: the row kept past the caps is the session row the keyboard is on, not only one that returned from Hidden. Without this, a focused row that stops would drop below the cut and unmount under the keyboard.

Review

doperpowers:reviewer-medium, two rounds.

  1. On 2070715: one P2. An unhidden listed row that is focused and then stops lost its exemption from the cut and unmounted, and focus fell to the body. Fixed in bfcf41f at the cause, with cases at both caps.
  2. On 2070715..bfcf41f: one P2. The kept row is released by sidebar-wide focus, so when focus moves to a sidebar control outside the tree the row stays drawn (one extra row; Show more's count agrees with what is drawn). Master's U7 handoff releases by the same condition. Logged in docs/tech-debt-tracker.md (7575504); no further fix wave.

Tests

derive.test.ts 76 of 76 and Sidebar.test.tsx 306 of 306, each file run alone.

Gate

Class 1a (static, unit, probes) runs on the merge commit that is pushed to master; the run is named in the landing comment.

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)

…ver slots and reads "Stopped"

The owner's decision (2026-11-19): a listed session whose state is `stopped` ranks after every
record and every live listed row, newest first, under either sort; a Needs-you row keeps its rank.
It never leads as spawned or unhidden (the coordinator's correction: a stopped session ends no turn,
so the lead would hold it at the head until a restart), in the rank and in the caps' exemption;
a row that kept the keyboard is still drawn past the caps, now passed to shownTrees on its own.
Its glyph's word is "Stopped"; mark and tone unchanged.

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)
…t only one that returned from Hidden

The review of 2070715: an unhidden listed row drawn past the cap by its lead, which the keyboard
left and came back to, was cut from under the keyboard when its machine stopped it, since a stopped
row has no lead and `kept` named only a row that returned from Hidden while focused. `kept` now
follows whichever session row holds the keyboard; it ranks where it ranks, only uncut.

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)
… focus, so a transfer to a sidebar control leaves it drawn (stopped-rows re-review)

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T09:39:44.906280Z 7575504 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

… card, as its glyph does

The card's activity line reads a listing's word through wordGlyph (P5 O7 M10), so the label change of 2070715
reaches it. The expectation follows; class 1a's unit shard caught it on the merged tree (run 44496919207).

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)
@SSFSKIM
SSFSKIM merged commit bcdf1bc into master Nov 19, 2026
@SSFSKIM

SSFSKIM commented Nov 19, 2026

Copy link
Copy Markdown
Owner Author

Landed master-first as bcdf1bc. Class 1a (static, unit, probes) run 44498616361 is green on the merged tree (tree 7cda8ad15, equal to the merge commit's).

An earlier class 1a run (44496919207, on a merge of bfcf41f) was red in one unit case: the overview card reads a listing's word through wordGlyph, so the card of a stopped session of another machine reads "Stopped" too. cc05fe3 keeps that and changes the expectation in overview/derive.test.ts.

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)

@SSFSKIM
SSFSKIM deleted the stopped-rows branch November 19, 2026 09:50
SSFSKIM added a commit that referenced this pull request Nov 19, 2026
…e and DL163, #782 stopped rows, #779, #763, #765, #768)

Conflicts, each kept both sides:
- src/renderer/src/shell/DocumentSessionSpace.tsx: U10b's bar room (useBarRoom, --float-bar-room on the root) and ticket
  760's measure on [requested, enabled] with data-document-session-width; the root carries both the attribute and the style.
- src/renderer/src/shell/DocumentSessionSpace.test.tsx: U10b's bar-room case, then ticket 760's column-in-the-floating-render case.
- docs/tech-debt-tracker.md: the union's rows, then master's two of 2026-11-19 (master's removal of the anchoring row kept).
The wire is unchanged on master: WIRE_MINOR stays 57.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 19, 2026
…l-actions

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant