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
{{ message }}
Repository navigation
P0: Value-keyed rejection tombstone — rejected content must stay rejected across re-ingestion #35
releasedseverity:criticalBreaks a user-facing promise or the repo trust boundary for real users today; blocks MVPstore-securityStore boundary: path containment, exposure docs, redaction, trust tiers, durable rejection
Nothing is keyed on a rejected value. The blocklist keys on ts (row identity); memory_forget/prune deletes the row. Re-ingest the original source (or re-run auto-capture over the same transcript) and the rejected fact is stored again as if new.
This is step 6 of the Agent Memory Atlas 13-step deletion-durability test ("most systems fail here"): https://neoneye.github.io/agent-memory-atlas/benchmarks/ — and the pattern the atlas calls the most-repeated gap in the field ("Deleting without refusing… something has to be keyed on the value"). MemoryGraft (arXiv:2512.16962) shows poisoned memories persisting through retrieval; Weighted Memory Tree (arXiv:2608.20631) shows suppressing and removing look identical for one turn and diverge over a session.
Proposal
New rejected.logfmt at the memory root, keyed by the contentHash the gates already compute (ch on gate_start / write_blocked).
GATE-3 consults it: exact/near match against a tombstoned hash → blocked, reason previously_rejected, hint carries the original rejection reason + date.
memory_forget/prune and block record the content hash so a human rejection tombstones the value; explicit un-tombstone command as the escape hatch.
Auto-capture and import route through runWriteGate, so they inherit the check for free.
Audit events only, never values (atlas step-10 inversion: a deletion log that reproduces the deleted secret is a compliance problem).
Cost
~60 lines + tests. Pair with the re-ingestion stress test (#43 — its item 4 is the red-first acceptance spec for this ticket).
Severity triage 2026-10-30 — severity:critical (the MVP blocker)
Reviewed against main @ 525ed89 (v0.14.24). Still entirely unbuilt: grep -rn "rejected.logfmt\|previously_rejected" src/ → zero hits. Nothing in the codebase is keyed on a rejected value.
This is the only ticket on the board I am marking critical, and it is the one I'd pick up next. Reasoning:
It is the only open gap where the product's stated promise is false for a user today. "Block this / forget this" is the user's control over what enters their prompts. Right now re-ingesting a source resurrects it. Every other open security ticket is either closed, narrowed behind preconditions, or a hardening improvement on a boundary that already holds.
The acceptance spec is already committed and waiting.test/negative-eval.test.ts:349 — test.skip("pruned content stays rejected when replayed through the gate (#35)"), with the comment "at which point un-skip this test — it must turn green without being edited." That is a red-first spec sitting in the tree with the exact pass condition written. Unusually cheap start.
The hash you need already exists — ch on gate_start / write_blocked, computed by the gates today. This is plumbing, not research.
Both write paths that could resurrect content (memory_import, auto-capture) already route through runWriteGate, so GATE-3 inherits the check for free.
Your own title says P0 and #83 calls it "the durable-rejection gap everything else in the field fails" — I agree, and it is also the highest-value-per-line remaining. #43's residuals and the skipped spec both clear behind it.
One scoping note worth deciding up front: your proposal says the tombstone records hashes only, never values (atlas step-10 inversion). That is right, but it means "exact/near match" has to be a decision — exact contentHash match is trivial and unambiguous, near-match needs a normalization rule (case? whitespace? the flattenMemoryText collapse?) and near-match false positives silently block a legitimate new write. I'd ship exact-match-only first and keep near-match as a follow-up, so a false positive can't eat a user's write.
Started on branch fix/rejection-tombstone-35 → PR #194.
Scope as agreed: near-match included, not exact-only.
Two notes for when you review it, both raised in the PR body:
The 0.40 near-match floor is measured, not chosen. Rewordings of the same claim scored 0.500–0.615, same-topic-different-claim 0.059–0.235, unrelated 0.000, so 0.40 sits mid-gap. My first guess (0.8) would have made the mechanism never fire — a genuine rewording scores 0.47.
Mutation-checking found an unpinned invariant in my own tests. Collapsing the guard band killed nothing, because the only over-blocking test used prose that scores 0.0 against anything and so stays green at any floor. Added a pin over the 0.059–0.235 pairs; it dies when the band is collapsed and passes at shipped settings.
Acceptance is the spec you already committed: negative-eval.test.ts un-skipped without editing its assertions, and the scenarios-scripted import case flipped to row absent, tally blocked exactly as its comment predicted.
bun run gate on the branch: 739 pass / 11 skip / 0 fail unit, 11/0 terminal e2e, tsc clean, biome lint 0.
releasedseverity:criticalBreaks a user-facing promise or the repo trust boundary for real users today; blocks MVPstore-securityStore boundary: path containment, exposure docs, redaction, trust tiers, durable rejection
Activity
test(retrieval): negative-eval stress suite for injection (#43)
abogartz commentedon Oct 30, 2026
Severity triage 2026-10-30 —
severity:critical(the MVP blocker)Reviewed against
main@525ed89(v0.14.24). Still entirely unbuilt:grep -rn "rejected.logfmt\|previously_rejected" src/→ zero hits. Nothing in the codebase is keyed on a rejected value.This is the only ticket on the board I am marking critical, and it is the one I'd pick up next. Reasoning:
test/negative-eval.test.ts:349—test.skip("pruned content stays rejected when replayed through the gate (#35)"), with the comment "at which point un-skip this test — it must turn green without being edited." That is a red-first spec sitting in the tree with the exact pass condition written. Unusually cheap start.chongate_start/write_blocked, computed by the gates today. This is plumbing, not research.memory_import, auto-capture) already route throughrunWriteGate, so GATE-3 inherits the check for free.Your own title says P0 and #83 calls it "the durable-rejection gap everything else in the field fails" — I agree, and it is also the highest-value-per-line remaining. #43's residuals and the skipped spec both clear behind it.
One scoping note worth deciding up front: your proposal says the tombstone records hashes only, never values (atlas step-10 inversion). That is right, but it means "exact/near match" has to be a decision — exact contentHash match is trivial and unambiguous, near-match needs a normalization rule (case? whitespace? the
flattenMemoryTextcollapse?) and near-match false positives silently block a legitimate new write. I'd ship exact-match-only first and keep near-match as a follow-up, so a false positive can't eat a user's write.abogartz commentedon Oct 30, 2026
Started on branch
fix/rejection-tombstone-35→ PR #194.Scope as agreed: near-match included, not exact-only.
Two notes for when you review it, both raised in the PR body:
Acceptance is the spec you already committed:
negative-eval.test.tsun-skipped without editing its assertions, and thescenarios-scriptedimport case flipped torow absent, tally blockedexactly as its comment predicted.bun run gateon the branch: 739 pass / 11 skip / 0 fail unit, 11/0 terminal e2e, tsc clean, biome lint 0.fix(#35): batch tombstone writes into one lock and one append
fix(store): a rejection is about a value, not its neighbours (#35 rev…
fix(store): a rejection is about a value, not its neighbours (#35 rev…
fix(store): a rejection is about a value, not its neighbours (#35 rev…
fix(store): an extended value is not a changed value (#35 review roun…
Merge pull request #194 from abogartz/fix/rejection-tombstone-35
chore(release): 0.14.25 [skip ci]
abogartz-opencode-self-improvement commentedon Oct 30, 2026
🎉 This issue has been resolved in version 0.14.25 🎉
The release is available on:
Your semantic-release bot 📦🚀
fix(store): key rejections on the value so a forgotten fact stays rej…
test(abogartz#35): pin the UPPER side of the near-match guard band
fix: memory_undo force omits tombstoned rejections (abogartz#307)