Repository navigation
P5 O10 follow-up: lane B pending counts reach notify from the engine host (WIRE_MINOR 4) - #272
Merged
Merged
Conversation
…e (O10, lane B's notify counts); WIRE_MINOR 3 Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…subscribed or not, restated at each engine-host link (O13 M5's finding) Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
… host Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…, not its items: bounded by sessions waiting, far under the line cap (review finding) 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)
…-bumped to 4 Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook) # Conflicts: # src/shared/ipc/wire.ts
…(O6 #268 snapshots) 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
…NOR 4 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) # Conflicts: # docs/doperpowers/plans/2026-10-27-p5-o10-endpoint.md
This was referenced Oct 28, 2026
SSFSKIM
added a commit
that referenced
this pull request
Oct 28, 2026
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 28, 2026
…ter's e2e:desk-web-hub red since #272) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 28, 2026
SSFSKIM
added a commit
that referenced
this pull request
Oct 28, 2026
…e B feed named by #272 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 O10 follow-up from O13 M5's finding. Lane B pending requests now reach the endpoint's Notifier even when no phone is subscribed, so a lane B session shows its count in hub presence and gets its waiting and settled pushes.
The gap
The Notifier (
src/endpoint/notify.ts) drives hub presence counts and notify's waiting and settled pushes. It was fed only by sminos's RL10 pending set, which holds lane A requests alone. Lane B's permissions and questions live in the engine host's broker, and the endpoint saw them only through a subscription'ssession.pendingItemsorbrokerItems. So a lane B session with no phone subscribed never showed a count and never got a waiting push. That broke the lane B push leg of O13's acceptance 2.What it does
engine.pendingItems. It returns{sessions: [{appSessionId, waiting}]}: the count per session, positive counts only. It is main-only, gradedinternal, and not offered remotely. The response grows by under 100 bytes per waiting session and does not depend on item size; 65 sessions each holding a 1 MiB item come to 2.5 KB.waitsOnAnswer(src/shared/attention/kinds.ts). Both the engine host's read (src/engine-host/pending-counts.ts) and the endpoint's live events use it. It followsisOpen:pendingordelivered, with a request id. That is the set the phone's cards show.onUpstreamreports a connection, the endpoint makes one machine-wide read and rebuilds the whole set; after that it follows broker events throughonEvent. Nothing polls per session, and a parked host is never woken. A live change wins over an older in-flight read, and a failed read is logged and changes nothing.notified.jsongains an optionallane: 'B'. Otherwise lane A's first set after a restart would settle a lane B count.notifier.restore()runs before the seam subscriptions.WIRE_MINOR4. O6 (P5 O6: the machine dimension (addresses, the sidebar's machines and projects, the machine chip and offline state) #268) took 3 first, so this was re-bumped per P5 DL 44 and 88, and the manifest was regenerated from master's minor 3.src/engine-host/changed, soe2e:supervisorran.onEvent,onUpstream,dispatch), andmawsdforwards the new command unchanged.Validation Evidence
56a49e5e7with counts only. Round 2: "correct — No material findings", including 43 cases checking the shared predicate against the old live count.4c4aee11f(the reviewed design):e2e:supervisor(macos, hosted): GREEN, https://github.com/SSFSKIM/MAWS/actions/runs/40647932471509a57616(master merged through P5 O13 M6b: the push's landing, the freeze's one seam, desk-web's freeze record #270, WIRE_MINOR 4):e2e:supervisorande2e:cross-build(macos, hosted, peer 12ee346 at wire 3.3): GREEN, https://github.com/SSFSKIM/MAWS/actions/runs/40661870769routes.jsonandaddress-paths.jsonnow listengine.pendingItems(559acbdde).test/endpoint/lane-b-notify.test.ts7/7 andsrc/engine-host/pending-counts.test.ts2/2 (both failed first),ipc.test.ts51/51,wire23/23,grades12/12,wire-fingerprint5/5,records26/26,test/endpoint/grades30/30,notifier21/21. Typecheck and eslint are clean.Residue
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)