Skip to content

UX wave · U8, its fifth landing (U8d): a terminal session's subagents on this Mac - #736

Merged
SSFSKIM merged 210 commits into
masterfrom
ux-wave/U8d
Nov 16, 2026
Merged

SSFSKIM merged 210 commits into
masterfrom
ux-wave/U8d

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Root: docs/doperpowers/specs/2026-11-12-ux-wave-design.md · child U8 (docs/doperpowers/specs/2026-11-12-ux-wave/U8-card-column-working-folder.md), its fifth landing, U8d · parent pin 63c97b5c0 · execution document docs/doperpowers/plans/2026-11-15-ux-wave-U8d-terminal-subagents.md (the run's report is not in the repository; the milestones, the probes, the reviews and the rulings are in its Progress, Decision Log 1 to 19 and Outcomes & Retrospective). Items: the gap O-05 and #359 leave on one route (the owner's answer of 2026-11-12, "Land now, gap after"); the child's acceptance A2, A4 and A7 for that route. Board #599, under epic #573.

Read against master after its predecessor. This branch holds U6e (#675), the first link of the wave's second batch, which holds master 9dab97a44. U6e must be on master first; until then the diff against master also shows U6e. This landing's own change is git diff 9d8c5a909 0810195ed.

What it does

A person who starts Claude Code in a terminal on this Mac can watch and drive that session from MAWS through the bridge the sminos plugin runs inside it. Until now, when such a session dispatched subagents, the card column had no Subagents card, and the Subagents panel listed every agent under "On disk" with "status unavailable", under the sentence "Status is known only while the session runs here". The same session opened from another machine showed its agents correctly. Now a terminal session that this Mac drives shows its subagents as a session MAWS runs does.

  • The card and the panel. While an agent runs, the Subagents card stands in the column with "N running", the first-level agents, and "(+N)" on a row that has agents running under it. The panel lists Running, then Done with each agent's own outcome: "finished", "finished with errors" in the danger colour, "stopped", "ended with the session", or "ended" (below). The card leaves when the last agent ends, and moves no card above it. Stop agent is offered only for an agent that has not ended; before, it was offered for every agent, since every status was unknown.
  • When the terminal goes. An agent still running when the terminal's process goes reads "ended with the session", and the others keep their outcomes. The panel keeps these statuses for as long as the page lives, until another holder takes the session (a launch by this app, another terminal, or another machine), which discards them.
  • One new word, "ended" (card C1; the owner's answer, verbatim: "ended" (Recommended)). It names an agent known to have stopped running with no record of how, while the session still runs: the bridge holds it as not running and the transcript holds no result, or the agent that started it has ended. "Ended with the session" stays for an agent whose terminal really went. The drill-in's relay box says "This agent ended" for the same cases, from the same rule. No time is drawn beside "ended", because such an agent has no recorded end time. The desk's web app draws another machine's session through the same function, so it reads "ended" there too.
  • The panel's sentence "Status is known only while the session runs here" is no longer drawn once a watch of the session has reported a status other than unknown. The condition is the same for another machine's terminal session, so the sentence also leaves that panel while its watch lives.
  • Where the statuses come from. Main's port of sminos's ledger (src/services/lane-a/jobs.ts) gains the agents half of the module it was ported from, so a terminal session on this Mac is read by the rules another machine's sminos uses. The shared vectors pin it (sixteen cases with agents), and so do new vectors recorded by five engine probes on 2.1.322 (spikes/protocol-probe/findings-uxwave-u8d-*.txt). On three points the port now reads ahead of sminos, each by a ruling made on the probes' recordings: every <task-id> of a notification block is read (a resume ends several orphaned agents or shells with one block); a nested agent launched in the background is not ended with its parent (it can outlive it); a nested agent's end is read from the main transcript when its parent's file has none (a stopped parent). The driver feeds the ledger the bridge's agent events, the engine host's listing of the agents' files (fs.subagents, fs.subagentsChanged) and the parents' transcripts, in a new module src/services/lane-a/follow.ts. It derives only when a counted fact changes, and reads a parent's transcript only while an agent under it is open. The body rides the watch that already carries the background shells, and the task-graph store lays it over the graph it reads from disk (withStatuses, the function another machine's session already uses).

What is stored and sent, and what the older builds (2c7044231, f1852de3a) do with it (UC-14). Nothing is stored. The laneA.plane event's snapshot and subagents messages now carry entries in subagents, each with startedAt (this app's addition), and an origin key that names the terminal process whose bridge the facts came from (terminal:<pid> or background_job:<pid>:<jobId>). All of it is inside a body the schema types as unknown, so no schema, manifest or generated wire file changes, and this landing takes no wire minor and no link minor (the head carries U6e's wire minor 51 and master's link minor 15). A window of f1852de3a (or of 2c7044231) on this build's driver reads only body.jobs and shows a terminal session's agents as it does today. This build's window on an older driver gets an empty subagents or no key at all, lays nothing over the graph and draws the sentence, which is today's reading. No cross-build run is owed (R8, confirmed by the architect on 2026-11-15); unit tests hold both pairings.

