Repository navigation
Question sheet C4b: the local page live on a Mac, and on by default (M5) - #894
Merged
Merged
Conversation
…pared call When the page refused a press for want of storage (noRoom), the call C3's sheet had prepared for it stayed in attempts.ts's waiting map, with the lines it captured, until that session's next launched Send or a reload. The sheet's components now export dropAttempt, and the page's memory drops the refused press's attempt where it refuses it. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…r suite A Playwright driver for M5's Concrete Steps 1 to 12 and the pictures: a private mawsd under the switch on a port of its own, a real terminal session in a tmux server of the run's own, the real sminos, and the page driven in Chromium. Its own config is its whole selection; the suite's config collects *.spec.ts alone, so no gate runs it. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…dence, not in it Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…s own reload Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…idence as the plan states it The ten rows of M5's stated limits went in with the rig's marker commit (9a29111); this corrects the one whose evidence named the live run before it had run. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…DEFAULT_ON) M5's live run passed every step on a Mac (a real terminal session on Haiku, the real sminos, the page driven in Chromium, a private mawsd on its own port), so the default daemon now serves the page and registers it, on the owner's answer that it is served by default. MAWS_SHEET_PAGE=0 in its environment or its login shell still turns it off, and every test launcher still forces it off (T2). Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
The rig that drives them, port 47591, the prompts as given, step 8's session parameter, the strangers' statuses on the wire, step 11's Safari and Firefox left as the tracker's limit, and step 15's test of the constant. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook) # Conflicts: # docs/tech-debt-tracker.md
…te (C3b's live) A queued answer's card reads stopped only where the page's sessions say no process holds the session; on a running session, or one the page does not know, it reads not yet picked up. Workspace passes its summary's live through SheetView to SessionSheet. A unit case for each, and a browser case for a running session's queued card beside the stopped one. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
A card the outline leads to draws C3b's focus outline, wide and in the narrow drawer; a pointer pressed inside a card draws none. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…e and the live run What the browser records of a stranger's tries (the status on the wire, its word that the live connection's handshake was answered 403, the frames sent, its word that the frame was refused) moves from strangers.spec.ts into e2e/observe.ts, so the live run judges step 8 the same way the gate does. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
- The run's evidence directory is checked before the runner starts, and Playwright's own output, which it clears first, is a directory made fresh under /tmp for the run. - tmux runs with the scratch HOME and /bin/sh, the pane's command as an argv; git init with the scratch HOME and no system or global configuration; curl with -q. - Step 8 is its own function and judges the foreign WebSocket by the browser's word of a 403 handshake with no frame sent (the shared observer). - Step 5 checks the pick in the delivery block; step 9 the rewritten question's text, and pictures the already-answered note; step 4 pictures the focus outline on the card the outline opens; step 10 reads a stopped session's queued sentence, now that the page passes live. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…the task review The rig's steps apart from the commands of 13 and 15, and their order as run; the run of record on the merged head; the focus outline in step 4, the pick in step 5's delivery, the live connection's 403 by the browser's word in step 8, the rewritten question in step 9, and step 10's deliberate reload and its stopped sentence. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
A line chosen was not current until the scroll it caused was heard a frame or two later, and then the card nearest the top was (the column ending on an earlier card), so two rows read as lit beside the pointer's hover. The chosen line is now current at once and stays so through the scroll its choice causes, a last card included; the person's own move of the column (a wheel, a touch, a press, a key) gives the mark back to the column. A chosen question no longer open gives it back too. The browser suite's case for it, and the pointer case now checks the card took focus before reading its outline. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ctory SHEET_LIVE_OUT must resolve under /tmp or the system's temporary directory; Playwright's own output is made fresh at every read of the config, no inherited path trusted; tmux's socket lives in the run's scratch. Step 4 checks the one current row and moves the pointer off the panel before its picture. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…here the run writes Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… checkout, and gives its children a scratch TMPDIR The environment's temporary directory can name a home (TMPDIR), so the evidence guard trusts /tmp alone and refuses a path in the checkout; the terminal's environment no longer inherits TMPDIR. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…rson scrolls the column The outline's chosen line was held in the panel and released by any press or key in the column, so a narrow drawer's choice, a hidden and reshown panel, or typing in the chosen card gave the lit row back to the card nearest the top. The sheet view now holds it and releases it only on a scroll of the person's: a wheel, a moving touch, a press on the scroller itself, or a scrolling key outside a field or control. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…5 reads the sheet's order, a step's picture is required A scratch whose sminos init failed stayed under /tmp with the gateway's environment in it; it is now removed with the error. Step 5 expected the three-option question first, while a Send writes its lines in the sheet's order; it now compares in the page's card order and finds the pick by id. A failed screenshot no longer passes as one taken; only the evidence of a step already failed is taken as it can be. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…apture fails (C4, branch review of #894) Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…anch review of #894 Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ch review of #894 Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Owner
Author
SSFSKIM
added a commit
that referenced
this pull request
Nov 28, 2026
…fault, #894) The composite's C4 Status, Progress and Tracking Map row say landed; section 8.2 says how the page is turned off and its logged limit, and the outline's chosen line as built. The plan's last Progress line is ticked. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Nov 28, 2026
…launch, the Auto card retired, fold on click master-first; class 1a 46194594972 and desk-web 46194606361 green on tree d67b3da (= head). Mac groups at 96dcf68; since then only master's #894 (the sheet page's default and an export the app doesn't call) and docs. The owner approved the pictures 2026-11-28. Hand resolution of src/services/attention/service.ts at the merge of f0a7b2e (the sheet's items beside obs4's mode fields), described in the PR. Adds --allow-dangerously-skip-permissions to ENGINE_FLAGS (src/engine-host/launch.ts). Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #869. This is the second and last of C4's landings; C4a was #886.
The question sheet's local page, landing C4b: milestone M5 of
docs/doperpowers/plans/2026-11-24-question-sheet-c4-local-page.md, a child (C4) ofdocs/doperpowers/specs/2026-11-23-question-sheet-design.md.From this landing on, the default
mawsdserves the page and registers it.SHEET_PAGE_DEFAULT_ONis true. It was set only after the live run on a Mac passed.MAWS_SHEET_PAGE=0still turns the page off, in the daemon's environment or in its login shell.sminos, a privatemawsdon a port of its own, and scratch homes. A driven Chromium does the person's part.apps/sheet-page/e2e/sheet-live.rig.tsandlive.tsdrive the plan's twelve steps.apps/sheet-page/live.config.tsselects it; no gate runs it.gitandcurlwith the scratch home and no shell startup.liveto its sheet. A queued answer's card says the session is stopped only when it is.attempts.ts: a press the page's storage refuses no longer leaves its prepared call in the waiting map (dropAttempt). This is C4a's residue.apps/sheet-page/e2e/observe.ts, is shared by the gate'sstrangers.spec.tsand the live run. Step 8 reads the foreign WebSocket's 403 handshake from the browser itself.docs/tech-debt-tracker.mdgains the ten limits M5 states, one row each. The row on a program that holds the port cites Question sheet page: close the two gaps against another account on the same Mac #887: the owner's ruling to ship with that limit against another login account.Validation Evidence
925965f91, the commit that turns the default on:scripts/ci-gate.sh <worktree> --gates static,unit,probes,e2e:sheet-page,e2e:supervisor-daemon,e2e:daemon-unit,e2e:lane-a,e2e:transcript,e2e:desk-web, run 46171998779, green.365d58d24): static, unit, probes ande2e:sheet-page, green onf6f11f06e(run 46175596572), on916e1ca84(run 46177060955), on85591d0b0(run 46178063518), and, after the branch review's fix wave, on6c9a79bd7(run 46180724330). The head2feeb20e9adds only the plan's and the report's text after that run. The other lanes stand on run 46171998779, because the merge changed the page's bundle and nothing those lanes drive.44d631523(the branch review's fix wave, whose rig assertions changed): all twelve steps passed. Each acceptance clause has its step:sminos sheet surfacesreads it alive. It is gone after a clean stop. Afterkill -9it reads not alive at once, and stale after 30 s.sminos sheet answer. One was applied, and the page read "already answered".pnpm build:app, thenasar list … | grep -c '/out/sheet-page/index.html', printed 1.apps/sheet-page/src/views/no-room.test.tsx: the refused press's attempt is dropped.apps/sheet-page/src/views/live-state.test.tsxand the stopped and running browser cases insheet.spec.ts:live.apps/sheet-page/e2e/outline.spec.ts: one current row, at once and after the column settles, for a last card too; the last card chosen in the 480 px drawer is still the lit row on reopening; typing in its field, then a refresh and a resize, keep it; a wheel scroll releases it.src/mawsd/sheet-page/serve.test.ts: the default serves, and both opt-outs turn it off.Unresolved Review Findings
The branch review of this pull request (high,
f0a7b2e71..85591d0b0) found six things. Five are fixed (a33ced820..6c9a79bd7) and one is shipped with:SheetView.tsx,SheetOutline.tsx).docs/tech-debt-tracker.md: aMAWS_SHEET_PAGE=0exported only in the login shell is not honoured on a start whose shell capture fails or times out (src/mawsd/sheet-page/serve.ts,decide()). The capture falls back to the daemon's own environment, the repository's rule for every reader of it. It is rare, what is served is the loopback-only paired page, and the daemon's own environment still turns it off.The task reviews' findings were all fixed in this landing:
/tmpalone, never in the checkout, and its children get a scratchTMPDIR;The boundary fix
85591d0b0was checked with a probe, not another review round. WithTMPDIRset to a home, the guard refuses that home and the checkout, and accepts a path under/tmp.Dismissed: live evidence for HTML or SVG drawn as text and for no outside requests. The plan's acceptance table gives those to M2 and M4, which prove them on the gate.
Residue
e2e:sheet-page, because that suite runs the builtmawsd.Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)