Repository navigation
fix(skill-quality): load competitor plugins in emitted invocation cases - #12300
Conversation
emit-plugin-eval wrote cases that loaded only the target plugin, so every description, generic or not, routed to its skill. Each case now carries a plugins: line with the target plugin and each distinct competitor plugin, relative to where the cases land. Emit exits 2 before writing anything when a needed plugin directory is missing. Probes with no cross-plugin competitors emit the same cases as before. Refs: #12249 Co-Authored-By: Claude Opus 5.5 <[email protected]>
A live run of an emitted naming case against plugins/naming refused to load the sibling plugins: the CLI loads a case's plugins only from inside the run target. The emitted README and invocation-probes.md now say to run such cases from the directory holding plugins/, and record the undocumented rule with its recheck trigger. Refs: #12249 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #12249 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 #12300 (incremental, f569764..ae3ac98)I found no security issues in the changes since the last review. Scope. I read every hunk of the incremental diff in both files in scope:
Neither file matches a trusted-path glob. The change doesn't touch any trust control, kill switch, token request, merge hold or plugin manifest. What I checked
Other notes
critical-findings: 0 |
|
claude-review reviewed Code review: PR #12300, incremental (f569764 → ae3ac98)I read every hunk of the 2 in-scope files in The earlier finding is fixed in this head. That finding said generated cases landed under an untracked
That thread is settled ( Findings: none. Other notes:
|
…keep emit inside the repo The template rule and validate's WARN still said same-plugin competitors only, so a probe that followed them never got a plugins: line. Scope both: same-plugin for the committed listing-overlap baseline, cross-plugin rivals allowed for live emit-plugin-eval sets. Emit now refuses an out-dir outside the repository root when a probe has rivals, since the CLI loads a case's plugins only from inside the run target, and the reference example emits under plugins/. Refs: #12249 Co-Authored-By: Claude Opus 5.5 <[email protected]>
… .work tree The example wrote generated cases into plugins/skill-quality/probe-evals, which nothing ignores. Point it and the emitted README at .work/probe-evals/<plugin>: inside the repository root, so the plugins: paths still load, and already gitignored. Refs: #12249 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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: #12249
Summary
measure-invocation.sh emit-plugin-evalwrote cases that loaded only the target plugin. With no rivals loaded, every description, even a generic one, routed to its skill, so the emitted trigger cases could not measure a description against its competitors. Emitted cases now load the competitor plugins named in the probe file.Fix
emit-plugin-evalwritesplugins: [...]into each case'sprompt.mdfrontmatter. The list holds the target plugin first, then one entry per distinct competitor plugin taken fromcompetitors[](the plugin part ofplugin:skill), sorted, deduplicated, and without the target's own plugin. Each path is computed from where the cases actually land, so an out-dir directly under the plugin gives"../.."and"../../../<plugin>".plugins/.mainscript onplugins/visualization/probes).pluginsonly from inside the run target ("outside the containment root"). The emitted README andreference/invocation-probes.mdnow say to run these cases against the directory that holdsplugins/, and record that undocumented rule with an as-of date and a recheck trigger. They also replace the old claim that plugin eval cannot load cross-plugin competitors..changes/skill-quality/emit-competitor-plugins.md.Verification
measure-invocation.test.sh: all tests pass. Three new tests fail against themainscript: theplugins:entries, the depth computed from the out-dir, and the refusal for a missing competitor plugin. The new no-plugins:-line test is a pin that passes onmainby design; it fails against a mutant that always writes the line.shellcheckis clean on the script and the test file.gitleaksfound no leaks.naming-name-it-better-pos-train-01, 1 run,claude-sonnet-5-5,--ablation none):naming,docs-hygiene,docs-naminganddomain-driven-designwithplugin_errors: null.Related
🤖 Generated with Claude Code