Verification

  • The head and what it holds. The head is 0810195ed3013ecaa366c5a66e874a78808281f8 on ux-wave/U8d, the second link of the wave's second batch. The landing's own work ends at 92173b0f1, which touches only the execution document (its Outcomes brought up to the review and the chain merge), over c77a0c530 and the merge 471562f0f of U6e's head as it then stood, 2a6a2eba9 (one conflict, in docs/tech-debt-tracker.md: both sides added rows at the table's end, both kept; no code conflict). Then three merges of U6e's later heads: 569aea1d1 merged 1b44c64fa, which brought master's two fixes, board ticket 711's answer envelope and grant refusal and the desk web app's depth scenes (19 files changed, 1049 insertions, 82 deletions; no conflict); 94b58228e merged d0534f5b5, which brought one e2e file, e2e/to-human.spec.ts (5 insertions, 2 deletions; no conflict); and 0810195ed, the head, merged U6e's head 9d8c5a909, which brought U6e's fix of the outside-save rule and its closing wave (git diff --stat 94b58228e 0810195ed | tail -1: 25 files changed, 1163 insertions, 64 deletions; one conflict, docs/tech-debt-tracker.md, where both sides added rows at one place, both kept with U6e's five rows first). None of the three changes the wire or link numbers: wire minor 51 (U6e's) and link minor 15 at the head.

  • U6e (UX wave U6e: a file from outside the session's folders is editable, and Open File #675) must be on master before this pull request, so that its diff against master reads as this landing's own (git diff --stat 9d8c5a909 0810195ed | tail -1: 225 files changed, 45033 insertions, 241 deletions; 188 of the branch's files are under spikes/protocol-probe/, the probes' findings and fixtures). U2b (UX wave U2b: the to-human view drawn by the mod, the working record's fold, the mirror (UC-13) #608) holds this head and comes after it.

  • It lands as a master-first merge: the merge of master and this head, whose tree equals the head's tree (83182054e), because the head holds master's tree. Against master today, 9dab97a44, git merge-tree --write-tree 9dab97a44 0810195ed prints that tree, the same as git rev-parse 0810195ed^{tree}; against U6e's head, which this head holds and which master's tree will equal once U6e has landed, git merge-tree --write-tree 9d8c5a909 0810195ed prints it too.

  • The gate. No run of GitHub's own gate exists for this head; the manual gate stands in for it. Class 1a runs on each link's own head; the Mac groups of the batch's four links (U6e, U8d, U2b, U5b-1) run once, as their union, on the batch's tip, U5b-1's head, which holds this head: 290d2716b when the union ran, 5d4a8d3a0 after U5b-1's fixes for what that run found.

  • Class 1a, on this head: manual gate run 0810195ed301-20261116T204501Z: GREEN. plan; static (the script tests 588 of 588); unit in four shards, all passed, 42,348 tests passed and 103 skipped of 42,451; probes 347 of 347.

  • The Mac groups, on the batch's tip: the union of the batch's groups (e2e:code, e2e:deliverables, e2e:library, e2e:tools, e2e:remote, e2e:layout, e2e:settings, e2e:presentations, e2e:lane-a, e2e:agents, e2e:panel, e2e:transcript, e2e:to-human, e2e:design-systems, e2e:composer, e2e:c7, e2e:side, e2e:browser-comment, e2e:scm, e2e:supervisor-daemon, e2e:default, e2e:desk-web and unit:darwin), with U6e's mini copies: manual gate run 290d2716b9d4-20261116T194011Z, on 290d2716b, the batch's tip when it ran: RED at three scenes, all three of the batch's last landing (U5b-1, UX wave U5b: Review and source control #590), two in e2e:code and one in e2e:side. Every other group passed: unit:darwin 624 passed and 10 skipped; e2e:deliverables 14; e2e:library 12; e2e:tools 16; e2e:remote 16; e2e:settings 27 passed and 1 skipped; e2e:presentations 38 passed and 10 skipped; e2e:lane-a 17; e2e:agents 27; e2e:panel 31; e2e:transcript 43; e2e:to-human 2; e2e:design-systems 10; e2e:composer 33; e2e:c7 52; e2e:browser-comment 18; e2e:scm 8; e2e:supervisor-daemon 27; e2e:layout 25; e2e:default 131 passed and 194 skipped; the mini copies of remote, lane-a, supervisor-daemon, transcript, to-human, design-systems, library, tools and scm passed; e2e:desk-web ran in the tip's Linux run, manual gate run 290d2716b9d4-20261116T194043Z: 199 passed and 1 skipped. U5b-1 then fixed the causes of its three scenes in 290d2716b..5d4a8d3a0 (files of Review, their tests, one e2e support file's failure message and one unit test's hook limit), which moved the tip to 5d4a8d3a0, and e2e:code and e2e:side ran again there with their mini copies: manual gate run 5d4a8d3a01f0-20261116T220525Z: GREEN. On the host e2e:code 40 passed, e2e:side 13 passed and e2e:scm 8 passed (e2e:scm joined the rerun since it uses the e2e support file the delta touches); the mini copy (code, side, scm) passed with the same three counts; the cross-build group ran again there too: 4 passed and 26 skipped against master, 23 passed and 7 skipped against f1852de3a, 11 passed and 19 skipped against 2c7044231, 8 passed and 22 skipped against b89d6d1d7. An earlier Mac run on this head (5d4a8d3a01f0-20261116T214602Z) ran no scene: each job failed at fetching the run's build, before any test started. The other groups stand from the first run: that delta changes no product code outside Review and no assertion of another group. This landing's part of it is e2e:lane-a, e2e:agents, e2e:remote, e2e:panel, e2e:layout, e2e:default, e2e:desk-web and unit:darwin. One desk web app case pins the two words ("ended", "ended with the session"). Three scenes changed, all in e2e/lane-a.spec.ts (e2e:lane-a); none was added or deleted:

    1. "each control reaches the bridge with its body: …", in its agents part (a stop's final word is "stopped").
    2. "the card column of a terminal session this Mac drives: …", retitled. It now shows the Subagents and Background tasks cards while an agent and a shell run, with a nested agent under its parent's "(+1)", and passes only if the parent's file is read.
    3. "X-168: an agent started in the background whose terminal goes: …", retitled. Done reads "ended with the session"; the session is resumed in a bridged terminal, where the orphan reads "stopped" and the next agent is alone on the card.

    e2e/support/lane-a.ts gained helpers and is also imported by e2e/remote.spec.ts (e2e:remote) and e2e/sessions.spec.ts (no group of its own in package.json, so e2e:default); test/support/fake-bridge.ts changed too.

  • The round trips with the older builds, on the tip, e2e:cross-build against master 9dab97a44, against f1852de3a and against 2c7044231: manual gate run 290d2716b9d4-20261116T194011Z, on 290d2716b: all three passed. Against master, 4 passed and 26 skipped; against f1852de3a, 22 passed, 7 skipped and 1 flaky; against 2c7044231, 11 passed and 19 skipped. The flaky scene is e2e/cross-build.spec.ts:995, "(update) the older build’s app keeps a session; the newer build’s app attaches across the minor, is served, launches, meets what the older lacks, and moves to its own supervisor", which no landing of this batch adds or edits: its first attempt failed at "the host of this build hears each attachment" and its retry passed. U6e's two scenes passed against both older builds and skip against master. The tip's later delta (290d2716b..5d4a8d3a0) changes no wire form, no stored form and no scene of this group, so these runs stand. This landing adds no scene to e2e/cross-build.spec.ts and owes no cross-build run of its own (R8, confirmed by the architect on 2026-11-15); unit tests hold both pairings (what the older builds do, above).

  • Review.

    • The document had an adversarial review before any build. It returned four findings on the lifecycle around the derivation, all accepted in revision 2 (Decision Log 3).
    • Each milestone was reviewed at its boundary, red tests first in each; the fix rounds are in Progress.
    • The branch got the doperpowers:review-code xhigh panel on d91df63eb..49a7959d6: verdict "incorrect", one P2, confirmed by its verifier. A terminal's kept statuses survived a launch by this app, because a launch's time was compared with the time the page received the driver's last body. The fence is now by origin (Decision Log 15). The first form of that fence was a renderer-side reading of the session's record (4785b1767 red, 813214ea5, 0bc0144e0). Its task review found three defects a person would see, so the driver now carries the origin in the body (Decision Log 18: f2824fc30 and 3d4d6608c red, c9514bb1a, 46e335ef5 red, 179367c43). The same wave built C1's answer (a68a60aa2 red, 547ec8d99) and the drill-in's sentence (544bbdd0d red, a223e3055). The wave's task review, over 0bc0144e0..a223e3055, passed the three repros and found one limit of the launch tie, kept as a tracker row.
    • The delta 49a7959d6..983071581 got doperpowers:reviewer-medium: verdict "incorrect", two P2, both fixed (Decision Log 19: dd211adef and 5d96e1cb7 red, 441dc1dc7). (1) A state stream that opened on a different bridge child than the probe found was labelled with the probe's holder; its first snapshot is now ended unread when its pid differs from the probe's. (2) The overflow rotation of a watch did not end that watch's statuses; it does now. The task review of that fix was clean. c77a0c530 adds only Decision Log 19 over 441dc1dc7.
  • On the build VM (Linux), not the record. At 0810195ed: the typechecks exit 0; vitest over U6e's folders, 3,980 passed and 1 failed (named.test.ts "link openers and resource tails", timed out at 5,000 ms under load, known there); over this landing's own folders, 3,546 passed. Earlier, at the first merge 471562f0f: tsc for node, web and e2e and eslint on the three code files both sides changed pass; the renderer's panel, stores, tools and lane-a, the lane A folders of services, main and shared, spine-root and the tokens guard, 5,766 of 5,766; the test/ list fails only in cases that pass alone or fail the same on the chain head alone; the desk web app 795 of 795; the script tests 588 of 588. Before the merge, each milestone's suites were green after red runs (Progress).

  • Owed after landing: class 1a and the Mac groups on GitHub's own gate, of which no run exists for this head; the manual gate stands in for it.

  • Earlier runs, not the record (on older heads, before the chain merge). On 49a7959d6: class 1a run 43740318003, unit:darwin run 43740329108, and the desk web app run 43741306871, success (its first run, 43740348164, failed one scene in apps/desk-web's e2e/depth.spec.ts, a file this landing does not touch); the Mac run 43740348308 had lane-a, agents, layout, panel and remote green, the first run of the three changed scenes, and its default job was cancelled with the run when the panel's fix wave moved the head. On 983071581: class 1a with the desk web app, run 43754848661, success.

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

  • A word was added (against Purpose's "no word is added"): "ended", and "This agent ended" in the drill-in, by the owner's answer to C1 (Decision Logs 16 and 17). No time is drawn beside "ended". The card's preview showed "ended · 1m ago"; the coordinator reports the difference to the owner with its reason. e2e:desk-web joined the set because the desk's web app draws the same word.
  • Kept statuses end at another holder, not at a launch's time (Decision Logs 15 and 18, replacing revision 2's F2). The driver puts origin in the body, a second unregistered key beside startedAt. A body with no origin (an older driver; another machine's sminos today) lays its statuses only while its watch lives. One consequence the document did not first state: after another machine's watch ends, the R3 sentence can show again over that panel until its next snapshot (tracker row).
  • A state stream's first snapshot is checked against the probe's bridge child (Decision Log 19).
  • The probes moved the derivation. Revision 2 had ruled R9 (every <task-id>) before any probe ran. The recordings then added N1 (a nested background agent outlives its parent; a launch row counts as background) and N7 (a nested agent's end from the main transcript), and showed that the engine launches every Agent call of a terminal session in the background (N11) (Decision Logs 6, 8 and 9).
  • The follow is its own module, src/services/lane-a/follow.ts (Decision Log 10; the document named none).
  • Insertions in other children's files:
    • src/engine-host/normalizer-fidelity.test.ts gains one NOT_JOURNALS rule (a .jsonl under a …-subagents/ fixture folder is an agent's transcript), ruled in Decision Log 14.
    • src/services/spine-root.ts passes the host's listing, its change event and its streaming signal to the driver.
    • test/support/fake-bridge.ts folds the agent events a test emits into its snapshot's agents, in the shape the bridge was recorded sending.
    • apps/desk-web/src/depth/view/SubagentTree.test.tsx gains one case.
    • Our copy of test/fixtures/lane-a/dx4-jobs.json now differs from the desk's copy in one expected entry (N1). Both sha256s are in dx4-jobs.PROVENANCE.md.

Residue

  • A bridge that goes while its terminal lives reads as the process gone (jobs and subagents read "ended with the session") #701: a bridge that goes while its terminal lives reads as the process gone (R5; for shells since before this landing, now for agents too).
  • doperpowers issue 504: sminos's reader, for the three rules this Mac now reads ahead of it. Until it follows, a window on another machine can list resumed orphans as running, show a nested background agent that outlives its parent as ended, and miss a nested agent's end after its parent was stopped.
  • Fourteen rows in docs/tech-debt-tracker.md, owner UX wave U8d:
    • three on the derivation: two TypeScript derivations held to one reading only by the shared vectors (R1); an agent woken after it ended not shown running again (R7); the three rules ahead of sminos (R9, N1, N7);
    • one extra parent read on a removal-only listing change;
    • one repaint for an equal graph when a sidecar catches up with the overlay;
    • five residuals of the origin fence and the launch tie: a reconnect that coalesces past a whole launch; a reused pid; a bridge that names no launch; a reprobe in place with two processes; a tie made at a first observation;
    • the R3 sentence after another machine's watch ends;
    • three rows of unasserted test output.
  • Not run: the optional unattended measurement of reads and repaints on a Mac. The cost bounds are counts in unit tests.
  • For the architect at landing: the spec sentences this landing makes false (R11: the child's A2 and A7, UC-9's Subagents row, O-05's Routes paragraph, the root's lines on U8d) are amended in the spec's next batch, and the register's O-05 row is updated. This landing reverses no ruling, so it carries no dated amendment.
  • No owner's look is owed (no new surface or control). The document has the coordinator report two points to the owner: no time beside "ended" (Decision Log 17 (b)), and the sentence leaving another machine's panel (R3).
  • Not in this landing: a session that is not running here (its agents stay under On disk); the transcript's own agents row (U3's second landing); shells counted under the agent that started them.

Closes #599

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

…s folders is editable, and Open File…)

The write rule in five lines with who holds each piece of evidence; the grants as a profile file the daemon keeps, made by a main-only command after main's chooser; the real path bound at the read and compared at the write; MAWS's own folders read-only; main's guard on the sender; the bar's label; four milestones, the cards A, B and D, and twelve points reported with their built defaults. U6c's Decision Log gains entry 27: the read-only half of the choice of 2026-11-13 is reversed by the owner's answer of 2026-11-14.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…arial review, and the owner's answers on another machine

MAWS's own folders refused at every write, the app's bundle told by main; the sender's guard in the router before every forwarding; the outside save a command of its own (files.writeOutside), files.write as on master; the pin apart from the latest admission; the grant asked again after the search; an open the agent asked for never admitted by a grant; a sent file editable by its record's maker, an added file read-only with a sentence (Card D withdrawn); both older builds named with the four pairings and their proofs; cards A and B recorded as U6f's (ticket 677). U6c's Decision Log 27 reworded to match.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…rrowing of "names"

For an outside save the transcript names a path only by a counted form (a person's message, the agent's own text, a tool call's input); what a tool returned never counts. A file only a result form names still opens as on master, read-only with its sentence (decision 22; the search answers which kind it found; the read's answer says why). The schema proof reads committed snapshots of the two older builds and never skips; src/main/ipc/ is named as the MAWS architect's; the older app's bundle and the Library's fallback accepted as written. Decision Log 7.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…person did not write (Decision Log 8; Reported 17, decision 22, M1, §F, the tracker row)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ped only into an answer's free text)

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

The outside save (files.writeOutside), the grant (files.grant), the read's
agent mark and its outside/own answer, machine.client's bundle; the grants
store, MAWS's own folders and the Library's sent files as stubs, so each
line of the rule is seen failing before it is built. The schema proof
reads committed snapshots of the two peers' schemas (test/cross-build/peers).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ox's rows are meta rows, which name nothing on master); files' names in the schema's order

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
files.read's and files.openExternal's agent, files.read's answer's outside
and own (library.read's answer with it), machine.client's bundle,
files.writeOutside and files.grant. The fingerprint is unchanged: the
change is additive.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…files.writeOutside, files.grant)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ent files, the search's two kinds of form, the person's own rows (Decision Log 8), files.writeOutside and files.grant

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…nt connection ended by its runtime)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…h's pattern); the write paragraph of service.ts reflowed

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…onfirmed, 9; Surprises)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…-unavailable entry (Decision Log 10; §F)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…10), as offer-coverage asks

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…k or in another case, and for a client that ends after the search (S4)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…; an outside save whose client ended is admitted by no evidence after the search and refused before its section

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…andler (C1 to C4), the route from the page's client, the menu's row, the bundle told

