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
memory_status blocked-writes follow evidence visibility; STORE counts documented machine-wide (decision #213 B) #306
agent:readyHuman-approved for autonomous work by ocsi-fixerfix:pr-openocsi-fixer opened a PR for this ticketreleasedseverity:mediumReal but narrow: robustness, hygiene, or gated behind multiple preconditionsstore-securityStore boundary: path containment, exposure docs, redaction, trust tiers, durable rejection
Implements the accepted decision on #213 (accept B, maintainer 2026-11-04): blocked-write details follow memory_evidence visibility; aggregate STORE counts stay machine-wide and get documented as such.
Problem
blockedRecent (src/status/write.ts) reads today+yesterday write_blocked evidence with no visibility filter and emits ts, sid, reason; memory_status and the TUI payload show other repositories' session ids and block reasons while memory_evidence correctly hides them. Verified current at 06e4e28.
Fix direction
Give blockedRecent the caller's Reader and filter lines through evidenceVisibleTo (src/store/model/visibility.ts) — the quarantine list in the same surface already uses reportReader. Pass the reader at the memory_status call site in src/index.ts and in the TUI payload builder (src/injection-epochs.ts); coordinate the shared assembly with #168. State in the tool description/README that aggregate STORE counts are machine-wide by decision.
Acceptance
RED: scenario test — seed a repo-B write_blocked line with a distinctive sid plus repo-B rows; a repo-A memory_status prints the repo-B sid. Fails on main for exactly that reason.
GREEN: repo-A status omits the line and shows only its own blocked writes; the admin/global reader still sees all; STORE counts are identical before and after for every reader (counts deliberately not scoped); TUI payload agrees with the tool.
No existing assertion weakened; bun run typecheck && bun run lint && bun run test green, bun run test:e2e since src/ changed.
osi-spec-hash: cbe6da30d3ca5562 2026-11-04T23:38:07Z - 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.
agent:readyHuman-approved for autonomous work by ocsi-fixerfix:pr-openocsi-fixer opened a PR for this ticketreleasedseverity:mediumReal but narrow: robustness, hygiene, or gated behind multiple preconditionsstore-securityStore boundary: path containment, exposure docs, redaction, trust tiers, durable rejection
Activity
ocsi-triager commentedon Nov 4, 2026
osi-spec-hash: cbe6da30d3ca5562 2026-11-04T23:38:07Z - 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 #311 from abogartz/fix-issue-306-20261105T0115Z
abogartz-opencode-self-improvement commentedon Nov 5, 2026
🎉 This issue has been resolved in version 0.15.38 🎉
The release is available on:
Your semantic-release bot 📦🚀