Skip to main content

Module actuation_gate

Module actuation_gate 

Source
Expand description

Role separation (Measured, Model, Derived, Command, OpaquePreserved), empirical join epistemic-class filtering (Schema 134), and fail-closed simulator actuation gate for QAC Schema 207 (actuator-command) and Schema 208 (transmit-command) per C02-C07.

Structs§

AdmittedSimulatorCommand
Non-copy single-use token proving that a simulator command passed all C02-C07 gates.
CommandReplayLedger
Bounded zero-heap replay ledger for simulator command receipts.
ProvenanceRoleRecord
Provenance descriptor (Schema 4) checked for role-specific required fields (C02-C07).
SignedSimulatorCommandReceipt
Signed simulator command receipt bound to exact device profile digest, contact/array coordinate frame ID, half-open command expiry window $[t_0, t_{\text{exp}})$, and grant digest.
SimulatorCommandClaims
Unsigned claims committed inside a simulator command receipt (Schema 207 / Schema 208).
SimulatorCommandRequest
Request parameters for simulator command admission (Schema 207 / Schema 208).

Enums§

ActuationGateError
EpistemicClass
EMF Schema 134 (ModelEvidence.epistemic_class) enumeration.
HapticSchema207Role
QAC Schema 207 (Haptic.role) enumeration.
PassiveArtifactKind
Passive observations, integrity digests, or consent/calibration identifiers that C02-C07 explicitly forbids from authorizing simulator or device actuation.
ProvenanceRole
Shared Schema 4 key 1 (Provenance.role) enumeration.
SimulatorCommandKind
Simulator command target schema and domain role.
UltrasoundSchema208Role
QAC Schema 208 (UltrasoundAcquisition.role) enumeration.

Constants§

COMMAND_RECEIPT_DOMAIN
Domain separator for BLAKE3 simulator command authority receipt digests.
COMMAND_SIG_DOMAIN
Domain separator for Ed25519 signatures over simulator command receipts.
MAX_COMMAND_REPLAY_ENTRIES
Maximum entries in the zero-heap simulator command anti-replay ledger.

Functions§

admit_simulator_command
Admit a simulator command (Schema 207 actuator-command or Schema 208 transmit-command) only when all C02-C07 conditions hold:
reject_passive_artifact_for_actuation
Unconditionally reject any attempt to treat a passive observation, metric, digest, calibration receipt, or passive consent ID as actuation authorization (C02-C07).
verify_empirical_join_admission
Enforce C02-C07 empirical join admission across two streams: