Repository navigation
P5 O13 M6b: the push's landing, the freeze's one seam, desk-web's freeze record - #270
Merged
Merged
Conversation
…hine's landing re-reads the org state), the freeze's one seam (moved to MAWS) and desk-web's freeze record Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…, retried or resent at a welcome), and each landing on a session's cards re-checks its machine Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Codex Review SummaryThis 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. |
SSFSKIM
added a commit
that referenced
this pull request
Oct 28, 2026
… the moved-to-MAWS seam; tracker row for a unit flake Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 28, 2026
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
This was referenced Oct 28, 2026
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.
P5 O13 M6b: the push's landing, the freeze's one seam, and desk-web's freeze record.
The landing
A tap on a v2 push opens that session's cards. A cold tap uses the notice's URL
/cards/<ref>/<session>. An already-open window getsOPEN_MESSAGEand navigates in place.parseRouteandland()meet M6a's percent-encoded URLs, so M6b adds proof cases and no routing code.ChannelCardscallsrefreshOrg(<ref>)when it opens the view and on every landing.land()counts landings inuseCardsLanding, so a second tap on the same view checks again.refreshOrgis the org store'srefresh, at most one read a minute, keyed by the ref as the listings store keys an unresolved signer.land()becauseland()runs in the entry chunk, before sign-in. Importing the device code there would pull its chunk into the entry.The seam
A session on a machine that has moved to MAWS can no longer be acted on from the frozen DX6 views.
capabilities.tsgains the inputmovedToMaws. When it is set, every verb returnscan: falsewith one reason, moved to MAWS: its cards are on this phone's channel, before any other rule.shell/sessions.tssets it for each session from the cards board's machine names, compared bymachineNameKey. Every frozen per-session control already readscapabilities, so this one input covers all of them:src/hub/project-client.ts, from review round 1: the DX6 client sends nothing to a moved machine, whether a new RPC, a Retry, or an RPC kept from before the move and resent after a reconnect.project/connection.tspasses the same moved set that the capabilities read. A withheld Retry leaves the carduncertainrather than "Sending…".The freeze record
apps/desk-web/CLAUDE.mdis new. It lists:It also says that a frozen view is fixed only when a moved machine's loop depends on the fix, and that the fix is reported first.
The branch also carries the spec's living sections.
Validation Evidence
e2e-hub/cards-landing.spec.ts(new): 3/3 in Chromium against M4's real-endpoint harness, with the phone paired:OwnerNoticeand built asRegistry.notifybuilds it is delivered to the service worker through the DevTools protocol. A cold tap opens the card view, which draws the pending question over the channel.OPEN_MESSAGElands on the same view in place.fm.rpcsis[].e2e/phone.spec.ts: 22/22, the 20 existing cases unchanged and 2 added:waitingpush: its tag, no actions, no badge, and a cold tap that lands onchannel-cards;wrotepush: its own tag, opening the cards list in place.Received: "on 83427b27…"before the re-read existed.project-client.test.tsandRequestCard.test.tsxfailed while a retaineddecidestill reached the moved machine.ChannelCards.test.tsxfailed (expected 1 to be 2) before a second landing checked again.project-client36/36,RequestCard6/6,ChannelCards2/2,capabilities21/21,board3/3,Composer25/25;conversation,connection-latency,layout,handlers,sw-importsandChannelView, all passing.ChannelCards.tsx;pnpm --filter desk-web typecheckpasses;vitest run src/views/cards src/cards src/pwagives 160/160.e2e-hub/cards.spec.ts8/8,cards-device9/9,session-plane11/11 (the frozen session view, sincesessions.tsandComposer.tsxchanged),phone-load5/5,chunk-recovery2/2. The entry chunk is 37.04 kB gzipped.--gates static,unit,probes,e2e:desk-web,e2e:desk-web-hub --class1a pool --runner macos --lane hosted --label o13-m6b-1, run 40658142801.src/engine-host/connectors/direct-calls.test.ts:694, outside this branch: itsnot.toMatch(/107|structuredContent|content/)matched "107" inside a random artifact UUID (…-107841a95312).--gates unit --class1a pool --label o13-m6b-2) is GREEN, run 40659218117.Residue
direct-calls.test.ts:694. It fails whenever the random UUID contains "107" (about 0.7% of runs), because the regex looks for the row count as a bare substring of the serialized result. Anchoring the count to its field, or using a fixed artifact id in that case, would fix it.Unresolved Review Findings
These are not review findings. They are edges accepted in the spec's Decision Log (2026-10-28) and listed here so the branch reviewer sees them already reasoned about.
shell/sessions.ts). The moved set comes from the device's verified org state. A desktop browser that was never paired draws an old session of a moved machine with a live-looking composer./api/org/stateunpinned on every browser would be unverified, and would put the protocol package into every first load.@aliaspost in the frozen group composer can still address a moved session. It writes a loghumanthat the moved machine never reads.Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)