Repository navigation
perf(skill-quality): summarize measure-invocation validate warnings - #12961
Conversation
validate printed a WARN per cross-plugin competitor, each repeating the same reason clause, plus two INFO lines per skill. Over the 67 probe directories that was 214,393 bytes of stderr, most of it repetition an agent session had to read. By default it now prints one WARN per probe file naming every foreign competitor, one INFO line with the total and the reason, and no per-skill listing or query-split INFO. --verbose restores the old output byte for byte. The warning count, exit codes and every other line are unchanged. Default stderr over the same directories is 57,595 bytes. Refs: #12242 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015te8CsyoyMhoEcPAAHxicU
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #12961 (cd58f91)I found no security issues in this pull request. Scope: I read every hunk of all 4 changed files in
None of them match a trusted-path glob. None is a plugin manifest, a trust control, a merge hold or a standing-instruction file. The only instruction-like text touched is one sentence in What I checked in
Test file: It adds fixture rows. The deliberate word-split of The PR context contains no embedded instructions aimed at this review. The prior-findings file lists no earlier posts (0 rounds, cap 3), so the round cap did not apply. critical-findings: 0 |
|
claude-review reviewed Code review: PR #12961 (no findings)I read every hunk of all 4 changed files: the changelog fragment, What I checked by reading the code (I could not run anything):
Author-claimed and unverified: the stderr byte counts (214,393 to 57,595), the empty Other checks:
|
Post-merge mutation testingKilled 6, survived 1, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
Refs: #12242
Summary
Source 4 of #12242:
measure-invocation.sh validatesent long stderr into agent sessions. 860 ofits roughly 1,000 lines over this repository's probe directories were one of three repeated
shapes: a WARN per cross-plugin competitor (388 lines, each repeating the same reason clause), and
two INFO lines per skill (230
listing <path>and 230 query-split lines). The default output isnow short.
--verboseprints the old output byte for byte, so no signal is lost.Fix
WARN: <file> (<skill>): 3 competitor(s) not from plugin 'p': 'a:x', 'b:y', 'c:z', and one INFOline per run giving the total, the reason, and a pointer to
--verbose. The per-skill listingand query-split INFO lines print only under
--verbose.PASS (N warning(s))line (still one percompetitor), exit codes, FAIL lines, copied-span WARNs (17 today, each distinct), query-count
and
skill_dirWARNs, the unresolved-count INFO, and the validated-count INFO.cmd_validateparses--copy-span Nand--verbosein either order and rejects an unknownoption with exit 2.
a retention rule and a flag needs neither. Basis: judgment, plus CI reads only the exit code
(
.github/workflows/pr-require-checks.yml"Validate invocation probes" step,validate "$dir" || status=1), so CI needs no change.probes/template.mddescribed "warns on each cross-plugin rival" and now describes theper-file WARN and
--verbose. The script's--helpheader is updated.skills/check/SKILL.md,the README and
reference/invocation-probes.mddo not describe the changed lines and are leftalone. The changelog fragment states the new default, which supersedes the 0.32.1 entry's "a
WARN for each probe competitor".
Verification
stderr bytes of
measure-invocation.sh validate <dir>over all 67plugins/*/probesdirectories(stdout is 0 bytes in every case; every directory exits 0, before and after):
--verbosediff -ragainst the before capture is empty for all 67 directories (stderr, stdout and exit code)Largest directories, before to after default: harness-ops 22,691 to 4,333; discipline 22,327 to
4,734; docs-hygiene 13,372 to 3,186; session-flow 12,565 to 5,630; planning 11,169 to 2,996. A
directory with no warnings goes from 300-3,000 bytes to 81. The issue's 74,671 chars covered 5
Bash results in one session; this sweep covers all 67 directories.
bash plugins/skill-quality/scripts/measure-invocation.test.sh: all passed. New rows cover theper-file default WARN (one line naming both rivals, warning count kept, no per-skill INFO),
--verbosein three option orders (per-competitor WARNs and per-skill INFO return, no summaryline), and an unknown option (exit 2).
bash scripts/check-affected.sh --tests: 14 passed, 2 skipped over 4 changed files.Related
check-skill.shroot mode kept its INFO lines because they carry skip notes asuite pins; here the same test (keep every distinct signal) is met by
--verbose.🤖 Generated with Claude Code
https://claude.ai/code/session_015te8CsyoyMhoEcPAAHxicU