Repository navigation
MW M1: isChannelId, the shared channel-rule vectors, and the readers of a stopped sminos thread - #765
Merged
Merged
Conversation
docs/doperpowers/plans/2026-11-18-mw-sminos-channels.md, for child MW of the doperpowers composite spec 2026-11-17-sminos-channels-and-threads-design.md at 88e771ba, against master 77af813. Four milestones and one step that is not an executor's: Step 0, the pre-adoption check for an id of version 8 (the records half read, the hub's table left to the owner's one read); M1, the predicate, the shared vectors and the readers of a stopped thread; M2, the capability pair, member.channels into known and the two refusals; M3, the hub's retention of a channel's row; M4, acceptance and the branch review. It fixes the shared vector file's content (29 ids, the four retired cases), the conversation fixture's edits, the retention's states and transitions, and the mixed fleet's proofs, and lists nine places where the parent's statement of MW meets the code. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…first and alone Finding 1 (Decision Log 2): a listing record can reach the hub before its channel's row is registered, since log-plane frames and records use separate queues at the Relay. The registration now reads the held records in the insert's own synchronous step, and M3 gains the ordered test: the listing stored, the row registered, the listing removed, seven full days from the removal. Finding 2 (Decision Log 3): the mixed-fleet differential compared the new endpoint with itself. It stays as the field isolation, and a baseline oracle is added (Interfaces K): a scripted lane's whole frame transcript against the one captured from 77af813 by the same test file, with normalization defined for identities, signatures, clocks and host addresses, and cases showing the comparison refuses an added outbound field and an altered known entry. Gate: class 1a, the unit job. Decision Log 4: M1 lands on master alone, as its own pull request, ahead of M2 and M3; sminos's T1 pins channel-rule.json from that commit. The second pull request carries M2 and M3 on mw-channels-2. 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)
…ed vectors channel-rule.json at version 1 The one test of a channel's id (Interfaces §A of docs/doperpowers/plans/2026-11-18-mw-sminos-channels.md) and the file of vectors sminos's suite copies (§B), written from §B exactly; its retired cases are run by the app's reader in a following commit. isChannelId has no caller outside its test yet. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ded (D7's reader rule) projectSessions passes by a retired with reason ended and no thread when the session's latest joined carries its thread; every other retired is honoured. The kept lifecycle keeps that ended under a key of its own, so it never displaces a moved or another retired the reader honours (Interfaces §G of docs/doperpowers/plans/2026-11-18-mw-sminos-channels.md). Both suites run channel-rule.json's four retired cases; the cache's through a file written and read back. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… lane A member frame whose lane is not the held one is taken after gone, so the listing under the session id (lane A) or the app session id (lane B) no longer stays at the hub when a session is reopened under the other lane (Interfaces §E of docs/doperpowers/plans/2026-11-18-mw-sminos-channels.md). Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…inos thread The retire note now reads 'records it retired; it returns only if its human reopens it' and the send note of one not running 'recorded: <machine> wakes it for this, or holds it until its human reopens it', true under every sminos in the field (Interfaces §H of docs/doperpowers/plans/2026-11-18-mw-sminos-channels.md). The unit test and the Playwright scene pin them. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…on 1 (Decision Log 6), the lane change keeps gone whole (7), M1's small names (8) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…n 1 (Decision Log 6) A stamped joined, an unstamped moved, then an unstamped ended: a member no more. It is the case a reader that keeps one retired per session fails, which the parent's four cannot show. The file is §B's block again byte for byte; the names pin holds the parent's four first, then the fifth. The cache suite's own moved-then-ended case folds into the shared one and keeps its check that the file holds both retired events. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…, and a shared listing follows the record that stays A restatement keeps the held members and the listings at the hub apart: a frame restates its session and the one listing it reports (lane A its session id, lane B its app session id once joined), so a session listed under one lane before an endpoint restart and restated under the other no longer keeps its old listing. When a member that shared an app session's listing leaves and the listing was last reported from its record, the listing is reported again from the records that stay, through #report and its Decision Log 190 (b) deferral (M1's review, P1 1 and 2). Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ffled case that tells offset order apart, the retire confirmation's sentence address.test.ts and cache.test.ts read channel-rule.json from disk, as the app's project-rule suites do, so tsconfig.node.json pulls no vectors module it does not list (TS6307). The shuffled case hands over a moved, a stamped joined and an unstamped ended out of order, which only offset order and D7 together read as a member. The Playwright scene asserts the retire confirmation shows §H's sentence (M1's review, P2 3 and P3 4; the class 1a run's static job). Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…two deferred cache findings in the tech-debt tracker Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…(the re-report reverted) The re-report of a listing another member still holds is reverted, with its #reporters map: gone keeps master's Decision Log 190 (b) loop over superseded survivors. A stale shared listing is master's behaviour for any gone of its reporter, and re-reporting made a plain gone of one of two directly joined engines sign a listing master never sends (Constraint 4). The restatement split and #withdraw stay. members.test.ts pins that the plain gone sends nothing and that a restatement leaving both engines out withdraws the listing once; both pass against master's members.ts too. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…eversed, Decision Log 9; 11 (b) restated); the stale shared listing in the tech-debt tracker Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…hree rounds Sminos-Session: GUI AI agent workspace charter#37052769 (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 19, 2026
…e and DL163, #782 stopped rows, #779, #763, #765, #768) Conflicts, each kept both sides: - src/renderer/src/shell/DocumentSessionSpace.tsx: U10b's bar room (useBarRoom, --float-bar-room on the root) and ticket 760's measure on [requested, enabled] with data-document-session-width; the root carries both the attribute and the style. - src/renderer/src/shell/DocumentSessionSpace.test.tsx: U10b's bar-room case, then ticket 760's column-in-the-floating-render case. - docs/tech-debt-tracker.md: the union's rows, then master's two of 2026-11-19 (master's removal of the anchoring row kept). The wire is unchanged on master: WIRE_MINOR stays 57. Sminos-Session: ux-wave#10d85d03 (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.
The first of MW's two pull requests (sminos channels and threads, MAWS's half): milestone M1 of
docs/doperpowers/plans/2026-11-18-mw-sminos-channels.md, with that execution document. It lands alone and first (the document's Decision Log 4): sminos's T1 pinsapps/org-protocol/vectors/channel-rule.jsonfrom the master commit that holds it. Nothing of M2 or M3 is in it.What it adds:
isChannelId(apps/org-protocol/src/channel-id.ts): a sminos declared channel's id, a lowercase UUID of version 8 with RFC 9562's variant. Nothing calls it outside its test yet; M2 and M3 adopt it.apps/org-protocol/vectors/channel-rule.json, version 1: 29 id vectors, and fiveretiredcases for D7's reader rule. Four are the parent's clauses. The fifth (Decision Log 6) catches a reader that keeps oneretiredper session.retiredwith reasonendedand nothreadis passed by for a session whose latestjoinedcarries one. The rule is applied inprojectSessionsand also in the kept lifecycle's key (cache.ts), so the cache cannot undo it.src/endpoint/rl10/members.ts). Amemberframe whose lane differs from the held one runsgonefirst, and that withdraws the listing under the old lane. A restatement now tracks the hub's listings apart from the held engine sessions, so a listing made under the other lane before an endpoint restart is withdrawn too (Decision Log 9).records it retired; it returns only if its human reopens itandrecorded: ${machine} wakes it for this, or holds it until its human reopens it.To an sminos that does not list
channels, nothing changes except the lane change, which the document intends (Constraint 4). Round 3 of the review compared master and this head across 256 scenarios with no lane change (restatements, explicitgone, interrupted connections, shared app ids). The listing changes and the held members were the same on both.Validation Evidence
e2e:desk-webare green on the head9c2f9679f.scripts/ci-gate.sh <worktree> --gates static,unit,probes,e2e:desk-web --label mw-channelsgaveci-gate: run 44413845424 success. Every job succeeded: static, static-local, unit 1/4 to 4/4, probes, e2e:desk-web.isChannelIdpasses the shared vectors):apps/org-protocol/test/channel-rule.test.ts, 6/6. It shows red beforechannel-id.tsexists. The file matches the document's §B block byte for byte (cmp).src/main/org/channel/address.test.ts17/17 andsrc/main/org/channel/cache.test.ts31/31. Both run the five shared cases at every prefix. The cache suite also writes the file and reads it back after each step.address.test.ts, with master's reader:expected [ true, false ] to deeply equal [ true, true ].expected [ true, false, true ] to deeply equal [ true, false, false ].test/endpoint/rl10/members.test.ts, 12/12, which covers held sessions, a cold restart, and both lane directions. With master'smembers.ts, only the four cases M1 adds fail. The shared-listing cases match master.Memberssuites pass one file at a time: targets, held-read, reach, review, uplink-holes, record-acts, calls, grades, records.restated: subscriptions-a, lane-b-notify, projects-records, actions, provision.apps/desk-web/src/conversation/capabilities.test.ts21/21 checks both notes. The Playwright scene inapps/desk-web/e2e/conversation.spec.tspins the send note, and now also the retire confirmation's text. It ran green ine2e:desk-web(run 44413845424).address.test.tsandcache.test.tspass unchanged. The fourth shared case (an unstampedjoined, then an unstampedended: no longer a member) already passed with master's reader.git diff --name-only origin/master...HEAD -- src/endpoint/rl10/link.ts src/services apps/desk-hub test/endpoint/rl10/conversation.jsonprints nothing.git diff origin/master...HEAD -- src/shared/ipc/wire.ts src/shared/ipc/wire-manifest.jsonprints nothing.git grep -n "8\[0-9a-f\]{3}" -- src apps ':!apps/org-protocol/src/channel-id.ts'prints nothing.doperpowers:reviewer-highreviewed the whole range in three rounds.message.modelequalsrequestedModelon every assistant record), a different model from the executor's.Unresolved Review Findings
src/endpoint/rl10/members.ts,gone). Two engine sessions can share one app listing, for example before and after a/clear, with neither superseded. When the one the listing was last reported from leaves, the listing keeps its title and access until the survivor's next frame. Master behaves the same, for agoneand for a lane-change frame. A re-report from the survivor was tried here and reverted, because it sent signed listings that master does not send (Decision Log 9). Logged indocs/tech-debt-tracker.md.src/main/org/channel/cache.ts, file version 1). While a sminos with threads runs, an older app can let an unstampedendeddisplace an honouredmoved. M1 then reads that session as a member. This needs an older app, a sminos with threads, and a sminos from before threads all writing to one session's lifecycle. Deferred (Decision Log 11 (a); tracker row).retired(cache.ts). The cause is on master. M1 makes one more case of it observable: a stampedjoined, thenmovedfrom signer A, thenmovedfrom signer B, then an unstampedended, then B removed by a new head. Deferred (Decision Log 11 (b); tracker row).Residue
None. M2 and M3 follow on
mw-channels-2once this is on master.Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)