Skip to content

fix(run): the summary's "N unmet" counts QA gap bullets, not unmet ACs #1689

Open

Description

@admarble

Problem

In the #1655 smoke (2026-11-16, notes-fixture #37), the run summary said AC_NOT_MET (3 unmet). The run log's acs[] for that issue held one not_met, one pending and one met, and QA's comment said "AC coverage: 1/3 met". The count comes from src/commands/run-display.ts:130 (summary.unmetCount = failedPhase.summary.gaps.length), so it counts QA's gap bullets, which include non-AC items such as "branch is stacked on #36". It does not count unmet ACs. Since #1525, the per-AC statuses are in the run log.

Acceptance Criteria

  • AC-1: The summary's unmet count is the number of the issue's ACs with status not_met, and a pending AC is not counted as unmet. Evidence: npx vitest run src/commands/run-display.test.ts -t "unmet count" → ≥ 2 passed, 0 failed

Non-Goals

  • The QA gaps list or its rendering in the issue comment.

Done when

(N unmet) in the run summary counts the not_met ACs.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions