{
 "paper": "instant-recall",
 "a": "7.3",
 "b": "7.4",
 "summary": "From v7.3 (2 Jun) to v7.4 (2 Jun): 6,510 words to 6,684 words, 283 words in new or rewritten paragraphs and 109 taken out, 12 paragraphs changed.",
 "note": {
  "title": "Importance score redefined",
  "kind": "revision",
  "body": "## Summary\n\nThe importance score is rewritten. It is now a base value plus bonuses for being recent, being read often and being linked, and an average piece is left where it is, so importance moves a result by at most about 15% and never overrides a strong match. The contributions list says the same.",
  "source": "change note"
 },
 "paragraphs_changed": 12,
 "changes": [
  {
   "section": "1.1 The Three-Layer Memory System",
   "old": "1. **Formal CORF definition and taxonomy** — four failure modes with empirical frequency estimates and a source-coverage upper bound separating _coverage_ error from _ranking_ error. 2. **Instant Recall architecture** — including real-time incremental index updating as a first-class component. 3. **Importance scoring** — weighted retrieval prioritizing decisions, entities, and user-engaged content. 4. **Deduplication via similarity check** — prevents index bloat from recurring logs. 5. **Post-retrieval re-ranking** — reduces false positive injection. 6. **Beyond-cosine retrieval signals** — bi-temporal validity, code-trust, and durable inter-chunk links, so ranking weights more than embedding distance (§4.9). 7. **Design space analysis** — comparison against inverted index, all-sources ANN, multi-source RAG, knowledge graph, and vector database alternatives. 8. **Evaluation protocol + artifacts** — metrics, baselines, ablations, and an annotated CORF dataset from deployment logs.",
   "new": "1. **Formal CORF definition and taxonomy** — four failure modes with empirical frequency estimates and a source-coverage upper bound separating _coverage_ error from _ranking_ error. 2. **Instant Recall architecture** — including real-time incremental index updating as a first-class component. 3. **Importance scoring** — a centered salience weight (base + recency + access + link bonuses) that re-ranks within ±15% of cosine, so decisions and frequently-revisited content surface without overriding strong semantic matches. 4. **Deduplication via similarity check** — prevents index bloat from recurring logs. 5. **Post-retrieval re-ranking** — reduces false positive injection. 6. **Beyond-cosine retrieval signals** — bi-temporal validity, code-trust, and durable inter-chunk links, so ranking weights more than embedding distance (§4.9). 7. **Design space analysis** — comparison against inverted index, all-sources ANN, multi-source RAG, knowledge graph, and vector database alternatives. 8. **Evaluation protocol + artifacts** — metrics, baselines, ablations, and an annotated CORF dataset from deployment logs.",
   "marked": "1. **Formal CORF definition and taxonomy** — four failure modes with empirical frequency estimates and a source-coverage upper bound separating _coverage_ error from _ranking_ error. 2. **Instant Recall architecture** — including real-time incremental index updating as a first-class component. 3. **Importance scoring** — [-weighted retrieval prioritizing decisions, entities,-] {+a centered salience weight (base + recency + access + link bonuses) that re-ranks within ±15% of cosine, so decisions+} and [-user-engaged content.-] {+frequently-revisited content surface without overriding strong semantic matches.+} 4. **Deduplication via similarity check** — prevents index bloat from recurring logs. 5. **Post-retrieval re-ranking** — reduces false positive injection. 6. **Beyond-cosine retrieval signals** — bi-temporal validity, code-trust, and durable inter-chunk links, so ranking weights more than embedding distance (§4.9). 7. **Design space analysis** — comparison against inverted index, all-sources ANN, multi-source RAG, knowledge graph, and vector database alternatives. 8. **Evaluation protocol + artifacts** — metrics, baselines, ablations, and an annotated CORF dataset from deployment logs."
  },
  {
   "section": "4.8 Importance Scoring",
   "old": "Instant Recall assigns an **importance score** $\\iota(m) \\in [1, 10]$ to each memory chunk at write time:",
   "new": "Instant Recall assigns each chunk an **importance score** $\\iota(m) \\in [1, 10]$, computed from a base salience plus three additive bonuses and clamped to the range:",
   "marked": "Instant Recall assigns {+each chunk+} an **importance score** $\\iota(m) \\in [1, [-10]$-] {+10]$, computed from a base salience plus three additive bonuses and clamped+} to [-each memory chunk at write time:-] {+the range:+}"
  },
  {
   "section": "4.8 Importance Scoring",
   "old": "$$\\iota(m) = w_1 \\cdot \\text{entity\\_density}(m) + w_2 \\cdot \\text{decision\\_signal}(m) + w_3 \\cdot \\text{user\\_engagement}(m) + w_4 \\cdot \\text{recency\\_bonus}(m)$$",
   "new": null,
   "marked": "[-$$\\iota(m) = w_1 \\cdot \\text{entity\\_density}(m) + w_2 \\cdot \\text{decision\\_signal}(m) + w_3 \\cdot \\text{user\\_engagement}(m) + w_4 \\cdot \\text{recency\\_bonus}(m)$$-]"
  },
  {
   "section": "4.8 Importance Scoring",
   "old": "Default weights: $w_1 = 3.0$, $w_2 = 3.0$, $w_3 = 2.5$, $w_4 = 1.5$. Each component is normalized to [0, 1] before weighting, so the raw weighted sum falls in [0, 10] and is clamped to [1, 10]. Importance scoring works like an editor deciding the front page — recency, weight, and relevance to what the reader is currently asking about. The importance score modulates effective similarity during K-slot ranking:",
   "new": null,
   "marked": "[-Default weights: $w_1 = 3.0$, $w_2 = 3.0$, $w_3 = 2.5$, $w_4 = 1.5$. Each component is normalized to [0, 1] before weighting, so the raw weighted sum falls in [0, 10] and is clamped to [1, 10]. Importance scoring works like an editor deciding the front page — recency, weight, and relevance to what the reader is currently asking about. The importance score modulates effective similarity during K-slot ranking:-]"
  },
  {
   "section": "4.8 Importance Scoring",
   "old": null,
   "new": "$$\\iota(m) = \\mathrm{clamp}_{[1,10]}\\Big(\\,\\text{base}(m) + \\text{recency}(m) + \\text{access}(m) + \\text{links}(m)\\,\\Big)$$",
   "marked": "{+$$\\iota(m) = \\mathrm{clamp}_{[1,10]}\\Big(\\,\\text{base}(m) + \\text{recency}(m) + \\text{access}(m) + \\text{links}(m)\\,\\Big)$$+}"
  },
  {
   "section": "4.8 Importance Scoring",
   "old": null,
   "new": "The base salience defaults to 5 and is raised at ingest for chunks carrying decisions or constraints. The recency bonus is +2 for a chunk written in the last day, +1 within the week, and 0 beyond. The access bonus is log-scaled in the access count and capped at +2, so a chunk the agent keeps re-reading drifts upward without any single read dominating. The link bonus is +1 per three related chunks, capped at +1, letting a well-connected chunk rise — the same intuition the link signal of §4.9 later makes durable. Importance scoring works like an editor deciding the front page: recency, weight, and how often the reader keeps coming back.",
   "marked": "{+The base salience defaults to 5 and is raised at ingest for chunks carrying decisions or constraints. The recency bonus is +2 for a chunk written in the last day, +1 within the week, and 0 beyond. The access bonus is log-scaled in the access count and capped at +2, so a chunk the agent keeps re-reading drifts upward without any single read dominating. The link bonus is +1 per three related chunks, capped at +1, letting a well-connected chunk rise — the same intuition the link signal of §4.9 later makes durable. Importance scoring works like an editor deciding the front page: recency, weight, and how often the reader keeps coming back.+}"
  },
  {
   "section": "4.8 Importance Scoring",
   "old": null,
   "new": "The score modulates effective similarity during K-slot ranking, centered so that an average chunk (importance 5) is left unchanged and only above- or below-average importance shifts the rank:",
   "marked": "{+The score modulates effective similarity during K-slot ranking, centered so that an average chunk (importance 5) is left unchanged and only above- or below-average importance shifts the rank:+}"
  },
  {
   "section": "4.8 Importance Scoring",
   "old": "$$\\text{effective\\_score}(v, m) = \\text{cos\\_sim}(\\vec{v}, \\vec{m}) \\times (1 + \\alpha \\cdot \\log(\\iota(m)))$$",
   "new": "$$\\text{effective\\_score}(v, m) = \\text{cos\\_sim}(\\vec{v}, \\vec{m}) \\times \\left(1 + \\alpha \\cdot \\frac{\\iota(m) - 5}{5}\\right)$$",
   "marked": "$$\\text{effective\\_score}(v, m) = \\text{cos\\_sim}(\\vec{v}, \\vec{m}) \\times [-(1-] {+\\left(1+} + \\alpha \\cdot [-\\log(\\iota(m)))$$-] {+\\frac{\\iota(m) - 5}{5}\\right)$$+}"
  },
  {
   "section": "4.8 Importance Scoring",
   "old": "where $\\alpha = 0.15$. A connection-count bonus (+1 per three related links, capped at +1) lets well-connected chunks rise — anticipating the link signal of §4.9.",
   "new": null,
   "marked": "[-where $\\alpha = 0.15$. A connection-count bonus (+1 per three related links, capped at +1) lets well-connected chunks rise — anticipating the link signal of §4.9.-]"
  },
  {
   "section": "4.8 Importance Scoring",
   "old": "The TRACE event model [Serra, 2026a] aligns with this: decisions and constraints receive elevated importance at ingest time, mapping directly to the `decision_signal` component.",
   "new": null,
   "marked": "[-The TRACE event model [Serra, 2026a] aligns with this: decisions and constraints receive elevated importance at ingest time, mapping directly to the `decision_signal` component.-]"
  },
  {
   "section": "4.8 Importance Scoring",
   "old": null,
   "new": "with $\\alpha = 0.15$, so importance moves a chunk's score by at most ±15%. Cosine similarity stays the dominant term; importance breaks ties and nudges near-ties, rather than overriding a strong semantic match. Concretely: a high-salience chunk ($\\iota = 10$) at cosine 0.80 scores $0.80 \\times 1.15 = 0.92$, while a throwaway chunk ($\\iota = 1$) at the same 0.80 cosine scores $0.80 \\times 0.88 = 0.70$ — enough to reorder two chunks the embedding could not separate, never enough to promote a 0.50 match over a 0.80 one.",
   "marked": "{+with $\\alpha = 0.15$, so importance moves a chunk's score by at most ±15%. Cosine similarity stays the dominant term; importance breaks ties and nudges near-ties, rather than overriding a strong semantic match. Concretely: a high-salience chunk ($\\iota = 10$) at cosine 0.80 scores $0.80 \\times 1.15 = 0.92$, while a throwaway chunk ($\\iota = 1$) at the same 0.80 cosine scores $0.80 \\times 0.88 = 0.70$ — enough to reorder two chunks the embedding could not separate, never enough to promote a 0.50 match over a 0.80 one.+}"
  },
  {
   "section": "4.8 Importance Scoring",
   "old": null,
   "new": "This mirrors how the underlying event store [Serra, 2026a] tags content at ingest: decisions and constraints are recorded as high-salience event types, which is exactly what feeds the elevated base salience above.",
   "marked": "{+This mirrors how the underlying event store [Serra, 2026a] tags content at ingest: decisions and constraints are recorded as high-salience event types, which is exactly what feeds the elevated base salience above.+}"
  }
 ]
}
