pub enum AuditProducer {
GateDenied,
GateUnavailable,
DispatchSucceeded,
DispatchFailed,
EffectiveTargetCheck,
UnknownVerb,
GitDigestReceipt,
ConfigLocked,
RecallExecuted,
}Expand description
Every call site that can submit a row through AuditBatchControl.
Adding a variant here without extending the crate-private classify
function’s match is a compile error — there is no wildcard arm.
Variants§
GateDenied
The gate denied a dispatch; the denial itself is audited.
The gate backend was unreachable and the dispatch failed closed; the
refusal is audited best-effort: the typed GateUnavailable refusal
already fails the dispatch, so a lost row degrades diagnostics only.
DispatchSucceeded
A pack dispatch returned a successful result.
DispatchFailed
A pack dispatch returned an error result.
EffectiveTargetCheck
A redirected KG read consulted the gate on its effective entity id.
UnknownVerb
The gate allowed a verb no pack owns.
GitDigestReceipt
The strict git.digest success receipt (schema v2).
ConfigLocked
A drained process-lifetime OnceLock config-lock row.
RecallExecuted
A memory.recall execution’s pure-observability audit row.
Classified and ready for routing, but not yet wired to a live call
site in this slice: khive-pack-memory’s recall handler reaches only
KhiveRuntime (crates/khive-runtime/src/runtime.rs), which does not
hold this batch seam and is outside this change’s file ownership
(final_file_ownership_r2.md assigns runtime.rs to the D8 author).
Wiring this variant to emit_recall_executed_event needs either an
ownership-map amendment granting runtime.rs a narrow accessor, or
threading a second seam onto KhiveRuntime — both out of scope here.
Trait Implementations§
Source§impl Clone for AuditProducer
impl Clone for AuditProducer
impl Copy for AuditProducer
Source§impl Debug for AuditProducer
impl Debug for AuditProducer
impl Eq for AuditProducer
Source§impl PartialEq for AuditProducer
impl PartialEq for AuditProducer
impl StructuralPartialEq for AuditProducer
Auto Trait Implementations§
impl Freeze for AuditProducer
impl RefUnwindSafe for AuditProducer
impl Send for AuditProducer
impl Sync for AuditProducer
impl Unpin for AuditProducer
impl UnsafeUnpin for AuditProducer
impl UnwindSafe for AuditProducer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more