[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:
+5
-2
@@ -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
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ never widens a road (QA F-09). `ports: []` is `ports.format`.
|
||||
|
||||
| Form | Meaning | Id rules |
|
||||
|:--|:--|:--|
|
||||
| `person:<id>` | a person in `directory.json` | opaque: 1–64 of `[A-Za-z0-9_-]` (no people directory exists in Fundamentum yet) |
|
||||
| `person:<id>` | a person in `directory.json`: their post-quantum devices (classic devices are never covered by a person or group, only by their own `device:` road) | opaque: 1–64 of `[A-Za-z0-9_-]` (no people directory exists in Fundamentum yet) |
|
||||
| `group:<id>` | a group in `directory.json` | as a person id |
|
||||
| `device:<key>` | a device in `devices.json` | the Tessera device subkey: 32-byte Ed25519 public key, base64url without padding, 43 characters, canonical |
|
||||
| `app:<id>` | a Domi app, on the devices its road's `on` names (QA B-3) | the Tessera id: 1–32 of `[a-z0-9-]`, not starting or ending with `-` |
|
||||
|
||||
Reference in New Issue
Block a user