Skip to main content

Module intervention

Module intervention 

Source
Expand description

Immutable intervention scheduling and evidence using the shared capture ledger. Prospective intervention scheduling under the ordinary capture/run owner. There is no additional sampling loop or native-resource owner here.

Structs§

CaptureObserver
Borrows the existing capture owner. Backends provide native primitives and a typed error conversion; this adapter owns no completion or native recovery state.

Functions§

apply_activation
Executes the shared activation recipe. Direct callers receive the same runtime validation as admitted runs; no primitive receives the public action enum.
install_session
Installs one immutable run after validation. Both capture-only and combined plans obey the same replacement rule; empty runs keep the ordinary fast path.
preflight
Joint preflight counts every ordinary capture, intervention diagnostic and before/after transform against the same per-step and cumulative budgets.
validate_session
Revalidates exact retained session capabilities before shared geometry/budget traversal. Callers first validate native execution-mode facts and capture support.