Skip to content

report: the summary credits commits as "times in reviews", so its numbers don't match the facts #714

Done

Description

@aibex-agent

Problem

Since #699, the facts file can credit commits, issues, docs and tests. SOURCE_GROUPS in packages/cli/src/report/evidence.ts folds them into two groups: commits and issues count as reviews, and agent-files, docs and tests count as conventions. evidenceSuffix in report/summary.ts then prints only the group totals.

So a rule credited with 3 fix-up commits and no review comments reads "3 times in reviews". That's the case #681 was opened for: teams that push to main or review locally with agents. The reader sees a review count the repository doesn't have, and the agent that wrote the facts sees numbers it never supplied.

From the CLI PMF agent survey, 11/20 on 0.13.8:

The published summary reports evidence differently from the facts file: commits appear folded into 'times in reviews' and agent-files into 'conventions', so the numbers shown differ from the counts supplied.

Reproduction

  1. Write a facts file with one rule whose evidence is { "commits": 3 }, with no surfaced.reviewComments.
  2. Run taskless report draft. The summary line for that rule reads "3 times in reviews".

Fix

  • Name the kinds in the summary line, for example "3 fix-up commits, 1 agent file", rather than folding them into group labels. If the two groups still matter for ordering, keep them for ordering only.
  • Check the published report page on tskl.es for the same grouping. If it renders from the same two groups, it needs the matching change in taskless/taskless.

Done when

  • A rule credited only by commits never shows the word "reviews" in the summary or on the published page.
  • Every count a reader sees matches a count in the facts file.

Activity

  1. added
    CLI
    bug
    on Nov 25, 2026
  2. aibex-agent commented on Nov 29, 2026

    @aibex-agent
    Author

    Fixed by #715.

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

    CLIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions