Expand description
The version gate: every command’s class, and the check a gated command makes against its target’s landing record before its handler runs.
CLASSES is the one table of every action and its class. classify
resolves a parsed command to its class, its effect, and its target, and
require_aligned judges the record against this binary. The gate
never writes, never moves a pin, and never runs init or upgrade by
itself.
SATISFIES version-gate:every-command-has-a-gate-class
Structs§
- Gated
- One gated action: its class, its effect, and the target it judges.
Enums§
Constants§
- CLASSES
- Every action of every command family and its class.
Functions§
- classify
- The class, effect, and target of one parsed command, or
Nonefor an action the gate never judges: an exempt action,upgrade, and an action with no target. - require_
aligned - Judge
command’s target record against this binary before its handler runs, by the rows ofversion-gate:a-gated-command-names-its-fix.