Repository navigation
Conversation
Main sends OrgRows.members (every owner a row names, named from the held head's emails; an unlisted id reads 'former member') and OrgRows.member (the signed-in member). A row of a session you don't own alone names its owners after the title ('you, Ana', 'Ana, Ben +3'), its hover card lists them with emails, and a record at a listed address takes the listing's owners. Each project and machine row has a People toggle (hover action and checked menu item), remembered under the layout key sidebar.people; off, others' sessions are counted as '+N others', on they are drawn in activity order, never in the rollups.
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ng's show-before-and-after check Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…heck) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…a flip, over the stored set Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…n't lag an age of n days to n - 1 Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…d after the add Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…) didn't wait for landing in org/ Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ed session's anchor is on disk Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ow, or on) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…n Log Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
SSFSKIM
added a commit
that referenced
this pull request
Oct 29, 2026
SSFSKIM
added a commit
that referenced
this pull request
Oct 29, 2026
…'s start rows.ts keeps O8 M5's memberNames import and takes repoProjectId from @shared/machine/project-ids, where M3 moved it. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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.
P5 O8 M5: owners on rows and the People toggle, built to
docs/doperpowers/plans/2026-10-28-p5-o8-org-interface.md§M5 (re-planned in #303 on the owner's Q2 and Q3 answers, P5 Decision Log 111). "Add owner" is M5b, later.What the sidebar now does:
memberName). Colliding names read the whole local part, and then the whole email. An owner the head doesn't list reads "former member". Main sendsOrgRows.members({id, email, name}for every owner the rows name, from the held head) andOrgRows.member(the signed-in member), so "you" is judged against the identity the rows were computed for.sidebar.people(no layout version change). It is the first hover action when shown (lucideUsers, pressed while on) and a checked menu item. While it is on, other people's sessions join the list in activity order, each with owners and machine chip. While it is off, the row reads "+N others", faint, hidden on hover.mine. Others' rows, records or listings, are drawn only under People; otherwise they are counted. Rollups count yours only, so others' waiting never reads as "needs you". Others' hidden rows add no activity to a project's ranking, and a machine with only others' sessions stays listed with its count.What changed
src/shared/org/member-name.ts(new),src/shared/ipc/schema/org.ts(OrgMember,OrgRows.members,OrgRows.member),src/shared/ipc/schema/layout.ts('sidebar.people',SidebarPeopleSchema).src/main/org/rows.ts(membersandmemberonrows()).stores/sessions.tskeepsmembersandmemberbesidelisted;stores/people.ts(new) is the toggle's set, read once throughlayout.get(loaded fromApp.tsx) and written 250 ms after the last change;sidebar/owners.ts(new:ownersLabel,ownerEntries) andsidebar/RowTitle.tsx(new: the title and owners truncating together, the chip keeping its room);sidebar/derive.ts,ProjectRow.tsx,menus.tsx,ListedRow.tsx,SessionRow.tsx,HoverCard.tsx,Sidebar.tsx.Fixes after the build
OrgSection.test.tsxnow runs on its own clock, with Date frozen invi.hoistedbefore any module loads.app/use-now's module-levelnowtherefore equals everyDate.now()the test reads, and an age of exactly n days can no longer floor to n - 1. That flooring is the red O3-C's class 1a hit twice: run 40766738379, and again tonight. Only Date is faked; timers stay real. This closes thedocs/tech-debt-tracker.mdrow P5 Decision Log 126 added (2026-10-28, P5 O8,OrgSection.test.tsx).src/main/org/org-session.test.ts(M3's), the teardown'srmnow retries ENOTEMPTY (maxRetries: 5, retryDelay: 20). The session'sclose()doesn't wait for a file write already under way, so a late write could land inorg/while it was being removed. That failed "a focus whose window is gone…" in itsafterEach, on class 1a run 40789464852.admin show's root lines (desk-hub: admin show lists the org's roots #316): one root line before the add, then two with the app's device among them, alongside head version N, then N+1, and the Signer row.crashedRekey()wrote the crash'srekeyintent behind a live session whose anchor write for the head it had just adopted was still queued.close()doesn't wait for that write, which then overwrote the intent.org-session.ts:1373-1381), so production has no such race.Validation Evidence
The final gate, on 7e58d69 (this branch's code head; only docs follow it): run 40794571273,
--gates all --lane hosted --class1a pool --peer none. Green: 48 jobs succeeded, 3 skipped (packagedand two matrix placeholders). The green jobs includee2e:default,e2e:discover,unit:darwinand the hosted groupspresentations,machines,delivery,dashboard,c12andbrowser-chrome. One flaky line,e2e/browser-cua.spec.ts:483, was green on retry; it is M3's known one, on a path this branch doesn't touch.Class 1a: green at 8d18883 (run 40789984462) and 8e21b63 (run 40793508684).
The first final gate (run 40786951312 on 53f147e) found this branch's one e2e regression.
e2e/shell.spec.ts:50, Item 6: at the sidebar's 200px floor,closeProject's line-center click landed on the People button, which then showed on every row. Fixed at 54aab1a: the toggle shows only where it can act (others to show, or on), so rows look as before M5 for anyone with no others. A newSidebar.test.tsxcase, "no People toggle on a row with no others and the toggle off", was red, then green.The focused suites, each file run alone (
npx vitest run --project <node|renderer> <file>):member-name6,rows23,schema204,layout41,wire25,owners6,people7,derive45,Sidebar100,events43,HoverCard40;App.test.tsx11 underrenderer-timing;anchor11,gateway-claims2,CommandPalette21.The rekey setup fix. Probe: a 30 ms delay put before
writeAnchor's write (never committed) failed all three replay boundaries every time, the first-rename one with the CI's signature. With the setup fix, the four replay cases pass with the probe in. Without the probe,npx vitest run --project node src/main/org/org-session.test.tspassed 20 of 20 runs, 94 of 94 each. Class 1a on 8e21b63: green, run 40793508684.The flake fix.
npx vitest run --project renderer src/renderer/src/settings-tab/OrgSection.test.tsxran 20 times in a row on this Mac: 20 of 20 green, 31 of 31 each time. Class 1a on 46bd59c: green on the later heads (run 40789984462 at 8d18883); its own two runs went red on the known engine-hostipc.test.tsflake (run 40789008525, tracker line 462) and on the teardown race fixed at 8d18883 (run 40789464852).The review. reviewer-medium found one P2: a People toggle clicked before
layout.getanswered was replayed as a flip over the stored set, so "Show" on a project stored as on turned it off once the read landed, and that was saved. Fixed at 8541787: an early toggle records the state the person asked for. The proof ispeople.test.ts's "keeps a stored key on when an early toggle asked for it on, and leaves untouched stored keys alone": stored[MAWS, STUDIO], MAWS clicked before the read answers, and the store ends with both on and writes{version: 1, on: [MAWS, STUDIO]}. Against the flip code (50a1ab9) it fails (expected false to be true), as does the double-toggle case beside it. With the fix,people.test.tspasses 7 of 7. The fix is one finding with a failing-then-passing test, so no second round was run (the architect agreed).Not verified: no visual check in a running app. Styles use existing tokens and the siblings' patterns (MachineChip's
text-ui-sm text-fg-muted, the rollups' hover hiding,IconButton'saria-pressed).Unresolved Review Findings
None. reviewer-medium's only finding is fixed above.
Residue
sidebar.peoplekeys aren't moved or pruned. When a project's address key becomes an org key, the toggle reads off until set again;layout-model.ts'srekeySetsdoes this forexpandedProjects. Stale keys are never pruned. Rare and cosmetic, a debt row.close()doesn't drain in-flight writes.org-session.ts'sclose()(:1527) ends the signer, weekly and deliveries without awaiting a file write already under way (a settle, an obligation, the anchor), so such a write can land after close.src/main/index.ts:1072); the session is created once per process (index.ts:350).org-session.ts:1449-1458) and removes onlyaccess.json(:1475). The other removals areaccess.jsonat a signed-out load (:922) andregistration.jsonat a cancelled commit (:1174); noclose()precedes either.rm, and the rekey crash setup. A tracker row follows at landing.closeProjectclicks the line's center (e2e/support/sidebar.ts:60). At the 200px floor a row with four hover actions has its center on the first action. The name keeps its own click box, since the actions are a flex sibling and not an overlay. The architect writes the tracker row at landing; it closes when the helper clicks the name.summary.sectionsis never read back.stores/summary.ts'sload()has no production caller, so collapsed summary sections reset at each launch. This predates O8; a debt row for the summary pane's owner.Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)