You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests cover the happy paths and the framing tripwires, but there are no negative retrieval evals — assertions that the wrong memory stays out — and no bench-level controls proving the metrics can fail. Atlas: "A benchmark asks how good is this on the normal case. A stress test asks what input makes this fail… Almost all of these are cheap. None of them requires a labelled dataset." Silica's rule: "A metric that cannot fail reports PASS regardless of the arm."
Add (as failing tests, not stats)
Forbidden hits (Waku-agent style): for every superseded gold memory, assert the superseded content never appears in top-k of scoreMemories or any injected block → STALE failure.
Abstention: irrelevant query against a populated store must yield an empty injection block → INVENTED failure if not. (Currently measured as a bench stat; promote to a test.)
No-memory floor: run the recall bench's QUERIES against an empty store; assert zero injection (chance floor = 0).
Metric negative controls: assert the bench can fail — a reversed-order scorer must score below the naive arm on at least one class (pair of fixtures, per Silica: "at least two of them must disagree").
Scope crossing: extend repo-scope tests to assert the injected block (digest + relevant-knowledge), not just loadAll().
Governed-path tripwire: source-grep test asserting every write path calls runWriteGate (capture, import, tools) — the property Prime Agent lacks (their kernel CRUD bypasses the governed door); keep it from regressing.
Shipped via #96 (merged in main): the negative-eval suite (21 tests + the bench's published control arms). Deliberately still tracking two residuals that live with their owner tickets: item 4's re-ingestion guarantee is the red-first acceptance spec skipped in test/negative-eval.test.ts until #35 lands the value-keyed tombstone, and item 8's quarantine assertion is noted in place until #38. Closing this when those merge; the negative-eval coverage itself is done and pinned.
Activity
fix(retrieval): scoreMemories drops superseded rows itself (#43)
test(retrieval): negative-eval stress suite for injection (#43)
Merge pull request #96 from abogartz/feat/negative-eval-suite
chore(release): 0.9.2 [skip ci]
abogartz commentedon Oct 25, 2026
Shipped via #96 (merged in
main): the negative-eval suite (21 tests + the bench's published control arms). Deliberately still tracking two residuals that live with their owner tickets: item 4's re-ingestion guarantee is the red-first acceptance spec skipped intest/negative-eval.test.tsuntil #35 lands the value-keyed tombstone, and item 8's quarantine assertion is noted in place until #38. Closing this when those merge; the negative-eval coverage itself is done and pinned.abogartz commentedon Oct 27, 2026
Closed as completed — the suite shipped as
test/negative-eval.test.ts, with the two remaining acceptance lines carried by their own issues.Shipped, item by item:
describe("forbidden hits — a retired memory never reaches a model")(scoreMemories, every sink, frontier, recall/list).abstention — an irrelevant query over a populated store injects nothing, incl. contextual pull).no-memory floor — the chance floor is zero.test.skip("pruned content stays rejected when replayed through the gate (#35)")and is P0: Value-keyed rejection tombstone — rejected content must stay rejected across re-ingestion #35's acceptance spec, where it stays tracked.metric negative controls — the eval can fail(reversed scorer, disagreeing arms per published size).test/security-session-isolation.test.ts(the injected system parts are the assertion target, deterministically interleaved).governed-path tripwire — no write path walks past the gate(source-grep over src/ with an allowlist that must not go stale).No acceptance line is lost: the only unshipped halves are the exact subjects of #35 and #38.