Repository navigation
Description
What
The to-human report view is drawn by MAWS's own mirror in every session again, MAWS-launched ones included. Every fold also gets motion. The owner's call of 2026-11-23.
Why
Since the U2b M5 cutover (c898652, #785), a session MAWS launches with to-human 0.9.0 has advertised 9, and the mod has drawn the view. A session opened in a terminal and viewed in MAWS is drawn by the mirror. The owner found the mirror's drawing almost as intended. The mod-drawn one regressed:
- Steers: the mod places rows only by
uuid, and MAWS asks a steer undersource_uuid. The whole turn becomes one stretch. - Spacing: the mod's terminal
marginTop={1}maps to1lhon top of MAWS's padding. A hidden standalone cell keeps its 7 px wrapper. - Unfolded deliveries: a delivery that opens a turn while the session is idle isn't folded.
Two renderers for one view means terminal-layout faults can come back with every mod release. One drawing, MAWS's, keeps the look consistent and under MAWS's tokens.
The work
MAWS (this ticket):
- Launches advertise 8 again. Turn the cutover's switch off (U2b's decision 22: one switch in
src/shared/owner/contract.ts).- Keep the who-draws machinery (
drawnBy, the declaration and reservation) so a later change can turn it back on. - Record the reversal and its reason in the U2b plan's Decision Log and in the child spec's.
- Keep the who-draws machinery (
- The mirror's record line keeps reading the mod's summary from its file, as it does for a session at rest (U2b decision 24). It needs the mod to write summaries at 8 (below).
- Receipts:
peer-envelope.tsreads a leading[sminos receipt <id> attempt <n>]line (optionallywake) before the[sminos chat …]frame, so a peer's message draws as a peer row and not as raw text. - Deliveries: in the mirror, check that a background task's notification, a peer's message, and a thought after either fold into their stretch when they open a turn at idle. Fix it if they don't. The rule: a notice or delivery is record unless it is a message to the person.
- Motion: give each of these the existing
DisclosureBody/useDisclosureMotionmotion (ui/disclosure.tsx; 300 ms open, 150 ms close, nothing under reduced motion):- the mirror's record fold (
owner/view/RecordFold.tsx); - a long user message's "show more" (
rows/User.tsx); - the boundary reveal (
Boundary.tsx); - a browser action's detail (
BrowserAction.tsx); - the subagent glyph overflow (
Subagent.tsx); - a shell detail's full command (
cells/ShellDetail.tsx); - a local command's output (
LocalCommand.tsx); - an agent-message or notice line's expand (
rows/Line.tsx).
- the mirror's record fold (
- Hidden cells: the
.transcript-standalonewrapper (rows/Cell.tsx,transcript.css) leaves no padding when its content draws nothing, in case a mod still answers an empty site.
The to-human mod (doperpowers): under MAWS at an advertisement of 8, the mod writes its stretch summaries to its file as it does at 9. Today 0.8.2 and later are quiet whenever MAWS_NATIVE_TO_HUMAN is set (folds.tsx, isQuiet). It draws nothing at 8, as today.
Done when
- A new MAWS launch advertises 8, and the mirror draws its report view. The view looks the same as a terminal-opened session's: one record line per stretch, steers included, and no extra spacing.
- A MAWS-launched session's settled record lines read the mod's summaries.
- The receipt frame is read.
- Deliveries fold.
- Each fold listed above animates.
- Before/after pictures go to the owner before the merge.
Not in scope
- A run of one call drawn as a card: the owner is still deciding.
- Summaries for old sessions: left as they are.
- Start a new chat's engine on the composer's first keystroke (hides ~2.2 s of the first reply) #851, starting the engine early.
Activity
SSFSKIM commentedon Nov 23, 2026
[answers] Owner, 2026-11-23: MAWS draws the report view everywhere (advertise 8). The mod's route is retired in MAWS; the body is rewritten to match.
Merge #858: the report view repair (#850): launches advertise 8 again…