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
Decompose runWriteGate (583 lines) into ordered verdict steps #220
agent:readyHuman-approved for autonomous work by ocsi-fixerenhancementNew feature or requestseverity:mediumReal but narrow: robustness, hygiene, or gated behind multiple preconditionsspec:incompleteNot executable: missing repro or no measurable acceptance criterion. Author: add it, or close.
runWriteGate (src/gates.ts:248) is 583 lines. Gate order - size/type floor, dedup, quarantine, schema, ref freshness, rate limit, tombstone, merge gate - is the plugin's central invariant, expressed as one function's local control flow. createInjectionEpochs (src/injection-epochs.ts:28, 287 lines) is the second candidate.
Fix direction
Split into ordered steps that each return a verdict; reduce runWriteGate to the composer. Every step becomes independently testable, and the composer gives viewer writes (see the gate-bypass ticket) a reusable entry point.
Source
Architecture review 2026-10-31, finding O1. Prerequisite for the viewer-write gate ticket.
Not agent-ready: src/gates.ts and src/injection-epochs.ts no longer exist on main (the gate now lives at src/gate/gate.ts), and no measurable acceptance criterion is stated. Either add it or close this.
agent:readyHuman-approved for autonomous work by ocsi-fixerenhancementNew feature or requestseverity:mediumReal but narrow: robustness, hygiene, or gated behind multiple preconditionsspec:incompleteNot executable: missing repro or no measurable acceptance criterion. Author: add it, or close.
Activity
ocsi-triager commentedon Nov 3, 2026
Not agent-ready:
src/gates.tsandsrc/injection-epochs.tsno longer exist on main (the gate now lives atsrc/gate/gate.ts), and no measurable acceptance criterion is stated. Either add it or close this.