Repository navigation
feat(review): one verdict writer and cited refutations (#601) - #625
Merged
dan-petty merged 1 commit intoSep 26, 2026
Merged
Conversation
- Introduce unified apply_verdict writer writing status, verified, reportable, mitigated, verified_by, and verified_at together - Enforce verdict invariants at findings.json serialization, review verify CLI, and pipeline copy-back - Ensure executed criteria verdicts are final when all commands ran without overwrite by model verification - Add citation_line and mitigating_mechanism to Finding and FeedbackRecord - Validate refutation citation line bounds and construct tokens, downgrading missing/invalid refutations to UNVERIFIED - Compute per-adjudicator citation rates in compute_verdict_distributions - Support --status with all four states in MCP review_findings tool
dan-petty
deleted the
feat/601-one-verdict-writer-and-cited-refutations
branch
September 26, 2026 19:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Completes Part 2 of #601:
apply_verdict): Introduced single central writer insrc/devops_cli/ai/review/verdicts.pythat setsstatus,verified,reportable,mitigated,verified_by, andverified_atsynchronously.assert_verdict_invariantsenforcing:INVALIDATED->not reportable,not verifiedVERIFIED-> requires non-emptyverified_byandverified_atUNVERIFIED->verified_by is None,verified_at is NoneMITIGATED-> stays reportablefindings.jsonserialization,devops review verifyCLI invocation, and whole-result pipeline copy-back.citation_lineandmitigating_mechanismtoFinding,SavedFinding, andFeedbackRecord.UNVERIFIEDwithverification_note.compute_verdict_distributions.--mitigatedfilter todevops review findingsand enabled--statusqueries for all 4 states inreview_findingsMCP tool.tests/test_verdict_writers.pyasserting invariant conformance across all 19 verdict-producing paths.Closes #601