Repository navigation
remote layer: revocations live in the signed state, certificate names in their delegation's namespace (Decision Logs 24, 25) - #199
Merged
Conversation
An admin-signed certificate revocation, verified against the current admins, lost its signer once that admin was demoted or rotated, and the revoked certificate got its authority back (O11 M1's review). Every admin retirement and revocation is now a state change: RL5 gains an append-only `revoked` for every key class, which also makes Decision Log 23's check stateless. The delegation key's own retirement record stays, with the delegation made immutable so its signer can't lapse. Grants and ownersProof get the same treatment of signer lifecycle. Sminos-Session: remote-architecture#3502a215 (macbook on macbook)
…(Decision Log 25) A delegation's key could mint a certificate under an enrolled machine's name, retire it at once with a future notAfter, and sign events as that machine, because the name conflict rules see live claims only (O11 M1). RL5 now keeps machineNames out of every delegation's prefix and keeps prefixes from matching or nesting, so a certificate's name never meets another namespace. Refs claimed under two delegations are refused, live or retired. Inside one delegation the key's reach is its trust domain. Sminos-Session: remote-architecture#3502a215 (macbook on macbook)
…mes compare without case Refusing refs that two delegations' certificates claim held only while the hub served both (desk-sminos-orchestrator). A delegated machine's ref now starts with its delegation's id and `_`, so the rule needs the certificate alone. Names and prefixes compare by their lower-cased key, as the hub's machineNameKey does, since names become file names on disks that ignore case. Sminos-Session: remote-architecture#3502a215 (macbook on macbook)
…mes current again The adversarial review on #199 found two lifecycle gaps. The ref lives in the profile's machine.json, outside mawsd's state (P5 O6), so a daemon that lost its grant ledger kept its ref and could accept a replayed, superseded grant. A grant now names the machine key it was signed for, and a daemon that loses its state re-enrolls with a new key and refuses every grant from before. And `retired` was not disjoint from current keys, so a K1 -> K2 -> K1 rotation restored K1 past its notAfter. Sminos-Session: remote-architecture#3502a215 (macbook on macbook)
SSFSKIM
marked this pull request as ready for review
October 27, 2026 02:27
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. |
SSFSKIM
added a commit
that referenced
this pull request
Oct 27, 2026
…cceptance and five duties, O2's backup exclusion, a VM's ref under its delegation id; O10's answers to O2's seam) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 27, 2026
Sminos-Session: desk-sminos-orchestrator#b4948247 (doperpowers 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.
desk-sminos-orchestrator's P1 from O11 M1's review: an admin-signed certificate revocation or retirement is checked against the current state's admins, so once the signing admin is demoted, removed or rotated it reads as from an unknown signer, and the revoked certificate gets its authority back.
Every admin retirement and revocation is a state change. RL5 gains an append-only
revoked: {keyId, holder}[]for every key class, generalizing the proposedrevokedCerts. A key leaving the state entersretiredorrevokedin that step, and a key leavesretiredonly intorevoked. Decision Log 23's check becomes a check on a state and its predecessor.The delegation key's retirement of its own certificates stays a record (
devcloud vm deletestays unattended). A delegation'sid,pubandprefixnever change,expiresmoves only while both values lie ahead, and an expired delegation stays in the state, so the record's signer can't lapse.Across a root transition, the first state under the new root is authoritative for
revoked.The same signer-lifecycle gap in grants (§6.3) and
ownersProof(RL9) is closed.Decision Log 25 (desk-sminos-orchestrator, from a forgery O11 M1 found): certificate names live in their delegation's namespace. No
machineNamesname lies under a delegation prefix, prefixes never match or nest, and a ref claimed under two delegations is refused, live or retired. Inside one delegation the key's reach is its trust domain.From the adversarial review (doperpowers:adversarial-reviewer, two rounds, approved at 3f8a9c2): a grant names the machine key it was signed for, so a daemon that lost its state (and with it its key and grant ledger, while its ref survives in
machine.json) refuses every grant from before; and a key inretirednever becomes current again (the K1 → K2 → K1 case). A certificate's ref starts with its delegation's id, and names compare by their lower-cased key.Sminos-Session: remote-architecture#3502a215 (macbook on macbook)