Skip to content

feat(cli): verdict polarity & field distribution assertions #435

Closed

Description

@dan-petty

Context & Rationale

Two review-quality failures are invisible to the current schema. Polarity: a finding asserted a status field was "always set to ERROR" where the exported value was OK — a real defect with inverted meaning and wrong severity, which verification passed at high confidence because nothing compared observed against expected. Distribution: reportable was true for all 286 findings including the 7 never verified; a verdict field that never comes back false is a column, not a filter.

Scope & Deliverables

  • Context & Rationale*: Two review-quality failures are invisible to the current schema. Polarity: a finding asserted a status field was "always set to ERROR" where the exported value was OK — a real defect with inverted meaning and wrong severity, which verification passed at high confidence because nothing compared observed against expected. Distribution: reportable was true for all 286 findings including the 7 never verified; a verdict field that never comes back false is a column, not a filter.
  • Remediation*: Require findings to carry observed_value and expected_value when asserting a concrete value, and reject the pair when identical. Add a pipeline self-test asserting that a finding constructed to be withdrawn is in fact withdrawn, and emit verdict-field distributions in the run summary so a field that never discriminates is visible immediately.

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/cli
    priority/p1-high
    on Sep 22, 2026
  3. dan-petty commented on Sep 25, 2026

    @dan-petty
    OwnerAuthor

    Closed by #578, 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/p1-highscope/clitype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions