Repository navigation
P5 O13: execution document (web-cards, the phone) - #241
Merged
Merged
Conversation
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
The lane B digest is mirrored in the browser (request-digest.ts is Node's); the lane A snapshot's launch is an owned dependency; the lane B request id is the item's nested one; the registry socket opens ?app=1 for state notices and listings; cut-over machines include certified ones; access-sync waits for O14's first production machine; the push clause's second direction stands on the hub's suite. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
admin adopt and a deterministic genesis; the commit confirmation is the deploy's alone; certificates re-read without a state change. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Retry reseals a retained operation; a done envelope's inner outcome is normalized before the card view sees it. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
… review has converged A lane B answer is one of three exact RequestAnswer forms: Allow with scope once, Deny with no scope, a question with its answers. 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. |
…orary or in-repo keys path The architect's ruling on #241: retiring the software admin device needs the enclave device O8 brings, so the step is O8's acceptance, not O14's final brief. The window's bounds become init's checks. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…ecovery key file); the other three settled Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
The set end is O8's and independent of key class (revoke, not retire); the recovery key goes to an offline destination named at genesis and is checked back (medium pending the owner); init refuses the sync and backup scopes and excludes the file from Time Machine; refresh, the head's age and the Device panel's 21-day warning against the 30-day backstop; confirmations from /dev/tty; the pairing fingerprint and the two-entries refusal. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…L28 amended) #242's review: a fingerprint over channelPub alone matched an entry whose step-up key or passkey a leaked k let an attacker swap. It now hashes the MAC's own input without k, with a swapped-credential vector. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 28, 2026
…n's software first root until O8, which revokes it; O8, O13, O15, tracking and risks updated 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.
This PR adds O13's execution document,
docs/doperpowers/plans/2026-10-27-p5-o13-web-cards.md. It is the only file changed. O13 is the desk side of keeping the phone's cards loop alive through the cutover. Desk-web keeps push and the question and permission cards. It becomes aweb-cardsdevice over RL2 in WebCrypto, and every answer carries a WebAuthn assertion.Drafted against the code on master cb5f388 and O10's
p5-o10-m7andp5-o10-m8. It went through self-review and four rounds ofdoperpowers:adversarial-reviewerbuildability review, with 7 → 3 → 2 → 1 findings. Every finding was verified against the code and folded in. Round 4 found nothing more of substance.Milestones (one PR each)
apps/desk-hub/deploy/production-deploy.shandproduction-run.sh, proved offline. Nothing is deployed.apps/org-protocol. It also adds the owner-rundeployment admincommand (init,genesis,adopt,pair,devices,remove-device).web-cardsdevice. It holds a non-extractable WebCrypto key and a cards passkey, keeps a pinned org store fed over the?app=1registry socket, and binds push to the device.launch.Needs a ruling before it lands: residue 1 below, which roots production's org before O8. I've sent it to the architect and to remote-architecture.
Owner questions, 2026-10-28. The owner chose two of them:
The recovery key question is reopened. RL DL28 keeps the key off the Mac's disk, so it is now a question of which medium the owner uses. The document is written under the recommendation, a removable volume mounted at genesis, and marks it pending.
I settled the other three on their recommendations:
The software root (remote layer DL28, spec PR #242). The remote layer accepts a software-keyed first root, and 3d72304 folds in its conditions. The root's end belongs to O8 and does not depend on the key class: once the app's device is a root, it revokes the deployment admin device. The other conditions:
refreshcommand and a warning on the phone after 21 days, against the 30-day backstop;/dev/tty;Residue item 9 (DL40's fold) reads as before, but the rollout it describes now includes the
refreshstep.What the code showed that the section did not say
ORG_ADMIN_EMAIL's Access identity, and nothing in P5 roots production before O8's Org page;deploy/org-admin.tsrefuses production by design. The phone's device entry needs a state, so O13 is the first child to need production's root: M2's admin command.enrollmentMacInputis a machine's). M2 adds it to the package.context.launchis mandatory and compared for equality (O10 M7), and the lane Acardssnapshot onp5-o10-m8carries only{raised}; O10's own suites take the launch from the fake sminos'smemberframe, which the phone never sees. Ask of O10 M8.OwnerNotice {project, machine, session, kind}) has nov, alias, title or count; today's service worker draws it as the plain "Something needs you" prompt landing on the grid./api/machines/<ref or name>/socket), and lane B's listing and notify already use theappSessionIdthesubtakes, so the phone needs no name lookup to reach a machine.wrangler.jsonckeepsv1's classes and every new table isCREATE TABLE IF NOT EXISTS.web-cardsentry may carry nostepUpPub(isDevice) andkeyStorage: 'webcrypto'exists; the hub refuses a pending entry with one.new URL(<enrollment's hub URL>).origin, andrpIdcomes from the device's entry, so the phone's passkey must be made under the hub's hostname (it is served from there).web-cardsquery is refusedgradefor any session target (P5 DL 64,queries.ts), so recovery of a lost acknowledgement is a reseal under the sameopId(a fresh gesture) or the next cards snapshot; the carry note's "addnameto sminos's binding" is not needed.http:push subscription endpoint, so no local push sink can receive a real push; the hub's own push is provable only on staging (the quick-tunnel sink) and on the real phone.org-protocoltoday (onlydesk-hub/protocol, which re-exports none of RL2/RL4/RL5); the package becomes a direct workspace dependency.presenceframe.Residue for P5's Decision Log under O13
deployment admin, with its own software admin device: a software-keyed first root, which the remote layer accepts (RL DL28). Its end is O8's and independent of key class: once the app's device is a root, the app signs the successor that revokes the deployment admin device (it signs no log events and an endorsement is checked only in the step that adds its device, so revoking discredits nothing, the phone's entry included) and its key file is deleted; O15's recomposition checks that no deployment admin device is a root once the app's device is. Its keys file lives at a durable 0600 path thatinitrefuses under/tmp,/private/tmp,$TMPDIR, a git work tree,~/.claude,~/Library/Mobile Documentsor~/.config/claude-secrets, excluded from Time Machine (tmutil addexclusion). The org's recovery key is written atgenesisonly to an offline destination the owner names (a removable volume mounted for the step, or printed once for paper), read back and checked againstrecoveryPubbefore anything is signed; onlyrecoveryPubstays on the Mac, and the key is never on the admin key's disk or inside a backup or sync scope (the medium is the owner's, pending).refreshsigns the weekly no-change successor RL §5.2 expects of an admin app, since the endpoint's 30-day backstop would otherwise stop the phone's answers; every subcommand prints the head's age and the phone's Device panel warns from day 21. Every confirmation against a deployment reads/dev/tty, so an agent's shell, which has none, can sign nothing.smns-pair-v1.), its MAC (smns-pair-mac-v1, length-prefixed under its own domain over the org, the member and the device entry) and the entry's fingerprint (pairingFingerprint: the first 10 base32 characters of SHA-256 over the same canonical input the MAC covers withoutk: the org, the member and the whole entry, its passkey'scredentialId,publicKeyandrpIdincluded, asxxxxx-xxxxx; a channel-key-only fingerprint let a swapped credential match under a leakedk, RL DL28 as amended) are this child's additions to the protocol package (§A). The code travels by the Mac's clipboard, which exposeskto every process under the uid and to clipboard history, sokadmits nothing by itself: the Mac command and the phone's panel both show the fingerprint, the owner compares them beforey, and two entries verifying under onekare refused and the code spent (RL DL28).cardssnapshot gainslaunch(asked of O10 M8); the endpoint never fills aweb-cardsact's context for it.createdand assertion, the ledgers' fingerprint) with a fresh gesture, or settled by the next snapshot; adoneenvelope's inner outcome is normalized before the card draws it. No change to sminos's RL10 binding.4a. The lane B request digest is mirrored in the browser (the shared module's four-rule field extraction over
desk-hub/protocol's WebCryptoinputSha256, pinned byte-equal torequestDigestOf);src/shared/host/request-digest.tsstays Node's, since it hashes withnode:cryptosynchronously on the engine host's claim path.4b. Once registered, desk-web's registry socket opens
?app=1(DL 38):statenotices drive the pinned sync,listings/listingframes fill a listings store; certificates are re-read on an unresolvable signer, a push landing and the Cards view's opening, since a delegated VM's certificate advances no org version. Cut-over machines are resolved as the package'smachineKeysdoes, entries and live certificates both.wrotenotice sends the owner to MAWS (pending the owner's answer on to-human messages on the phone).org-protocoldirectly as a workspace dependency.--confirm <sha8>equal to the checkout's HEAD, HEAD at origin/master) is the deploy's alone, the runner's mutating steps announce their change and the admin command asks before it signs; the checkout step lives at a durable path, never/tmp;access-syncwaits for O14's first production machine, since the genesis changes no membership.mawsdon the VM is O10 M11's and O14's.answeredWithoutRequest: truerows (doperpowers PR mawsd spine: a command that waits on the engine host wakes it from its park #411) need nothing in O13; the frozen session view, which does render them, is not O13's to change.Depends on O10 M8: the lane A
cardssnapshot gainslaunch. I've asked the O10 executor to add it before M8 lands; otherwise O13 M4 adds it.Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)