Skip to content

UX wave: the owner's observation set 4 (model menu, Bypass, Auto card, fold on click) - #893

Merged
SSFSKIM merged 26 commits into
masterfrom
ux-wave/obs4
Nov 28, 2026
Merged

SSFSKIM merged 26 commits into
masterfrom
ux-wave/obs4

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

UX wave: the owner's observation set 4, four changes the owner asked for after using the app. Charter Decision Log gains three entries dated 2026-11-27: the launch line, the model menu, and the new chat's route.

What it does

  1. The model menu before Send lists what a session would. The list comes from the prestarted engine's own list, else the cached list for that launch, else the last list seen. The built-in list remains only for a machine where no session has ever listed models. It is one shared react-query read (engine.models) for the selector and the composer.
    • Removed: the Default row and the route segment (Machine's own / relay / Direct). A new chat follows Settings › Gateway › Default route; the owner ruled this on 2026-11-27, reversing the ruling of 2026-09-29.
    • Another machine: its list comes over a new capability-gated read, rl2.engine-models. An older machine refuses it not-offered, and the menu says the list is unavailable.
    • Start model not yet known: the chip reads "Model".
  2. Bypass permissions can be picked on any session. Every launch carries --allow-dangerously-skip-permissions: a new chat, a resume, a fork, a side thread, a spawn on another machine, and the prestart engine. A session still starts in the mode picked. The probe spikes/protocol-probe/scenarios/pass3/uxwave-obs4-bypass.mjs shows this on engine 2.1.332.
    • Request from another machine to switch to Bypass: the endpoint refuses it above the target machine's ceiling.
    • Remote launch: its auto fallback is clamped to the ceiling, and the ceiling travels with the acquisition through queued retries.
  3. "Auto mode unavailable" goes away once the mode leaves Auto. The attention service retires the card on a confirmed mode change, through a setPermissionMode intercept. A restored card is checked against the engine's confirmed mode.
  4. An open tool block folds at a click on its blank space. This applies to a call, a run and a browser action (transcript/view/fold-on-click.ts). A click on text, or a drag that selects text, folds nothing.
  • Tests: unit tests for each item. One new e2e case (transcript, the fold) and an updated widgets read (no Default row). The picture rig gains 7 o4- scenes.

Proof

  • Head a5c1694f9c917690945bdba2cc31d0f1794ed2f9 on ux-wave/obs4, holding master a290b0d9a9aee22eb1d5ae60c6c8a25c65a4a799. The last merge, from 96dcf687c, the head the Mac groups below ran on, adds only the question sheet's C6 documents, its sheet page, and nine lines in src/renderer/src/sheet and src/mawsd/sheet-page, which no group here runs. The merge of master f0a7b2e71 (the question sheet's C3 and C4) was resolved by hand in src/services/attention/service.ts: a session's state carries both the sheet's items and obs4's mode fields, and the Auto card's retirement removes only that card.
  • Reviews:
    • High review: 1 P1 (a remote spawn's auto fallback could reach Bypass above the ceiling) and 6 P2, all fixed.
    • Medium review of the fixes: 1 P1 (concurrent remote acquisitions lost the ceiling) and 4 P2. Three were fixed and two logged, which ends the rounds.
  • GitHub at the head: class 1a 46194594972 and desk-web 46194606361, success. Both runs' trees equal the head's.
  • Mac (CI-opt):
    • at 531c8f40327b929e9a5902cb0dfc15cd0a4783da: widgets 34, c7 65, remote 25, cross-build 6 (41 skipped), supervisor-daemon 28, requests 22 and composer 43, all passed. In transcript, 52 passed and 1 red: the new fold case read turn 1 before the fixture had released it. That case is fixed at ed655612a, and the fix changes only the test.
    • at f90e0ac262980cf46e33c7f0ed69a5288292b790: prestart-engine passed: Send to first row, flag off median 841 ms, flag on 255 ms (n=5 each).
    • The fold case, which no Linux group runs, failed twice more on the Mac, each time a step further into the test. The drag ran along the gap between the output's two lines, and the fold click came while the drag's selection still stood, which by design folds nothing. A headless-Chromium probe of the real foldsAtClick then ran the whole sequence, and the test was fixed; the product didn't change.
    • at 96dcf687c: transcript 54 (1 skipped), supervisor-daemon 28, requests 22, widgets 34 and composer 43, all passed.
  • Pictures: the owner approved them on 2026-11-28. Before (master d697dfaa0, with this branch's rig) and after, 7 o4- scenes each, all reached. Stand-ins: the model rows are a recorded engine list; the Bypass and Auto answers are the real engine's recorded answers for each launch line.
  • Not checked live: Bypass on a real, paid session. The owner chose on 2026-11-28 to land on the probe and the recorded e2e.
  • Tracker: two rows in docs/tech-debt-tracker.md, both rare cases of the Auto card: a slow store load that keeps a restored card, and a mode switch claimed from another machine as a host.op.

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

The engine refused the mode menu's Bypass permissions (bypass_not_launched)
because no launch passed a skip-permissions flag. Every launch line now carries
--allow-dangerously-skip-permissions (engine-host/launch.ts ENGINE_FLAGS, the one
argv builder for a new chat, resume, fork, side thread, a spawn on another machine
and the prestart engine). A probe on engine 2.1.332 shows the session still starts
in the mode it was launched in and asks as that mode asks, and that
set_permission_mode bypassPermissions then succeeds
(spikes/protocol-probe/findings-uxwave-obs4-bypass.txt).

Since the engine no longer stops it, a switch to Bypass permissions from another
machine is held to that machine's ceiling, as a spawn's mode is. The charter's
launch line is amended and the change logged.

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

Before the first Send a new chat's model menu listed a list built into the app
(older models) whenever the engine host's catalogue had no entry for the launch's
key, which every engine update empties, or before its read answered; and it
carried a route segment and a Default row.

- The engine host's catalogue takes the prestart engine's list at its initialize
  (the engine the session will run on), and answers a key no launch has listed
  yet with what a session on the machine last listed for that route, else for any
  route (the relay's aliases left out for Direct); the built-in list only where no
  session on the machine ever listed one.
- The window reads the catalogue again each time the menu opens, and shows the
  menu's reading spinner, never the built-in list, until it answers.
- No Default row, before a session or during one: the model the session runs or
  starts on is checked, and picking it sets nothing.
- No route segment: a new chat starts on the route it is given (the machine's
  default route from Settings); unstartedRoute and its words go.

The charter and the prestart plan log the change.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… wave, obs 4)

The "Auto mode unavailable" item is derived by the attention service from a
tool result the engine denied with non_execution_kind automode-unavailable,
and until now only the next human turn (or a stop or archive) retired it, so
its card stayed in the transcript after "Switch to Manual mode" had switched
the mode. The service now follows the effective permission mode each session
status carries (the engine answers set_permission_mode and sends a
system/status frame with the new mode, uxwave-851-set-mode seq 9 and 11) and
retires the item when the mode moves off auto, by the card's button or any
other way. A status merely in another mode retires nothing, so a restored
item, or a denial seen while the mode never read auto, keeps waiting for the
next prompt as before.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The owner's ruling (UX wave, obs4): a tool block taller than the window folds
where the reader is. A click on the blank space of an open call's row, an open
run of calls, or an open browser action's snapshot folds it; not a drag, a
click that ends a selection touching the block, a modified or double click, a
click on a control, link or anything focusable or with a widget role, nor one
on text or media. Of nested blocks (a run's calls) only the innermost open one
folds. Focus then lands on the head's toggle, scrolled into view; the body
takes no focus stop.

Unit cases in fold-on-click.test.tsx; an e2e case in transcript.spec.ts
(e2e:transcript) by the real pointer.

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

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…back to no mode above the ceiling

Every launch now admits Bypass permissions later, so the machine's "When auto mode
is unavailable" setting could hand another machine a mode its ceiling refuses: a
remote spawn in auto under a ceiling of auto, on a model or a breaker that refuses
auto, fell straight into Bypass permissions.

The launch spec's permissionFallback is clamped where the spec is built (the
engine host obeys the spec as before; nothing new on the wire): to the loosest
mode above neither the owner's fallback nor the ceiling, plan where the ceiling
allows none. Held to it: every launch of a record a remote member spawned
(launchedBy), a fork another machine asked for (its launches, for the service's
life), and the resume an acquisition from another machine launches (session.acquire
under an operation's claim, while it is asked).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…faultMode it read does

The ceiling `settings` reads the machine's defaultMode, but the decision's standing
recorded only the word `settings`, so the owner tightening their defaultMode while
a switch to Bypass permissions or a spawn waited for presence or its executor left
the decision standing. The decision's reads now keep the defaultMode they read for
the ceiling (a spawn's and a mode switch's alike), and the decision is taken again,
or no longer stands, when it reads otherwise; a decision that read none rests on
nothing of it.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ronment's list on another version first

A key no launch of this engine version listed yet fell back to the route's plain
list, skipping the environment-specific keys, so a launch whose settings set its
own model environment lost those rows after an engine update. On a miss it now
answers the same route and environment's newest list on another version, then the
route's plain list (this version's, then any version's), then any list.

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

The composer's chips, its auto-mode note and the model menu each called the setup
hook and each held its own catalogue, kept by route alone. A refresh as the menu
opened reached only the menu, so the chips and the note could name a list the menu
no longer showed; and a move to another settings directory on the same route kept
showing the old directory's list until the new one answered.

- The catalogue is a query keyed by the whole request (machine, route, the legacy
  gateway field, the settings directory), so every caller of the hook for one
  launch reads the same answer and one refresh updates them all.
- On a change of request the reading state shows until that request answers,
  never another request's list; a failed read keeps what was read for the same
  request, else lists nothing, as before.
- A refresh while a read is already on its way waits for that read (the menu's own
  mount asks), so opening the menu reads once.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…hat is unknown

A New chat whose machine menu chose another machine read this Mac's catalogue
and this window's own settings, so the menu could check the model this Mac's
settings name while Send started the other machine's default, and a click on
that row wrote nothing.

- The launch's catalogue is read on the machine the tab starts on (the machine
  menu's spawn target, in its checkout there), else on the intent's own machine.
- The user's settings that name the default's model are read on this machine
  alone (no other machine offers the read) and reach the composer's chips and the
  menu through the setup hook; another machine's are unknown, never this one's.
- While the model a tab on its default starts on is unknown (another machine, or
  the settings not read yet) the menu checks no row, and any pick is written; a
  model the intent names stays checked. The mode seed stays this machine's, which
  a spawn elsewhere sends as its mode.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ode, and a confirmed mode change answers it (obs 4, review finding 7)

The attention service remembered no permission mode across a restart, so an
"Auto mode unavailable" item restored from the store after the session had
left auto never retired, and pressing "Switch to Manual mode" again could not
retire it either (default to default is no move off auto).

- A restored item is reconciled with the first status of this run that
  carries a mode the engine confirmed (a ready process's; before ready the
  status echoes the launch spec's mode): another mode than auto retires it,
  auto leaves it to the move rule. A status confirmed before the store was
  read drops it at the merge. A restored item this run also reads live from
  the stream (a kept session's tail) is this run's and stays under the move
  rule, so e2e's synthetic denial in a default-mode session keeps waiting
  for the next prompt as before.
- The service intercepts session.setPermissionMode on its way to the
  engine host (as the read side does session.answer): an answer with no
  error in a mode other than auto retires the session's auto-mode items
  standing at that answer, a session never seen in auto included. A denial
  raised after the answer is not retired by it; the host's answer and
  errors pass through intact. mawsd's SPINE_ENGINE_INTERCEPTS names it, so
  the intercept applies on every path, as D44(3) wants.
- Only a ready process's status moves the remembered mode now.

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

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…g to the run it launches

The ceiling was marked on the session's id only while the remote acquisition ran, so a
second remote acquisition queued behind a first that answered a trust card launched
after the first had dropped the mark: its auto fallback reached Bypass permissions above
an Auto ceiling. The origin now travels with the acquisition itself, through its wait for
a run with other options, and only the run it launches is held to the ceiling (the setup
that run builds its spec from). A join takes the launch under way as it is, as an
acquisition takes a session already ready: a remote join of a local launch does not
clamp it, and a local join of a remote launch stays clamped. The id marking for an
acquisition is gone; a fork from another machine keeps its mark for the service's life.

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

A New chat aimed at another machine read that machine's list for this tab's
route, though `session.spawn` names no route and the machine starts it on its
own default; and main answered any `engine.models` for another machine from a
live session's list there (whatever route that session runs), else the
built-in one, never reading the machine's cache.

- The tab's read for another machine names no route, as its spawn names none.
- That machine's endpoint offers `engine.models` with no route and no refresh
  (a read at `list`, behind the new capability `rl2.engine-models`): it reads
  the machine's default route as the session service seeds an intent (the
  resolved default beside the legacy field) and answers the engine host's
  catalogue for it in the checkout named, with the host's own fallbacks.
- Main's lane B adapter sends that read to an endpoint that lists the
  capability; an older one's is refused `not-offered`, never a live session's
  list. A read that names a route is answered as before.
- The menu says why another machine's list can't be read, in place of "No
  models": "Update MAWS on <machine> to list its models here." for a machine
  whose MAWS predates the read, else "<machine>’s models can’t be read right
  now."

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
While a New chat on its default could not know what it starts on (another
machine's, or this one's settings not read yet), the menu checked no row but
its effort view and the composer's chip still named the catalogue's default
row's model, the mode chip read that row's auto verdict, and the auto-mode
note named it and promised this Mac's fallback mode.

- The chip reads "Model" and the effort view names no model until the intent
  names one; the mode chip claims nothing about auto for an unknown model.
- The auto-mode note is about the model the launch starts on: the intent's,
  else the one the user's settings name, else the default row; none while that
  is unknown.
- For a spawn on another machine the note names no mode of this Mac's:
  "Auto mode isn't available for <model>. This session will use <machine>'s
  fallback mode instead."

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

The case replied before the read was asked and checked right after the reply, so
under load it could read the hook before the answer landed.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
A launch of its own ("owner obs 4", scenes o4-*): a new chat's model menu before
Send with a session running, the same menu in that session, the mode menu with
Bypass permissions picked and confirmed, the Auto mode unavailable card before
and after its Switch to Manual mode, and a tall open tool block before and
after a click on its blank space. Three sessions start on replay journals built
in the rig from recorded frames; the Bypass answer is the one engine 2.1.332
gives the build's launch line (uxwave-obs4-bypass: the flagged success on a
checkout whose launch line carries --allow-dangerously-skip-permissions, else
the unflagged refusal), since the replay never reads the line. Every scene
starts what it needs, so WORDS_ONLY=o4-<id> runs it alone, and each runs on
master's build for the before.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
It read turn 1's id right after releasing the fixture, before any batch had
landed, and lost that race on a slow Mac ('no turn 1'). It now loads with
loadAll, which waits for a released batch and settles, and polls until turn 1
exists before reading its id. Only the test changes.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…kes the rows' place

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The drag ran along the output box's vertical middle, which on this two-line
output ('1<tab>Final target third.txt.' and '2<tab>') is the gap between the
lines, where a drag selects nothing: the same drag on a page with the output's
CSS selects nothing there and the first line on its glyphs. It now drags, and
clicks beside the text, at the first line's middle, read from its glyphs. The
product sets no user-select and cancels no press there; only the test changes.

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

The click beside the first line came straight after the drag that selected it, so
the selection still touched the call at the click, and a click that ends a
selection folds nothing by design. A probe in Chromium at 2x, over the run's
markup as the components render it and the real foldsAtClick, showed at that
click detail 1, no travel, not on text, and the selection standing; a plain click
there with nothing selected folds the call, focus on its line, and the click
beside the run's line then folds the run, focus on the run's line. The product is
right; only the test changes.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Conflicts resolved:
- src/services/attention/service.ts: a session's state carries both the question
  sheet's list (sheet) and obs4's confirmed mode and unreconciled restored items.
  The sheet's items are a live projection apart from the derived ones, so the
  auto-mode retirement (a move off auto, the first confirmed status after a
  restore, a confirmed setPermissionMode) touches only derived items and the
  sheet's items are untouched by it; merged() lists both.
- docs/charter.md: both Decision Log entries, in date order (2026-11-24, then
  2026-11-27).
- docs/tech-debt-tracker.md: both sets of rows.
- e2e/words-shots.rig.ts: both sets of imports.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
@SSFSKIM
SSFSKIM marked this pull request as ready for review November 28, 2026 23:12
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 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-28T23:13:35.078567Z a5c1694 Draft marked ready
ℹ️ 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 7dbb840 into master Nov 28, 2026
@SSFSKIM
SSFSKIM deleted the ux-wave/obs4 branch November 28, 2026 23:13
@SSFSKIM

SSFSKIM commented Nov 28, 2026

Copy link
Copy Markdown
Owner Author

Landed master-first as 7dbb840 (parents a290b0d, a5c1694; tree d67b3daa = the gated head's). Branch and worktree removed.

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

SSFSKIM added a commit that referenced this pull request Nov 29, 2026
master-first; class 1a 46201947410 and desk-web 46201953283 green on tree 87f91bd (= head). Mac at the head: transcript, agents, widgets and the pictures green; code ran twice and every case passed in one of the two runs, its reds each a wait on a file event (:1487, :2056; the mini's fseventsd, #891). Earlier heads' 22 groups in the PR. The owner ruled on its three calls 2026-11-28. Hand resolution with #893 in CellLine and ModelSelector.

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 29, 2026
… the sheet page on by default, #893)

Sminos-Session: question-sheet-design#23738737 (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