Repository navigation
P5 O14: execution document (cutover) - #249
Conversation
…nd the brief per machine (B0–B4) Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…sumable provision, pairing, the history inventory, M5 split in two, the briefs' undo order, the owner's inputs Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
… a durable redemption, the machine's own former names, one cutover undo, retained key bytes until purge, M5b narrowed, authenticated probes Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…ons and retirements under a lost answer, private keys destroyed at unenroll, retired-certificate names unclaimable, DX6 as a frame, the phone's running bundle, browsers' keys, Secret Manager's latest Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…fore the orphan-key rule, archived private keys destroyed, the browser-lock check at the forget step; the review is converged Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…one device, one anchor), B0 checks O13's rollout, the parent re-pinned at 8512374, Q1 withdrawn, codes by /dev/tty and the clipboard or a pipe into Secret Manager Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…unners' secret-stream mode, compare-before-list on enroll, a per-anchor lock on the pending record, the code verbs local, B0's anchor path 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fc9d76d58f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - **The `mawsd` side carries the secret [needs O2].** O2's CLI reads a secret and stretches the deadline for `enroll` alone (`src/mawsd/cli.ts`, `enroll()`); M1 generalizes that path to a table of secret-reading commands (`enroll`, `provision`), each with its `--wait` deadline, so `mawsd endpoint provision` reaches `Endpoint.cli('provision', args, secret)` with the code read from stdin or the hidden prompt and never from argv. This half lands in M1's PR if O2 is on master by then, else as M1's follow-up PR on the same branch name with `-mawsd`; until it lands, `provision` is reachable in tests through `Endpoint.cli()` and in no brief. | ||
| - **The endpoint keeps the delegation key.** RL §5.3 accepts that a VM under a delegation holds its key (every VM under it can read the secret store anyway, and the remedy for a compromised VM is revoking the delegation), and the retirement record must be signed by it (RL §5.2). Rejected: re-reading the secret store at departure, which fails exactly when departure is already in trouble (a reclaimed spot VM, a VM whose ADC is gone). | ||
| - **`mawsd endpoint retire [--not-after <ISO>] [--json]`** signs `CertRetirement {org, keyId, notAfter}` with `delegation.json`'s key under `smns-cert-retire-v1`, `notAfter` defaulting to now plus 60 s of skew margin (RL §5.2: set once the key is gone, with a margin), and **writes `retirement.json` (the signed record, `posted: false, deleted: false`) before any hub call**, so a rerun reuses the same record and `notAfter`; posts it to `POST /machine/cert-retirements` (marks `posted` on 2xx; an identical repost is accepted), then `DELETE /machine/enrollment` so the hub row and its credential go too (both are needed before a recreated VM may take the name: `apps/desk-hub/test/org-delegations.test.ts`; marks `deleted` on 2xx), then, both marked, **destroys `machine-key.json` and `delegation.json`** rather than archiving them (RL §5.2: a retirement is trusted because the retired key is destroyed, so it can sign nothing backdated), runs `unenroll`'s local part for the rest, and exits 0 printing `retired: <name> (certificate <keyId> not after <ISO>); the hub row is gone; the keys are destroyed`. A lost answer is reconciled on the rerun: a `401`/`403` to the retirement's post or to the `DELETE` while `retirement.json` says `posted` means the hub already invalidated the credential, which is the `DELETE`'s effect, so `deleted` is marked from that evidence and the run completes locally; a `401`/`403` while `posted: false` is a refusal (exit 1, nothing destroyed, the admin's `machine drop` is the remedy). It refuses on a machine with no `delegation.json` (`not-delegated`, exit 1): an enrolled machine's key is retired by an admin's state change, never by itself. It is idempotent: a second run with no `retirement.json` and no credential exits 0 saying so. After it, the endpoint is unenrolled and sminos, cut over, waits for an endpoint that never comes; the VM is about to be destroyed, which is the only reason to run it. | ||
| - **`mawsd endpoint unenroll [--json]`** is local and talks to no hub: it stops the hub link and the direct listener, closes every channel `removed`, removes `rl10.json` and the socket (so sminos sees no endpoint), **destroys the private material of `machine-key.json` and `delegation.json`, and of every `machine-key.json` and `delegation.json` under an earlier `stale-*/`** (keeping each key id in `<stateDir>/stale-<ISO>/keys.json` for the record; `retire` does the same), moves `grants.json`, `enrollment.json`, `org.json`, `legacy.json`, `listings.json`, `notified.json`, `signatures/` and `inbound/` to that `stale-<ISO>/` (the key-without-ledger rule's directory, O10 M2), leaves `<profile>/machine.json` untouched, and reports `enrollment: none`. The private key is destroyed at once because nothing can use it again: a later `enroll` or `provision` generates a new key under the same ref (as `--replace` does), and the hub-side entry is dropped by M2's `machine drop` (which retires or revokes the old key by its id, never needing the private half) or by `retire`; a retired key that lingered on disk could sign backdated events that its retirement would verify (RL §5.2). `unenroll` refuses nothing: an unenrolled endpoint is the state O10 M10 ships in. This is the first half of every cutover undo in the briefs, because O12's switch re-probes RL10 within a second of `identity.json`'s removal (Orientation). Rejected: relying on the hub's `4403` to stop RL10, which reaches only an endpoint that is connected at that moment and leaves a disconnected one holding `org-listed`; archiving the private key, which keeps what retirement assumes gone. |
There was a problem hiding this comment.
Cancel pending provisioning when unenrolling
If provisioning stops after writing provisioning.json but before completing the enrollment write set, this unenroll sequence neither removes that transaction nor destroys the private JWK it contains. M1 explicitly makes startup replay a pending transaction before normal state recovery, so restarting after this supposedly local undo can restore the key and resume enrollment; it also leaves private material behind despite the destruction guarantee. Include pending provisioning state in the cancellation and key-destruction procedure, with a test that unenrolling an interrupted provisioning cannot resume it.
Useful? React with 👍 / 👎.
|
|
||
| 0. **Preconditions.** Do: nothing. Check: master holds O2, O10 M10, M1 (both halves), M2 and M4; doperpowers `origin/main` holds M3 and the devcloud plugin installed on this Mac is M3's version (`claude plugin update devcloud@doperpowers` if not); sminos on `origin/main` is at or above 1.26.0; B0 is done; `[owner]` the owner has removed `[desk] provisioning_secret` (the v1 code's id) from `~/.claude/devcloud/driver.toml` and will add `[desk] provisioning_secret_v2` and `[desk] delegation_id` at step 2; the architect has named the VM and Q2 is answered. Undo: none. | ||
| 1. **`[owner]` The VM.** Two paths; the architect's naming decides. | ||
| - **1a, the named VM exists**, created before M3 and enrolled on DX2. Check: `(VM) sminos hub show` prints its DX2 identity and no `cut over`; `sminos daemon status` says `uplink: running (<pid>)`; `~/.config/MAWS/machine.json` is absent, or its ref is unprefixed and `mawsd keys --json` says `"enrollment": "none"` (nothing was ever listed under it). Do, when such a `machine.json` exists, as root through `devcloud vm ssh --root`: stop `mawsd.service`, remove `~/.config/MAWS/machine.json` and `~/.config/MAWS/mawsd/endpoint/`; this is the one time a ref is discarded, and only because nothing was ever listed under it. Check: the files are gone. Undo: none needed. Steps 3 to 7 run as written; the undo rehearsal of step 6 returns the VM to DX2. |
There was a problem hiding this comment.
Remove the VM owner's state rather than root's state
For path 1a with an existing unprefixed identity, the cleanup is explicitly run as root but uses ~/.config/MAWS/.... In that shell, ~ refers to root's home rather than the VM owner's profile where O2 installs the daemon and creates machine.json. The actual unprefixed identity therefore survives, and the later installation cannot mint the delegated ref, preventing the VM from provisioning. Resolve the VM owner's home explicitly and perform the cleanup against that profile.
Useful? React with 👍 / 👎.
…osed by design; Q2–Q10 recorded The hub keeps a re-enrolled machine's DX2 credential (prior_client_id, DX2 routes only) until the listed ref's first RL1 claim, deletes it there, and refuses any DX2 open after a claim (410 cut-over), so the phone's cards have no gap at the mini's cutover and an older sminos cannot evict RL1. Acceptance 4, the cutover undo, B2 steps 4–7, B3 steps 0–1, M2's enroll --cancel, Interfaces §E2, the Decision Log and the Surprises follow. The owner's answers to Q2–Q10 (2026-10-28) are in the register; nothing pends. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…tands under RL Decision Log 29; M5a refuses DX2 to a v2 credential The hub keeps ending a re-enrolled machine's DX2 credential at the redemption; from then until the machine is listed and sminos is welcomed the phone's loop for it pauses inside the owner's 30-minute window (Q3: card test within 10 minutes, undo by 60). The six findings against M6 are the Decision Log's reason. One hardening stands without M6: resolve marks a principal whose enrollment has a posted key v2, and the two DX2 routes refuse it (M5a). Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…e 4 states the owner's window (RL DL29), M6 rejected; O7, O8, O12, O13 updated Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
This PR adds O14's execution document,
docs/doperpowers/plans/2026-10-27-p5-o14-cutover.md, and changes nothing else. O14 is the cutover on the desk side: each machine moves tomawsdand RL1 for good, and then the shared DX1 org key is retired.The document has two parts:
It was drafted against master and the children's branches, then reconciled with O13 after O13 landed (DL69–74, RL DL28). O14's production administration is a set of verbs on O13 M2's
deployment admin. O14 roots nothing, pairs nothing, writes no recovery key, and leaves the admin device's revocation to O8. The parent is pinned at master 4e1f33f.The phone at a re-enrollment (residue 9): a bounded pause, per RL Decision Log 29 (spec PR #251). The redemption ends the machine's DX2 credential, as the hub already does. Until the machine is listed and sminos is welcomed, the phone's loop for that machine pauses, inside the owner's 30-minute window:
M6 proposed keeping the DX2 credential until the endpoint's first RL1 claim. It was withdrawn after its adversarial round found four P1 and two P2 issues. Making it safe would take a migration state machine for a security-sensitive credential, all to save a few minutes inside an approved window. Remote-architecture's point 1 stays as one small hardening in M5a (residue 26): DX2 is refused to a credential whose enrollment has posted a machine key.
Owner inputs, all answered 2026-10-28. Q2–Q8 are the owner's answers. I settled Q9 and Q10 on their recommendations.
keys purge.Review: four
doperpowers:adversarial-reviewerbuildability rounds on the draft (19, 11, 10 and 2 findings, converged), one focused round after the O13 reconciliation (5 findings, folded), and one round on M6 (6 findings, M6 withdrawn). Each milestone PR gets reviewer-high.Flags: O2 (residues 18 and 21), O8 (13 and 16), O12 (17, which I own) and O13 (2, now landed in #247, and 13).
Milestones and briefs
The shared build (one PR each, built by a plan-executor):
src/mawsdhalf needs O2).smns-provision-v2.codec inapps/org-protocol(enrollDelegated's fields, optionallegacyorg key during the window);mawsd endpoint provision(stdin code → live certificate; a four-state resumable transaction withprovisioning.jsonwritten before the first authenticated request);mawsd endpoint retire(the VM retires its own certificate under a durableretirement.json, frees its hub row, destroys its keys);mawsd endpoint unenroll(local: RL10 unserved, private keys destroyed, state aside,machine.jsonkept, the first half of every cutover undo);delegatedinkeys/status; O2's CLI taught to carry a secret forprovisionas forenroll.apps/desk-hub/deploy/; extends O13 M2'sdeployment admin; needs O13 M2).show,enroll(code on/dev/tty+ clipboard; compare name/ref/key id withmawsd keys --jsonbeforelist),delegation create --code-to-stdout(a pipe into Secret Manager through the runners'--pipemode) /drop,machine drop(attended, certificate or phase-1),code strip-legacy|inspect(local transforms),keys retire|purge(M5a's),provisioning revoke; same device, anchor,/dev/ttyconfirmations and scope as O13's; the sharedamendgains a pending-proposal record under a per-anchor lock (O13's verbs inherit it).devenv up, provisioning at boot, retirement at departure (doperpowers).[desk] provisioning_secret_v2,delegation_id,name_prefix→ descriptor →/etc/devcloud/env'sMAWS_DELEGATION_IDbefore step 12; a boot step 13 redeems the code intomawsd(exit 4 deferred to the enroll timer); step 11 stops re-enrolling cut-over machines and installs the daemon withouthub.json;up.pylabels v2 VMs; departure retires throughmawsdand stops it; forced deletes print the admin command.smns-history-attest-v1, carrying the machine'snamesclaim) over the hub's inventory by name (GET /machine/history-inventory?names=), built bymawsd endpoint attest-history [--former …]from the hub's copy, stored and served by the Project DO, verified byorg-protocolwithCertificates {certs, retirements};--checkcompares coverage against the inventory; a consumer contract for O7/O8's "attested at migration" label.OrgState.legacyRetired(optional; the exact-field validator learns it; every verifier must carry the package first); the endpoint follows its head into a tombstone that keeps the key's bytes untillegacy purge; v1 events inert under it;POST /api/org/keys/purgezeroes the wrapped copies on the head's word;legacy retireremoved from the CLI; the hub refuses DX2 (/machine/stream,/machine/frames→403 v2-credential) to a credential whose enrollment has a posted key (resolvemarks the principalv2fromOrgRecords.machineKey(enrollment)), so the credential a re-enrollment minted cannot open DX2 during the owner's window; the production hub runs this build before B2./machine/stream,/machine/frames, org-key POST/DELETE → 404; the project socket'srpcframe →refused retired; enrollment routes untouched (a v1 and a v2 token redeem alike);GET /api/org/keysstays at 410.The briefs (run by the owner's session, the owner at every gate; the mini only through mini-ops):
mawsdwith the prefixed ref;provision; the cutover (automatic); the undo exercised once; dual-coding checks; re-attest; a throwaway VM proves the unattended boot and the delete hook (owner); hand to O10 M11's item 7.bench_scaleat the owner's scale (RL10 mode, from O12); the packaged app built by mini-ops and launched once by the owner (Q4); a "nothing owed" gate inside the owner's 30-minute window (Q3); the code by clipboard over screen sharing, pasted by the owner atmawsd enroll's prompt and compared withmawsd keys --jsonbefore listing; the phone's loop for the mini paused from the redemption (the hub ends the DX2 credential; RL DL29) until sminos's welcome; the card test from the phone within 10 minutes of the cutover; undo by 60 minutes from the redemption; re-attest; O12 M9 verifies.keys retirein the state (reversible; every endpoint tombstones, bytes kept); the soak; M5b merged and deployed (owner; reversible by redeploying M5a's build);keys purgeat the hub (irreversible);legacy purge+hub.jsonremoved on each machine; every browser that unlocked the key forgets it; the v2 code stripped oflegacy(old versions destroyed), the phase-1 key revoked, the v1 secret deleted; a throwaway VM proves v2-only boot and inert history import.What the code showed that the section didn't say
apps/desk-hub/deploy/config.jsonpins noorgGenesis;OrgAdminrefuses production by name and refuses an unpinned config; no app code signs org states; the Org page is O8's, not dispatched, while P5's M1 cuts the VM and the mini over before O8. RL §9 step 1 ("set up the org root") had no owner. → M2 and B0.registry.tsreenrollfences the old credential andmintdeletes every service token of the name at Cloudflare (org-enrollment.test.ts:125-145). The machine is off the hub frommawsd enroll's redemption until it is listed, RL10 is served and sminos's first welcome cuts it over. → the "nothing owed" gate and the bounded pause inside the owner's window (Q3; RL DL29). M6, keeping the credential until the first RL1 claim, was proposed and withdrawn on 2026-10-28 (the section "M6" below).redeemThrough→409 name-takenfor any held name). An existing DX2 VM must have its hub row dropped first; a VM born under the v2 code never has one. → B1's two paths; the code carries the legacy key so new VMs skip DX2 entirely.identity.jsonalone re-cuts the machine over within about a second while the endpoint still serves RL10 (sminos_daemon.py:1253-1256probes at once), resetting the cutover time. Decision Log 51's undo is incomplete. → every undo first stops the endpoint serving RL10 (retire the certificate, or drop the machine from the state), then removes the file; DX2 resumes only with a credential that works (a v1 code from desk-web's Machines page).mawsd endpoint legacy retiredoesn't stick:link.ts:316askslegacy-key?at every hello while no key is held and sminos answers every time fromhub.json. → M5's tombstone, andhub.jsonremoved in the same brief step.log-store.ts:211sameEvent), a re-signed resend is aconflict; the Project DO never verified v1 MACs (only readers did). → M4's digest checkpoint;hub/<member>history stays inert.smns-enroll-v2.lives inapps/desk-hub/src/protocol/identity.ts, notorg-protocol, so DL35's "besidesmns-enroll-v2." named the phase-1 module that B4 retires. → the codec goes inorg-protocol/src/provisioning.ts.hub checkexit 1 reads as "not enrolled",hub enrollis refused, the step fails three times at every boot and every half-hourlyrefresh-secrets;convergeinstalls the sminos daemon only whenhub.jsonexists; departure'sleavefails and nothing retires anything; departure doesn't stopmawsd. → M3.mawsd install --delegation-idis silently ignored whenmachine.jsonexists (identity-file.ts:59-92), and the id comes fromMAWS_DELEGATION_IDat the firstdevenv up(O2 M8 as built), not from "the devcloud seed" (which is a GCP credential). → M3 puts the id in/etc/devcloud/envfrom the driver profile; B1 1a discards an unprefixed, never-listed ref before installing.bench_scale.pyhas no RL10 mode and drives DX2 againsthub_standin.py, so O12 M9's "measure the words pass" can't run as written; and the sminos floor "M8's version" (1.23.0) predates the receipts (1.24.0) andspent(1.26.0). → B2 depends on O12 extending it; the floor is 1.26.0.DELETE /api/org/keys/<id>refuses the last copy (last-key), so retirement needs its own route; and "DX2 and DX6 leave the hub" has no flag — it is route removal. → M5.GET /api/machines'online/seenare DX2 lease presence (DL37: RL1 presence reaches the relay alone), so "no DX2 stream" is checked on the machine (sminos daemon status), not at the hub.mawsd endpoint statushas no "serving RL10" field (checkrl10.json's presence); DL50'schain.jsonlis superseded (the chain is inorg.json); the tailnet ACL is verified for port 22 only (O10 M11's direct carrier); every VM can read every Secret Manager secret (accepted already by the provisioning-keys design).Residue for P5's Decision Log under O14
deployment admin(M2:show,enroll,delegation create|drop,machine drop,code strip-legacy|inspect,keys retire|purge,provisioning revoke): the same admin device, anchor, keys file and/dev/ttyconfirmations, run on production through O13 M1'sproduction-run.sh admin. O14 roots nothing, pairs nothing, writes no recovery key, and never names the admin device's revocation, which is O8's (Decision Log 69, the remote layer's 28). The shared org key its final brief retires is DX1's.deployment admin's sharedamendwrites a signed proposal into the anchor (pending) before posting it, and every verb, O13's included, reconciles a pending proposal before signing another from the same parent (adopt, resend the same bytes, or refusefork), under a per-anchor lock taken at signing time; without it a hub that kept a revocation but answered with an error could obtain a second successor without it. Flags O13 (refresh,pairandremove-deviceinherit the rule)./dev/ttyand the clipboard, pasted atmawsd enroll's hidden prompt; on the mini by screen sharing), and the owner compares the name, ref and key id the command shows withmawsd keys --jsonon the machine before it is listed. A provisioning code goes fromdelegation create --code-to-stdoutthrough the runners' secret-stream mode (admin --pipe) intogcloud secrets create --data-file=-and is refused on a terminal;code strip-legacylikewise. No code is ever a file on a Mac.apps/org-protocol/src/provisioning.ts(corrects Decision Log 35's placement:smns-enroll-v2.is indesk-hub/protocol, which retires with DX7).legacy), so a VM born after M3 never enrolls on DX2, holds nohub.jsonand leaves no phase-1 row; the field is stripped at B4. Rejected: DX2 first, then the certificate (no path to a certificate while the row exists:409 name-taken).delegation.json), written before the redemption so an interrupted provisioning resumes, and retires its own certificate at departure (mawsd endpoint retire), also dropping its hub row; a forced or unreachable delete prints the admin command (production-run.sh admin machine drop <name>, which retires a certificate machine's key by an admin's state change). Decision Log 24's "the delete hook lives in devcloud" holds for the normal path.provisionis a four-state resumable transaction:provisioning.json(the whole redemption, the machine key, the signed certificate, the pins) written before the first authenticated request, the certificate's post idempotent, the write set rebuilt from it alone and completed before the endpoint's key-without-ledger rule runs;enrollDelegatedInto's refusal of an existing enrollment narrows to an attended one or another delegation's.retirekeepsretirement.json(the same signed record andnotAfteron every rerun) and reads a 401 after a posted retirement as the hub's completed DELETE;unenrollandretiredestroy private keys, current and archived, because nothing reuses them and a retirement is trusted only if its key is destroyed (RL §5.2).reenroll's fence,mint'sdeleteNamed), and from then until it is listed and sminos is welcomed the machine is on neither DX2 nor RL and the phone's loop for it pauses (the remote layer's Decision Log 29: §9 step 2's exception, step 4's pause). The pause is bounded by the owner's answer to Q3: a 30-minute window the owner names, entered only with no session waiting and nothing owed, a card test within 10 minutes of the cutover, and an undo back to DX2 within 60 minutes of the redemption; nothing is lost in it, owed deliveries wait, and after the cutover the phone reaches the machine through web-cards. The trust model is the same throughout: accepting one trust model is the machine's rule, enforced at sminos's welcome (O12 M5); the hub is trusted with availability only. M6, keeping the DX2 credential until the endpoint's first RL1 claim, was proposed and withdrawn on 2026-10-28 after its adversarial round (four P1, two P2: the claim is no fence on local DX6 execution;cutOverwould delete before a claim succeeded; a stale principal could reach a name-onlycutOver; confirmation ends expiry so the prior token would outlive a failed listing; deletion by client id where a token id is needed; a second re-enrollment would overwrite the prior credential): making it safe is a migration state machine for a security-sensitive credential, to save a few minutes inside a window the owner approved. The architect amends O14's acceptance 4 in P5 at landing.mawsd endpoint unenroll(RL10 unserved, the private key destroyed,machine.jsonkept), removeidentity.jsonif present, the hub-side drop, then DX2 back with a v1 code where a DX2 exists; a certificate machine usesretirefor the first and third steps; a v2-born VM is recreated, not undone. Amends Decision Log 51's bare "removeidentity.json": sminos re-probes within a second, and a disconnected endpoint never sees the hub's 4403.smns-history-attest-v1) over the hub's inventory of the machine's writers by name, carrying the machine's ownnamesclaim (its former names, read fromsminos hub show, since the Registry holds none), binding only where nomachineNamesentry and no certificate, live or retired, holds the name for another ref; kept by the Project DO, verified byorg-protocolwithCertificates {certs, retirements};--checkcompares coverage against the inventory; readers draw "attested at migration by<name>" by Interfaces §D's contract (O7's log views, O8's project channel);hub/<member>history and unclaimed names stay inert; B4 waits for one reader to draw a migrated event (Q10). Rejected: per-event signatures reposted in place (positions are immutable);projectsfrom the state (empty).legacyRetired, optional; the package's exact-field validator learns it) that every endpoint, present and future, follows into a tombstone keeping the key's bytes until a per-machinemawsd endpoint legacy purge; the per-machinelegacy retireverb O10 shipped is removed; a v1 event under a tombstone is inert ({kind: 'legacy', checked: false}), never held. The hub purges the copies only on the head's word, after a soak, and refuses a successor that un-retires after the purge. The field is published only once every deployed verifier (the hub, each endpoint, O13's web-cards running bundle, O8's app if landed) carries M5a'sorg-protocol. Flags O13 (a desk-web deploy at or after M5a; the phone's page reopened) and O8.rpcframe refusedretired) merged only in B4, so a production deploy from master can't remove the routes early. No "v1 enrollment route" exists: a v1 and a v2 code redeem the same token at the same route; DX7 ends through the phase-1 key's revocation and the v1 secret's deletion. Removed-route probes run authenticated (only/machine/enrollbypasses Access); DX6's removal is checked over the project socket.latestis the most recently created version, so the v2 code's strip is undone by re-adding the old payload, and earlier versions are destroyed at the irreversible boundary.bench_scale.pyan RL10 mode (words pass p95 under 1 s per pass, uplink CPU under 5 % of a core at the Macs' scale) and sminos a boundedsminos daemon owed, which the "nothing owed" gate reads besidesminos list --json'swaiting; O12 also adds a test for the un-cutover branch, which has none. Flags O12.MAWS_DELEGATION_IDcomes from the driver profile ([desk] delegation_id) through the descriptor into/etc/devcloud/env, not from the seed (a GCP credential); the name prefix joins the profile ([desk] name_prefix) so a replacement delegation under another prefix is possible;up.pylabels v2 VMsdevcloud-enroll. Flags O2: its "from the devcloud seed" wording, andmawsd installshould say, not stay silent, when it ignores--delegation-id.--project mawshas nomawsdand, after B4, no way onto the hub; it runs a local-only sminos (the owner accepted, 2026-10-28). Deferred: devcloud installing amawsdrelease at boot from a published pack, doperpowers board docs(spec): desk control surface — path A's machine-side wave (MW1–MW5) #150; B4 does not wait for it.humanevent owed from before the cutover and askedwords?afterwards is refused; the "nothing owed" gate avoids it and a residual one is an accepted one-time cost (extends Decision Log 51; the owner accepted, 2026-10-28; Q9).chain.jsonlis superseded by O10 M2 as built (org.json'schain). A correction, no decision changes.tag:devcloudand the mini before O10's item 7; the 7-day soak between M5b's deploy andkeys purge; B4 waits for one reader to draw a migrated event unless O8's reader lags the soak./machine/stream,/machine/frames:403 v2-credential) to a credential whose enrollment has a posted machine key (resolvemarks the principal fromOrgRecords.machineKey(enrollment), the lookupmachineRefOfalready makes), so the credential a re-enrollment minted cannot open DX2 during the owner's window; the hub cannot mark a row at redemption (a v1 and a v2 code redeem the same token at the same route), so the instant before the key post and a credential whose key post never came are accepted, since nothing is owed and nothing is answered for the machine during the window. In M5a; the production hub runs it before B2. From M6's review, standing without M6.(The first draft's residue items on a
deployment orgfamily, its own admin device and a pairing contract are withdrawn; the list below is the drafter's original, kept for the record.)What O2, O10, O12 and O13 must provide
p5-o2(M9 and its PR are open; master has only the identity-file prefix andprivate-path.ts). On its branch:mawsd installshould warn or refuse when--delegation-idis ignored becausemachine.jsonexists (today silent); its CLI reads a secret forenrollalone — M1'ssrc/mawsdhalf generalizes that to a table (enroll,provision) once O2 is on master, or O2 can do it first; its document's "from the devcloud seed" wording for the delegation id; a decision ongate.yml's packaged job on the mini once the mini runs the realdev.maws.mawsd(B2 step 3 installs the very plist the job forbids).mawsd); M11's item 7 run against the cut-over VM, under the hygiene recipe (a separate user / managed settings aside, or a zero-inference stub), with the tailnet ACL for the direct carrier (Q5); astatusfield saying whether RL10 is being served (today onlyrl10.json's presence shows it). Everything else M1/M4/M5a change insrc/endpoint/is O14's own work on master's module (enrollDelegatedInto's refusal narrowed; the orphan-key rule ordered after a pending provisioning;legacy retireremoved).sminos/tests/bench_scale.py(anendpoint_standin.pystand-in,identity.json, owedhumanevents) and a boundedsminos daemon owedlisting owed deliveries (the "nothing owed" gate reads it besidesminos list --json'swaiting); a test for the un-cutover branch (none exists); M9's verification after B2; its documents' floor (1.23.0 → 1.26.0) and the undo text ("removeidentity.json") amended to this document's order. Nothing else in sminos changes for the cutover.config.jsonthat B0 can then pin; web-cards live with the phone's device approved through M2'sdevice pair/device approve(no app can countersign before O8), so its registration must postPendingDeviceRequest.mac = pairingMac(k, …)under Interfaces §C's contract (the pairing code is base64url of a 32-bytek); before B4, a desk-web deploy at or after M5a'sorg-protocoland a way to read the phone's running build (or its own update mechanism), since the service worker navigates an open page without reloading its script.<name>" when a stored attestation verifies and covers the seq); O8 sends the owner's words v2-only, takes over the org root from M2's admin device through the pairing flow, and carries M5a's package before B4.OrgAdmin's trust in the hub's head remain the design conflicts to record. The re-pin to current master (4e1f33f49: DL74, O13 M2 landed, RL DL29) at landing.Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)