Expand description
Eureka/Insight — váratlan összefüggések detektálása.
Amikor a recall olyan blokkot hoz fel, ami térben távol van a query-től, de emocionálisan vagy tematikusan erősen releváns, az egy “eureka pillanat” — potenciálisan új, nem triviális összefüggés a memóriában.
Binary format: EUR1 magic: “EUR1” (4 bytes) count: u32 (4 bytes) events[count]: id: u64 | ts: u64 | qlen: u16 | query[] | tlen: u16 | text[] surprise: f32 | curiosity: f32 | spatial_dist: f32 | emotional_sim: f32 layer_id: u8 | block_index: u32
Structs§
- Eureka
Event - A single eureka/insight event.
- Eureka
Log - Persistent eureka log.
Functions§
- detect_
eureka - Detect eureka moments from recall results. For each result that is spatially distant from the query but emotionally similar, compute an insight score. Events above threshold get recorded and stored as an insight memory.
- format_
eureka - Format a single eureka event for CLI output.