Repository navigation
Question sheet C6.1: the endpoint carries the sheet (M1 to M3) - #915
Merged
Merged
Conversation
… sheet) The plan for child C6.1 of the composite for the phone and other machines, written against the worktree at 4f231cf: four milestones (the shapes, the wire and the service's remote side; the resolver, the rows, the act and its query; the sheet feed, the attention feed's placement and silence, the capability; live on a Mac), the shapes of contracts Y1 and Y2, the acceptance cut into sixteen clauses, and ten entries for the composite's writer. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…view Twelve findings and one correction of a stated fact, all taken; each was checked against the code first and none was wrong. The composite's writer ruled on those that turned on the design (the composite at 9641ccc), and the document is rewritten to read as it stands now. What it said before: - N5 held that a stale index word was harmless and kept no check of it. Now the binding is part of standing: a standing check, whose index read is the last thing awaited, is evaluated at every admission and every hand-over (a call's result, an act's acceptance and its done, a query's reply, a feed's message), and an unavailable index is `unavailable`, never a miss. - A done and a query's reply were sent unchecked. Each now takes a check of `view` as it is sent; a caller below it gets `unknown`/`grade`. - The wire changed two existing shapes (sheet.body's output, OpTargetSchema). Now additions only: the too-large body is the remote result's variant, and the act's session rides as claim.sheet, stored as the target by the spine. - N20 held that a device that did not list rl2.sheet is sent master's bytes and that master's cut equals the resolver's. Now every sheet item sent to anyone is admitted by the resolver on its own engine session; shapes and a terminal session's items hang on both sides' listing. - New: the five offered names are endpoint-only until C6.2 (N21, with the offer-coverage suite's exemption and its own case); nothing below the floor depends on a hidden sheet (N23: the list's neutral door, the index read for every request, unchanged-summary announcements, deferred reads); every bounded read gets past an oversized entry (N24: a lookup's too-large entries, a pending outcome's stub); a stub is its item's discriminant and a set beside the model, left out of a Send with its draft kept (N16). - The suites claim of a resend only what the stand-in door shows; applied once is M4's, whose recipe is repaired (one daemon over the terminal's homes, the registration checked, the below-floor caller by a record change, the door waited for, the lookup's session, one put as one observation). - The description of the `record` rule is corrected (placeRecord prefers the member RL10's join places the app session on). - The ten entries for the composite's writer are in the composite and leave the list; eight new ones replace them. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Eight findings of the re-check, all taken, each checked against the code; the composite's writer's rule behind the first two: no standing predicate is held across a wait. What the document said before: - The standing check read the index's word through `sheet.session` last before the hand-over, and a queued feed message carried that word; a full stream window or a second batch of a list could send under a word read before the wait, and a one-turn residual was logged. The index is in the endpoint's process while the spine is loaded (`spine.root()`, which the endpoint's seam already reads for the channel journal and the projects), so the binding is now read synchronously in the step of every admission and hand-over, through a seam `mawsd` hands the endpoint; the step captures only the ranks, may be called at any later moment, and is the predicate a waiting message carries. The residual, the batches, the credit accessor and the hold-and-prepare release are gone; `sheet.session` answers one session's binding for a decision and loads the spine. - `sheet.session`'s readiness was reached only through a named session; the registration now asks the bindings' readiness before its input, and M1 tests the real registration. - A view answered the machine's door for any sheet; now the neutral door unless the sheet can be answered. - The check answered holds or not; it now says the kind it admitted, so an older peer's cut refuses a terminal session's item in the same step. - A8's query test held the ledger's answer, which comes before the binding is judged; it holds the standing check's own read. - A pending outcome's stub lacked fields its schema requires. - M4: a wrapper for the enrolment CLI with standard input; the caller below the floor is listed and not viewed, not private; the resend is timed. - The entry on the residual leaves the list for the composite's writer; the proposal now is to replace that sentence, with four smaller entries. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… the sheet page on by default, #893) Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…r after the merge; its writer's list taken Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
The view of a sheet a remote caller reads in place of the model (src/shared/sheet/view.ts: its items, pages cut by encoded size with a stub for an item too large, takePage, modelOfView, RemoteSheetBody), sendOf's skip, sheet.view, sheet.lookup and sheet.session, attention.snapshot, machine.op's claim's clientClass and sheet, the service's remote handlers (src/services/sheet/ remote.ts) with the put stamped from the claim's class and the model and an upload refused to a remote context, the index's bindings on the spine's root, and the components' too-large states. No offer row: no remote caller reaches any of it. WIRE_MINOR 67; the pinned manifest follows. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…two test fixes The wire manifest's new and changed entries (sheet.view, sheet.lookup, sheet.session, attention.snapshot, machine.op's claim) at WIRE_MINOR 67, taken from the generator's own output on Actions; the fingerprint is unchanged (no engine-host shape moved). The addressing snapshot gains the two outputs that carry an app session or attention id, and the lookup's closed map is reviewed as the model's is. The spine-root case asks sheet.session as main, which it is; the greedy-fill case cuts items large enough to need two pages. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ncile, sheet.session's outage reply, the stubs' bounds - memory.test: an act a remote view says nothing of stays unresolved; a lookup naming its key reads it accepted, kept while it awaits delivery, and retires the draft it carried - remote.test: sheet.session's reply while the index is not ready, through the bus as main asks it, for no session and a named one - view: a stub's header, agent name, agent id and call id are refused past the bounds stubOf cuts them to, so a stub that parses stands in a model SheetModelSchema takes (refinements: the wire's JSON Schemas are unchanged) Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…he act and its query The `sheet` target rule and its one resolver (`sheetPlacement`), asked of the index through `sheet.session` for every id; the standing check (`prepareSheetStanding`) judged in the step of every hand-over: a call's result, an act's admission and its `done`, a query's reply. The five rows offered to a native device (`SHEET_ENDPOINT_ONLY`, which the app does not send), every `machine.op` claiming the device's class and a sheet act its session; mawsd hands the endpoint the index's bindings through `sheet-seam.ts`. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… them; laneB.handles takes a command name Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…rs, stated as built Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ad the machine never answered, the wide pending outcome over the channel, one bound for a body A binding read that fails after the index said it was ready is the standing step's `unavailable` (and no binding is read for no session); a step that throws reaches the call's failure. A rejected sheet read is a failure judged as any other, so a caller who lost `view` hears `grade`; the list tells its machine's failure after the bindings' readiness, and a summary whose binding cannot be read makes the list `unavailable`. M1's pending outcome of 4,000 options is read over the channel and the card after its stub answered. A body past the bound is `too-large` from execute's one guard. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…e read is withheld, not the list's unavailable Only the source-wide readiness answers the whole list `unavailable`; a summary whose own binding read fails is withheld as one not viewed, so a caller who views nothing is answered alike by an empty machine and by one with a sheet they cannot view (N23). Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
… machine lists the sheet it withholds Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…silence by the resolver, the capability The machine's `sheet` feed (sheet-feed.ts) and the hand-over helper both feeds use (sheet-handover.ts); every sheet item on the attention feed and in `attention.list` admitted by the resolver on its own engine session, a terminal session's and the silent ids only where both sides listed `rl2.sheet`; `rl2.sheet` listed, RL2 1.19; the table without the sheet while the name is withheld; `sheetOffered`, and the test device's capability gate. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…, readiness recovered after a failed prepare The standing check is made over the ranks when the spine cannot answer `sheet.session`, so a later read of the bindings judges; a session announced twice while one output waits is told once. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…the coordinator's ruling) Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ws it stays loaded Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ead, resent or numbered; one retry that loads A session that lists only sheet items is never placed (the attention feed and `attention.list`), so a sheet the caller cannot view costs no read and fails none (N23). What the device holds is compared as it went on the wire, so a fresh copy of the same items is no change. A change taken back before it left gives its `seq` to the next. Each feed's retry is one entry point that prepares a check it lacks, and asks `sheet.session` again while the bindings cannot be read, which is what loads a cold spine after a refusal or a yield. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…per read of the ranks An ask of older ranks still out no longer swallows the current ranks' retry, and its completion works out what is deferred without replacing the check. One tech-debt row: the order of coalesced attention changes under backpressure. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…ends on a sheet it may not view - A sheet's announcement (and an attention change of one app session) works out that session alone and checks a queued output again only where it names it; a change of access, a new head, a binding hint and the snapshot's read still work out every session. So a private sheet's activity no longer ends another subscriber's feed. - A sheet change still waiting for credit is replaced by the latest summary under its seq. - The attention snapshot, the coalesced changes and the attention.list call order their sessions by app session id, not by the order the machine first heard of them (the order side channel; its tracker row removed). - A phone's query of a sheet put is refused `class` (another member's `grade`) before the session is placed. - A sheet act refused past the floor (`read-only`) is judged again as it is sent: `grade` once the binding moved. - A sheet read is admitted in the step it goes to the machine, and judged again at the send. - An id the sheet's resolver places nowhere is refused after the floor's owners read, as a placed one is. - A sheet put whose machine.op dispatch rejects is held to its completion's check. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…waits on a sheet it was not given - sheet feed: an announcement heard while an output waits for credit stays told when the output is taken, so it is worked out next (R1); a replacement queued without credit is held to the backlog bound (R5). - attention feed: a change confined to sheets the device was not given marks its session unheld rather than told; while the check cannot judge such a session it ends nothing and republishes nothing, and the backoff works it out again (R2). A session a full scan finds with an item withheld is kept for the retry (R3). - attention order (the composite owner's ruling, R4): the snapshot's sessions, competing due changes and attention.list are ordered by the earliest createdAt among the items the caller is sent, ties by app session id; an emptied session keys on what the device holds. The sheet feed keeps engine session id order. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…read's admission, a refusal past the floor, the order of sessions) Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…lds back nothing judged beside it An unheld session (worked out for sheets the device was not given alone) skips publication only when an item the device holds cannot be judged (heldUnjudged), where replacing its list is unsafe. With only a not-given item withheld (deferred), what was judged goes as for any session, and the session stays unheld for the withheld item, so a visible sheet's first question beside a sheet whose own binding read fails is sent at once, as without it. Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)
…built 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)
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. |
SSFSKIM
added a commit
that referenced
this pull request
Nov 30, 2026
…attention's order for every device - The C6 composite: C6.1's status and tracking row say it landed (#915 at ae747ca, #916 at 95f3cbf) and what its review and retrospective found. Section 3's attention paragraph gains the order C6.1 built: sessions in the order of the earliest item sent to that caller. Before, the composite was silent on order and its Acceptance 7 implied today's order held exactly; C6.1's branch review showed today's order (the endpoint map's insertion order) is moved by hidden items, so the composite's writer ruled the new order and states its exception (2026-11-29). - The parent composite: section 8.2 says the page server also serves the Task Board (its B2 landed at a1fbca7), held to the same checks and rules; the tracking map's C6 row moves on. Sminos-Session: question-sheet-design#23738737 (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 #899. C6.1 of the question sheet's remote composite (
docs/doperpowers/specs/2026-11-28-question-sheet-c6-remote-design.md, parent pin6adb5c54f), milestones M1 to M3 of its execution documentdocs/doperpowers/plans/2026-11-28-question-sheet-c6-1-endpoint.md. M4, the live run, follows in a second pull request fromquestion-sheet-c6-1-live.What this range holds
src/shared/sheet/view.ts(a sheet as pages of items, a stub for an item too large,takePage,modelOfView,RemoteSheetBody);src/services/sheet/remote.ts(sheet.view,sheet.lookup,sheet.session,byOf,admitPut);attention.snapshot;machine.op's claim gainsclientClassandsheet; a remotesheet.putis stamped from the claim's class and refused for any class but a native device's;sheet.readandsheet.uploadanswer a remote context nothing; the components draw a body, a question and an outcome too large to send.WIRE_MINOR66 to 67, additions only.sheet, over one pure function (sheetPlacement); the index's bindings read synchronously in the step of every hand-over (src/endpoint/sheet-standing.ts,src/mawsd/sheet-seam.ts); the five rowssheet.view,sheet.lookup,sheet.body,sheet.put,sheet.list, endpoint-only until C6.2 (SHEET_ENDPOINT_ONLY).sheetfeed; every sheet item on the attention feed and inattention.listadmitted by the resolver on its own engine session; where both sides listedrl2.sheet, a terminal session's sheet items and the silent ids;rl2.sheetin the endpoint'sh2,RL2_PROTOCOL.minor18 to 19;sheetOfferedfor a device. The app lists norl2.sheetand sends none of the names until C6.2.115ccfa46before M1 (the composite's later commits, the local sheet page on by default, UX wave: the owner's observation set 4 (model menu, Bypass, Auto card, fold on click) #893's launch flags) and6f8ee16c7before the landing (master atad9b85fb6). Neither moved a pinned wire file, a capability list or org-protocol; the minors are this branch's own.Validation Evidence
All gates on GitHub Actions; nothing run on the authoring machine.
scripts/ci-gate.sh <wt> --gates static,unit,probes,e2e:sheet-page,e2e:transcriptonf8f68151d--gates static,unit,probes,e2e:remote,e2e:lane-a,e2e:desk-webon9266df3ada5561ad42, thenstatic,unit,probes,e2e:remoteon85cf83e39f2916f4a2;static,unit,probes,e2e:remoteon014fa54da--gates static,unit,probes --class1a linuxonacdac8280(the pool is down)--gates allonacdac8280Reds in those runs that are not this branch's, read as the landing architect reads them:
libreofficecask reported a different checksum (it depends on the mirror the download is redirected to).e2e/dashboard.spec.ts:554(the owner's words typed after the chart's caption never reach the paragraph), the tracker's hosted-Mac signature 22, logged at:548; the branch touches nothing under the dashboard or the document editor.src/renderer/src/transcript/surface/assistant-ink.test.tsx"derives every turn once…",Test timed out in 5000ms: the hosted runner's unit speed, by the outage rule.src/engine-host/tool-server/artifact-tools.test.ts:425expected the Spaces "Launch", "Plain" and got "Plain", "Launch". The case creates both back to back, and the store lists SpacesORDER BY createdAt, id(src/engine-host/documents/store.ts:727,createdAtin milliseconds), so a tie in the same millisecond falls to the random id. The branch changes nothing undersrc/engine-hostor the artifact stores. It was red again on the one rerun allowed (attempt 2, the same assertion); master's hosted run 46292021496 passed the file once. It is with the landing architect as a probable master flake on the hosted route.src/mawsd/daemon-handover.test.ts:504("a deliberate stop during the drain > Settings' stop-all … reaches the old host") answeredhost_unavailable("engine-host handed its sessions over before answering host.stopAll"); it passed in attempt 1. The branch's one line insrc/mawsd/daemon.tshands the sheet's bindings to the endpoint and nothing of the supervisor's handover.test/endpoint/org-recovery.local.test.ts's fork case missed its 5 s wait in runs onf9979fd8band passed on the same runtime tree (568265adf) side by side: the timing case already indocs/tech-debt-tracker.md.Unresolved Review Findings
Minor findings recorded rather than fixed:
src/shared/sheet/view.ts,cutPages: an item over a small custompageBytescan sit alone on a page above the bound; the production bound (512 KiB) and the bounded queued and hidden entries never reach it.src/shared/ipc/wire.test.ts: the wire is checked against the newly committed manifest, not classified against master's; the reviewer compared the entries and found additions only.src/renderer/src/sheet/memory.test.ts: the pre-queue view of the lookup case keepsq1.queuedfrom the fixture; the case still isolates the draft's retirement.test/endpoint/attention-feed.test.ts, the stale-ask case: the old ask is released before recovery is asserted, so the stale completion's settle could pass it without the generation guard.test/endpoint/feeds.test.tsgrew to about 1,280 lines; the sheet cases could be a suite of their own.Residue
test/support/sheet-device.tsdoes not answer the endpoint's pings, so a suite that holds a channel idle for more than about 15 s is closed by the endpoint (M4's rig answers them). C6.2's and C6.3's suites will meet it.2594002a) withoutsminos sheet surfaces; a live run needsf89c328d.test/fixtures/sheet/PROVENANCE.mdcould name both.Sminos-Session: question-sheet-design#23738737 (MAWS on macbook)