The red suite of M2's "What it proves", with the new exports naming nothing (a guard that guards nothing, a handler
that throws): router.test.ts's guardCommand cases; src/main/files/open-file.test.ts, the handler's sequences and the
guard's predicate over main's real page instances; src/main/files/open-file.route.test.ts, the sender's table through
the real router and layout.openFile from the renderer's own client; file.open in the action table and the File menu;
machine.client's bundle in the spine mirror.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ndler, the File menu's row, the app's bundle told

- src/main/ipc/router.ts: one mechanism, `guardCommand` (R2): a guard runs after the input is validated and before
  the branch to another machine, the hooks, an interceptor and every owner, for a page's route, dispatchLocal and
  invokeOwn alike; its refusal is the answer and nothing is forwarded; a guard that throws answers internal.
- src/main/files/open-file.ts: `isAppPage` (a live page of a window in appWindows()), `appPageOnly`, and
  `openChosenFile`: one chooser per page, the grant only while the asker is still an app page, every failure of the
  chooser or the grant `refused: unavailable`, a refused grant `refused: not-a-file`.
- layout.openFile, main-owned and bridged; app.ts registers its handler (the grant by invokeOwn) and the guard for
  files.writeOutside and layout.openFile.
- file.open, "Open File…" at ⌘O, the row before file.save, in SHELL_FOCUS_ACTIONS, not rebindable while build F may run.
- machine.client carries bundleOf(process.execPath).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ient command; its input's .appSessionId)

