Repository navigation
P5 O12 M11: the spawner as owner (plan and wave 2 ledger) - #423
Merged
Merged
Conversation
A lane B session O7's session.spawn starts for a remote member is that member's from its first second: the engine host launches it with MAWS_LAUNCHED_BY (the sealed action in a proof file), sminos's record reads it from the first SessionStart, and the endpoint ranks the spawner from the spine's launchedBy only while sminos holds no record. Blocked by O7 M4; two PRs, sminos's first. The wave 2 ledger names M11's launch fields and shared files. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
… envelope)
The endpoint's record source is an in-memory cache, so the bridge keys on
a durable handed-off mark per appSessionId and never reopens; a /clear's
new session takes its predecessor's record in sminos (the launch's opId
bound to its sessions), not the variable. The proof file is an envelope
{member, device, opId, action}: org-protocol's Action carries no member.
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…wn's opId (review round 2) An op ledger forgets a claim after a day and accepts the same id again, so two spawns could share one lineage; MAWS_LAUNCHED_BY carries the appSessionId and sminos binds on it. 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. |
|
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
… its series met every bound); O12 gains M11, the spawner as owner (PR #423); O5 landing 1's series met every bound; a tracker row for spine requests and the park; the wave 2 ledger gains O4 M4's and O5 M5's names 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.
Summary
This PR writes O12 M11, "the spawner as owner", into O12's plan and names its files in the wave 2 ledger. It changes no code.
O7 M4d found that a lane B session a member spawns on another machine through
session.spawncan't be opened until that machine's sminos lists it. The cause: the endpoint ranks a lane B session only from sminos's record (sessionRank), and O7 meanwhile waits up to 60 s on the main side. Who owns a session is O12's trust decision, and O7's F15 already named the sminos half, which O12's plan had not. M11 is routed to O12 on the architect's word: the environment line, its consumer and the endpoint's rank sit under one owner.What M11 builds, after O7 M4 (which adds
launchedBy), not blocked by O16:MAWS_LAUNCHED_BYat its start and at every resume.{appSessionId, member, device, opId, proofFile}.{member, device, opId, action}, written by the spine before the launch and removed with the record. It's an envelope because the sealedActioncarries nomember.hook_provenancehonours the variable only whenmember_markconfirms the engine host's own child (M3's check), so aclaudestarted from the session's Bash claims nothing.appSessionIdgetsowners: [member],origin: {kind: 'maws', requester}andownersProof: [action], final.appSessionId(a/clear) takes its predecessor's record, so an owner change carries over.launch_envdrops the variable.Reads.recordanswers{owners: [launchedBy.member], access: 'private'}for a lane B target until the endpoint first sees a sminos record for thatappSessionId./clearor agonenever reopens the bridge; after it, a missing record fails closed.recordsMoved, so every reader in one decision sees the same answer.The ledger.
launchedBy's consumer row now names M11, and the write-once rule O7 M4 pins:session.spawn's handler alone writes it.targets.ts/authorize.ts, after O7 M4.Review
doperpowers:adversarial-reviewer, two rounds. Each finding was checked against the code and folded, and each round is recorded in the Decision Log entry.
members.ts), so "no record" after a restart, a/clearor agonecould hand a transferred session back to its spawner. Fixed by the durable handed-off mark, plus sminos's/clearlineage.memberthe sealed action doesn't carry. Fixed by the envelope.opId, which an op ledger accepts again after a day. It's now keyed by theappSessionId.The review stopped there: the last round's only finding was a key change.
Validation
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)