Skip to content

fix: better distinguish pre-existing findings - #397

Open
derekbarbosa wants to merge 2 commits into
sashiko-dev:mainfrom
derekbarbosa:fixes/distinguish-preexisting
Open

fix: better distinguish pre-existing findings #397
derekbarbosa wants to merge 2 commits into
sashiko-dev:mainfrom
derekbarbosa:fixes/distinguish-preexisting

Conversation

@derekbarbosa

Copy link
Copy Markdown
Collaborator

Modify the Stage 11 prompt and SPA to produce better visual clarity on pre-existing findings.

Fixes: #381

Pre-existing issues were previously written as inline comments on the
diff, which added noise for contributors and maintainers. Stage 11 now
collects them under a distinguishable, plain-text header section at the
top of the report and reserves inline comments for newly-introduced
findings.

Signed-off-by: derekbarbosa <derekasobrab@gmail.com>
Parse the pre-existing issues header emitted by the Stage 11 prompt and
render that section as a visually-distinguishable flag/banner instead of
severity-colored inline comments, so maintainers can tell at a glance
which findings were not introduced by the patch. No behavioral change
for reports without a pre-existing section.

Assisted-by: deepseek-v4-flash
Signed-off-by: derekbarbosa <derekasobrab@gmail.com>
@derekbarbosa
derekbarbosa force-pushed the fixes/distinguish-preexisting branch from 600f2ff to 762fd5d Compare August 8, 2026 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve propagation of pre-existing issues

1 participant