Skip to content

fix(report): name evidence kinds in summary instead of folding into groups - #715

Open
Yshuro wants to merge 1 commit into
taskless:mainfrom
Yshuro:fix/report-evidence-labels
Open

Yshuro wants to merge 1 commit into
taskless:mainfrom
Yshuro:fix/report-evidence-labels

Conversation

@Yshuro

@Yshuro Yshuro commented Nov 25, 2026

Copy link
Copy Markdown

Fixes #714.

Summary

  • Added sourceCounts in packages/cli/src/report/evidence.ts to return each non-zero evidence kind's exact count (ordered largest first, reviews group before conventions on ties), keeping SOURCE_GROUPS for ordering only.
  • Updated evidenceSuffix in packages/cli/src/report/summary.ts to format each kind with its own label (review comment(s), fix-up commit(s), issue(s), agent file(s), convention(s), doc(s), test(s)) instead of folding counts into times in reviews / times in conventions.
  • Updated and added renderSummary tests in packages/cli/test/report.test.ts to verify per-kind labels and that commit-only evidence never mentions reviews.

Verification

  • pnpm typecheck passed
  • pnpm build passed
  • pnpm --filter @taskless/cli test -- report.test.ts -t "renderSummary" passed (5/5)
  • pnpm exec eslint . passed
  • pnpm exec prettier --write formatted modified files

…roups

Signed-off-by: Yshuro <yshuro1080@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant