Repository navigation
Description
What this is
The second of the two pull requests of the UX wave's landing U2b (the first is ticket 608: the to-human view drawn by MAWS on every route, by "the mirror", MAWS's port of the to-human mod's fold rule). After this one, in a session MAWS runs where the to-human mod can draw on MAWS's surface, the messages, the › working record lines and the switch between the to-human view and the full transcript are the mod's own drawing, and MAWS adds none of its own beside them. Everywhere else (a terminal session, a session on another machine, a session at rest, a session under a release of the mod that cannot draw there) MAWS keeps drawing the view by the mirror. With the lane switched off and the plugin still on, the mod's drawing is whole. The law the document binds every step to: at every moment one side draws the view, never both and never neither, and no state that is merely unknown is read as "MAWS draws".
Statement of work
Milestones M4 to M6 of the execution document docs/doperpowers/plans/2026-11-15-ux-wave-U2b-to-human-view.md (on branch ux-wave/U2b; on master once the first pull request lands), with the mod's pull request (P) beside them. Branch: one the architect opens from a master that holds the first pull request. The document's Interfaces §A to §I give the exact shapes; its "Proof that an executor does not run", second list, gives the proof.
- M4, who draws: the declaration, the reservation,
drawnBy, the wire minor. A launch carries one of three advertisements inMAWS_NATIVE_TO_HUMAN: 9 when the mod will draw, 8 when MAWS will, nothing with the lane off. Whether an installation draws at 9 is read from a declaration file it ships, never from its version (ruling R1). A 9 is advertised only once it is reserved in the index before the launch is sent, and the reservation is bound to the launch's id after (R2). The owner channel publishesdrawnBy(modormaws) with a session's lane (§A's tables); an advertisement that cannot be known is never read asmawswhile the mod may be loaded.TO_HUMAN_CONTRACT_VERSIONbecomes 9, behind one switch insrc/shared/owner/contract.tsthat stays off, so no launch advertises 9 yet. Starts when the first pull request is on master; it does not wait for check 1. - M5, where the mod draws: an ask for every row, full sites, the reveal's end; the cutover. Every row the fold can hide asks a site of its own while it is mounted (R3; §E's table): a thought, an agent listing, a browser action, a notice, a closed turn's line (through the new command
session.ui.renderSite), and a time separator by the ask of the row after it. The run's row becomes a fullToolGroupsite. A jump's reveal ends once its row has been in the mounted range and left it (R6). In a session the mod draws, "Toggle report and transcript" changes nothing and says why in a notice (R9). The cutover is one commit at the end that turns the switch on. Starts when check 1 has answered and P's branch exists. - M6, the scenes, the cross-build scenes, the record's second line, and the acceptance run.
e2e/widgets.spec.ts,e2e/to-human.spec.ts,e2e/transcript.spec.ts;e2e/to-human-live.spec.tsrewritten as the trial scene (it always skips today); two scenes ine2e/cross-build.spec.ts(§H); the record's dated line for O-13 (the document's "The record", second row), a dated line where the owner channel's state is defined fordrawnBy, and a row of the coverage table indocs/doperpowers/plans/2026-11-12-ux-wave-U13a-one-strip.md. - P, the mod's pull request. A branch in a worktree of the doperpowers repository, which ships the to-human plugin, holding exactly Interfaces §I: the gate in
to-human/hooks/mods/to-human.tsx(native(): draw at an advertisement of 9 or more, step aside below it), the declaration fileto-human/maws-surface.json, the placement of an ask that has no record in the transcript (<anchor>~<tag>), the rule for MAWS's turn line, a test that a thought folds, the sentences into-human/CLAUDE.md, and their tests, with the mod's own suite green. It is prepared before check 1 (which runs against it) and opened by the architect after check 1. It ships the declaration only with an implementation check 1 found able to hide a run. Nothing in MAWS waits for its merge.
Before the build
- Check 1 (Step 0; "Checks handed to the architect"), run by the architect before M5 and before P opens: a probe scenario under
spikes/protocol-probe/scenarios/launches the engine as MAWS does, attaches as MAWS's surface and records what the mod answers at no advertisement, at 8 and at 9, before and after P, across a plugin reload (questions A1 to A3, B, C1 to C5, D). Its fixtures go underspikes/protocol-probe/fixtures/uxwave/and its findings file beside them. Each question's "if not" column says what changes in M5 or in P. Nothing about what the mod answers is coded before check 1 recorded it. - The document's base read is at
3f2c4fca1. Read again on the master the branch is cut from: the wire's current minor (the document's "46" is history; take the next minor at that time), and the handover list the first pull request leaves in the document's Outcomes & Retrospective ("For the second pull request").
The rulings and answers that bind it
- The owner's answer to card 8 (the lane off, the plugin still on): "Let the mod draw (Recommended)". With the lane off and the plugin loaded, the mod draws and
drawnBysays so; MAWS's turn fold stands aside there exactly as at 9. - Card 2, decided by the architect: going back to an earlier build while the mod draws a session is accepted; that session shows both drawings until its next launch (a tracker row with the cutover).
- The owner's answer to card 1 (the record line's words), typed: "we actually recently made changes to how '> working record' shows in terinal -- in short, it no longer shows '> working record', but shows '> ' instead. and i think that's how we should do it. mods already shipped it and is active already in terminal. it uses haiku call instead of forked call, and is cheap enough to use. But let user be able to disable it if they want to cut that token cost, and in that case it'll just be working record." The architect's ruling puts the summaries in MAWS, with a setting that turns them off, in this second pull request and in the mod's own. No milestone of the document builds it yet: its place in M4 to M6 and in P is written into the document before the build (the tracker row "the record line's summary in MAWS").
- The decisions the first pull request left for this one (the document's Outcomes, "For the second pull request"): the surface adapter's
isFirstOfReplydiffers from the engine's (M5 decides whether the ask follows the engine); §E's known differences, among them a tag after a backslash, and a mark left open, a stray closer and crossing marks, which MAWS reads as text where the mod reads messages (this pull request decides whether MAWS follows, under its wire minor); the agreement test's comparison becomes ordered runs;ownerChannel.answeredandownerChannel.cancelhave no renderer caller left.
What it stores or sends that is new
One wire minor (an optional key lane.drawnBy on ownerChannel.state and ownerChannel.changed, and the command session.ui.renderSite), and one added nullable column, owner_channel_sessions.advertised (the index's user_version unmoved). §F gives what each earlier build (f1852de3a, 2c7044231) does with each. Neither settings file and no layout key changes.
Proof
The document's acceptance A15 (where the mod draws, MAWS adds nothing, before and after a relaunch) and A16 (an earlier build is not drawn twice once P merges), and the behaviour it lists beside them; class 1a; the Mac groups e2e:transcript, e2e:to-human, e2e:widgets, e2e:available and the default group; the trial (e2e/to-human-live.spec.ts under its switch, one paid run on the final head) and check 5 in the same sitting; the two cross-build runs, e2e:cross-build with --peer-exact f1852de3a and with --peer-exact 2c7044231; three looks with P installed in a scratch config home; the owner's sitting. Review: the xhigh panel with the document's four lenses for this pull request; P is reviewed in its own repository.
Depends on
Ticket 608 (the first pull request) on master; check 1's answers before M5 and before P opens.
Not in it
A to-human look of its own for desktop surfaces (the mod's to decide); fold states carried between the mod and the mirror; the owner channel over the machine link (a session on another machine stays on the mirror and follows this app's switch); the desk web app's own Report · Transcript bar (ticket 682); a sent message as a step of a run. Nothing of the first pull request is reopened here.
Activity
SSFSKIM commentedon Nov 16, 2026
[board] in-design: document revised on the merged chain (pre-build pass, rulings 23 to 26)
SSFSKIM commentedon Nov 16, 2026
[board] in-progress: build of M4, M5, M7, M6 dispatched on the chain through the transcript-rows landing