knowledge_trust_score
Compute an earned-trust score for a knowledge item by weighing deliberate reads, recall-log injections, re-occurrence, and rejected writes; returns raw counts and an exists flag so the number remains transparent.
Instructions
Computed (never stored) earned-trust value in [0.05, 0.95], 0.5 = no signal yet -- distinct from norm_rang (explained by a human/consilium, decides which rule wins) and from confidence (a decay clock since last confirmation). Weighs deliberate reads (strongest, nodes only), recall-log session-deduplicated injections (weak, both kinds), independent re-occurrence (weak, lessons only), and rejected write attempts (weak negative, nodes only -- the equivalent path for lessons never fires, see docstring) through a saturating tanh -- diminishing returns prevent repetition alone from inflating the score. Returns the raw input counts and an 'exists' flag alongside the score so the number is never opaque and a typo isn't indistinguishable from the neutral default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Node id or path, or lesson id | |
| kind | Yes |