Skip to main content

Module memory_salience

Module memory_salience 

Source
Expand description

Content salience for memory: a cheap, deterministic keyword score over a fact/finding’s raw text.

It answers “how much signal does this string carry?” without any model call, and feeds two consumers:

  • the cognition loop’s auto-promotion gate (only promote findings above a floor), and
  • the write-time admission floor (#970) that keeps low-signal facts out of a capped store.

Pure and total so it never perturbs output determinism (#498): the same text always scores the same value, independent of process state.

Functions§

text_salience
Score the salience of a piece of memory text. Always >= BASE.