[roads] Mark's decision: person and group grants leave classic devices out

Mark, 2026-11-25, "Leave classic out": a grant to a person or a group covers
only their post-quantum devices. A classic router is reached only through a
device: road of its own, which says classic: true. Before, a person grant
covered their classic devices and so needed classic: true itself, and one
classic device blocked every road of its owner (builder's self-review #5).
New test a_person_grant_never_covers_their_classic_device, which fails with
the old compiler. Docs and HANDOVER updated: 91 tests, debug and release.
This commit is contained in:
2026-11-25 10:58:57 +01:00
parent 18e0c50e08
commit 3b39ce137d
5 changed files with 65 additions and 14 deletions
+5 -2
View File
@@ -57,8 +57,11 @@ change.
| `never-online-without` | person, group, device | exit | `until` | nothing: the kill switch |
| `custom` | device | — | `until`, `classic` | nothing the compiler checks: the raw block is carried, verbatim and labelled |
- A person's grant covers **every device whose owner is that person** in `devices.json`; a group's covers every
member's devices. Removing a device from a person removes its access on the next compile.
- A person's grant covers **every post-quantum device whose owner is that person** in `devices.json`; a group's
covers every member's post-quantum devices. Removing a device from a person removes its access on the next
compile. **Classic devices are left out** of person and group grants (Mark, 2026-11-25, "Leave classic
out"): a classic router is reached only by a `device:` road of its own, which says `classic: true`. So one
classic device no longer blocks its owner's roads (the builder's self-review #5).
- `classic` must be `true` on any road that would create a peer with a classic (not post-quantum) device. It is
the road saying out loud that this path is not post-quantum. Without it the road grants nothing.
- `until` is exclusive and compared with `now`, which is a parameter. Each plan carries `expires`, the earliest