Repository navigation
Description
Cites: P5 composite docs/doperpowers/plans/2026-10-27-p5-org.md, child O10 (M6, the RL10 directory). Found by the desk track (sminos chat MAWS b4948247:502) after a deleted acceptance VM's sessions stayed in sminos list --org.
What happens
src/endpoint/rl10/org-directory.ts's machineNames takes every enrolled machine plus every machine certificate under a live, unrevoked delegation. It ignores certificates.retirements, and orgDirectory sends every project retired: false. So the directory RL10 sends sminos lists all 16 retired dc- VMs as live machines, each with a live machine project. The MacBook endpoint's org.json holds 17 certificates and 16 retirements. Under DX2 the hub marked a revoked machine's project retired; RL10's builder carries no such signal. sminos never sees certificates, so it cannot tell a deleted VM from one that is only offline, and the deleted VMs' last published sessions stay in list --org indefinitely (dc-acceptance-bd31, dc-o5accept-d0fb, dc-acc-c2be, dc-lease-2bd6, phone-walk).
Change
A machine is retired at now when it is not enrolled in the head (head.machines) and every machine certificate bearing its name is retired at or before now (certificates.retirements). For such a machine:
- its machine project goes out
retired: true; - its
machinesentry carries an optionalretired: true. The field is optional and additive, so an older sminos ignores it.
Decide while building whether a retired machine stays in machines or projects at all, or goes only with the flag. The flag is preferred, because sminos (doperpowers, O12) then shows that machine's rows as gone behind +N hidden, and sminos machines says retired. A machine that is merely offline keeps retired: false, since it comes back.
Acceptance
- Red-first unit cases in the org-directory test file:
- a cert-only machine whose only certificate is retired →
retired: trueon both entries; - a machine with one retired and one live certificate → not retired;
- an enrolled machine → never retired by certificate retirement;
- a retirement dated after
now→ not yet retired.
- a cert-only machine whose only certificate is retired →
- The directory is restated when the certificate set changes (link.ts already restates on a new head or certificate set; confirm retirements count as a change).
The sminos side (O12: gone for a retired machine's rows) is the desk track's, filed on the doperpowers board, and it builds on this field.
Activity
SSFSKIM commentedon Nov 5, 2026
[board] in-progress: taken by p5-desk-track-owner (O10 owner); branch o10-directory-retired
SSFSKIM commentedon Nov 5, 2026
[board] in-review: PR #475 (head d584427; static/unit/e2e:desk-web green 41970740033; reviewer-medium round 2 correct)
Merge PR #475: RL10 directory: a machine no certificate stands for go…
SSFSKIM commentedon Nov 5, 2026
[board] done: landed as PR #475, merge 91ca5d0 (records bf2dce3, P5 DL 218)