#[non_exhaustive]pub enum AuditEvent {
Forget(ForgetReceiptData),
VerifierArbitration {
winner_id: Option<String>,
loser_id: Option<String>,
reason: String,
backend: String,
decided_at_iso: String,
},
ConsolidatorPromotion {
episode_id: Ulid,
fact_id: FactIdData,
activation_score: f64,
},
ConsolidatorArchive {
fact_id: FactIdData,
final_activation: f64,
moved_to: String,
},
ReflectInvalidation {
ulid: String,
scope: String,
invalidated_at_iso: String,
turn_id: Option<String>,
},
}Expand description
Canonical typed audit event. Externally-tagged so the JSON wire shape
carries "kind": "<variant-name>" for grep-friendly ops triage.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Forget(ForgetReceiptData)
Emitted by Lunaris::forget after every successful call (D-22 / OPS-04).
VerifierArbitration
Emitted by the lunaris-verify worker after every applied
VerifyDecision. backend is a bare string — the upstream
VerifierBackend enum serializes as external tag ("CloudAnthropic");
the flat String on this canonical variant preserves that byte shape
without dragging lunaris-verify into the core dependency graph.
Fields
ConsolidatorPromotion
Per-promotion event (one per Episode→Fact promotion).
ConsolidatorArchive
Per-archive event (one per archived Fact).
ReflectInvalidation
Emitted by ScopedLunaris::end_turn after each successful reflect-driven
MVCC invalidation (D-22). One event per fact ulid stamped. turn_id is
None when the caller did not supply a turn boundary identifier.
Fields
Trait Implementations§
Source§impl Clone for AuditEvent
impl Clone for AuditEvent
Source§fn clone(&self) -> AuditEvent
fn clone(&self) -> AuditEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AuditEvent
impl Debug for AuditEvent
Source§impl<'de> Deserialize<'de> for AuditEvent
impl<'de> Deserialize<'de> for AuditEvent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuditEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuditEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for AuditEvent
impl PartialEq for AuditEvent
Source§impl Serialize for AuditEvent
impl Serialize for AuditEvent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for AuditEvent
Auto Trait Implementations§
impl Freeze for AuditEvent
impl RefUnwindSafe for AuditEvent
impl Send for AuditEvent
impl Sync for AuditEvent
impl Unpin for AuditEvent
impl UnsafeUnpin for AuditEvent
impl UnwindSafe for AuditEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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