Skip to content

Let fix-findings ask by option instead of diff approval - #19

Merged
drimchansky merged 1 commit into
mainfrom
task/fix-findings-without-diff-approval
Nov 3, 2026
Merged

drimchansky merged 1 commit into
mainfrom
task/fix-findings-without-diff-approval

Conversation

@drimchansky

@drimchansky drimchansky commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Task: no ticket
Related PR: #16

fix-findings asked the user to approve a concrete diff for every fix outside a narrow Auto tier. PR comments and other findings without a Confirmed verdict always took that path, even for a typo.

  • Two kinds of fix now apply without asking. Confirmed fixes that meet the existing Auto criterion still apply, including behavior changes. Clear fixes of any verdict except Withdrawn or Inconclusive also apply when they stay within review-evidence's low risk tier: documentation, comments, copy, or styling. A test edit applies without asking only when its finding is Confirmed.
  • Every other actionable finding gets a question with its options, their trade-offs, and a recommended option. The user picks an option, or skips, defers, or rejects the finding. No diff is drafted or shown.
  • Pre-existing findings get one question about whether to include them, except findings the user named individually. Included findings then follow the same routing, and Auto fixes wait until the question is answered.
  • A picked option takes the same executor packet and recovery re-execution as an Auto fix. A new picked-option intake compares the executor's reported changes with the picked option. The approved-diff packet, byte-compare intake, verbatim-only replay, and fresh-diff asks are removed from the executor binding and the recovery reference.
  • tests/review-evidence.test.ts pins the new gate and fails if diff-approval wording returns.

@drimchansky
drimchansky force-pushed the task/fix-findings-without-diff-approval branch from ab4b973 to 173cdc0 Compare November 2, 2026 19:44
fix-findings now applies two kinds of fix without asking: Confirmed
fixes that meet the existing Auto criterion, and clear fixes of a
finding with any verdict or none, except Withdrawn or Inconclusive,
that stay within review-evidence's low risk tier. Test edits from
findings that are not Confirmed still go to Ask. Every other actionable
finding gets a question with its options, trade-offs, and a recommended
option instead of a diff to approve. Pre-existing findings get one
inclusion question before routing, except those the user named
individually, and an included finding routed to Ask holds Auto fixes
until it is answered.

A picked option takes the same executor packet and recovery
re-execution as an Auto fix, plus a picked-option intake that compares
the executor's reported changes with the option. The approved-diff
packet, byte-compare intake, formatter-drift reporting, verbatim-only
replay, and fresh-diff asks are gone from the executor binding and the
recovery reference.

The triage-findings handoff describes both Auto tiers and the
inclusion question, the change-routing map lists
fix-findings-recovery.md for the review-evidence suite, and
tests/review-evidence.test.ts pins the new gate.
@drimchansky
drimchansky force-pushed the task/fix-findings-without-diff-approval branch from 173cdc0 to 7b23881 Compare November 3, 2026 08:35
@drimchansky
drimchansky merged commit c2c5ff9 into main Nov 3, 2026
@drimchansky
drimchansky deleted the task/fix-findings-without-diff-approval branch November 3, 2026 09:22
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