pub struct FiveSignalConfig {
pub enabled: bool,
pub w_recency: f64,
pub w_relevance: f64,
pub w_frequency: f64,
pub w_causal: f64,
pub w_novelty: f64,
pub causal_bfs_max_depth: u32,
pub neutral_causal_distance: u32,
pub novelty_decay_rate: f64,
pub consolidation_daemon: FiveSignalConsolidationConfig,
}Expand description
Five-signal SYNAPSE retrieval configuration (issue #4374).
Extends SYNAPSE recall with three additional signals — access frequency, causal
distance, and novelty — beyond the two-signal baseline (recency + relevance).
All new signal weights default to 0.0, preserving exact backward compatibility.
§Example (TOML)
[memory.five_signal]
enabled = true
w_recency = 0.35
w_relevance = 0.35
w_frequency = 0.15
w_causal = 0.10
w_novelty = 0.05
[memory.five_signal.consolidation_daemon]
enabled = true
interval_seconds = 7200Fields§
§enabled: boolMaster switch. When false, the five-signal code path contributes zero overhead.
w_recency: f64Weight for the recency signal. Default: 0.35.
w_relevance: f64Weight for the semantic relevance signal. Default: 0.35.
w_frequency: f64Weight for the access frequency signal. Default: 0.0 (baseline-compatible).
w_causal: f64Weight for the causal distance signal. Default: 0.0 (baseline-compatible).
w_novelty: f64Weight for the novelty signal. Default: 0.0 (baseline-compatible).
causal_bfs_max_depth: u32Maximum BFS depth for causal distance computation. Default: 10.
neutral_causal_distance: u32Causal distance assigned when no goal entity is set or a fact lies beyond
causal_bfs_max_depth. Default: 5.
novelty_decay_rate: f64Decay rate λ in exp(-λ × days) for the novelty signal. Default: 0.1.
consolidation_daemon: FiveSignalConsolidationConfigAsync consolidation daemon that promotes hot episodic facts to Qdrant.
Trait Implementations§
Source§impl Clone for FiveSignalConfig
impl Clone for FiveSignalConfig
Source§fn clone(&self) -> FiveSignalConfig
fn clone(&self) -> FiveSignalConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more