Repository navigation
P5 O9 M9: remote lane A, a terminal session on another machine driven from MAWS - #348
Conversation
… shared logic in src/shared, the opener, custody, step-end time, model and effort, delivered words); M10 waits on O14 B2 Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…he architect) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…n src/shared/lane-a, read by both halves Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ts state fold, the router's remote option wrapped, and the integration suite against the real endpoint Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… tests; two test types the typecheck refused Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… each control's act in flight in a remote session's state, model and effort folded each on its own Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…h the review's corrections; two discoveries) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…s the default observed; the fake plane steps through the fake machine Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…only member's control and send refused, nothing left pending) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… for the remote pane's cards (local behaviour unchanged) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…w, draws from its machine's plane and is driven through the lane A port Lane A's opener in O8's registry; remote-source.ts, a SessionPlane over the page's watch under plane-transcript.ts, older rows paged through laneA.read; the port's remote gaps, link reason and act progress; the pane started with no record, its requests docked as cards; the lane A store listing each listed machine into its own partition. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ote state's link, the notice row is an error row of severity notice, interrupt's flags whole Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… transcript stays out of the chunk every local transcript loads Its static imports had grown the transcript chunk's first load past the comment card's one-second wait on CI (CardThread's first case, red twice at 1.10 s against 0.24 to 0.36 s before). Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…rry clears with its reason and is asked again when the plane delivers again Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…e toolbar menu and in session info, ahead of the local words; its tab is titled by its listed row Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ree and statuses from its plane; its cards' attention ids are addressed to its machine (OX2) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…itle as text; the paging test's next delivery is a subagents message Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… with the review's corrections) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…sks a failed page again; an underfilled pane says why with a Retry
The watch passes main's {resumed: true} on as its own event, never a reset; the pause stays the link's reason. A page the link could not carry is asked again at the resume, at the next delivery, or from the Retry beside its reason.
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…fix wave in the Decision Log Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…pe e2e, #343) into p5-o9-remote Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… the page resumed, never a reset, so an ask a quiet drop lost is asked again Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…he records change the session's transport, so a remote session restored with the tool open reads its plane Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…gap with its reason in place of the child transcript, building no child source; Stop and Tell stay Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… remote half's report (M10's sitting steps) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…p5-o9-remote Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… on 20202dd) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0aba552f1f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| emitPlane(s, { watch: w.id, resumed: true }); | ||
| } | ||
| if (primary(s) === w) changed(s); | ||
| if (first) void hydrate(s); |
There was a problem hiding this comment.
Refresh status after a replacement subscription snapshot
When a remote session restarts or reconnects with a fresh snapshot while its tab stays open, w.started remains true, so this guard skips status hydration. The snapshot updates the launch and presence but carries no model override, leaving s.status from the previous connection or process in place. An idle session can therefore display an obsolete model/effort override indefinitely, and the model selector uses that stale override when deciding which changes to send. A focused reproduction with snapshots for launches L1 and L2 performed only one status read and retained L1's override under L2. Refresh status on replacement snapshots as well as the first snapshot.
Useful? React with 👍 / 👎.
| for (const { item, request } of entries) requests.set(item.id as AttentionId, request as SessionEvent); | ||
| return { requests }; | ||
| }); | ||
| useAttention.getState().applyChanged({ appSessionId, items: entries.map((e) => e.item) }, machine); |
There was a problem hiding this comment.
Preserve question drafts while pending requests are restated
If a fresh subscription snapshot arrives while someone is answering a remote question, RemoteFold.message('snapshot') temporarily empties pending before the subsequent raised messages restate requests. Mirroring that intermediate empty list through applyChanged invokes forgetClosedDrafts in the attention store, permanently deleting the question's selected answers, free-text input, and current step even when the identical request immediately returns. A focused reproduction using the fold, mirror, and attention store confirmed that the request returns but its draft is gone. Preserve drafts across snapshot reconciliation, rather than treating the temporary absence as a settled request.
Useful? React with 👍 / 👎.
…9-remote One conflict, in src/main/index.ts's import block: O8 M4a's page-fixture import beside remote lane A's; both kept. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…rank row; UX ticket #352; the admin.test row's second sighting Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
P5 O9 M9: remote lane A. MAWS on one Mac shows and drives a terminal Claude Code session on another machine through O7's
RemoteLink, that machine's endpoint and its sminos bridge.Spec:
docs/doperpowers/plans/2026-10-28-p5-o9-lane-a.md(M9; Decision Log entries of 2026-10-29). Report:docs/doperpowers/plans/2026-10-29-p5-o9-remote-report.md. Parent:docs/doperpowers/plans/2026-10-27-p5-org.md, child O9.This lands after O3-C: the branch was cut from
p5-o3-cand merged its post-series head 8544c48. M10, the live sitting from the MacBook against the mini, waits on O14 B2 (the mini runs nomawsdand its sminos still runs its DX2 uplink); the report has its steps.What changes
src/main/lane-a/remote.ts,remote-state.ts,remote-outcomes.ts;src/main/index.ts): the router'sremoteoption is wrapped, so alaneA.*command for a machine thatMachines.remoteanswers goes to the adapter. Every other command, andlaneA.*for the socket stand-in, takes O7's path as before.'if-asked'.sminos.send, and its lane outlives its watches.omittedor a re-subscription afterendedis.link(the link's state and the device's caps, with a reason when no control can act) andacts(each control's act in flight, with its progress).src/shared/lane-a/): the answer mapping, the step-end fields (P5: DX4 StepEnd gains optional t, model and effort (sminos 1.27.12) #339's typedt,model,effort), the bridge words and the attention entry, read by the local and remote halves alike.registerRemoteOpener('A').remote-source.tsservesPlaneTranscriptover the watch, with lane A's own streaming overlay, in a lazy chunk.test/lane-a/remote.test.ts(18 cases) drives a realRemoteLinkagainst the real endpoint and a fake sminos, through desk-hub's fake machine. It covers:laneAcommand still taking O7's path.No
WIRE_MINORbump (laneA.*is main-owned) and no settings version. Nothing undersrc/endpointchanges. O7's link, dispatch, carriers and org session are untouched.Validation Evidence
On the current head, 008700a (master 35b37d3 merged: O3-C P5 O3-C: the spine as a library with two roots #349, O8 M4a P5 O8 M4a: the Org page, its shape, people and devices #344, CI: keep flaky-pass reports and measured e2e samples #346). There was one import-block conflict in
src/main/index.ts, and both imports are kept.--class1a pool --gates static,unit,probes,e2e:lane-a,e2e:c7,e2e:c7-utility,e2e:widgets,e2e:agents,e2e:transcript,e2e:side,e2e:desk-web,e2e:desk-web-hub,e2e:settings,e2e:machines --runner macosprintedci-gate: run 40877522699 success. Groups passed: lane-a 11, c7 35, c7-utility 35, widgets 29, agents 23, transcript 37, side 12, desk-web 198, desk-web-hub 39, settings 14, machines 1. Flaky: 0. The run's commit 59ce1f6 has tree c20a63904, the same as 008700a's.--gates e2e:default --lane no-hosted --runner macosprintedci-gate: run 40877522775 success: 211 passed, 239 skipped (collected by other groups), 0 flaky. The run's tree is c20a63904, the same as the head's.The landing set, on 20202dd (M9 merged with O3-C's post-series head 8544c48, which carries master 5b7f510).
cd /tmp && scripts/ci-gate.sh <worktree> --gates static,unit,probes,e2e:lane-a,e2e:c7,e2e:c7-utility,e2e:widgets,e2e:agents,e2e:transcript,e2e:side,e2e:desk-web,e2e:desk-web-hub --runner macos --class1a pool --label o9r-land-1gaveci-gate: run 40866323525 success(https://github.com/SSFSKIM/MAWS/actions/runs/40866323525). The groups ran unlaned and passed: static, probes, unit 1-4/4, e2e:lane-a 11, c7 35, c7-utility 35, widgets 29, agents 23, transcript 37, side 12, desk-web 198 and desk-web-hub 39. The job logs show 0 flaky lines. The run's commit 0a95d64 is ci-gate's empty commit on 20202dd, with the same tree, e4a8bd0f1. The head past 20202dd (0aba552) changes only docs.The integration suite,
test/lane-a/remote.test.ts(node-timing), 18/18. It runs in class 1a's unit shards above and was run alone on the landing fix head.Class 1a on each half's reviewed head: 40838051168 (main, 6dc421a), 40854320233 (renderer, bb31c19) and 40858548379 (landing fixes, ae8bad8), all green. Hosted e2e:lane-a 40854302887 on bb31c19, green.
wireFingerprint()is unchanged:src/shared/ipc/wire-fingerprint.test.tspassed, 5/5. NoWIRE_MINORbump.Reviews: task reviews on each half (main: 4 Important, one fix wave; renderer: 5 Important and 1 Minor, two fix waves), each re-reviewed clean. doperpowers:reviewer-high over the whole of M9 (4c3fcbe..7da8b11): 3 P2 seam defects, fixed in 45fe5b7, dce27e5 and ae8bad8, re-reviewed correct with no material findings.
Unresolved Review Findings
None. Every finding was fixed or is a residue item below.
Residue
capscarry machine rights only, andsessionRankis the endpoint's, so main can't tell that a member only views a session. Such a member sees its controls available until the endpoint refusesgrade, which is worded from its code; the control then clears, and a send keeps its text. Closure: the endpoint tells the device its rank on a session (an RL7 or caps addition), with O10 and O8's sharing work. The architect writes the tracker row.session.statusdon't reach the other machine. They go down O7's path and fail quietly; sends work. Unsent text doesn't survive a remount. This is O7's C2 (the moved namespaces and remote drafts).Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)