feat(review): expose filtered comments in JSON output - #979
Open
Gongyl01 wants to merge 1 commit into
Open
Conversation
Gongyl01
marked this pull request as ready for review
August 17, 2026 09:50
Contributor
|
🔍 OpenCodeReview found 1 issue(s) in this PR.
📄
|
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.
Description
REVIEW_FILTER_TASKremoves comments that the diff proves to be incorrect. These comments are currently removed from the collector and disappear from the final result, making filter decisions difficult to inspect.This PR preserves removed comments and exposes them through an optional top-level
filtered_commentsfield in JSON output. Each entry contains:The field is omitted when no comments are removed. Existing
commentssemantics, summary counts, publishing behavior, and session persistence remain unchanged. Filtered comments are available only in the current JSON output and are not returned byocr session commentsor the viewer.The JSON output contract is documented in all supported languages.
Type of Change
How Has This Been Tested?
make testpasses locallyChecklist
Related Issues
N/A