Skip to content

Epic: Retrieval & use intelligence — evals that can fail, ranking, use telemetry, consolidation #84

Closed
5 of 5 issues completed

Description

@abogartz

Why

Retrieval is where the bench says the real value is decided: near-paraphrase R@1 44% shipped vs 61–72% for the BM25 arm, top-1 wrong-memory-first noise 33–34%, and a hard-paraphrase wall at 0% the vocabulary bridge (kw=) exists to attack. Ranking got its IDF core; what's missing is the use half — nobody knows which memories are ever read, so decay, consolidation, and status all act blind — and evals that can fail, without which every number below is unfalsifiable.

Children, in order

  1. P3: Negative-eval stress suite — forbidden hits, abstention, no-memory floor, re-ingestion, metric controls #43 — Negative-eval stress suite first. Forbidden hits, abstention, no-memory floor, metric negative controls, governed-path tripwire. This is the net the rest of the epic ships through; its item 4 doubles as the red-first acceptance spec for P0: Value-keyed rejection tombstone — rejected content must stay rejected across re-ingestion #35 (store-security epic).
  2. P2: Retrieval ranking — IDF/BM25-lite, recency tie-break, write-time keywords #40 — Remaining ranking scope. Item 1 (IDF/Robertson-IF) already shipped on main; left: recency tie-break, write-time kw= keywords (the vocabulary-wall attack), accuracy-per-1k-chars bench reporting.
  3. P2: Use-based reinforcement — recall-hit log, recency-of-use boost, never-retrieved report #42 — Use-based reinforcement: hits log. Nothing downstream runs without use data: the "never retrieved" metric in P3: memory_status self-metrics — write-to-readable lag, bytes/memory, growth, dead weight #44 and the acceptance rule in P3: Consolidation promotion pass (dry-run via memory_merge_review) — gated on #42 usage data #45 both read this log.
  4. P3: memory_status self-metrics — write-to-readable lag, bytes/memory, growth, dead weight #44 — memory_status self-metrics. Bytes/row, growth, capture lag; the dead-weight number activates when P2: Use-based reinforcement — recall-hit log, recency-of-use boost, never-retrieved report #42's log exists.
  5. P3: Consolidation promotion pass (dry-run via memory_merge_review) — gated on #42 usage data #45 — Consolidation promotion pass. HOLD until P2: Use-based reinforcement — recall-hit log, recency-of-use boost, never-retrieved report #42 has ~a month of hits data (NOOA's published numbers are the warning label; the merge proposal must prove reads survive).

Non-goals

Embeddings / models on the read path stay out (the rank() seam is where anyone adds them); consolidation stays human-approved (supersede-not-delete, snapshot-first).

Sub-issues

Sub-issues

5 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. added
    retrieval
    on Oct 24, 2026
  2. abogartz commented on Oct 25, 2026

    @abogartz
    OwnerAuthor

    All five children implemented, reviewed, and merged: #43 → PR #96 (+ residuals tracking comment on #43), #40 → #97, #42 → #98 (+ review fixes), #44 → #99, #45 → #100/#104. The adversarial pass after opening produced real fixes that shipped with the stack: the superseded-drop commit split for changelog honesty (#96), comma-as-delimiter + numeric timestamp comparison (#97), the ledger's hour-throttle/ring-size/young-ledger-qualifier fixes and its missing unit file (#98), and cluster-ordering honesty (#45). #100 was briefly merged into the wrong base and re-landed as #104; main verified complete (full gate green, suite 461 pass / 5 skip / 0 fail). semantic-release shipped through 0.12.0 (0.13.0 follows #104). Remaining epics: #68 test-integrity, #82 capture, #83 store-security.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    retrieval

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions