pub enum BrainSignal {
RecallHit {
target_id: Uuid,
latency_us: i64,
},
RecallMiss,
SearchCompleted {
latency_us: i64,
},
Feedback {
target_id: Uuid,
signal: FeedbackSignal,
served_by_profile_id: Option<String>,
},
NoteAccessed {
target_id: Uuid,
},
Irrelevant,
}Expand description
Interpreted brain signal extracted from a raw Event (ADR-032 §4).
interpret() is the single mapping layer from the shared event log to
brain-internal signals. No parallel event enum is needed; the Event
substrate IS the source of truth.
Variants§
RecallHit
A recall verb succeeded — positive signal for the recalled entity.
RecallMiss
A recall verb returned no results — miss signal for tuning.
SearchCompleted
A search verb completed.
Feedback
Explicit feedback on a specific entity, emitted by brain.feedback.
Fields
§
signal: FeedbackSignalNoteAccessed
Any other note-substrate access (get, list on notes).
Irrelevant
Event is not relevant to the brain.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BrainSignal
impl RefUnwindSafe for BrainSignal
impl Send for BrainSignal
impl Sync for BrainSignal
impl Unpin for BrainSignal
impl UnsafeUnpin for BrainSignal
impl UnwindSafe for BrainSignal
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
Mutably borrows from an owned value. Read more