Commit bb3fc4a
committed
fix(pm): split check-widening-tells' file count and let its CLI be told the board
The success line counted every changed file as "read" and set that count
beside a qualified negative, so exit 0 read as coverage for surfaces the
instrument cannot see: six of the seven declared rows sit in packages/spec,
and a published symbol anywhere else is invisible by construction.
The count is now split — `judged` is the only number exit 0 is evidence
about, and every other file is named under the reason it could not be
examined. The scoping is untouched, the #16349 honesty caveat is still
printed, and no verdict or exit code moves.
The second half is the same output line: main() never passed a repo, so the
declared objectui mirror row was unreachable through the documented CLI and
an objectui diff could only come back clean — including one that really adds
a key to packages/types/src/zod/**. The board is now resolved by
resolveSweepRepo (PM_SWEEP_REPO, else GITHUB_REPOSITORY, else this repo),
imported from the sibling rather than reinvented, stated in the verdict, and
`--repo` is refused with the variable named so two entry points cannot
disagree. Fixing the count alone would have filed the mirror under "no
declared surface covers it", which is false about it — hence one pass.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MkQhmuuJAVDjmeWNixwDDH1 parent 0780e88 commit bb3fc4a
1 file changed
Lines changed: 498 additions & 34 deletions
0 commit comments