Skip to main content
Version: 0.16.0

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​

FamilyGovernsExample
streama stream the unit may publishstream.spectra.publish
commanda command type it accepts, or a query type it answerscommand.calibrate.accept
occurrencea class of occurrence it may reportevent.calibration-drift.report
surfacea 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 storesa set of names
what the Core checksexact membership
where a group is expandedwhen 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.