Skip to content

feat(ai): attribute verification failure in ai review #422

Closed

Description

@dan-petty

Context & Rationale

_validate_segment_findings wraps the entire LLM verification call in except Exception: pass and returns the unverified result (src/devops_cli/ai/review/verification.py). Findings are correctly rendered *(unverified)* rather than dropped, so nothing is lost — but an infrastructure failure, a malformed model response and a genuine refusal to verify all produce the identical output. A reviewer reading a page of unverified findings cannot tell whether the verifier disagreed or never ran.

Scope & Deliverables

  • Context & Rationale*: _validate_segment_findings wraps the entire LLM verification call in except Exception: pass and returns the unverified result (src/devops_cli/ai/review/verification.py). Findings are correctly rendered *(unverified)* rather than dropped, so nothing is lost — but an infrastructure failure, a malformed model response and a genuine refusal to verify all produce the identical output. A reviewer reading a page of unverified findings cannot tell whether the verifier disagreed or never ran.
  • Deliverable*: Distinguish the outcomes. Record the failure reason on the result, surface it in the review summary, and count verification errors separately from unverified findings.
  • Constraint*: Verification must stay best-effort — a model outage should degrade the review, not abort it. The change is to make the degradation legible, not to make it fatal.

Strategic Alignment

  • Milestone: v0.2.23 (Foundational Architectural Guardrails & Project Hygiene)
  • Roadmap Reference: docs/ROADMAP.md

Activity

  1. added this to the v0.2.23 milestone on Sep 22, 2026
  2. added
    type/feature
    scope/ai
    priority/p2-medium
    on Sep 22, 2026
  3. dan-petty commented on Sep 23, 2026

    @dan-petty
    OwnerAuthor

    Closed by #451, merged into release/v0.2.23.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

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/aitype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions