Add bounded suggestion history queries - #5073
Merged
Merged
Conversation
Widthdom
force-pushed
the
fix-issue5061
branch
from
August 10, 2026 17:42
0844e3c to
ea142fb
Compare
Widthdom
marked this pull request as ready for review
August 10, 2026 18:25
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.
Summary
Root cause
Suggestion history exposed structured filters and pagination, but had no local text search or low-output aggregate/bounded projection. Duplicate preflight therefore required listing or exporting large portions of the local store.
User impact
Users can search stored suggestion history and answer duplicate-triage questions without exporting full descriptions or contexts. Pagination and byte truncation now expose authoritative counts, omission reasons, and a deterministic next offset while preserving existing redaction.
Validation
origin/main: 0 warnings, 0 errors.suggestions-compact.jsoncontract.dotnet format CodeIndex.sln --verify-no-changes --no-restorepassed.dotnet run --project tools/CodeIndex.Changelog -- checkvalidated all 10 fragments.cdidx status --checkreports the index matches the clean final workspace.Documentation and changelog
USER_GUIDE.md,DEVELOPER_GUIDE.md, andTESTING_GUIDE.md.changelog.d/unreleased/5061.added.mdwith references to the completed foundational issues No CLI subcommand to list/inspect/export suggestions (suggestions invisible to users) #1876 and SuggestionStore.LoadAll has no filtering or pagination #1877.Follow-ups
None.
Fixes #5061