Capabilities
A capability is the name of one permission, and everyone who touches the permission uses the same
name. The Manifest declares it, an operator grants it with yoke plugin grant and the Registry keeps
it, and the Core enforces it. One namespace is what makes admission a set operation, declared against
authorised, rather than a translation. Choosing the names is the author's part, and most of this page is
about choosing them well: a policy that grants a name keeps granting it, whatever the name later comes
to mean.
The families
| Family | Governs | Example |
|---|---|---|
| stream | a stream the unit may publish | stream.spectra.publish |
| command | a command type it accepts, or a query type it answers | command.calibrate.accept |
| occurrence | a class of occurrence it may report | event.calibration-drift.report |
| surface | a behavioural surface | — |
- A query is its own list in the Manifest (
governs.query) and belongs to the command family here. - A permission fitting none of the four has no place in the namespace.
The surface family has no members
governs.surface exists and accepts no value in this release. A Manifest naming a surface is refused.
Everything optional a unit does on this surface is already governed by a stream, a command, a query or an occurrence. What remains — opening a Session, reporting health, raising an error — is the condition of taking part at all.
Names
- Lowercase, dot-separated, most general segment first, written out in full.
- No transient detail: no versions, hostnames or run identifiers.
- A name's meaning never changes. A material change of meaning takes a new name, because every policy that grants the old name would silently grant the new meaning.
- One capability per thing an operator would plausibly grant or withhold on its own.
- No description of a capability appears in a Manifest.
No schema can check the second and third rules; they are rules about an author's future edits.
How a grant is stored
| what the Registry stores | a set of names |
| what the Core checks | exact membership |
| where a group is expanded | when the policy is written, never when it is checked |
The mapping is written, never derived
A capability's name and the identifier of what it governs are separate names, joined in the Manifest's
governs block. No rule derives one from the other.
A stream identifier is a path component and is validated as one. A capability name is not, and it is never resolved against a filesystem.
Observation grants nothing
What the Core sees a unit exercise is evidence and stays evidence. Nothing reads the record of what a unit did to decide what it may do.