Skip to content

UX wave · U13, first landing (U13a): one strip for everything open - #623

Merged
SSFSKIM merged 79 commits into
masterfrom
ux-wave/U13a
Nov 13, 2026
Merged

SSFSKIM merged 79 commits into
masterfrom
ux-wave/U13a

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Root: docs/doperpowers/specs/2026-11-12-ux-wave-design.md · child U13 (docs/doperpowers/specs/2026-11-12-ux-wave/U13-tabs-new-chat-groups.md), first landing · parent pin 25942f5d1 · execution document docs/doperpowers/plans/2026-11-12-ux-wave-U13a-one-strip.md (its report beside it, …-U13a-one-strip.report.md). Items: O-01, the first half of O-31, ticket 497. Board #578.

What it does

Until now the main tabs were kept in one hidden set per project. A click on a project in the sidebar, or a New chat pressed from a project with no folder on this Mac, swapped the strip to another set, which read as tabs being replaced.

  • One strip. Every open tab, from every project and machine, is in one strip, the same after a relaunch. A click on a project row moves no tab.
  • The current project is the row of the session in front. New chat and Customize follow it.
  • New chat is one entry, newChat. An empty chat is brought back instead of a second one being added; every other empty chat is closed in one synchronous step before main is asked; a chat that arrives late is added without taking the front from the tab opened meanwhile; after a relaunch an empty chat does not come back (the owner's answer to Q1: "No, only chats with content").
  • One definition of an empty chat (isEmptyChat), read by every caller: a chat is not empty while a draft write is in flight, or while a prefill or an attachment is queued for its composer.
  • What a tab shows. In a strip that mixes places, each tab names its place; the place gives way before the title, and it is drawn readable or not at all. The tab menu gains "Close tabs to the right" (pinned tabs are skipped).
  • The title bar's chip names the current row, reveals it in the sidebar and creates nothing.

What is stored, and what build f1852de3a does with it (UC-14). The strip is stored as that build's own one-set value (main.tabs version 3, current none, one set under none), so it reads whatever this build writes. After this build has run on a profile, build f1852de3a opens it with every tab; it puts each session's tabs back into a set per project and shows the set of the tab that was in front, and the order of the tabs and a split are its own from there. When this build opens the profile again it brings every set into the strip again and shows its notice again. The execution document's Interfaces §H has the detail. No key changed (src/shared/keymap/actions.ts has no diff) and the wire is unchanged (3.36).

The record. The dated amendments of the rulings this landing reverses are where those rulings stand, for O-01, O-31 and Q1: docs/charter.md, docs/doperpowers/plans/2026-10-01-ux-fundamentals-waves.md and docs/doperpowers/plans/2026-10-18-p3-f-finish.md (the obs8 row).

Verification

  • Class 1a: run 43398494699 (static,unit,probes) on 2708459ce71eef2cb631c542f616b76dbc2353a5: green.

  • Review: the doperpowers:review-code xhigh panel (run wf_7c81d019-e48) on c0e7b2ae8..a45780aad: verdict "incorrect", five findings, each confirmed by the panel's verifier; two lenses clean (the stored-layout boundary; the flattened tab transitions). All five were fixed in one wave (8b3d4a147 failing tests first, 84745874b the fixes):

    1. isEmptyChat missed a draft write in flight, so a discard could remove text just saved. In-flight draft writes are now counted per session, synchronously; no wire or IPC change.
    2. isEmptyChat ignored composer prefills and the attachment queue. There is now the one definition above.
    3. A refused close of an empty chat returned the chat without its side tools. The session's side state is now dropped only after main says yes.
    4. A lane A listing with no record had no row, so no chip, and New chat ignored a local checkout. Either lane now resolves from the listing.
    5. A tab drag did not observe the session rows and the machines' loaded state that its eligibility reads. It subscribes now.

    The delta a45780aad..469819693: doperpowers:reviewer-medium, verdict "correct", no findings. 2708459ce is one docs-only commit over 469819693 (git diff --stat 469819693 2708459ce -- src e2e is empty).

  • The round trip with build f1852de3a: run 43389572773 at a45780aad, --gates e2e:cross-build --peer-exact f1852de3a: green, 6 scenes run and 7 skipped (the daemon-shape scenes that do not apply to this pair of builds). M5's three scenes ran and passed, none skipped: (layout, from the peer), (layout, to the peer), (settings, both ways). It is the run of record: e2e/cross-build.spec.ts is unchanged since a45780aad, and no later commit touches a schema, settings or layout file.

  • The rehearsal on real layout files (run by the architect at fcbe6e448, outside the repository): both copies pass: no tab lost, none added, none twice.

  • Electron e2e, on the Mac lane:

    • run 43385216852 at 4206f9520: code, default, machines, panel, remote green; layout red in one scene.
    • run 43389400800 at 6b6cb77fa: default green; layout 15 of 16, the one failure ux2-shell.spec.ts:612, a scene this branch had not edited that read M4's old markup (fixed at 11da6c82a).
    • run 43397387398 at 469819693, after the fix wave: layout, default, panel, remote and machines all green (the final head 2708459ce differs from it by the report and three tracker rows only).
  • On the build VMs (Linux): the whole pnpm test twice (the ends of M2 and M5), noisy under load: every failure outside that VM's known set passes when rerun alone, and class 1a is the record. After the fix wave: 49 files, 1,200 tests over the touched folders; the e2e project's tsc and eslint on the changed files exit 0.

As built, beyond the document's first text (its Decision Log has each)

  • UC-8's list of files gains src/renderer/src/panel/host.ts (a type-only edit).
  • The relaunch sweep calls isEmptyChat; the lane A row fix is in src/renderer/src/keymap/actions-runtime.ts, which gains the export subscribeSessionRows.
  • A refusal puts back the tab and its pin; an unpinned chat returns at the end of the strip (accepted; tracker row below).
  • No chat is created before the relaunch sweep has run (M3's structural fix for a chat of this run that held typing).
  • Six merge commits of master on the branch; four of them (eeba4e916, 4141b9cb1, d76a8d41a, 3958e7df4) carry git's default message, without the session line.

Residue

Closes #578

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)

…nding)

