You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
report: the summary credits commits as "times in reviews", so its numbers don't match the facts #714
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
Write a facts file with one rule whose evidence is { "commits": 3 }, with no surfaced.reviewComments.
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
aibex-agent commentedon Nov 29, 2026
Fixed by #715.