Skip to content

fix(skill-quality): emit live probe cases under an ignored probe-evals dir - #12316

Merged
kyle-sexton merged 5 commits into
mainfrom
fix/12249-probe-evals-dir
Nov 2, 2026
Merged

kyle-sexton merged 5 commits into
mainfrom
fix/12249-probe-evals-dir

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Closes #12249

Summary

#12300 documented a run line for competitor-loaded probe cases, claude plugin eval <repo> --eval-dir .work/probe-evals/<plugin>. The CLI refuses it before any run starts:

Error: --eval-dir must use plain directory names (a letter or digit first, then letters, digits, . _ - @ +); ".work" is not

This PR moves the cases to probe-evals/<plugin> at the repository root and ignores that path. That path is still inside the run target, so the cases' plugins: paths resolve.

Fix

  • .gitignore: ignore /probe-evals/.

  • plugins/skill-quality/scripts/measure-invocation.sh: the README that emit writes names probe-evals/<plugin> and says why .work/ cannot be used.

  • plugins/skill-quality/reference/invocation-probes.md: the example emits to probe-evals/skill-quality.

  • plugins/skill-quality/reference/invocation-probes.md, new section "Description controls":

    • the ship rule;
    • the competitor set (the probe file's competitors[]);
    • how a control swaps in a generic description without touching the shipped SKILL.md;
    • both recorded runs, with fire counts, means and verdicts;
    • why curate-language cannot drop.

    This puts feat(evals): competitor-loaded routing harness so description cuts can be measured #12249's refinement criteria in the repo.

  • A patch changelog fragment for skill-quality.

Verification

Related

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits November 2, 2026 01:33
…s dir

claude plugin eval refuses `--eval-dir .work/...` ("must use plain
directory names ... '.work' is not"), so the run line #12300 documented
could not run. Point the example and the emitted README at
probe-evals/<plugin> at the repository root and ignore that path.

Refs: #12249

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 2, 2026 07:03
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T07:05:22.052619Z 12a77a8 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed fac533aadea029f08bfa651f778469beda1642da: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #12316 (incremental, since 719fc13)

I found no security issues.

Scope: I read every hunk of both files in the incremental diff:

  • plugins/domain-driven-design/probes/curate-language.json
  • plugins/skill-quality/reference/invocation-probes.md

The other files in this pull request have not changed since 719fc13, which this lane already reviewed.

What changed:

  • curate-language.json: probe data. One entry in competitors[] changes from knowledge:book-distill to knowledge:distill. The entry is still the name of a skill in a plugin in this repository, and the local probe-eval step loads it beside the target. No outside source, command or untrusted input is added.
  • invocation-probes.md: documentation only. One sentence now says "no knowledge skill was called" where it used to name knowledge:book-distill. This was a factual note, not a standing rule, so the instruction-surface lens finds nothing.

Other checks:

  • Trusted paths: neither file matches a trusted-path glob.
  • Trust controls: none touched (trusted-trigger check, lane token scope, kill switch, token broker's signer, merge holds).
  • Plugin manifests: no plugin.json or marketplace.json changed.
  • PR context: the pull request text has no instructions aimed at this review.
  • Prior findings: earlier rounds found nothing (0 rounds with findings, cap 3, not past the cap).
  • Spend: none.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed fac533aadea029f08bfa651f778469beda1642da: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #12316, incremental (since 719fc13b): no findings

I read every hunk of both files in scope in .claude-lane/incremental.diff, and used the full diff for context.

Prior finding resolved. Last round's only finding was that the competitor id knowledge:book-distill is stale. This change fixes it:

  • Probe file: curate-language.json#L12 now names knowledge:distill. plugins/knowledge/skills/distill/SKILL.md exists, so score can resolve the competitor from its default path. No competitor_dirs entry is needed.
  • Doc: invocation-probes.md#L153 now says "no knowledge skill was called". That fits how emit loads the whole competitor plugin, and it no longer names a skill that doesn't exist.
  • Leftover references: book-distill no longer appears anywhere under plugins/ outside the knowledge plugin's own historical CHANGELOG entries, and nowhere under .changes/.

Unverified claims. The owner's reply says measure-invocation.sh score plugins/domain-driven-design/probes now exits 0. That is the author's claim and I haven't verified it: this lane has no shell and ran nothing.

Closing issue #12249. This round doesn't change last round's assessment. The repository records why curate-language (#6604) cannot drop, and with the id fixed that record is accurate. The criterion is a measurement result, so no test could cover it.

Plugin manifests: this round changes no plugin.json or marketplace.json.
Settled threads / prior findings: the stale-id thread is resolved, and the owner's reply states the fix was made. This round's diff is that fix, so nothing is re-raised. Before this round: 1 round with findings, cap 3, not past the cap.
Embedded instructions: none in the PR context, settled threads or prior findings.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 8e47b21419f3e39853d22dbb4cd58955ac8eda36. What it wrote, as data:

What it wrote (25 lines)
Summary: PR #12316 is meant to close #12249, but it misses one of the refinement's acceptance
  criteria. That criterion says the harness must load curate-language beside knowledge and
  docs-hygiene. The recorded curate-language run left out knowledge, and the new doc section says so
  (invocation-probes.md:72). That run is also the one that came out unmeasurable. The rest is
  delivered and CI is green: the move to probe-evals/ for the --eval-dir dot-segment refusal, the
  ship rule, competitors[] named as where the competitor set lives, the documented swap, and the
  name-it-better run that drops below the shipped text.
- plugins/skill-quality/reference/invocation-probes.md:72: blocking. The #12249 refinement requires
  the harness to load 'curate-language with knowledge and docs-hygiene, with each set recorded in
  the repo'. The recorded curate-language run used planning, naming, docs-hygiene and architecture,
  and the doc says 'knowledge is not in it'. To fix: add the relevant knowledge skill(s) to
  competitors[] in plugins/domain-driven-design/probes/curate-language.json. Then rerun the
  shipped-versus-control pair in that listing, and record the fire counts and the verdict in the
  Description controls table.
- plugins/skill-quality/reference/invocation-probes.md:66: the reason given for curate-language
  being unmeasurable ('no competitor took any of its should-trigger probes') was measured without
  knowledge. The issue named knowledge as a likely competitor, so the 'cannot drop' record does not
  yet cover the listing the spec asks for.
- plugins/skill-quality/reference/invocation-probes.md:55: the generic-description swap is a manual
  procedure (git archive copies plus a hand edit), not a script. The issue's intended outcome
  mentions a 'scripted' harness. The acceptance criterion only says the harness lets the run swap
  the description without touching the shipped SKILL.md, which this meets. Worth a human's look.
- .gitignore:23: '/probe-evals/' is anchored at the repository root. The swap procedure emits into
  staged copies' probe-evals/<plugin>, so those are not ignored if the staged copies are inside the
  checkout. They are covered only if they are under .work/ or outside the repo.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass at a new commit removes the label.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 2, 2026
kyle-sexton and others added 2 commits November 2, 2026 02:27
…nd runs

pr-verify on #12316: closing #12249 needs its refinement in the repo, not
only in issue comments. invocation-probes.md now states the ship rule,
that the competitor set is the probe file's competitors[], how a control
swaps in a generic description without touching the shipped SKILL.md, and
the two recorded controls (name-it-better measurable, curate-language not,
with why).

Refs: #12249

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…trol with knowledge loaded

pr-verify on #12316: #12249's refinement asks for curate-language beside
knowledge and docs-hygiene. Add knowledge:book-distill to the probe's
competitors and correct its note (emit now loads competitor plugins).
Rerun on Sonnet 5.5: shipped and generic both 27/27 should-trigger,
27/27 should-not, mean 1.000 / 1.000, no case drop, so the description
stays unmeasurable; knowledge was never called. Record the row and the
routing detail. Unanchor the probe-evals/ ignore so staged copies inside
the checkout are covered too.

Refs: #12249

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 719fc13b56d15ea8fea4aaeb0152eae9d4fa888a; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 2, 2026
…r knowledge:distill

knowledge:book-distill was renamed to knowledge:distill, so `score` failed
to resolve the competitor. The control run loaded the whole knowledge
plugin, and no knowledge skill was called, so the recorded result stands;
the doc now says that instead of naming the old skill.

Refs: #12249

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit d54ab7a Nov 2, 2026
43 checks passed
@kyle-sexton
kyle-sexton deleted the fix/12249-probe-evals-dir branch November 2, 2026 08:13
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.

feat(evals): competitor-loaded routing harness so description cuts can be measured

1 participant