Repository navigation
Conversation
…roups Signed-off-by: Yshuro <yshuro1080@gmail.com>
Member
|
Thanks for the PR. I'll look at this today / tomorrow and get back to you with any feedback |
theCodeDrift
requested changes
Nov 26, 2026
theCodeDrift
left a comment
Member
There was a problem hiding this comment.
Thanks for picking this up! The output reads well and the counts check out against the facts file. A few things before it can merge:
- OpenSpec delta.
openspec/specs/cli-report/spec.md("A published report is recorded and summarized") still requires the two "times in reviews / times in conventions" totals, and two scenarios pin those strings. Please add a change with aMODIFIEDdelta that keeps the requirement's title, restates it in full with the per-kind wording and ordering, keeps every existing scenario (rewording the two that pin the old strings), and adds a commits-only scenario. Archive it in this PR. - Changeset. Please add a
patchchangeset saying the report summary now names each evidence kind. - Dead code.
groupTotalsinevidence.tshas no callers now. Please remove it, and update the comments insummary.tsthat describe the old two-group wording. - Issue reference. Please change
Fixes #714to a trailingRefs #714line. The published page needs a matching change in another repository, so this PR shouldn't close the issue alone.
Optional: derive the kind order from RULE_SOURCES/SOURCE_GROUPS rather than a new list, assert the commits-only case on the rule's own line, and change "evidence totals" in packages/cli/src/agent/report.md to "evidence by kind".
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #714.
Summary
sourceCountsinpackages/cli/src/report/evidence.tsto return each non-zero evidence kind's exact count (ordered largest first,reviewsgroup beforeconventionson ties), keepingSOURCE_GROUPSfor ordering only.evidenceSuffixinpackages/cli/src/report/summary.tsto 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 intotimes in reviews/times in conventions.renderSummarytests inpackages/cli/test/report.test.tsto verify per-kind labels and that commit-only evidence never mentionsreviews.Verification
pnpm typecheckpassedpnpm buildpassedpnpm --filter @taskless/cli test -- report.test.ts -t "renderSummary"passed (5/5)pnpm exec eslint .passedpnpm exec prettier --writeformatted modified files