Written on the build VM by MAWS_ROUTES_WRITE=1 and MAWS_ADDRESS_PATHS_WRITE=1 and brought back as their diff.
wire-manifest.json is unchanged: layout.openFile is main's own command, outside the wire.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…penFile, files.grant); the guard spy's parameters typed

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…able, Settings › Keyboard's rows that take no rebinding, the startup wiring's router stand-in

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…mon-root holds that app.ts guards the outside save and the chooser before the router is installed

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… ends with its page, a guard's throw is always internal

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…an ask is released when its page ends; any guard throw answers internal

- src/main/ipc/app-origin.ts (new): the router's origin test, moved out of isAppSender with its behaviour unchanged,
  so isAppPage reads the same test (a page an app window navigated elsewhere no longer passes dispatchLocal or
  invokeOwn). isAppPage takes the app's URL and appPageOnly is made for it; app.ts passes appUrl.
- openChosenFile subscribes to the asker's onGone for the length of its ask, and unsubscribes when it completes.
- A guard that throws answers internal and is logged, a CommandFailure or HostCommandError keeping no code.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ed answer (board ticket 711)

Three cases failed on the cascaded head: rowClaim for MAWS's answer envelope as a user row and as a queued
prompt, and the service's queued-answer save case. Their fixture put the link in a picked option's label.
Since the security fix the envelope writes a pick by its place and none of the label, so the link was in no
text of the row and the row named nothing: the read was lost, and no save was ever admitted (the failing
assertions are the read-only claim and the read's answer; the save refusals in the same cases still held).
The rule is unchanged and goes through the one reader of arrivals as before. The fixtures now carry the link
in a typed answer, which the envelope still writes, and a new case pins that a path only an option's label
links is named by nothing.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…one copy each, exported from their writers

The linked read's opening, the answer envelope's opening, the promotion's head and the anchor tag's opening, the
engine's command tag and a typed command's form, the relay's words, and the plan and bash echo the engine host
composes (now in src/shared/engine/host-prompts.ts, which session-clear.ts and bash-mode.ts call). No behaviour
changes: the strings written are the same bytes.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…a path for a save

One case for each form MAWS, the engine host or the window writes as the person's message, through its real writer:
the linked read (the recorded fixture through withLinkedReads, as a user row and as a queued prompt, and through the
files service's save), the plan after a clear, the bash echo, an owner question's answer line, the side question's
promotion, a relay, the joined cases (an envelope beside the person's words in either order, two messages in one row,
the earlier envelope form, a grant line inside other words), a block kind no reader lists, and the architect's
rulings A (a paste), B (an anchored comment; the anchor form's earlier cases now read only) and C (a slash command).
The readers' passes are charged to the step meter.

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

`ownTexts` in src/shared/files/named.ts answers which texts of a person's message are the person's own, for the
`user` row and the queued prompt alike (`personClaim`). By position, at most the content's string or its first text
block; by content, that text counts only when no reader of a form MAWS writes as the person's claims any part of it
(the linked read, the answer envelope in either form, the grant, an owner answer line, the plan after a clear, the bash
echo, the promotion, a relay, a slash command). A paste's frame and an anchored comment's lead and tag are read only,
the words around them the person's (the architect's rulings A, B, C). Every other text that names the path names it
for a read only. Each reader's pass is charged to the scan's meter, with a step between passes.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
test/support/person-sends.test.ts reads the source of src/ and apps/ for every site that hands content to a send, a
steer or the queue as a person's message (the commands named, the window's seams, the controls port, steers, the
queue, its preparation, frames of the person's origin) and fails on a site it does not classify or whose verbs moved.
Each MAWS form is written by its writer and must read as a read only; a planted site shows the guard goes red.

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

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…n sends nothing without the person's press

A fill enters the draft and sends nothing; a suggestion Tab takes only enters the draft. And, red first, the one path
that sends with no press: a spawned session's first send, which must never send a plugin's fill that landed before
the handed document was restored.

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

The first send of a session spawned on another machine goes with no press of the person's, once its handed document
is restored. Until it has gone (`firstSendPending`, taken only as it goes), the composer refuses an engine plugin's
fill and suggestion, so a fill can no longer supersede the restore and go out in the document's place. Nothing a
person reads changes; the plugin is answered that its fill was not taken.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…kind, with the limit and the bound by adoption (Decision Log 28; ticket 675)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ving no submission in flight for the cases after it

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… differential, in work counted linear by its own counter

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e; the own pass's readers are bounded by length, budget and linear work, with pauses inside the text

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… by construction: the opening's beginnings as one bitmask, each pair closed by its first >, nothing allocated per character; the answers unchanged

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ls, up to OWN_TEXT_MAX_CHARS, failing closed past the length or the budget; the paste frames found by a plain scan; an anchored message counts only when its comments written back are the text

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… (start, fork, spawn's brief, side thread) and apps/'s .mjs probes, holds each form alone and joined, and the resubmit seam as MAWS's; an anchored message joined to itself counts as read only

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…t read whole, so the same anchor's message joined to itself is read only

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…pped file; a spawned session's first send releases its mark when abandoned

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…p's conversion; a spawned session's first send goes through sendFirstOnce, which releases its mark when the send is abandoned

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… bound a call (the grant's test after compatibility folding); the grant's letter test reads only what the case folding leaves

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…gth bound is refused for length; one just within it after folding counts, within one stretch

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…y folding makes it, decided before any reader; the own pass's budget follows the longer of the two

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

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…cker; the two a person can meet in the limits

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

One conflict, docs/tech-debt-tracker.md: both sides added rows at one place; both kept, U6e's five rows first.

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

chatgpt-codex-connector Bot commented Nov 16, 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-16T21:58:42.505528Z 0810195 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0810195ed3

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +481 to 483
ended(); // a write of the same file ahead of it may have kept it waiting
const now = await handle.stat({ bigint: true }); // the cap applies to the size as it is inside the section
const current = Number(now.size) <= FILES_WRITE_MAX_BYTES ? await readWhole(handle, Number(now.size), FILES_WRITE_MAX_BYTES) : null;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Recheck client liveness after reading the current file

If the app page closes or reloads while handle.stat() or readWhole() is pending, the client's signal can become aborted after the last ended() check, yet the save still truncates and overwrites the outside file. I verified this by aborting the signal during readWhole(): the function still truncated the file and returned ok. Recheck the signal after these asynchronous reads, immediately before the first destructive operation, so a client that ends before writing begins actually refuses the save.

Useful? React with 👍 / 👎.

@SSFSKIM

SSFSKIM commented Nov 16, 2026

Copy link
Copy Markdown
Owner Author

Landed as master-first merge e24da93 in batch 2 (#735 to #738, one sitting, chain order); merge tree equals this PR's head tree. Gate of record: the manual gate during the Actions billing lock, runs named in the body; final Mac run on the tip 5d4a8d3-20261116T220525Z GREEN, Linux class 1a on the tip 5d4a8d3-20261116T214517Z GREEN. Owed after the lock: the real class 1a on master.

Sminos-Session: GUI AI agent workspace charter#37052769 (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 U8d: a terminal session's subagents on this Mac (the Subagents card and panel have no source there)

1 participant