Repository navigation
Merged
Conversation
…d refusals and its vectors (P5 O14 M1) Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
… O12 M7c) Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…s (P5 O14 M1) provision redeems a smns-provision-v2. code into a live certificate as a resumable four-state transaction (delegation.json and the legacy key before any hub call, provisioning.json before the first authenticated request, the write set rebuilt from it, completed at start before the key-without-ledger rule); retire signs the certificate's retirement with the delegation key, frees the hub row and destroys the keys once both calls are marked in retirement.json; unenroll is local: RL10 unserved, every private key destroyed with its id kept, the rest moved aside. The src/mawsd half follows O2. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
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. |
… in-flight provision (review round 1) Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
… and inbound/ kept by unenroll, a pending redemption shown; the vectors' legacy key allowlisted (P5 O14 M1) Enroll, provision (up to its write set), retire and unenroll run one after another, so an unenroll is never undone by a provisioning that awaited its certificate's answer; a wait for the listing that outlives its enrollment is refused unenrolled. unenroll keeps signatures/ and inbound/ in place (the spec's revised move list). A held provisioning.json shows hub-confirmed and delegated in keys and status. The push scan's gitleaks config allowlists the fixed legacy key of the provisioning vector, by rule, path and exact value. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…der another org, hub or recovery key moves signatures/ and inbound/ aside (P5 O14 M1, review round 2) records-authority.json beside the kept directories names the org, hub and recovery key they were made under; written with an enrollment's set (or at unenroll, for an enrollment made before it), compared when the next set is written, and on a mismatch the records and the marker move to a stale-<time>/ and RL10's ledger and replay-index caches are dropped. A same-authority redo still reuses its signatures. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…ed as their authority (P5 O14 M1, review round 3) claimRecords and unenroll derive a missing marker only from an enrollment whose set is already written, never from a pending provisioning.json (written before its set, so it named the very enrollment claiming the records): unmarked records with no earlier enrollment to name them move aside. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…bstone A pending provisioning's first sync precedes its enrollment set, so M5a's first-synced-state rule saw no org and kept the code's key. The legacy key now takes a pending provisioning's org; the test also checks that M5a's legacy status/purge meets the copy unenroll moves aside. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 28, 2026
…alf waits for O2 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.
P5 O14 M1, the
org-protocolandsrc/endpointhalf: the v2 provisioning code, its redemption, the certificate's retirement and the local unenroll (docs/doperpowers/plans/2026-10-27-p5-o14-cutover.md, M1; Interfaces §A, §B).apps/org-protocol/src/provisioning.ts: thesmns-provision-v2.codec (encodeProvisioningCodeV2/decodeProvisioningCodeV2), with named refusals and the optionallegacy, plus aprovisioningvectors section.mawsd endpoint provision [--name N] [--wait [s]] [--json]is a resumable transaction over four states: nothing held,provisioning.jsonheld,hub-confirmedwith a certificate, andorg-listed.delegation.jsonandprovisioning.jsonare written before the hub calls they guard, so a rerun after any interruption never redeems twice. The exit codes are 0 for listed, 4 forhub-confirmedor a transient failure, and 1 for a refusal.mawsd endpoint retiresigns aCertRetirementwith the delegation key and keeps it durably inretirement.json. It then posts it, DELETEs the enrollment, and destroys the machine key and the delegation key. A lost answer is reconciled on the rerun.mawsd endpoint unenrollis local and contacts no hub. RL10 stops being served at once. Every private key is destroyed, archived ones included, and their key ids are kept instale-<ISO>/keys.json. The rest of the state moves aside andmachine.jsonis kept.delegatedis added tokeys --jsonandstatus --json.Not in this PR:
src/mawsdhalf (secret-reading forprovision) waits for O2 on master and follows asp5-o14-m1-mawsd.provision's byteless tombstone is carried by whichever of M1 and M5a lands second (the refresh entry of the spec's Decision Log, 2026-10-28).Validation Evidence
doperpowers:reviewer-high, five rounds; correct at rounds 4 and 5.signatures/aside re-signed held positions. P2, a pending redemption showed asnone. Fixed inc10e6ecf7: lifecycle verbs are serialized,signatures/andinbound/are kept, and a pending redemption shows ashub-confirmed. The spec's move list was revised.37a385a7cwithrecords-authority.json.ea50a9b92, which fails closed.963d33a99): correct.scripts/ci-gate.sh <wt> --gates static,unit,probes --class1a pool.c10e6ecf7(run 40630081164), at75938e1f9(run 40631703380), and at963d33a99after the merge with M5a (run 40634099729).node --test .github/scripts/maws-app-scan.test.mjs8/8.Residue
src/mawsdhalf, waiting on O2.Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)