Skip to content

Add --note: claim and closest source sentence for reviewers - #7

Merged
RootX22 merged 1 commit into
mainfrom
reviewer-note
Nov 27, 2026
Merged

RootX22 merged 1 commit into
mainfrom
reviewer-note

Conversation

@RootX22

@RootX22 RootX22 commented Nov 27, 2026

Copy link
Copy Markdown
Owner

A failed run usually ends in a CI log that only the engineer reads, while the person approving a release sees a summary score.

--note FILE appends a short Markdown note: each blocking claim (at or above --fail-on) quoted over the source sentence that shares the most wording with it, or a line saying no sentence does. The score is left out on purpose. It appends, so it can go straight into $GITHUB_STEP_SUMMARY or a file posted as a PR comment.

  • signals.closest_passage: the source sentence with the highest overlap
  • Finding.closest_source / closest_passage, also in --json
  • text output unchanged
  • version 1.1.0

Tests: 7 new, 41 pass; ruff clean.

A failed run ends in a CI log that only the engineer reads. The note puts
each blocking claim over the source sentence that shares the most wording
with it, without the score, so it can go into a PR comment or the job
summary and reach whoever signs off.
@RootX22
RootX22 merged commit ce3b17c into main Nov 27, 2026
8 checks passed
@RootX22
RootX22 deleted the reviewer-note branch November 27, 2026 10:18
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