Expand description
Session consistency (PLUGIN-SPEC §9): the same-process guard, the session-lifetime quarantine, and the two audit lines.
What the guard is and is not (§9.1, stated honestly): the recorded digest lives in one audit line, not in the store — no table, no payload, no read API — so it is not a durable baseline. The guard compares only within one process lifetime: a cross-process restart re-resolves from the current config and v1 cannot detect that the config changed (§16.2 owns that gap; only durable pinning closes it). Inside one process the check fires only if resolution stops being a pure function of (config snapshot, durable binding) — a future reload path, or a scope read from mutable state — which is exactly the invariant it exists to guard, fail-closed.
The runtime here is installed once at boot by the assembly
([HookBus::install_sidecars]) and never reloaded; the config
snapshot is therefore fixed for the process lifetime (§13.1). With
no runtime installed (the sidecars: section absent) every method
is a no-op and dispatch is byte-identical to a build without the
feature (§13.3).
Structs§
- Sidecar
Runtime - The boot snapshot the guard recomputes against: the validated
sidecars:config plus the successfully mounted manifests (a refused optional instance is absent, §6.2 — its refusal audit line is the record).
Traits§
- Session
SetGuard - The §9 guard surface a drain boundary calls: implemented by
HookBusand injected where the loop drivers know the session’s identity. This is not an eighth interception port (§4’s seven are frozen); it is the consistency guard’s own seam, called at drain/claim boundaries, never mid-turn.