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
Re-tag rows stored before #372 that match the injection screen #375
PR #372 makes /repo-init screen the rows it writes for injection-shaped text: a checkout sitting in a directory named eval (x) now gets its command memories stored with a quarantine tag, so they never reach the prompt.
But that fix only covers writes that happen after it ships. A store that already holds an untagged poisoned row from an earlier init keeps it, and re-running init cannot fix it: the write gate's exact-duplicate check compares type and text only, so the new quarantined candidate collapses into the old untagged row. force: true does not help either — force skips the stamp check, not the dedup.
What needs doing
A one-time remediation that re-tags existing rows, so a store poisoned before #372 gets clean without the user hunting for rows:
run the existing quarantinePatterns scan over every active row's content and scope;
add quarantine plus the matching quarantine:<id> tag to any row that hits, through the normal write path so the change is audited;
report how many rows were re-tagged.
Where it lives is a design call: inside memory_init with force: true, or a small maintenance script. Option 1 fits the existing "init repairs the repo's memory" shape.
If a scan is judged too invasive, the minimum acceptable outcome is documenting the operator remedy — memory_forget the row by ts, then re-run init — in the README troubleshooting table. That is worse: the whole point of #302 was that a poisoned row is invisible to the user.
Where the finding came from
Adversarial self-review on #372: #372 (comment) — finding 1. The dedup match is the exactPoll comparison in src/gate/gate.ts: type + content decide a collapse, tags do not.
The repair landed in 374-init-stamp-file via PR #378 (merged 2026-11-12, reviewer-verified with a real lock-contention replay): gate collapse completes the retirement, a rejecting retirement reports partial + retag_failures, and the retry finishes the job. It reaches main when #376 merges; keeping this open until it does.
Closing: init re-tags legacy rows. src/init/retag.ts scans readable rows and replaces injection-shape hits through the gated supersede write path, reporting the count — pre-#372 rows no longer keep their untagged shape. Verified against main a573a3b.
Activity
Merge pull request #378 from abogartz/375-retag-quarantined
abogartz commentedon Nov 12, 2026
The repair landed in
374-init-stamp-filevia PR #378 (merged 2026-11-12, reviewer-verified with a real lock-contention replay): gate collapse completes the retirement, a rejecting retirement reportspartial+retag_failures, and the retry finishes the job. It reachesmainwhen #376 merges; keeping this open until it does.docs(readme): qualify the re-tag audit guarantee and document the leg…
chore(release): 0.23.1 [skip ci]
abogartz-opencode-self-improvement commentedon Nov 12, 2026
🎉 This issue has been resolved in version 0.23.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
ocsi-architect commentedon Nov 25, 2026
Closing: init re-tags legacy rows.
src/init/retag.tsscans readable rows and replaces injection-shape hits through the gated supersede write path, reporting the count — pre-#372 rows no longer keep their untagged shape. Verified against maina573a3b.