Skip to content

fix: bound completion-gate recovery evidence - #185

Merged
abogartz merged 1 commit into
abogartz:mainfrom
WhollyMindless:fix/bounded-t4
Oct 29, 2026
Merged

abogartz merged 1 commit into
abogartz:mainfrom
WhollyMindless:fix/bounded-t4

Conversation

@WhollyMindless

Copy link
Copy Markdown
Contributor

Fixes #179.

A FAIL followed by hundreds of intervening calls now emits a bounded chronological sample: FAIL, the latest edit/write if it is outside the recent window, the last ten calls, and PASS (at most 13 references). evidence_chain_count retains the full count. Pending recovery stores only IDs, the latest fix and a counter; short chains and fix_ref fallback remain unchanged.

Pairing still resets on any new gate failure and completes on a matching-family PASS. No expiry policy is introduced. The separate full session ledger remains unchanged and is not LRU bounded; this change does not claim to bound total session memory. The 2 KiB regression budget uses realistic 25-character call IDs, not arbitrary-length identifiers.

Validation on Windows / Bun 1.4.4: all three new regressions fail against main and pass with the fix; full gate passes typecheck, lint, 708 unit tests (12 existing skips), and 11 real-host end-to-end tests.

Please feel free to decline or close this proposal if you prefer a different scope or implementation.

@abogartz
abogartz merged commit 50a5140 into abogartz:main Oct 29, 2026
4 checks passed
@abogartz-opencode-self-improvement

Copy link
Copy Markdown

🎉 This PR is included in version 0.14.22 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

t4_learning renders the whole pendingGate chain — same unbounded evidence-line shape as #163

2 participants