Decidable summary of the governed dimensions touched by a consequence.
Rows deliberately remain a small boolean vocabulary. Domain-specific
classes, targets and quantitative limits live in Spectre.GAM.Surface and
Spectre.GAM.Mandate; a row only states which kinds of power are involved.
Summary
Functions
Returns the plain, string-keyed ledger representation.
Returns the stable digest of a row.
Returns enabled dimensions in stable vocabulary order.
Restores a row from its canonical map.
Returns the fixed governed-dimension vocabulary.
Builds and validates an effect row. Omitted dimensions are false.
Returns true when every enabled dimension in row is enabled by ceiling.
Validates an effect row without changing it.
Types
@type dimension() ::
:attempt
| :observe
| :read
| :write
| :disclose
| :spend
| :delegate
| :govern
| :present
Functions
Returns the plain, string-keyed ledger representation.
Returns the stable digest of a row.
Returns enabled dimensions in stable vocabulary order.
Restores a row from its canonical map.
@spec known_dimensions() :: [dimension()]
Returns the fixed governed-dimension vocabulary.
Builds and validates an effect row. Omitted dimensions are false.
Returns true when every enabled dimension in row is enabled by ceiling.
Both arguments may be structs, keyword lists or canonical maps. Malformed
rows fail closed and return false; unknown keys are never ignored.
Validates an effect row without changing it.