Five milestones: the stored form and its reader (UC-14), the cutover of the
layout store to one strip with the current project, New chat (the reuse of an
empty chat, #497), what the tabs and the title bar's chip show, and the e2e
scenes with the record. Interfaces for U7 and U6's second landing are defined
once; the cross-build run with build F and the rehearsal are listed with what
each needs. Written against master 85e9343 and the wave's spec at 25942f5.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… and the architect's rulings

- An empty chat closed for the person goes through closeEmptyChat: the check
  and the tab's removal in one synchronous run before main is called, the tab
  put back if main refuses; the ordinary close is not used for it.
- The rehearsal is one boundary under test/layout that emits generated labels,
  numbers and fixed words only, with sentinel tests.
- stripOf answers canonical beside merged; hydration rewrites any envelope
  that is not canonical, and the notice follows merged alone.
- M5 carries a coverage table for UC-14 and a third cross-build scene for the
  two settings files; a skipped scene is not evidence.
- The store gains showPane for a pane the person chose; six callers move to it
  and focusPane stays for passive focus.
- What build F does with a profile the wave's build wrote is stated in full,
  and M2 is said to be kept whole by choice.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ge (Decision Log)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…, and the rehearsal (red: nothing implements them yet)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…IP, storedMain, stripOf) and the rehearsal's boundary

Added beside the schemas build F reads, none of which changes; nothing in the app calls them yet (M2).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ex guess; the rehearsal test's tab fixtures typed open

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e document

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…earsal's closed list)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… only; the rehearsal fails a strip that holds a tab no set held (tab-added)

