Skip to content

fix(review): a model verdict that rests on a criterion with no command is not a confirmation #1053

Closed as not planned

Description

@dan-petty

Problem

In #1015's precision-guard run (.data/measurements/recall2/b-precision, decision in .data/measurements/recall2/decision.md), the verifier marked two false src/devops_cli/config/settings.py findings (:1010, :1020) VERIFIED at confidence 0.9. Their only verification criteria were non-executable sentences that restate the code's existing behaviour; nothing ran. #1043 makes criteria that pass leave a finding to the verifier, but it does not cover a model verdict that cites a criterion with no command as its evidence. Those two findings were also caused by the review's own masking, which rewrote token = _resolve(opt.GRAFANA_TOKEN, settings) to token=<masked-token>, settings) on the page (#889).

Acceptance criteria

  • A VERIFIED verdict whose only cited evidence is a criterion with no executable command (and no quoted defective line, as the verifier's rule requires) is not applied: the finding stays UNVERIFIED with its own note kind. A test replays the two settings.py verdicts, trimmed to fixtures.
  • A VERIFIED verdict that quotes the defective line is still applied whatever its criteria; a test pins one.
  • changelog.d/1053.md records the fix under ### Fixed. CHANGELOG.md is not edited.
  • uv run devops ci passes.

Key questions

Depends on: none.
Order: after #845 and #1043, which change the same verdict paths.
Related: #845, #1043, #889.

Activity

  1. added
    type/bug
    scope/review
    priority/p2-medium
    on Oct 3, 2026
  2. dan-petty commented on Oct 3, 2026

    @dan-petty
    OwnerAuthor

    Frozen by the evidence-first review redesign (#1137, owner direction of 2026-10-03): patches to the model generator and verifier stop, and tool-layer fixes continue. This item patches code that #1150 deletes (the verifier path in verification.py, the guards and verifier prompts, construct_validator.py, criteria_evidence.py, and the known-false-positive catalog).

    It stays open, labelled status/blocked, and closes as not planned with "Superseded by #1150" when that item lands. Until then, the interim is the tools-only review (--no-persona-review --no-verification). Do not start work on it.

  3. added
    status/blocked
    on Oct 3, 2026
  4. dan-petty commented on Oct 17, 2026

    @dan-petty
    OwnerAuthor

    Closed as not planned in the 2026-10-17 unblocking review: Superseded by #1150. The verifier and criteria_evidence are deleted, and VerifiedBy has no model label (ai/review/verdicts.py:14-18). Only tools and people change a finding's state (ADR 0005).

  5. removed
    status/blocked
    on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2-mediumscope/reviewtype/bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions