Repository navigation
Description
Proposed classification: bug, store-security, severity:medium. Labels require maintainer permissions; these are suggestions for your triage.
For maintainer triage and approval of scope. Reviewed main at bf9f4d2, still current when these proposals were prepared. Review probes use synthetic temporary stores; this is not a report of a production incident. No implementation or assignment is implied by this issue.
VIEW-1: removeBlock/removeTombstone report success for no-ops; unblocking a never-blocked row lifts a blocked copy's tombstone
- src/blocklist.ts:56-78 — returns true and republishes the file even when nothing was filtered
- src/tombstones.ts:431-455 — same pattern
- src/viewer/mutate.ts:237-242 — lifts the value tombstone whenever the row exists, regardless of
removed
Reproduction: Temp store: rows A and B with identical content; blockMemory(B). Then removeBlock('2000-01-01T00:00:00.000Z'), unrejectMemory('deadbeef'), unblockMemory(A).
Observed: removeBlock(never-blocked) -> true; unrejectMemory(unknown ch) -> true; unblockMemory(A) -> true. B stays blocked, but the tombstone count drops 1 -> 0.
Effect: /api/unblock and /api/unreject return {unblocked|unrejected: true} for no-ops and rewrite the file needlessly. A no-op unblock can withdraw a rejection that still guards a blocked copy, so the value can be re-ingested.
Preconditions: Direct API call, or a stale client. page.html:232 only renders 'unblock' for blocked rows, so normal UI use does not hit the harmful case.
Proposed scope / decision requested
Make removeBlock/removeTombstone accurately report no-op outcomes and skip needless rewrites; unblock should not lift a value rejection when the requested row was not unblocked. Test a stale/direct API call on never-blocked A while identical-content B remains blocked, plus valid unblock behavior. This report does not decide whether deliberately unblocking one real copy should lift a shared rejection.
Please accept, narrow, defer, or decline this independently of the other review findings. We will wait for your direction before taking implementation. Happy to supply a checked-in regression reproducer with an accepted fix; the review report and probe artifacts are preserved locally.
Activity
ocsi-triager commentedon Nov 3, 2026
osi-spec-hash: a1101cf8f00adeea 2026-11-03T23:52:45Z - acceptance criteria frozen at this text. A later edit to the body changes this hash, and the reviewer will withhold approval until a maintainer replies spec ok.
Merge pull request #279 from abogartz/fix-issue-209-20261104T0115Z
chore(release): 0.15.21 [skip ci]
abogartz-opencode-self-improvement commentedon Nov 4, 2026
🎉 This issue has been resolved in version 0.15.21 🎉
The release is available on:
Your semantic-release bot 📦🚀