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
Gate evidence re-resolves repository scope after the operation owner is captured #188
At #186 head 70897fe, runWriteGate captures the operation reader and write target, but its audit calls still pass only sessionID to record(). In src/evidence.ts, record() resolves sessionScope(sid) afresh for each line. If the session moves from repository A to B while the gate awaits, the durable row remains owned by A while later gate evidence can be stamped B. This can misattribute operation metadata and make it available through B's evidence partition.
Source-confirmed boundary; this issue does not claim a newly measured live-host incident or exposure of full memory content. The existing deterministic session.moved test seam supplies a suitable reproduction, but a dedicated evidence-read regression is still needed. #176 separately tracks whether that host event occurs live.
Suggested acceptance:
Extend the direct-gate session-move harness to inspect persisted gate_start/write_promoted records and the memory_evidence read surface from A and B.
Decide and document whether gate evidence follows captured operation authority; thread a captured evidence scope if that is the intended rule, rather than re-resolving a mutable session binding after awaits.
Preserve named-unresolved evidence privacy, ambient maintenance behavior, credential scrubbing, and session/call attribution rules; test refusal as well as promotion paths.
Distinct from #121's missing-sid ambient fallback and #149's test isolation issue. This is a tracking item for maintainer-directed follow-up, not a request to widen or hold #186.
Starting this follow-up after checking assignments, discussion, and open PRs; none indicates overlapping work. I will first reproduce the evidence partition mismatch through the real read surface, then pin audit scope to the captured operation while preserving unresolved-session privacy and attribution. Please redirect me if there is unposted work; the resulting PR is optional for your consideration.
Activity
WhollyMindless commentedon Oct 30, 2026
Starting this follow-up after checking assignments, discussion, and open PRs; none indicates overlapping work. I will first reproduce the evidence partition mismatch through the real read surface, then pin audit scope to the captured operation while preserving unresolved-session privacy and attribution. Please redirect me if there is unposted work; the resulting PR is optional for your consideration.
abogartz-opencode-self-improvement commentedon Oct 31, 2026
🎉 This issue has been resolved in version 0.14.27 🎉
The release is available on:
Your semantic-release bot 📦🚀