Skip to content

UX wave · U1, first landing (U1a): an answered request stops waiting, and the request cards are redrawn - #631

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

SSFSKIM merged 79 commits into
masterfrom
ux-wave/U1a

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 U1 (docs/doperpowers/specs/2026-11-12-ux-wave/U1-requests.md), first landing · parent pin 5f1972a30 (re-pinned from 06727e32a at execution; the document's Decision Log) · execution document docs/doperpowers/plans/2026-11-12-ux-wave-U1a-requests.md. Contract UC-1 (owned), with UC-6 and UC-7. Items: #358 with X-066, S-04, S-07, O-22's kind, l4-approvals-02, -05, -09, -11, -13, O-23, #333, and Dismiss under l4-approvals-08. Board #577.

The landing before it is on master. This branch held the moved-transcript landing (U8c-1, #621) since 5b934b81c; that landing reached master as pull request #626 (b865c90e7), and master b865c90e7 was merged into this branch at 2f1fd2978. The pull request's diff against master is this landing's own change.

What it does

Until now a request read as waiting until the engine sent the tool's result. Allow a command that runs for a minute and prints nothing, and for that minute the session's row, its tab, Needs you, the dock badge and a window on another machine read "Needs approval", and the composer's place held a line "Answered · Allowed once".

  • An answered request stops waiting at the answer (UC-1, UX: an answered question leaves its full card in a lane A transcript #358, S-07). There is one predicate of waiting (waits, by tool call and by agent), and every reader calls it; a tree test fails on a source outside the engine host that decides it by itself (an import of isOpen, a comparison with 'delivered'). The attention service sends only what waits. At the click the card is gone, the composer and Stop are back, and the session reads Working.
    • A terminal session's request leaves when its bridge accepts the answer, before the bridge's settled; if the bridge still lists it 5 s later, it waits again. One holder on the session's machine keeps "accepted, not settled", told by its driver and, for an answer that came over the machine link, by its endpoint (laneA.accepted).
    • For a terminal session on another machine, every window of the device that answered drops the card when that machine says the answer was taken; a window on a third device drops it at the bridge's settlement.
    • A feed snapshot no longer erases a remote terminal session's mirrored cards (an existing fault, repaired here): the mirror's list, with a question's draft, stands through the machine's snapshots.
  • A permission prompt is three buttons with their keys (l4-approvals-02). Deny (Esc), the lasting scope its button names (⇧⌘↩) and Allow once (⌘↩), in place of a numbered scope list and an Allow button; Enter and the digits do nothing on it. A key answers nothing in the prompt's first 400 ms, a key held down answers one prompt and not the next, and a key pressed while an input method composes answers nothing. A prompt flagged "default to no" has no key that allows. The card reads what is asked, the preview, the call's "Why", the engine's reason and the buttons, with no tool-name heading, no scope list and no folder line; the rule's file line appears only with "Always allow in ".
    • The keyboard focus moves from an answered prompt to the next one, also when the next prompt arrives after the answer (the engine asks about its next call only once the first is answered); it does not move when the person has put the focus somewhere else. See "Found on the Mac" below.
  • A file change is a diff (l4-approvals-05). "Create " or "Edit ", the path relative to the working folder, numbered lines with three lines of context, 12 lines collapsed and "Show all", which shows every line whole however large the change. While the file is being read, or when it cannot be read, the card shows the input alone and its buttons still answer.
  • A plan's primary button names the next mode (l4-approvals-11). "Implement · ", with a menu of the other modes the check of 2026-11-12 ran end to end (PLAN_NEXT_MODES: default, acceptEdits). The engine host writes a chosen mode as a setMode beside the allow and refuses a mode outside the list. There is no menu on a terminal session ("Implement"), on a session another machine runs (the earlier mode named when its status gives it; this build's endpoint refuses a plan answer naming a mode), or where this Mac's engine host is not of this build's wire fingerprint ("Implement"); no answer from those cards names a mode.
    • The guard at the forwarding boundary. The services' session.answer interceptor (src/services/sessions/index.ts) refuses an answer that chooses a mode, before anything is dispatched, and the request still waits. It reads the served engine-host link's welcome in the same tick as the dispatch and asks the host nothing. No link served: host_unavailable, "The engine host isn’t serving right now, so an answer that chooses a mode isn’t sent; try again once it is". A served host whose wire major or minor is not this build's: invalid_input, "The engine host serving this session isn’t this build’s, so it can’t apply a chosen mode". A utility host is admitted.
    • Accepted limitation: the window's port compares wire fingerprints and the boundary compares major and minor, so two wire minors whose change lay outside the engine host's wire, under one engine-host fingerprint, are admitted at the port and refused at the boundary. That is the safe direction; the reasoning is in the comment on planModeRefusal.
  • The trust card (l4-approvals-13). In a folder with no project settings and no .mcp.json it says "Nothing in this folder loads or runs automatically." instead of listing five things that would load. The trust, relay-down and failed-start frames read their title alone.
  • Questions (O-22, O-23, Dismiss). A terminal session's question that does not block the agent is an async_input item: its row, tab and Needs you read "Question waiting" in the calm tone, a Skip that would leave every question unanswered is disabled with its reason, and Esc sends nothing. Every question form has Dismiss: on the stepper it sends the decline Esc sends; on MAWS's ask form, one answer with every question skipped; on a terminal's asynchronous question, the bridge's dismissal where the bridge declares it (the plugin's 1.47.0), else disabled with "Dismiss it in the terminal", and on another machine disabled with its reason. A double-click on a single-choice option picks it and goes on; a multi-choice option and "Other…" never submit.
  • From outside a session's pane (l4-approvals-09, UX: answer any pending permission from the sidebar's hover card #333). One rule (src/shared/attention/outside-answers.ts) for a notification and the sidebar's hover card: any waiting permission can be denied, and a read-only tool or a shell command the surface shows whole (on a notification, one line of at most 120 characters, which is then the body) can be allowed once; a file change offers Deny only. Each action reads the request again at the press. On the hover card "Allow once" replaces "Approve", by pointer click only.

What is sent, and what build f1852de3a does with it (the document's Interfaces §K, one test per row). The wire's minor is 37 (master 36; build f1852de3a is 33), for three additions: laneA.accepted, accepted on a remote terminal session's state, and the optional mode on a plan answer. Nothing is added to the stored layout or to either settings file.

  • Build f1852de3a still sends answered (delivered) items; every reader here calls the predicate, so none is drawn or counted. A terminal session's asynchronous question arrives from it as kind question, docked and counted as a blocking one, as today.
  • mode is never sent to that build. Its engine host would drop the key and implement in the earlier mode, so under it the card offers no menu and the boundary refuses; its endpoint would refuse the whole answer (malformed), so the port never sends a mode to another machine.
  • laneA.accepted goes from this build's endpoint to its own spine inside one daemon, graded internal, sent by no window. accepted is set by main for its own windows; a state without it reads as none accepted.
  • The bridge's dismissal goes only to a bridge whose status declares decide.dismiss. An older bridge sent one under a stale status refuses it with 400 before recording anything, and the question still waits.
  • The two new key actions, request.allowOnce and request.allowLasting, are not rebindable and are never written to settings.keymap.

The record (UC-10). The six rulings this landing reverses are amended where they stand: docs/charter.md (§5.1, §5.8's keys, §12 C5's hover card, §13 X4), docs/doperpowers/plans/2026-09-28-c7-composer-requests.md (delivery states; scope options) and docs/doperpowers/plans/2026-10-28-p5-o9-lane-a.md (the asynchronous question's kind; its dismissal).

Verification

  • The head. The pull request's head is e029643aa89e90f8543bff719b03ca1fcdcc3407: the focus fix b23922f077a8b95f5ea11db09520be3e0cda4ad9, two document-only commits over it (ab78303a2: the execution document's record of the Mac fault round; 6ab29136c: its record of the delta review's ruling, and one row of docs/tech-debt-tracker.md), a merge of master 7b9ef8291 (the gate's change gate: e2e:default may run in the guest, on e2e-build's plain out/ #624 and the CPU bound's test change sessions.test: the 4,000-upsert CPU bound is the least of three runs #628) at 7b2d9931d0f6006fab5deffb6e32c73935a77b46, and over that two merges of master that bring in changes of the gate alone: 277ced3c5 (gate: a bare e2e:default keeps the exclusive instance #629) at 559b8758bd66dba9588f200eb65f3af6e040f69d and 7cf82560b (gate: HOSTED_MAC_JOBS admits unit:darwin on the direct route (macos-26) #630) at the head.
    • What the last two master merges brought in (git diff --stat 7b2d9931d e029643aa): 3 files changed, 61 insertions, 6 deletions, all under .github/: scripts/gate-plan.mjs, scripts/gate-plan.test.mjs and workflows/gate.yml (gate: a bare e2e:default keeps the exclusive instance #629: a default group launched with no other group stays on the Mac mini's host; gate: HOSTED_MAC_JOBS admits unit:darwin on the direct route (macos-26) #630: the macOS-only unit cases run on a hosted Mac). No conflict. The three tests: (a) they share no file with the branch's own change: holds (git diff --name-only 7cf82560b e029643aa -- .github scripts prints nothing); (b) they touch nothing under e2e/ or test/support/ and no build or configuration file: holds (a change under .github/ alone does not count); (c) they touch nothing under src/: holds. Run again after each: class 1a, whose static-local job runs the gate's script tests that these merges changed; on the head also the macOS-only unit cases, which gate: HOSTED_MAC_JOBS admits unit:darwin on the direct route (macos-26) #630 moved to another machine, and the paid live group. Every other run on 7b2d9931d stands.

    • What the master merge before it brought in (git diff --stat 6ab29136c 7b2d9931d): 7 files changed, 144 insertions, 48 deletions: four files under .github/ (scripts/e2e-default-specs.test.mjs, scripts/gate-plan.mjs, scripts/gate-plan.test.mjs, workflows/gate.yml), scripts/ci-gate-alerts.test.mjs, one row of docs/tech-debt-tracker.md, and src/services/index/sessions.test.ts. One conflict, in docs/tech-debt-tracker.md: both sides added a row at the table's end, and both are kept, master's first.

    • The three tests on it: (a) it shares no file with the branch's own change: it shares one, docs/tech-debt-tracker.md, a document; (b) it touches nothing under e2e/ or test/support/ and no build or configuration file: holds (the .github/ files are the gate's own, and scripts/ci-gate-alerts.test.mjs is a test of the gate's script, which class 1a runs); (c) no directory two levels under src/ holds changes from both: holds (the branch changes nothing under src/services/index). The one file under src/ is a unit test file, so the test-file reading applies: it counts for class 1a and unit:darwin only. Nothing imports it:

      $ git grep -n -E "sessions\.test" 7b2d9931d -- src e2e test scripts .github
      (no output)
      
    • Run again on 7b2d9931d: class 1a, unit:darwin --affected and e2e:default (every link of the chain runs the default group on its merged head). The other runs of record are on b23922f07 and stand: between b23922f07 and 7b2d9931d no file under src/, e2e/ or test/ differs except that test file (git diff --quiet b23922f07 7b2d9931d -- src e2e test ':!src/services/index/sessions.test.ts' exits 0).

    • Below it, 2f1fd2978 merged master b865c90e7 (the moved-transcript landing, pull request UX wave · U8, a repair ahead of the live working folder (U8c-1): a moved transcript keeps its readers #626, which this branch already held, and the UX wave's spec batches 7 and 8, UX wave spec, batches 7 and 8: the linked file as its own landing, the final Mac runs and the chain, rulings from the builds #625) into 5b934b81c, with no conflict. What it brought in (git diff --stat 5b934b81c 2f1fd2978): 16 files changed, 199 insertions, 149 deletions, all under docs/doperpowers/specs and docs/doperpowers/evidence. The three tests: (a) it shares no file with the branch's own change: holds; (b) it touches nothing under e2e/ or test/support/ and no build or configuration file: holds; (c) it touches nothing under src/: holds. The runs of record below are on b23922f07, which holds this merge.

    • The branch's own change against master 7cf82560b is 173 files (6935 insertions, 819 deletions).

  • Two scenes failed on the Mac at 5b934b81c, and were fixed (detail under "Found on the Mac"): the plan scene, a fault of the test's harness page, fixed at 93c1a77ee; and the held-chord scene, a regression this landing's M1 put into the app, fixed at beb5c785a (tests first) and b23922f07. The focus fix is a product change, so the whole set was run again on b23922f07.
  • Runs on the head e029643aa:
    • Class 1a: run 43454387866 (static,unit,probes): green (static, static-local, unit 1/4 to 4/4, probes, and its own two-build job).
    • macOS-only unit cases: run 43454383835 (--gates unit:darwin --affected), on a hosted Mac as gate: HOSTED_MAC_JOBS admits unit:darwin on the direct route (macos-26) #630 routes them: green.
    • The paid live group: run 43457047671 (--live --gates e2e:p1-live): green, on the Mac mini's host. e2e:p1-live collected its 10 scenes and the step exited 0. The job log GitHub serves holds the pass lines of scenes 1 to 8 (S3 1 to 4, S6 8 and 8t, A-47, S2(b)) and ends 26 seconds before the step's end, so the lines of the last two scenes (S2(c), S2(d)) and the count line are not in it; those two are known from the step's exit status and from the run's spend ledger, which holds their settled entries. The ledger sums to US$0.09 of the run's US$1.70 cap. The run's second job, e2e:tool-time-heavy-live, is the guard the gate adds to every live run (a vitest file of the live project that spends nothing): green. p1-live.spec.ts allows its permissions through the card's Allow once.
  • Runs on 559b8758b (they stand: the merge over it changed files under .github/ only):
    • Class 1a: run 43450608612 (static,unit,probes): green (static, static-local, unit 1/4 to 4/4, probes, and its own two-build job).
    • Electron e2e, voice: run 43451986169 (under "Runs on b23922f07" below, with the reason it was run alone).
  • Runs on 7b2d9931d (they stand: the merges over it changed files under .github/ only):
    • Class 1a: run 43435034235 (static,unit,probes): green (static, static-local, unit 1/4 to 4/4, probes, and its own two-build job).
    • Electron e2e, the default group, on the Mac lane: run 43448642117, launched with --default-beside naming this landing's eighteen other groups, so that it ran the default group's own spec files as it does inside the full set: green, in the Mac mini's guest: 292 scenes, 93 passed, 199 skipped, none failed. Two earlier launches of the group alone without that list do not count: run 43435030658 collected the whole bare set and was stopped by the Mac mini's guest lane at its 50-minute job bound before it finished (the lane's bound has since been raised, and gate: a bare e2e:default keeps the exclusive instance #629 keeps that form on the host), and run 43448169871 was cancelled before it ran.
    • macOS-only unit cases: run 43435052006 (--gates unit:darwin --affected): green.
  • Runs on b23922f07:
    • Electron e2e, on the Mac lane: run 43429436253, nineteen groups (requests, composer, lane-a, tools, to-human, side, panel, layout, agents, browser-comment, remote, supervisor-daemon, design-systems, voice, default, deliverables, presentations, design, document-app): seventeen groups green, among them requests, 19 of 19 scenes, the held-chord scene on its first try. The run as a whole reads cancelled, for two reasons that are not the product's. e2e:presentations failed in the runner's setup step (./.github/actions/setup, job 131899015134, a hosted macOS runner: the LibreOffice cask's download dropped) before any scene ran; that group was run again alone: run 43431557955: green, 48 scenes, 38 passed and 10 skipped. e2e:voice (job 131899015136) was created at 12:57:04Z and never handed to a runner in 86 minutes, while later jobs with the same labels started; with every other job complete the run was cancelled, and voice was then run alone on the head 559b8758b, on a hosted Mac (--lane hosted; its cases use the scripted recognizer and nothing of the Mac mini): run 43451986169: green, 15 scenes, 14 passed and 1 skipped, the same counts as the group's run on the Mac mini's host in this landing's first full set (run 43414504942 at 5b934b81c). (A launch of it for the Mac mini's host, run 43442305704, waited 58 minutes unstarted and was cancelled.) The new scenes are in requests.spec.ts (the three keys and hints, a key inside the 400 ms, a chord held over two prompts, the hover card, the plan's mode as the setMode the host wrote, the double-click, a command whose result never comes, the diff, the card's 200 px height), lane-a.spec.ts (the asynchronous question and Dismiss in both declared states; an allow that leaves before settled), sessions.spec.ts (the trust card) and maws-tools.spec.ts (the ask's Dismiss and double-click).
    • Class 1a: run 43429445562 (static,unit,probes): green.
    • The two-build group with build f1852de3a: run 43429428451 (--gates e2e:cross-build --peer-exact f1852de3a): green, 13 scenes, 6 passed and 7 skipped. Its update scene carries the one assertion this landing adds (crossing()): attached to the kept engine host, the window's status gives that host's wire fingerprint and not the app's, and once moved to a supervisor of its own build the two are equal.
    • macOS-only unit cases: run 43429465758 (--gates unit:darwin --affected): failed, 1 of 508 tests. The one failure is the CPU-time bound in src/services/index/sessions.test.ts ("upserts 4,000 synthetic summaries inside one transaction in under 500 ms of CPU time"), which measured 512.397 ms. This landing changes nothing under src/services/index and no module that sessions.ts imports. The same bound failed that hour on the chain's next landing at 519.529 ms and 518.378 ms, and passed in two control runs: on master b865c90e7 (run 43430939751) and on the next landing's head 90a91001e (run 43427440994), so the spread between runs on that machine is larger than any cost of this branch. Master's sessions.test: the 4,000-upsert CPU bound is the least of three runs #628 has since made the bound the least of three runs, with a ceiling for a loaded machine; the run of record is the one on 7b2d9931d above.
  • First passes, at 5b934b81c (before the two fixes):
    • Electron e2e, run 43414504942, the nineteen groups: 18 green; e2e:requests failed, 17 of 19 scenes passed and 2 failed (the plan scene and the held-chord scene).
    • Class 1a, run 43414535372: green.
    • The two-build group with build f1852de3a, run 43414535385: green, 13 scenes, 6 passed and 7 skipped.
  • Earlier passes, before 5b934b81c. 5b934b81c is the branch's commit 8dd7121fab567b884e22101c4ad32e7f69fafff8 plus one merge of the chain head d4ab1ff17 (master 9df6b4493 with the one-strip landing, pull request UX wave · U13, first landing (U13a): one strip for everything open #623, plus the moved-transcript landing, UX wave U8c-1: a session's transcript that the engine moves keeps its readers #621). One conflict, docs/tech-debt-tracker.md: both sides added rows at the end of the table, and both are kept, this landing's seven rows first. What that merge brought in (git diff --stat 8dd7121fa 5b934b81c): 90 files changed, 6764 insertions, 1926 deletions. Its three tests all failed ((a) eight shared files; (b) four scene files under e2e/; (c) src/renderer/src, src/services/lane-a and src/shared/ipc hold changes from both), so every gate was run again from 5b934b81c on, and these runs are first passes only: class 1a run 43410351927 on 8dd7121fa, green; Electron e2e run 43401922157 on c8ee0a091 (requests, lane-a, tools): lane-a and tools green, requests cancelled; the two-build group run 43407229251 on f461ea692, green.
  • Review. Each of the seven milestones was reviewed at its frontier by a task reviewer, with one fix wave in M1 (5efc03b94, 10d61e2b8), M2 (3c2ec96b2, ff10fd1a4), M3 (1577c0469), M4 (c5aea04d3) and M7 (68089d53f).
    • The doperpowers:review-code xhigh panel (run wf_6754dab7-20e) on c0e7b2ae8..c8ee0a091: one finding, P2, confirmed by the panel's verifier; the other five finders returned none. A plan's mode was checked only in the renderer, so a caller that did not go through the card's port could have a plan implemented under an engine host of an earlier build in the earlier, possibly wider, mode. Fixed at the forwarding boundary: a7aa9d425 (failing tests first), 04fc3a985, then 36c0062b5, 805a465ce, a97e0afb9; the task reviewer approved it with no findings. The other paths to the engine host's session.answer were each read and need no change (the notification's actions name no mode; an answer to another machine is closed by the port and refused by that endpoint; the scenario stub has no engine host; host.op passes the offers row's check first).
    • doperpowers:reviewer-medium on c8ee0a091..f461ea692: two P2 findings on that fix. Its status read was a request of its own, awaited between the check and the send, so the served link could change in between, and it started a second request budget inside the caller's. Both were fixed by one change: b65d63ade, de8a01d91 (failing tests first), a450c873f, the welcome read described above. The ruling made this the last round on the guard: the wave's architect read that diff, with no further review agent.
    • doperpowers:reviewer-medium on 2f1fd2978..b23922f07 (the two Mac fixes; lens: the hand-over's orders): verdict "incorrect", two P2 findings on the focus fix, both ruled without a code change (6ab29136c, the document's Decision Log). (1) A pane change by pointer inside the hand-over is undone: after the answered card left, a pointer-down on non-focusable content of another pane leaves the focus on the body, and a next prompt that mounts before the animation frame takes the keyboard in the first pane. Real and tiny: the pointer-down and the mount must both fall inside the one animation frame after the person's own answer. Logged as a tracker row owned by U1b. (2) With one session in two panes of one window the first frame to mount would take the mark: dismissed as unreachable, because a session's tab id lives once per window (openSession in stores/layout-model.ts). No further round.
  • On the build VM (Linux).
    • At b23922f07: the new tests of the focus fix (in DockedCardFrame.test.tsx and Composer.test.tsx) pass; the web and e2e typechecks pass; eslint on the changed files passes; vitest over the touched directories, 95 files passed; the gate's script tests, 556 of 556. The held-chord scene under xvfb passed every assertion and was marked failed only by the known teardown time-out there (Electron e2e under xvfb on Linux: the app's close in afterEach times out, so no scene can run on a build VM #617). The whole e2e:requests group under xvfb proves nothing there: all 19 scenes were marked failed, 15 by that teardown time-out and 4 by a bare test time-out with no pending step (not explained on the VM); the Mac run above is the record.
    • Before it: each milestone's tests failed first at its tests commit (56, 56, 67, 34, 40 and 42 failing for M1 to M6) and passed after. At M7: pnpm typecheck green over every project, pnpm lint clean, the app scan 8 of 8, and the whole pnpm test at a3978fe96: 2497 files passed and 10 failed, six of them that VM's known set and four single cases timing out at 5 s under the suite's load (src/main/org/rows.test.ts, test/endpoint/read-open.test.ts, subagents.test.tsx, viewer.test.tsx), which pass together at the default timeout (280 of 280) and take the same time on master c0e7b2ae8. The panel fix: 2 of 16 failing first, then 78 files, 1253 tests over the touched folders. The delta fix: 4 of 19 failing first, then 80 files, 1283 tests. At 5b934b81c: typecheck (node, web, e2e) and eslint on the six shared code and spec files exit 0; vitest over composer, harness, shell, session and app, the wire tests and src/shared/machine: 2536 of 2538 tests, the two failures in src/shared/machine/git-reads.test.ts, on that VM's known set; node --test over .github/scripts and scripts: 556 of 556. The whole suite was not run again after a3978fe96; class 1a is the record.

Found on the Mac, and fixed

Both faults were found in run 43414504942 at 5b934b81c, in e2e:requests.

  • The plan scene (e2e/requests.spec.ts, then at line 687, now 690: "a replayed plan: Implement names the mode before Plan, and its menu implements in another mode"): a fault of the test's harness page, not of the app. The cards harness page (src/renderer/src/harness/composer/ComposerHarness.tsx) did not connect the hosts store, which App.tsx connects for the whole app (through connectSupervisorNotices), so on that page the plan card never read main's host.status, its gate did not hold, and it drew "Implement" with no menu. Fix 93c1a77ee: useHosts.getState().connect() joins the page's connections. The app's own path was not changed for this fault (git diff 5b934b81c b23922f07 -- src/renderer/src/App.tsx is empty). The harness-page reading's three conditions:
    • The only importer of the changed harness file:

      $ git grep -n -E "composer/ComposerHarness" -- src e2e test scripts
      src/renderer/src/harness/main.tsx:13:import { ComposerHarness } from './composer/ComposerHarness';
      
    • A plain build holds no harness entry: electron.vite.config.ts:56-61 makes the harness page (src/renderer/harness.html) a second renderer entry only when the dev server runs (command === 'serve') or under MAWS_HARNESS=1 (harnessInput, line 61), with the comment that "a production build never contains it"; line 128 builds harnessInput ?? pages.

    • The import lines: one added, none removed (24 import statements before, 25 after). Before, import { selectPendingOf, useAttention } from '../../stores/attention'; was followed by import { useLayout } from '../../stores/layout';; after, import { useHosts } from '../../stores/hosts'; stands between them. src/renderer/src/stores/hosts.ts was already in the page's import graph: src/renderer/src/request-card/variants/Plan.tsx:23 imports it, and the page reaches Plan.tsx through ../../request-card (RequestCard.tsx:62).

  • The held-chord scene (e2e/requests.spec.ts:301, then at line 298: "a held ⌘Enter answers the first of two queued prompts and never the second; pressed again, it answers the second"): a regression that this landing's M1 put into the app, in src/renderer/src/composer/docked/DockedCardFrame.tsx. Since M1 an answered card leaves at the answer. When the next prompt arrives a commit later (the engine asks about its next call once the first is answered; 9 ms later in the replay), its frame mounted with the focus on the page's body and no hand-over mark, so the keyboard stayed on the body and ⌘↩ did nothing until a click. Before M1 the answered card stayed docked until the engine's confirmation, by which time the next prompt was already listed, and the two frames swapped in one commit. The unit tests could not see it: each made the second request present before the first left.
    • The first diagnosis was wrong. It blamed the harness's docked placement for reading each request late, and 7b662f051 moved the scene to dock its prompts in the composer pane on that basis. The builder's logged proof on the build VM (the page's focus events and frame mounts) then showed the product fault. 7b662f051's message names that wrong cause; b23922f07's message and the scene's comment correct it. The scene stays in the composer pane, which is where the product docks a prompt.
    • The fix (beb5c785a tests first, b23922f07): the hand-over mark now lives until the animation frame in which the editor's deferred focus has had its turn. A frame mounting meanwhile takes the focus when the focus is on the body or inside its own pane, and drops the mark when the person moved the focus elsewhere; a frame mounting after that animation frame finds the editor focused inside its pane and takes the focus by the rule already there. No timer. The new cases: four in DockedCardFrame.test.tsx ((a) a frame mounting before the editor's deferred focus takes the focus, and a key held from the first answer does not answer it; (b) one mounting after the editor took the focus takes it; (c) with the focus moved outside the pane it takes nothing; (d) once the animation frame has passed with no frame mounted, it takes nothing) and one in Composer.test.tsx (a docked request listed a commit after the answered one left gets the focus).

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

  • The plan mode's guard at the forwarding boundary, with its two refusals and the accepted limitation above, came from the branch review; the renderer's gate stays as the copy a person reads. servingHostStatus and its status request are gone.
  • laneA.accepted is graded internal and main-only, where the document said approve: it is the grade of every command no window sends, and the remote lane A adapter refuses it.
  • The Esc hint is drawn "⎋": a hint is the row's chord in the keymap's own formatting (formatChord). "Deny… with a reason" keeps today's label (a kept control).
  • Three effects the section did not name, accepted by the architect, with neither file edited: a terminal session's asynchronous question does not raise the floating window's pill; the sidebar's hover card offers Quick Reply beside it; every question card, the Overview's and the inline one included, carries Dismiss.
  • No replay fixture is committed: the scenes cut the journals they need from the committed fixtures at run time. The C7 picture is renamed approval-buttons-keys.
  • If a landing that raises the wire's minor reaches master first (U8b raises it too), the generated wire files are made again at the next minor; one comment in src/services/sessions/index.ts names 37 as the first minor that knows mode.

Edits in files other wave children own (the document's Interfaces §N; three were added at execution and are marked):

  • U6: src/shared/keymap/actions.ts (the rows request.allowOnce and request.allowLasting; the titles of request.accept and request.decline); keymap/useKeyChord.ts and dispatcher.ts (a binding's fresh option, which swallows a key repeat); palette/CommandPalette.tsx and its test, two entries of UNAVAILABLE (added at execution).
  • U6, U11: settings-tab/KeymapSection.test.tsx and settings-tab/keymap.test.ts (the request rows' titles and ids).
  • U3's transcript files: transcript/view/cells/EditDetail.tsx, the optional prop whole of EditDiff; the transcript's own uses pass nothing.
  • U9: src/endpoint/offers.ts, the accepts on session.answer's row that refuses a plan answer naming a mode. U9 also works in src/endpoint/lane-a.ts and actions.ts, which this landing edits.
  • U7: sidebar/RequestPreview.tsx (isOpen becomes waits). U10: shell/floating.test.ts (one expectation). U4: composer/Composer.test.tsx (two gestures, added at execution; and one case for the focus fix, allowed by the architect's ruling). U8: tools/agents/subagents/subagents.test.tsx (one heading; added at execution).
  • The gestures and listed expectations of other children's e2e/ specs, and one assertion in e2e/cross-build.spec.ts.

Residue

  • Seven rows in docs/tech-debt-tracker.md, owner UX wave U1 (U1a): a terminal session's asynchronous question on another machine cannot be dismissed from MAWS; a plan's next mode is not offered for a session another machine runs; PLAN_NEXT_MODES holds only the two modes the check ran; a window on a third device keeps a terminal session's answered request until the bridge settles it, and no machine's Needs you or badge counts another machine's terminal-session requests (A terminal session's waiting requests are not carried to other machines (Needs you and the badge there do not count them) #605); a refusal's sentence shows only as the tooltip of "Couldn't deliver the answer"; a dismissal whose delivery is still held when its session ends comes back on resume (the plugin's); the sidebar's fallback preview keeps the read-only approval rule.
  • Not run: the document names two -live specs to show that the substituted gestures answer a live engine. One of them, the spec that allows a permission through the card, is p1-live.spec.ts, run once on the final head (above). The other, composer-live.spec.ts (it approves and keeps a plan), is run by no gate and is not in this proof. The other -live edits stand on review. laneA.accepted reaching the spine inside a real daemon is tested on each side and through the composed spine, not end to end.
  • For the owner's hands and eyes:
    • Dismiss against the real plugin: disabled with "Dismiss it in the terminal" while the installed plugin is older than 1.47.0 (runnable since 6f6045a23), and enabled on 1.47.0 or later (the terminal's row reads dismissed, the card leaves at the press, the row stops reading "Question waiting").
    • The notification's "Allow once" and "Deny" on a signed build, with U14's check l1-sessions-08. macOS shows a notification's first action as its button and the rest in a dropdown, so "Deny" is expected in the dropdown.
    • The screenshot set of c7-shots.spec.ts, which runs only under MAWS_C7_SHOTS=1 and so in no group above: the cards' pictures and the measured height.
    • The Esc hint's glyph "⎋" in place of the word "Esc"; the word would be a change to U6's formatChord.
  • Not in this landing: the cards' placement in the transcript, the guards that need a free composer, and the rest of A2, A4 and A6 to A9 (U1b, UX wave U1b: requests drawn in the transcript, and the answer row (O-21) #586); A15 (U1c, UX wave U1c: "Approve and retry" for a call auto mode blocked (l4-approvals-12) #594); O-19 (U1d, UX: load the ask tool up front and defer every artifact and document tool #420).

Closes #577

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

…t does not draw in the transcript

Seven milestones: the one predicate with its publisher and readers; the terminal's asynchronous question, Dismiss and double-click; the permission card's three buttons and keys; a file change as a diff; the plan's next mode and the trust card; one rule for the notification and the hover card; the e2e edits, the record and the acceptance run. Seven points where the code or a sibling's work contradicts the section are reported to the architect, each with the default the milestones build.

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

The seven reported defaults stand. A plan's mode is offered and sent only under an engine host of this build's wire. The request chords act on a fresh press only, by an option of the binding in the dispatcher. One holder of an accepted, unsettled terminal answer, on the session's machine, told by its driver and by its endpoint; a card goes when the list says so. The whole proposed change is reachable before approval through one prop of EditDiff. M7 lists each e2e assertion whose expectation changes. Two points found while verifying the findings are reported for a ruling: no feed carries a terminal session's item to another machine, and a feed snapshot erases a mirrored terminal session's cards.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e's accepted record stands; the mirror's snapshot loss is repaired in M1)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…faces re-read; parent re-pinned)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…s telling, main's accepted, the mirror)

Each reader of what waits handed one delivered item; the publisher; the card after an answer;
the swap; the lane A holder's table with the sequence held open; the driver's two tellers;
the endpoint telling its spine once per op; main's accepted on a remote terminal session's state;
the mirror across a feed snapshot; the digest; and a tree test for the one predicate.
Red on today's tree by design.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…der (UC-1)

waits and waitsOnAnswer in src/shared/attention/kinds.ts are the only definition: pending alone.
isOpen is gone; waitingByCall, waitingAgents and their selectors are added. The publisher keeps
only what waits; every reader in Interfaces §A's table calls the predicate. A card stands, sent
and disabled, until its item leaves the list, and draws no Answered line.

A terminal session's lane A list is the one holder of an answer the bridge took and has not
settled (marks with a grace, pure rules), told by the driver at its own 200 and by this machine's
endpoint through laneA.accepted once sminos's result says done. Its digest counts what stops it.
Main names a remote terminal session's accepted requests in its state; the window's mirror omits
them and writes its sessions again after a feed snapshot. WIRE_MINOR 37 (generated files follow).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…machine.op is

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
….op), refused by the remote adapter, on the spine's command list

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

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
A mirrored question's draft standing through the machine's feed and listed snapshots (the store and the mirror); an
answer the bridge took leaving attention and the digest through the spine root's own wiring, by laneA.accepted and by
the driver's 200; and main naming nothing for an answer whose outcome is unknown.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ine's snapshots, its draft with it

The review of M1 found the Reported 9 repair restored the card after a feed snapshot but not its question's draft: the
snapshot pruned the mirrored session and its drafts in one write, before the mirror's subscription put the list back.
The store now holds the mirror's sessions as mirrored (`applyMirrored`): written at once, never buffered, left standing
by the machine's feed and listed snapshots until the mirror empties them. The mirror's subscription is gone. The
spine-root case sends laneA.accepted as the endpoint does (main's route; a window's invoke is refused it).

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

The terminal's asynchronous question as an async_input item (the list, the
mirror, the glyph, Needs you, the dock); answerIntent's dismissal by the
bridge's decide.dismiss and the port's three sentences; the driver's
dismissal post, its 404, 503 and the bare 409's re-read held open; the
remote adapter's refusal; the settlement's words; the stepper's Dismiss and
double-click (and neither without the props); MAWS's ask form's Dismiss and
double-click. The fake bridge takes a dismissal where its status declares
one, and lets a test answer a request read.

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

A terminal session's asynchronous question is an async_input item (Question
waiting, the calm tone), docked until U1b. A plain deny of it is the bridge's
dismissal where its status declares decide.dismiss, refused with why
otherwise, and never carried to another machine. The driver posts
{behavior: 'dismiss'} and reads a request again after a 409 that names no
winner. A withdrawn asynchronous question settles as dismissed, by whom.
Every stepper form and MAWS's ask form gain Dismiss; a double-click on a
single-choice option picks it and goes on.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…s two unnamed effects recorded

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…hints and keys

The card of §D in the docked, Overview and inline placements: the first line by tool class, the
buttons by the scopes a request offers, the file line with a project rule, the hints and their
aria-keyshortcuts. The keys: Cmd+Enter, Shift+Cmd+Enter and Esc from the frame or a focused article
after 400 ms, never Enter or a digit, nothing while composing, one answer per fresh press across
two queued prompts. The dispatcher's fresh option and the frame's two new keys; the request rows'
titles in Settings.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…r fake timers

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

The card of §D in the docked, Overview and inline placements: one line saying what is asked
(askedLine, by tool class, with who asks when it is a subagent), the preview, Deny, the most lasting
scope by name and Allow once, with Allow for this session in a menu on Allow once beside a project
rule, whose file line stands under the buttons. Each button prints its row's effective chord and
carries it in aria-keyshortcuts. Cmd+Enter, Shift+Cmd+Enter and Esc answer from the frame or a focused
Overview article once the prompt has been drawn for 400 ms; Enter and the digits answer no
permission prompt. Two rows in ACTIONS (request.allowOnce, request.allowLasting) and the request rows'
titles; the dispatcher's fresh option, which every request binding asks for, takes a key repeat and
runs nothing. The hover placement keeps its layout.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…at the advance

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ed under load

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ew keys and first line; the palette says the allow keys wait for a focused request

U4's Composer.test.tsx allows a docked permission with Cmd+Enter after its 400 ms; U8's
subagents.test.tsx finds the inline card by its first line. CommandPalette's UNAVAILABLE map gives
request.allowOnce and request.allowLasting the sentence Enter and Esc carry, and its test checks it.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The review of M2 (I1): a refusal kept only the ask and its detail, and Retry
sent the ordinary Submit, so a pick could be delivered after the person chose
to dismiss, and a half-typed Other held Retry back. The refusal now keeps
whether it was a dismissal; Retry replays it by the dismissal's own rule.
Both forms, each with a pick held and with a half-typed Other.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…sal was refused

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…side §N folded into the document

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…, not only a command

ToolPreview draws a description only in its command branch, so a file, read, search, fetch or MCP
prompt lost the call's Why. The permission body draws it after the preview for those classes, before
the engine's reason; ToolPreview's props and drawing stay (desk web imports it). A regression holds
the order preview, Why, reason, buttons in the three placements, and a command's Why drawn once.

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

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…input types it too

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…t an unused name

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…uard at the forwarding boundary)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… link's welcome and never asks the host's status

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ode-less cases

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…'s welcome in the dispatch's tick (equal major and minor; no link served refused host_unavailable; a utility host admitted), and asks the host nothing

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…U8c's transcript discovery) into ux-wave/U1a

The landings go to master as a chain; this branch holds the moved-transcript landing before it.
One conflict: docs/tech-debt-tracker.md, where both sides added rows at the table's end; both kept, U1a's rows first.
The files U13a's landing shares with this branch (e2e/cross-build, sessions and shell specs; Composer.test.tsx,
ComposerHarness.tsx, shell/floating.test.ts; the charter) merged without conflict. WIRE_MINOR stays 37 (master 36).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ave's spec batches 7 and 8, #625) into ux-wave/U1a before its pull request

This branch already held the moved-transcript landing (d4ab1ff), so what master brings in is the docs landing alone:
16 files under docs/doperpowers/specs and the evidence register. It shares no file with this branch's own change, touches
no scene, test support, build or config file, and nothing under src/. No conflict. WIRE_MINOR stays 37 (master 36).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…as App.tsx does, so its plan card reads main's host.status

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…he composer, where the next frame takes the focus

The bare docked placement of the cards harness reads each request only when its card mounts, so the
next prompt's frame mounted a commit after the answered one left and the hand-over of focus never
reached it. The composer reads every waiting request ahead and swaps the two frames in one commit, as
the product does; the scene's toBeFocused() stays.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…at mounts a commit later

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e editor's deferred focus has had its turn

The second of two queued prompts arrives only once the first is answered, a commit after the first
frame left, so the hand-over mark (dropped in the unmount's microtask) was gone when the next frame
mounted, and the focus fell to the body. The mark now lives until the animation frame after the
editor's deferred focus: a frame mounting before it claims the mark when the focus is on the body or
in its own pane, and drops it when the person moved the focus elsewhere; one mounting after it finds
the editor focused in its pane and takes the focus by the rule already there. No timer.

The held-chord scene's comment is corrected: 7b662f0's message blamed the harness's docked placement
reading requests late, which was not the cause. Test (b)'s editor focus is held by reference, so its
frame left at teardown no longer focuses the next test's editor.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…age, the held chord's frame-bound hand-over)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…or U1b, one dismissed)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ange (#624) and the CPU bound's test change (#628)

Incoming: four files under .github/, scripts/ci-gate-alerts.test.mjs, one tracker row, src/services/index/sessions.test.ts. No product code. One conflict, in docs/tech-debt-tracker.md (each side appended one row): both rows kept, master's first.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… exclusive instance) into ux-wave/U1a

The incoming change is two files under .github/scripts/ only.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…) into ux-wave/U1a

The incoming change is under .github/ only.

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-13T16:20:26.345594Z e029643 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 0c578f3 into master Nov 13, 2026
SSFSKIM added a commit that referenced this pull request Nov 13, 2026
…to ux-wave/U7

The incoming change is three files under .github/ (+61/-6); U1a's code was already in this branch through the chain merge.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
@SSFSKIM
SSFSKIM deleted the ux-wave/U1a branch November 13, 2026 16:21
SSFSKIM added a commit that referenced this pull request Nov 13, 2026
…and #630) into ux-wave/U12a

The incoming change is three files under .github/ (+61/-6); U1a's and U7a's code was already in this branch through the chain merges.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 13, 2026
…#631, the sidebar landing #632, the gate's #629 #630, the test change #633)

Conflicts, each both-sides-add, resolved keeping both, master's first:
- src/shared/ipc/schema/layout.ts: LayoutKeySchema gains master's sidebar.hidden (U7) then ours library.exportFolder (U5); SidebarHiddenSchema then ExportFolderSchema.
- src/shared/ipc/schema/layout.test.ts: the import line holds both sides' names.
- src/shared/ipc/wire.ts: master's WIRE_MINOR 37 (U1a's laneA.accepted and a plan answer's mode) stands; U5a's side.thread.open `more` takes 38, named in the history note.
- src/shared/ipc/wire-manifest.json: auto-merged entries; its minor set to 38 by hand (regenerated on the VM after the next merge).
- docs/tech-debt-tracker.md: master's rows (U10a, U1a, U13a, CI-opt, U1b, U7a) then U5a's four.
- e2e/cross-build.spec.ts: the node imports hold both sides' (mkdirSync, dirname; isDeepStrictEqual).

Wire minor: 38, provisional (U3a's merge follows).

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 U1a: one definition of a waiting request, and the request work outside the transcript (UC-1)

1 participant