Repository navigation
RL10 directory: a machine no certificate stands for goes out retired (#474) - #475
Merged
Merged
Conversation
… stands for it (red) Five cases for MAWS #474: a certificate-only machine whose only certificate retired goes retired on its project and its machines entry, while an offline one does not; a machine with one standing certificate stays; an enrolled machine never retires; a future retirement takes effect only at its notAfter; a retirement its delegation did not sign counts for nothing. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…(MAWS #474) The endpoint's org frame listed every machine certificate under a live delegation as a live machine with a live project, retired or not, so sminos never learned that a deleted devcloud VM was gone and kept its last published sessions in `list --org`. A machine the head doesn't enroll and none of whose certificates stands at now (authentic, key unrevoked, notAfter ahead) now goes out with its machine project `retired: true` and an optional `retired: true` on its machines entry. org-protocol's new standingCertNames reads certViews, so retirements and authenticity are judged as the signer checks judge them. orgDirectory becomes async; link.ts's restate awaits it. O10's plan records the rule and a Decision Log entry. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…ents land in order (red) Two review findings on the directory's retired machines (MAWS #474): a forged certificate bearing an enrolled machine's former name marks it retired, and a restatement begun on an older head can land after a newer one's. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…mer names never retire (MAWS #474) The endpoint's head listeners call `adopted` without awaiting it, and the directory's build is async since it judges retirements, so a restatement begun on an older head could finish last: it sent a stale `org` frame and overwrote what the connection was told. `#restate` now queues each run on one promise chain, each reading the head as it starts; a failed run still rejects to its caller and leaves the next to run. An enrolled ref still signs under its former names (`machineSigners`), but only its current name was exempt, so a forged certificate bearing a former name marked it retired. Every name `machineNames` binds to an enrolled ref now counts as enrolled; which names the directory lists is unchanged. 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. |
SSFSKIM
added a commit
that referenced
this pull request
Nov 5, 2026
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.
Closes #474. With this change, the endpoint's RL10
orgframe tells sminos when a machine has retired, such as a deleted devcloud VM. Until now the frame listed every retireddc-machine as a live machine with a live machine project, so sminos kept a deleted VM's last published sessions inlist --orgindefinitely (dc-acceptance-bd31, 2026-11-05).The rule. A machine is retired at
nowwhen two things hold:now. A standing certificate is authentic, its key isn't revoked, and itsnotAfteris still ahead: the delegation'sexpires, or the certificate's retirement if that comes sooner.What a retired machine looks like in the frame.
retired: true.machinesentry carries an optionalretired: true. Older sminos ignores the field.Changes.
apps/org-protocol/src/records.ts: a newstandingCertNames(state, set, now). It reads the existingcertViews, so retirement and authenticity are judged exactly as the signer checks judge them.src/endpoint/rl10/org-directory.ts:orgDirectoryis now async and marks retired machines.head.machineNamesbinds to an enrolled ref is exempt. That covers former names too, since the ref still signs under them. Without the exemption, a forged certificate bearing a former name would have marked it retired.src/endpoint/rl10/link.ts: restatements run one at a time, each reading the head as it starts. The head's listeners don't awaitadopted(), so before this an older async restatement could finish last and leave sminos told a stale directory.docs/doperpowers/plans/2026-10-27-p5-o10-endpoint.md: the directory line is amended, and a Decision Log entry (2026-11-05) records the rule.What deploying it changes on the machines. The first frame carrying
retired: truedrops the retired machines' projects from each cut-over sminos's followed set. sminos's uplink handles that by ending its stream once and reconnecting (EndStream, "no longer a hub project"), the path DX2 used for a revoked machine. The reviewer ran installed sminos 1.33.0 against 16 simultaneous retirements: one reconnect, then a completed restatement.Limit. A retirement dated in the future takes effect at the first restatement after its
notAfter. Restatements happen on a new head or certificate set. Devcloud retires a VM's certificate as of the moment it leaves, so this doesn't arise there.The sminos side is doperpowers board #171: rows of a retired machine read
gone. It builds on this field once this lands.Validation
test/endpoint/rl10/units.test.tsadds six directory cases: a certificate-only machine whose only certificate retired; one with a standing certificate; an enrolled machine; an enrolled machine's former name, with a forged certificate bearing it; a future retirement; and a retirement its delegation didn't sign.test/endpoint/rl10/review.test.tsadds a case that pins restatement order with no sleep.Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)