Repository navigation
Conversation
… in four tasks Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…RL2 link, remote.attention, the badge and the notifier
- remote-attention.ts: one machine-wide `attention` feed per link while it is up and its peer lists rl2.feeds; each
snapshot said as remote.attention {machine, items, greyed: false}, each ev as the session's attention.changed from the
machine; `down` greys the items (said again, greyed: true) until the next snapshot; `behind` reopens at once,
`unavailable` on a backoff; an endpoint older than M6 (`not-offered`) is no feed on that channel, asked again only on
the next one; a link made again or dropped leaves no feed behind.
- The link's SubscribeRequest takes the attention feed, which names no session.
- The notifier raises a remote item as a local one (once per item address, silent when it waited before this app
started, none for a greyed machine), reports it from its machine and opens it there at a click (the navigation
relay's machine); the badge adds each up machine's sessions with an item waiting.
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
The `each-session` target rule: `attention.list` and `session.search` are offered as machine calls admitted at `list`;
calls.ts holds their input to the registry's schema and cuts their answer to the sessions the caller holds the
registry's grade (`view`) on, each placed by its record alone (no engine host read), the cut taken in the step that
sends the answer. `Authorizer.ranks` gives a member's ranks as a synchronous check against the records as they stand.
The machine's `attention` feed (attention-feed.ts, run by the feeds' plane): admitted at `list` for any member but a
web-cards device; every opening a snapshot of `attention.list` cut to the member's sessions under
`attention:<boot>`; each `attention.changed` of a viewed session an `ev {appSessionId, items}`; at every record change
and new head the cut is worked out again, a session that left emptied and one that joined shown at once; an empty set
is an open feed. subscriptions.ts no longer answers it `not-offered`.
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…t's harness, and search to a machine A request on a session no tab holds reaches remote.attention, the badge and one notification, and clears on this device when another answers it; the link forced down greys the items out of the badge and the next up's snapshot restores them, raising only what came meanwhile; a share withdrawn mid-feed empties that session with the feed kept; an endpoint without rl2.feeds is asked for none, silently; session.search to the machine crosses as a call and answers host_unavailable while it is offline. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ening sent A resubscribe's `subbed` can arrive a tick before its snapshot's pages, so the helper read the previous opening's snapshot; it now reads only what came after its own `sub`. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…dressed paths The preload bridges `remote.*` from names/remote.ts, which the registry pins to the schema's keys at compile time; the event's items' appSessionId and id are lifted with the machine it came from (address-paths.json rewritten). Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…RL2 1.2's under rl2.feeds; remote.attention is off the manifest); its gates' cross-build peer at wire 3.17 Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ons; startup silence by this Mac's clock; search's old endpoint left out - While a machine's attention feed follows (open, or opening again), a session's stream says no attention.changed of its own (its broker-only items would overwrite the feed's whole list) and a page's session.get is told the feed's items; at a channel with no feed (not-offered, or no rl2.feeds) the streams speak again (`unfed`). A page that announces itself (attention.pendingNavigate) is told every machine's remote.attention again. - The notifier silences a machine's first snapshot only when it arrives within REMOTE_STARTUP_SILENCE_MS (30 s) of its start, by this Mac's clock; no machine's createdAt decides. A machine reached later notifies its first snapshot's items; an ev's always once; a reconnect's snapshot nothing seen. - session.search refused not-offered (an endpoint older than M6) answers host_unavailable, as an offline machine. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ach-session calls cut by the latest record 1. The attention feed queues one output at a time (the snapshot, or one session's change) and the next only once that one was taken; at every change of rights it checks the queued output again before more of it can leave: held while the ranks or a placement are read, taken back once it no longer stands (an `ev` unqueued, a snapshot replaced whole under its `subbed`), and a part-sent snapshot that no longer stands ends the feed `behind`. A slow device gets each session's latest items, not every change on the way. 2. An `each-session` call cuts by the placement a `session.changed` heard while its reads were out gives, over the older `session.get` answer; a session the spine can't place answers `unavailable`. 3. A placement read the spine can't answer ends the feed `unavailable`, never taken for a session nobody may rank. 4. The backlog bound holds at every enqueue, the snapshot's included. Subscriptions route a session's stream to its lane's plane as a `SessionSubscription` (`namesSession`): plane A, plane B and the checkout feed read `sub.session` without assertions. `Subscription.midSnapshot` and `dropSnapshot(key)`. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…set and the next one after the reconnect succeeds (the architect's ruling on M3's forward-test ECONNRESET) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…k is up on its next channel A request made at the instant of a drop may be reset (§N, the architect's ruling); '/two' and '/three' wait for the link's next channel (a new h2 list) before fetching, and the confirmations asserted are unchanged. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…feed's attention sayAgain re-sent every cache once said, so a feed ended not-offered broadcast its emptied, no longer authoritative snapshot over the session streams' restored items at the next attention.pendingNavigate. Only a feed that follows speaks for its machine now; one that ended leaves its sessions to their streams (told again at a page's session.get). Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…remote partition greyed by main's word, a listed row counts, remote items open through the lane's opener, search merged per machine - stores/attention.ts: remote.attention replaces a machine's partition whole and carries its greyed flag; greyed sessions are drawn (selectGreyedNeedsYou) and counted nowhere (selectNeedsYou holds live rows only); an up in the roster un-greys nothing - attention/derive.ts: a session with no record has its Needs-you row when listed; greyed rows sort last; nextNeedsYou never answers one - connectShell subscribes remote.attention before connectAttention announces the page (guarded by an App test) - Needs you draws listed and greyed rows (data-greyed, muted, its reason in the label); the tree's listed row shows its open item's glyph - ⌘⇧J, a notification click, a fallback toast, Needs you and the palette open a listed session through its lane's opener (openListed) - palette/search.ts: conversation search asks this Mac and each up RL2 machine, merges hits under their machine, leaves host_unavailable (and the old not-offered) out quietly Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
The index answers `session.get` from its live state but publishes record changes on a coalescing tick, so a read can be ahead of what was heard. An `each-session` call now keeps a session only when the caller views it on every placement it saw (`session.get`'s answer and each `session.changed` heard while it was out); the attention feed weighs a placement read with every record heard while it was out the same way, until the next record heard. The snapshot's grouping by session is linear. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… A in Needs you and the dock badge, ⌘⇧J and the answer clearing both, search finding a word of B's transcript under B, B's daemon stopped greying its item and dropping the badge B starts a session of its own (a fourth journal on its replay list) that A has no tab or record of; its first turn's permission shows in A's Needs you under its listed row and counts in the dock badge, ⌘⇧J (the menu item) opens it in A's pane and the answer there clears both. Conversation search finds a word of B's first session's transcript (its title set by B's owner so the hit is the text's), under B's group. The session asks again with its tab closed, and B's daemon stopped greys that item and takes it out of the badge. Every wait reads published state. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… late attention.list; Overview cards a waiting listed session; search leaves out host_unavailable alone - stores/attention.ts: a machine's first remote.attention makes its partition the feed's (fed): a snapshot begun for it buffers nothing and its answer, late or failed, writes nothing, so it neither brings back an item the feed cleared nor erases one it holds - Overview: a listed session with no record waiting in Needs you has its card from its listing and its item (glyph, title, its machine, what it waits for, the summary), opened through its lane's opener by a click or Enter; a greyed one stays out - palette/search.ts: only host_unavailable is left out; an internal failure is named Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ned and answered, the hit under B, the greying's time after B's daemon was told to stop) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ms' items, greyed at down; an omitted feed message lets the feed go
- Once a machine's feed no longer follows, remote.attention for it carries its sessions' streams' items (the broker's,
`streamItems`), never the ended feed's emptied cache: at the end itself, greyed at the link's down, live again at an up
whose channel has no feed, and at a page's announcement. The renderer's partition, the feed's for the page's life,
keeps the fallback items greyed across a disconnect rather than erasing them.
- A change or a snapshot the channel couldn't carry ({omitted: 'too-large'}) ends the feed on that channel: unsubscribed,
logged once, the machine given back to its streams (unfed), asked again only on the next channel.
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… views; WIRE_MINOR 19 `session.search` answers at most 50 hits, title matches first, before the endpoint's cut: a member who views a few sessions got an empty answer behind other sessions' title matches. Its input gains `sessions` (at most 10,000 app session ids), applied by the store in SQL before the limit in both the title and the transcript query; the endpoint names the sessions the caller views by `session.list`'s records, and its all-placements cut stays the authorization. A full page the cut still took hits from answers `incomplete: true`. WIRE_MINOR 19 (master's 18 plus one), the manifest regenerated. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ject The store-level case imported the renderer's attention store, whose graph tsconfig.node.json doesn't list; the adapter's emitted remote.attention (greyed with the streams' items, then live) is what it checks instead. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… paths `session.search.input.sessions[]` names app sessions, so the registry's addressing snapshot lists it (rewritten with MAWS_ADDRESS_PATHS_WRITE=1 after review: the one new path). Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… §R reads it, the all-placements rule and its window, WIRE_MINOR 19 reversing the no-bump entry) and five discoveries Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ffective items; a returning feed speaks only from its snapshot - `fed`: a feed's cache is the machine's items only once its snapshot came on the current opening. Before that, and whenever no feed follows, the machine's items (machine(), machines(): the badge and the notifier) are its sessions' streams' items, and a stream's change or its lane let go is heard (streamsChanged). A live fallback item counts in the dock as Needs you shows it, and the handover from the feed to the stream raises nothing again (seen by address). - What a page is told (sayAgain, down's grey, a session's replay) follows the same rule, so a returning feed's empty cache is never said before its snapshot. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… session.list placement too The narrowing read placed each listed session but kept only its id, so a session viewable when listed whose rights there went before the answer was sent was still answered by session.get's newer placement. The call now keeps those placements and the send-time cut requires the grade on each of them, beside session.get's and every one heard; the heard set is registered from the call's first read, so moves during the narrowing read count. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ssions, `fed` The stream's attention.changed was suppressed while the feed was open (a sub or a retry timer) while the notifier counted the feed's items only once its snapshot came: between a feed's opening and its snapshot the renderer and the dock disagreed. `RemoteAttention.fed(machine)` (the feed's snapshot came on its current opening) now decides all of them: the stream's suppression, a page's replay, the effective items the badge and the notifier read, and sayAgain. Before it the streams speak; at the snapshot remote.attention takes the partition and from then on the feed alone speaks. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… flakes and connect-outlives-asker fixed); the spec's Progress keeps M3's landing and M6's branch beside M5's re-plan, §N keeps the forward's reset sentence beside the read open Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…on Log (one predicate for a machine's attention, the narrowing placement in the cut), Outcomes M6, and the report's M6 section 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
SSFSKIM
added a commit
that referenced
this pull request
Nov 1, 2026
…or the search's sessions input, the narrow final review, known limits); O7 rows; the wave 2 ledger gains M6's names; tracker: the remote.test.ts row closes, signatures (19) and (12) tallied, the roster listener row Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Nov 1, 2026
…432, O12 M11 #431, O7 M3 #433, O17's document #430, O7 M5 re-plan #434 and #436, #437, #438) into p5-o16 The WIRE retake: master is at WIRE_MINOR 19, so O16 takes 20. The comment keeps master's entries through (19); O16's additions (M2, M5, M3b, M3c fix wave 2), named under (16) on the branch, now follow under (20). WIRE_CAPABILITIES is master's list plus host.holder. The manifest is master's (minor 19) regenerated with pnpm wire:manifest at 20: against master it adds commands.daemon.restartEngineHost, commands.host.handover and events.daemon.engineHandover, changes O16's additive status and supervisor fields, and lists host.holder. routes.json auto-merged and its pin holds. Conflicts, each resolved keeping both sides: - src/shared/ipc/wire.ts: WIRE_MINOR 20 as above. - src/shared/ipc/wire-manifest.json: master's, regenerated (above). - src/shared/host/detached-transport.ts: O16's report() (the status ask before the link is reported) keeps its shape; O5 M5's socketFd joins the port it reports. - src/shared/host/op-ledger.ts: the orphanAtOpen comment names the services', the endpoint's (O12 M11) and the engine host's (O16 M3c) ledgers; none opens without it now. - src/mawsd/daemon.ts: O5 M5's session.removed listener and O16's tellEngineHandover side by side; at the stop, O5's cua socket close and cache watch end, then engineHandover.stop(). - src/mawsd/front.ts: FRONT_COMMANDS holds daemon.restartEngineHost and session.capabilities. - src/mawsd/cli.ts: O16's sessionHostsLine and O5 M6's renderText. - src/engine-host/launch.ts: O12 M11's MAWS_LAUNCHED_BY and O16's MAWS_HOLDER_SOCKET. - src/services/spine-root.test.ts: FRONT_EVENTS holds session.capabilitiesChanged and daemon.engineHandover. - test/support/mawsd-scene.ts: the stand-in's events hold O5 M5's session.status and O16's maws.pane.show and host.supervisorStatus. - scripts/mawsd-pack.test.mjs: O16's two session host pack tests and O5 M6's two --render tests. - devenv/validate.sh: the header names the session host check and the render runtime check; both run. Sminos-Session: GUI AI agent workspace charter#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.
P5 O7 M6: attention and search across machines. A permission or question waiting in a session on another machine shows in Needs you, the toolbar, the Overview and the dock badge, raises a notification, and ⌘⇧J opens it, even when this Mac has never opened that session. When the machine goes offline its items grey and leave the badge. Conversation search in the ⌘K palette spans every reachable machine, with hits grouped by machine.
Execution document:
docs/doperpowers/plans/2026-10-28-p5-o7-remote-lane-b.md(M6; every departure is a dated Decision Log entry). Report:docs/doperpowers/plans/2026-10-31-p5-o7-report.md, section M6.What changes
The endpoint (
src/endpoint)each-sessiontarget rule and §L's M6 rows,attention.listandsession.search. Each answer is cut at send time to the sessions the caller holdsviewon, at every placement the call saw: thesession.listnarrowing read,session.get's answer, and everysession.changedheard while the call was out. Any disagreement leaves the session out, so the rule fails closed without ordering the reads against the events.attentionfeed (attention-feed.ts, owned byPlaneFeeds): a snapshot, then each viewable session's items.unavailable.session.searchgainssessions?(at most 10,000), the caller's viewable set, which the store applies in SQL before its 50-hit limit. A full page the cut still took hits from answersincomplete: true.Main
src/main/lane-b/remote-attention.ts) andremote.attention {machine, items, greyed}.fed(machine), says who speaks for a machine's sessions: the feed once its snapshot has come on the current opening, otherwise the sessions' streams. Every reader goes through it: stream suppression, a page's replay, the badge, the notifier, the page-announcement replay and the grey at down.not-offered, or whose message was omitted as too large, gives the machine back to its streams for that channel.upmachine.host_unavailableis the one omission signal, and an endpoint without the row is mapped to it.The renderer
upand before the snapshot. Once a feed owns a partition, a lateattention.listwrites nothing to it.openListed).e2e:remoteAlso on the branch
WIRE_MINORis 19 (master's 18 plus one:session.search'ssessionsinput).RL2_PROTOCOLis unchanged at 1.3. The endpoint and the services it calls always ship in onemawsdbuild, so the new input has no version skew to guard.Known limits
Validation Evidence
Gates ran through
scripts/ci-gate.shon GitHub Actions. Each run's commit tree was checked against the head's.PR head
908f08cb2(masterda2cbd333merged in), tree3dbc54160, matching the gate commitaafc886ec. It ran--gates all --class1a pool --runner macoswith no lane and the default peer, the merge basea0a7f81a, at wire 3.18 against this tree's 3.19. The result issuccesswith all 56 jobs green;e2e:remote,e2e:cross-build, every e2e group, packaged, the units,unit:darwinand the probes are among them. Noflaky:line was printed.packaged 2/2was red only onpresentations-comments.spec.ts:248: the pin was not focused after a press on the deck's empty stage (:329).908f08cb2, which the gate's static job covered.Claims of done, and what backs each
e2e:remoteon the hosted Macs: runs 41339003123 (52aa15965) and 41339866645 (f4ed09b0b), each green with the three M6 log lines, plus the landing gate'se2e:remoteabove.test/endpoint/each-session.test.ts,feeds.test.tsandattention-feed.test.tscover:src/main/lane-b/remote.test.tsandremote-attention.test.tsrun the realstartNotifier. They cover a feed's end, an omission, down and up, a returning feed before and at its snapshot, and a page's announcement at each, with the badge and the renderer's partition compared.e2e:cross-buildagainst the default peer, wire 3.18 against 3.19, in each class 1a run since the bump and in the landing gate.Unresolved Review Findings
each-sessioncalls dispatch onesession.getper distinct session they name. This is local and cheap but linear in sessions, andsession.searchalso readssession.listonce per call. (M6a's report.)onStatenoronCaps. A feed refusednot-offeredthen retries an upgraded endpoint only at the next state or caps change. This is rare and costs only delay. (M6b's report.)RemoteAttention.followsstays in the interface with no production reader sincefedreplaced it. (Fix wave 5.)Residue
Machines.onRemotemakes no initial call. A listener learns the roster only from its next change, which production's asynchronous first refresh happens to supply after the composition. A synchronous roster would be missed here and by theorg.rowslistener inapp.ts. A ticket to call listeners with the current roster at subscription, or to document the contract.Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)