Skip to content

Resolve uncertainty findings against referenced repository files - #117

Merged
morgaesis merged 1 commit into
mainfrom
feat/uncertainty-resolution
Jul 24, 2026
Merged

Resolve uncertainty findings against referenced repository files#117
morgaesis merged 1 commit into
mainfrom
feat/uncertainty-resolution

Conversation

@morgaesis

Copy link
Copy Markdown
Contributor

The reviewer receives only the diff, so an uncertainty finding can name a repository file it cannot see. With reviews.uncertaintyResolution enabled (default off, POSTIL_UNCERTAINTY_RESOLUTION override), a bounded post-scoring pass fetches the backtick-quoted repository paths from each uncertainty finding (filesystem locally, contents API at the PR head SHA on GitHub, capped at 3 files and 64KB per finding) and makes one additional model call that must return byte-verbatim evidence from the supplied material: refuted findings drop into the existing suppression accounting, confirmed findings get an evidence-based body, and everything else, errors included, keeps the original finding untouched. Generator and scorer prompts are unchanged.

@morgaesis morgaesis closed this Jul 24, 2026
@morgaesis morgaesis reopened this Jul 24, 2026
@morgaesis
morgaesis merged commit 013d7a9 into main Jul 24, 2026
15 of 16 checks passed
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.

1 participant