Repository navigation
fix: preserve review findings and anchored evidence identities - #14
Merged
Merged
Conversation
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.
Review synthesis normalized every non-ASCII title to an empty key, merging unrelated Chinese findings and dropping independent feedback. Normalize titles with Unicode letters, combining marks and numbers, and canonicalize equivalent Unicode spellings. Findings without comparable title text retain their own identity instead of sharing an empty key.
The production HTTP review/persistence scenario failed before the change and now preserves distinct Chinese and Indic findings, merges equivalent accented titles and retains separate symbol-only findings. It uses the existing model-provider boundary and the real application/database path. The focused scenario passes with 11 assertions. Workspace type checks and all production builds also passed locally.
Workspace evidence also deduplicated every link of one claim by kind alone. Its identity now includes the actual path, immutable file version and anchored passage. The real HTTP regression reproduced three distinct inputs returning one link ID; it now retains three independent links, reuses the ID for an identical retry, and deletes one without removing the others. All 13 Claims tests and 135 assertions pass locally.
A broader local Review selection hit an existing 5-second lifecycle-test timeout and did not pass; it is not counted as a green suite. Full CI is required for the final combined head before merge. No timeout, expected finding content, schema or dependency was weakened. Addresses the remaining W4/W5 findings in #6.