Confidence Score
Confidence starts at1.0 by default and represents how much trust to place in an entry:
Confidence is clamped to the range
0.0–1.0. Successes can never push an entry past certainty, and repeated failures floor at zero rather than going negative.Outcome Types
When something significant happens in the real world, you record it as an outcome. Knowledge that led somewhere good is trusted more; knowledge that led somewhere bad is trusted less:
Erosion is deliberately steeper than reinforcement: it takes many successes to
rebuild the trust one critical failure removes.
Four older names are still accepted as aliases and map onto the same
multipliers:
clean_deploy (success), regression (minor failure),
p2_incident (failure), and p1_incident (critical failure).How It Works
Recording an Outcome
Confidence Formula
Confidence Over Time
Imagine an entry written withconfidence=0.85:
min_confidence stop seeing it.
Auto-Causal Linking
If you don’t specifycausal_entry_keys, SenseLab automatically links the outcome to every entry the agent read during the current session:
The tracker is cleared after each
commit_outcome(), so the next task starts
with a fresh causal window rather than re-linking the previous one’s reads.
Four-Signal Decay Model
Whendecay_half_life_days is configured, SenseLab uses four signals to determine how fast an entry’s effective confidence decays:
The effective half-life formula:
decay_half_life_days=30, 10 reads, and 1 outcome:
Time decay is opt-in. With no
decay_half_life_days, stored confidence
changes only when you commit an outcome. When you do set it, decay is applied
when an entry is read rather than written back to storage — the stored
confidence stays put, and the decayed value is what gets compared against
min_confidence.Filtering by Confidence
Usemin_confidence to filter out low-confidence entries:
