Skip to content

Remote lane B record with no digest reads its listing's state - #556

Merged
SSFSKIM merged 3 commits into
masterfrom
fix/remote-row-state
Nov 10, 2026
Merged

SSFSKIM merged 3 commits into
masterfrom
fix/remote-row-state

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 10, 2026

Copy link
Copy Markdown
Owner

What was wrong

A session on another machine that has a record here (lane B, opened in a tab) has no digest: no lane B module emits one. So its sidebar row read Idle even while its listing (sminos list --org) said busy. It was also left out of the working tier of the ranking, the project's ◐/● rollups and the "now" age. This is the record path; the listed-row path, which applies with no tab open, already read the listing.

Red first (4bbe2a7, sidebar/Sidebar.test.tsx): on master, each state's record row read Idle, the collapsed project showed no waiting or working count, a busy record ranked by recency behind a later idle one, and its age read "1w" instead of "now".

Change

  • One rule, one file. src/renderer/src/sessions/listed-state.ts holds it: a record with no digest whose listing is lane B takes its state from the listing's word (listedStateOf). isWorking is the working predicate everything reads.
  • Glyph. glyphFor(record, digest, pending, listed?) draws that word as the listed row draws it (the word-to-glyph table is now shared with listedGlyph). Open items, holder glyphs and contested glyphs still come first, and an unread record whose listing says idle reads "Idle, unread".
  • Every glyph caller passes the listing: sidebar row, hover card, Overview card, palette, resume chooser row and preview, tab, side-thread chip, comment card.
  • Ranking and counts. priorityRank puts a busy record in the working tier, keyed by its last activity (sortSessions, projectSessions and projectItems take listings). The project rollups count a record by its listing's waiting/busy, sessionAge reads "now" while busy, and cardActivity says the listing's word.
  • No digest is invented. Local records, records with a digest, and lane A listings behave as before.
  • tsconfig.node.json lists the new module, because glyph.ts is in that project.

Tests

  • Unit tests for each reader: glyph, overview derive, sidebar derive, Sidebar, HoverCard, CommandPalette, ResumeChooser, Overview, Tab.
  • e2e:remote gains one assertion. Mid-turn, with B's session open in A's tab, the scene restates the session busy (as sminos's observer would) and A's row must read Working; at the turn's end it restates idle and the row must read Idle. This has not been run yet; it needs the Mac runner.

Tracker

Removes the 2026-11-05 row "P5 O7 M10 (a busy remote session's rank)". Adds one row for what is left: the Overview board's eligibility still reads a digest only, so a read, busy remote record with nothing waiting gets no card.

Class 1a gate: run 42833493007, green.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)

…its listing's state

On master (ed321a5) every glyph reads Idle, the collapsed project carries no waiting or
working count, a busy record ranks by recency behind a later idle one, and its age is not
"now": no digest says another machine's lane B session's state.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ting's state

Another machine's lane B record has no digest (no lane B module emits one), so the
sidebar row of a session open in a tab here read Idle while its listing said busy, and
it was left out of the working tier, the rollups and the "now" age. One place now
decides it (src/renderer/src/sessions/listed-state.ts): with no digest and a lane B
listing at the address, the listing's word says the state. glyphFor takes the listing
and draws the word as the listed row does (open items first, the holder and contested
glyphs before it, an unread idle record "Idle, unread"); priorityRank ranks a busy one
among the working by its last activity; the project's working and waiting counts, the
row's age and the Overview card's activity line read the same. Every record-glyph
caller passes its listing: the sidebar row, the hover card, the Overview card, the
palette, the resume chooser's row and preview, the tab, the side thread chip and the
comment card's thread glyph.

Tests at each reader; e2e:remote restates B's session busy mid-turn and reads Working
on A's row (the scene's list() takes the state word). The tracker row "a busy remote
session's rank" closes; one residue row: the Overview board's eligibility still reads
a digest alone.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… glyph.ts and overview/derive.ts import

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 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-10T14:42:20.410919Z 1972d54 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.

@SSFSKIM
SSFSKIM merged commit f627349 into master Nov 10, 2026
@SSFSKIM
SSFSKIM deleted the fix/remote-row-state branch November 10, 2026 15:08
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