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>,
section_signals: Option<HashMap<SectionType, FeedbackSignal>>,
},
SemanticFeedback {
target_id: Uuid,
event_kind: FeedbackEventKind,
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.
SemanticFeedback
Semantic feedback with event kind (issue #268).
Produced when the signal field in a brain.feedback event is one of
the FeedbackEventKind names (explicit_positive, correction, etc.).
The fold uses event_kind.update_weight() to scale the posterior update.
NoteAccessed
Any other note-substrate access (get, list on notes).
Irrelevant
Event is not relevant to the brain.