Verification · Finding validation · Scope and relevance filtering
Diff scoping
Report only on changed lines or their immediate context.
How to build it
- Drop findings whose file and line are not in the diff hunks.
- Keep findings on the changed lines and the lines directly around them.
- Run the filter before any comment is posted to the pull request.
Signals in a repository
- A reviewdog step with filter-mode set to diff_context or added.
- Review bot configuration that limits comments to changed lines.
In practice
No scanned repository runs a tool for this check. The steps above are the only guidance.