Repository navigation
Closed
5 / 55 of 5 issues completedClosed
5 / 55 of 5 issues completed
Copy link
Labels
retrievalRetrieval ranking, use telemetry, negative evals, consolidation
Description
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
- 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).
- 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-timekw=keywords (the vocabulary-wall attack), accuracy-per-1k-chars bench reporting. - 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.
- P3: memory_status self-metrics — write-to-readable lag, bytes/memory, growth, dead weight #44 —
memory_statusself-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. - 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
Collapse Sub-issuesSub-issues
Loading 5 sub-issues
Metadata
Metadata
Assignees
Labels
retrievalRetrieval ranking, use telemetry, negative evals, consolidation
Activity
test(retrieval): negative-eval stress suite for injection (#43)
abogartz commentedon Oct 25, 2026
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;
mainverified 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.