Repository navigation
feat(capture): include bounded known-row context (#343d) - #362
Merged
Merged
Conversation
This was referenced Nov 8, 2026
abogartz
approved these changes
Nov 8, 2026
|
🎉 This PR is included in version 0.19.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This was referenced Nov 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-shapesession.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.