Skip to content

RL10 directory: a machine no certificate stands for goes out retired (#474) - #475

Merged
SSFSKIM merged 4 commits into
masterfrom
o10-directory-retired
Nov 5, 2026
Merged

SSFSKIM merged 4 commits into
masterfrom
o10-directory-retired

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Closes #474. With this change, the endpoint's RL10 org frame tells sminos when a machine has retired, such as a deleted devcloud VM. Until now the frame listed every retired dc- machine as a live machine with a live machine project, so sminos kept a deleted VM's last published sessions in list --org indefinitely (dc-acceptance-bd31, 2026-11-05).

The rule. A machine is retired at now when two things hold:

  • the head doesn't enroll it under any name, former names included;
  • no certificate stands for it at now. A standing certificate is authentic, its key isn't revoked, and its notAfter is still ahead: the delegation's expires, or the certificate's retirement if that comes sooner.

What a retired machine looks like in the frame.

  • Its machine project goes out retired: true.
  • Its machines entry carries an optional retired: true. Older sminos ignores the field.
  • Its name stays in the list, so sminos can tell a retired machine from one it was never told of.
  • A machine that is only offline is not affected.

Changes.

  • apps/org-protocol/src/records.ts: a new standingCertNames(state, set, now). It reads the existing certViews, so retirement and authenticity are judged exactly as the signer checks judge them.
  • src/endpoint/rl10/org-directory.ts: orgDirectory is now async and marks retired machines.
    • Every name head.machineNames binds 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 await adopted(), 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: true drops 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

Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)

… 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)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T05:14:31.948924Z d584427 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit 91ca5d0 into master Nov 5, 2026
SSFSKIM added a commit that referenced this pull request Nov 5, 2026
…M10 sitting rulings on Touch ID, message reach (#477) and switchable connectors (#476) (DL 219)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
@SSFSKIM
SSFSKIM deleted the o10-directory-retired branch November 5, 2026 06:25
SSFSKIM added a commit that referenced this pull request Nov 5, 2026
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RL10 directory: a machine whose certificates are all retired goes out retired

1 participant