Expand description
Local-only rule outcome telemetry.
Records when a rule is surfaced by recall (kind = 'recalled') so
difflore memory can show “what rules are actually pulling weight”
and rules show can include a use-count line.
Fix-acceptance telemetry already lives in fix_outcomes (richer
schema with file path + applied/failed split); this table is just
the recall-side ledger. Both are read together by the surfaces.
Data never leaves the device. Personal usage signal is not uploaded to cloud — cluster precision is derived cloud-side over consented aggregates only.
Structs§
Constants§
Functions§
- fix_
accepted_ count_ for - How many
fix_outcomesrows for this rule wereaccepted = 1 AND applied_ok = 1within the window. Read here so the memory/show surfaces have a single import path for “rule outcome” reads. - latest_
accepted_ fix_ for - latest_
top3_ recall_ for - recall_
count_ for - Total recall count for a single rule over the last
daysdays. - record_
recalled - Insert one row per recalled rule. No-op when
rule_idsis empty. - record_
recalled_ with_ context - Insert recall rows with enough low-sensitive context to prove a value loop.
- summary
- Total local recall proof over the last
daysdays. - top_
recalled - Top-N rules by recall events within the last
daysdays.