A current naming an Object.prototype member (constructor) parses and read a set through the prototype; it now starts an
empty strip, as Interfaces §A says. The rehearsal compares distinct tab ids both ways, prints the added count, and looks
up the layout's keys and the showing set's context entry as own keys too.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…); Concrete Steps 4's command; M2 to M5 go on before U6a

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The layout store holds a Strip; hydration merges whatever main.tabs holds through stripOf and writes storedMain back
when the envelope is not canonical; the per-project sets (switchSet, refile, rekeySets, rekeyContexts, fromV1,
setCurrentProject, refileTabs, projectOf) go. frontOf, showPane and commitShown are added (rule 7). The current
project (sessionRow, currentRow, useCurrentRow, focusedProject) moves to the action runtime; the sidebar's row
click leaves the strip; the upgrade's notice shows on a merged read. Tests follow in the next commits.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Fixtures take the strip's shape and store it as storedMain makes it;
the set-switch cases go with the sets; the current project is the row
of the session in front (chip, New chat, Customize), pinned in
actions-runtime; a sidebar row's activation leaves the strip as it was.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…in stores it

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…rule; the chip's interim ends at M4

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…review)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
openTab with activate: false keeps focusedPane and every pane's active
tab (§B, revised 2026-11-13): place focuses the pane it touches, or the
pane 1 it creates, only when activating; an open tab takes only its
kind's update.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ph settled, M3 and M5 carry it

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…te arrival, the relaunch discard

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…o main.tabs, so the watched reload stands for it

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… U13a's files) into ux-wave/U13a

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… library row, as it does; its shown set is the project's; every wait on the peer names its strip and its stored sets

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… box it shares with the place

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ling); the compact-tabs scene

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…hat clips what wraps; the place asks for its whole text or 5em); the one-strip scene checks it at every width

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Empty means nothing outside the intent either (a draft write on the way, a prefill, a queued attachment); a refused
close keeps the chat's side tools; a lane A listing in front names its row; a drag hears its session's machine load.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…keeps the side tools; a lane A listing names its row; a drag hears the rows

- isEmptyChat also asks that no intent write is unanswered (counted in patchIntent as it leaves), and that no prefill
  and no attachment waits for the chat's composer; the relaunch sweep reads isEmptyChat too.
- closeEmptyChat takes out only the tab (closeTab, no reopen entry) and drops the session's side tools and other
  holdings (dropSession) once main has agreed; a refusal or an error puts back the tab and its pin, the rest untouched.
- rowOf: a listed session with no record, of either lane, sits under its listing's row.
- subscribeTransfer also hears what sessionRow reads (subscribeSessionRows: sessions, machine loads, unstarted titles).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e lesson's third instance

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…mment; the intent-write count is reset with the setup store, and its answered and rejected paths are tested

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…n the box's first line and inside it, or wrapped out of sight below a box that clips

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…d, four left for the branch reviewer); the report covers the place, the scene and the branch review

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…s' disposition: three tech-debt rows, one to the test-hygiene ticket

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 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-13T10:13:38.228054Z 2708459 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 commented Nov 13, 2026

Copy link
Copy Markdown
Owner Author

Added to Verification: e2e:code on the final head 2708459ce71eef2cb631c542f616b76dbc2353a5, run 43407391774 on the Mac lane: green. It had run green before the fix wave only (run 43385216852 at 4206f9520) and was missing from the final set; with it, every group of the first full set (code, default, machines, panel, remote, layout) has run green on the code after the fix wave.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)

@SSFSKIM
SSFSKIM merged commit 9df6b44 into master Nov 13, 2026
@SSFSKIM
SSFSKIM deleted the ux-wave/U13a branch November 13, 2026 10:37
SSFSKIM added a commit that referenced this pull request Nov 13, 2026
No conflict. Three of this landing's files meet U13a's: CustomizeView.tsx
(the page's project is now the current row's, useCurrentRow, in place of
the strip's set), its test (the beforeEach opens a session of the first
project), and ComposerHarness.tsx (mirrorLayout writes the one strip's
panes). The wire is untouched by U13a: master stays at minor 36, this
branch at 37.

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.

UX wave U13a: one tab strip for everything open (UC-14)

1 participant