# INSTANT RECALL: Finding What the Agent Already Owns: v7.3 → v7.4

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.

## Change note of v7.4

**Importance score redefined**

The 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.

## Changed paragraphs

Marks: [-removed-] {+added+}.

### 1.1 The Three-Layer Memory System

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.

### 4.8 Importance Scoring

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:+}

### 4.8 Importance Scoring

[-$$\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)$$-]

### 4.8 Importance Scoring

[-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:-]

### 4.8 Importance Scoring

{+$$\iota(m) = \mathrm{clamp}_{[1,10]}\Big(\,\text{base}(m) + \text{recency}(m) + \text{access}(m) + \text{links}(m)\,\Big)$$+}

### 4.8 Importance Scoring

{+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.+}

### 4.8 Importance Scoring

{+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:+}

### 4.8 Importance Scoring

$$\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)$$+}

### 4.8 Importance Scoring

[-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.-]

### 4.8 Importance Scoring

[-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.-]

### 4.8 Importance Scoring

{+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.+}

### 4.8 Importance Scoring

{+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.+}
