Skip to content

feat(capture): include bounded known-row context (#343d) - #362

Merged
abogartz merged 5 commits into
abogartz:mainfrom
WhollyMindless:feat/343-capture-dedup
Nov 8, 2026
Merged

abogartz merged 5 commits into
abogartz:mainfrom
WhollyMindless:feat/343-capture-dedup

Conversation

@WhollyMindless

@WhollyMindless WhollyMindless commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Split (d) of #343: give capture a bounded list of already-stored facts so it can spend its candidate budget on new facts instead of re-mining the transcript. Keep the suite-authority claim ban and the shipped volume/REQUESTS rules. The write gate remains the final deduplication authority.

The context list uses the capture operation's frozen reader, excludes quarantined/foreign rows, sorts newest-first and caps at 15 rows / 90 content characters / 1400 total characters. Redact complete scope/content before cropping; a session move during context loading cannot substitute another repository's rows. A store-read failure omits this optional context.

Validation on current main (cd88291, including #359): full native Windows suite 1050 pass, 32 skip, 0 fail; 12771 assertions; typecheck, lint/format and frozen install pass. Focused capture/privacy/attribution suites: 73 pass / 312 assertions. Tests exercise actual capture, a parked context read plus recorded-shape session.moved, scope/quarantine limits, redaction and capture-guidance provenance. The main-merge resolution preserves both the guided rule and suite-authority ban, plus both runtime imports. Refs #343, #341, #349. Authored implementation, not an independent approval.

@abogartz
abogartz merged commit 7ebf687 into abogartz:main Nov 8, 2026
4 checks passed
@abogartz-opencode-self-improvement

Copy link
Copy Markdown

🎉 This PR is included in version 0.19.0 🎉

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.

2 participants