Skip to content

desk-web: the phone's direct channel is the session view, as on a desktop - #55

Merged
SSFSKIM merged 4 commits into
masterfrom
desk-phone-record
Oct 18, 2026
Merged

SSFSKIM merged 4 commits into
masterfrom
desk-phone-record

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

What

The owner reversed §4's phone binding on 2026-10-18. On the phone, the working record was the one thing that still sent them to a terminal. The phone's direct channel is now the session view a desktop draws.

  • Selection. ChannelView's drawsSessionView no longer looks at the layout. A direct channel is the session view whenever its machine is online, on a phone or a desktop.
    • The fallbacks are the desktop's: an offline machine, or a subscription ended at n 0, gets the log-built stream with the reason ("Working record · is offline").
    • The grid and the group chat are unchanged.
    • The depth column stays desktop-only. On the phone an Agent row is a plain row (no openSubagent, since there is no column to open it in), and the ⋯ note now says "subagents, jobs and diff open on a computer". The status word ("Loading…", "Reconnecting…") stays in the phone's header beside ⋯.
  • Lazy load. The session view's chunk still loads through module-loader.ts the first time one is drawn. The grid and the group chat fetch no transcript chunk. Opening a session channel fetches the session view's chunk, and never the depth column's.
    • MAWS's Markdown loads with the project view, for the group chat's message bodies, as it has since DC5.
  • Phone layout (styles/app.css, below 768 px):
    • The session view drops DC9's 56 px "Jump to latest" gutter, which was a sixth of a 320 px screen. The control floats over the rows' end, as MAWS draws it in any narrow pane.
    • An opened shell call's command wraps across the detail's width, with Copy command under it.
    • Folds, one-line tool rows and long inputs were already MAWS's: labels truncate with an ellipsis.
  • Landing on a settled request (from review). The session view draws only pending cards at its tail. A tapped notification for a request already settled now says "This request is no longer waiting…" instead of showing nothing.

G3's new line, and its test

DC9.G3's phone check becomes: no transcript chunk until a session channel opens. It is pinned in e2e/phone-load.spec.ts, case "no chunk of MAWS's transcript until a session channel opens…":

  1. The channel list and the group chat fetch no SessionView, TranscriptPane, DepthColumn or ReviewView chunk, and no script holding the transcript's jump control.
  2. Opening a session channel then fetches the SessionView chunk, and neither depth chunk.

The grid case also asserts no transcript chunk. The cold direct-channel case asserts the session view, and no depth chunk.

The phone's loop, pinned (acceptance 12)

The @layout cases in e2e/phone.spec.ts also run in WebKit on the Linux lane. They run against DC3's fake machine replaying session-view, with a turn added whose tool calls carry a command, a path and a pattern far wider than the phone (e2e/long-inputs.ts):

  • The record unfolds in place: the record, MAWS's "Worked for" divider, then the turn's group line and each call on its own line. At 390 and 320 every line stays one line inside the screen, its label truncated with an ellipsis. A tapped call opens its input and output, its Copy command inside the screen. The record folds back.
  • The recorded subagents' row is plain on the phone.
  • A running turn streams its marked answer into its folded record, with the working dots.
  • Steer while busy and Send while idle, each landing at the tail.
  • Request cards sit at the session view's tail and are answered there (a question and a Deny), the digest checked, the cards gone once settled.
  • The offline fallback: the log's stream, its working record a label.

The push cases (Chromium) are unchanged: a tap lands on its card in the session view's tail, and the answer goes out sealed. The width check (fitsTheWidth) now:

  • excuses only truncated text (an ellipsis box inside the screen);
  • refuses anything else past the edge;
  • refuses any sideways scroller other than code and output.

The old check read everything as clipped once MAWS's #root clips, so it could no longer see the session view.

Screenshots

Playwright in Chrome, against the dev server and the DX3 double with the fake machine. Reduced motion is set; see the tech-debt row below.

Folded record, 390 and 320:

folded 390 folded 320

Unfolded, its calls one line each:

unfolded 390 unfolded 320

A tool row opened:

opened 390 opened 320

A running turn:

running 390 running 320

The machine offline:

offline 390 offline 320

Docs

  • DC9's plan: the old constraint is struck and its reversal stated, with a Decision Log entry. The composite is left to its writer.
  • Two tech-debt rows:
    • MAWS's disclosure motion under StrictMode (dev only). A row opened in its motion keeps height: 32px, which is why the screenshots set reduced motion. Production is unaffected.
    • A settled request's landing notice over the n 0 fallback, which does draw the card.

Verification

  • Locally: desk-web typecheck, eslint on the changed files, and ChannelView.test.tsx (8/8, one new phone case). The desk-web e2e did not run on this Mac.

  • Gate (static,unit,e2e:desk-web, class 1a on Linux) on head afdb85b5: green, https://github.com/SSFSKIM/MAWS/actions/runs/39153197975. e2e:desk-web passed 141 (the @layout cases in Chromium and WebKit).

    • The first gate, on 210ada01, failed only on an unhandled Radix hover-card timeout in MAWS's MainArea.test.tsx; all 18,047 tests passed. The next two heads were green.
  • Load on the emulated mobile link (DESK-LOAD, Linux runner):

    Step Time Size Requests
    The grid 1.2 s 110 kB 5
    Then a project's channel list 2.9 s 425 kB 11
    Then a session channel (the session view's chunk) 1.3 s 160 kB 4
    A cold direct channel 4.6 s 695 kB 20
    A push's tap to its card, cold 3.6 s 694 kB 19
  • Review: doperpowers:reviewer-medium on 3efa6cba..210ada01 found two P2s, both fixed in a fix wave (9e6c206c). A low re-review of the delta found two more:

    • the test sync, fixed in 7fd4cffe;
    • the n 0 fallback notice, logged as tech debt.

…ktop

The owner reversed §4's phone bindings (2026-10-18): the working record was
the one thing that still sent them to a terminal. A direct channel is now the
session view wherever its machine is online, phone or desktop; the log-built
stream stays for an offline machine and a subscription ended at n 0. The
grid, the group chat and the desktop-only depth column are unchanged (an
Agent row is plain on the phone; the ⋯ note names subagents, jobs and diff).

The session view's chunk still loads only when a session channel first
opens: DC9.G3's phone check becomes no transcript chunk until then, and never
the depth column's (phone-load.spec.ts). Below 768 px the session view drops
its 56 px jump gutter and an opened shell command wraps across the detail.

The phone's @layout cases pin the loop at 390 and 320 against the fake
machine (a turn with long inputs added, long-inputs.ts): the record unfolding
in place, one-line tool rows truncated, a call opened, a running turn, Steer
and Send, request cards answered at the tail, the offline fallback. The width
check now passes what a component clips inside the screen and refuses
sideways scrollers other than code and output.

Evidence: docs/doperpowers/evidence/desk-phone-record/.
… card; the phone width check excuses only truncated text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant