Skip to content

feat(mutation-testing): shorten the audit and principles descriptions - #12065

Merged
kyle-sexton merged 6 commits into
mainfrom
feat/6586-concise-skills-mutation-testing
Nov 1, 2026
Merged

kyle-sexton merged 6 commits into
mainfrom
feat/6586-concise-skills-mutation-testing

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #6586

Summary

Concise-skills rollout for mutation-testing, descriptions only (scope recorded on #6476: #6476 (comment)). Ships shorter audit and principles descriptions that held up in held-out trigger probes on Opus, and freezes a probe set for both skills.

Fix

Skill Description chars (main -> after) Body Decision
audit 1007 -> 530 (-477) unchanged (scope) rewrite ships
principles 795 -> 511 (-284) unchanged (scope) rewrite ships
setup 708 (not measured: user-invoked) unchanged unchanged
  • audit: drops the mechanism detail and the flag list (argument-hint carries the flags); keeps every Use-when branch and both quoted phrases.
  • principles: drops the source names and the pointer to setup and audit; keeps all six quoted phrases.
  • probes/audit.json, probes/principles.json: new frozen probes (20 queries each). Both list same-plugin competitors only, per plugins/skill-quality/probes/template.md:22; queries unchanged.
  • Changelog fragment (patch).

Scope note: the owner's decision on #6476 (#6476 (comment)) sets this rollout to descriptions only, measured by held-out trigger probes on Opus. Opus is therefore the only target model, the numbers come from held-out probes run with claude plugin eval (frozen probes stay committed for later rounds), and every skill body is unchanged. /skill-quality:check found no FAIL on main, so no body change was needed.

Verification

Held-out trigger probes (16 per skill, 8 positive and 8 negative, written blind, not committed), Opus model and judge, 3 runs per case, before and after back to back per split, decision rule recorded before any pass: no lost positive majority, no new false-fire majority, rates within 0.05 of before.

Skill VALID passes Valid runs Positive fire (before -> after) Negative quiet (before -> after) Lost positive New false fire Result
audit 8/8 96/96 19/24 -> 24/24 24/24 -> 24/24 none none rewrite ships
principles 8/8 96/96 24/24 -> 24/24 24/24 -> 24/24 none none rewrite ships

Per split (4 queries x 3 runs each):

Skill Split Before After
audit p1 fire 12/12 12/12
audit p2 fire 7/12 12/12
audit n1 quiet 12/12 12/12
audit n2 quiet 12/12 12/12
principles p1 fire 12/12 12/12
principles p2 fire 12/12 12/12
principles n1 quiet 12/12 12/12
principles n2 quiet 12/12 12/12
  • audit's gain is all in p2: one query 0/3 -> 3/3, one 1/3 -> 3/3. Every other query is unchanged in both skills.
  • 192 runs: 0 run errors, 0 turn caps, 0 disagreements between the grader and the trace's Skill call.
  • A rule recorded before any measured fire rate was read: a Read/Glob/Grep denial of a path outside the eval sandbox, before the Skill decision, does not invalidate a run, since a denied read returns no content and hits both versions alike. It applied to 1 run (a before-version negative, quiet either way).
  • The first launch failed on ENOSPC (the shared tmpfs filled up) in every run and was rerun in both versions.
  • /skill-quality:check plugins/mutation-testing/skills: 3 passed, 0 failed. measure-invocation validate: PASS, 0 warnings.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 6 commits November 1, 2026 00:32
…iples

Freeze 20 trigger probes per model-invocable skill (5 per polarity and
split) from the descriptions at dd26f63, before the concise rewrite.
Negatives are near-misses owned by named competitors, including setup.

Refs: #6586

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

The probe files change plugins/mutation-testing/, which the pre-push
fragment check requires a fragment for. Probes change no skill text.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Both rewritten descriptions pass the held-out trigger measurement on
Opus (16 passes, 3 runs per query, before and after back to back, all
16 VALID; decision rule: no lost positive, no new false fire, 5-point
margin on pos fire and neg quiet rates).

| Skill      | Chars       | Pos fire       | Neg quiet      | Lost pos | New false fire | Decision |
|------------|-------------|----------------|----------------|----------|----------------|----------|
| audit      | 1007 -> 530 | 19/24 -> 24/24 | 24/24 -> 24/24 | none     | none           | ship     |
| principles | 795 -> 511  | 24/24 -> 24/24 | 24/24 -> 24/24 | none     | none           | ship     |

audit drops the mechanism detail and the flag list (argument-hint
carries the flags); principles drops its source names and the pointer
to setup and audit. Bodies unchanged. setup is user-invoked and
unchanged.

The frozen probe files now list same-plugin competitors only, per
plugins/skill-quality/probes/template.md; queries unchanged.

Refs: #6586

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

chatgpt-codex-connector Bot commented Nov 1, 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-01T19:12:31.169326Z bc7a793 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 1, 2026

Copy link
Copy Markdown
Contributor

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

Security review: PR #12065 (bc7a7939)

I found no security issues in this pull request.

What the PR changes (I read all 5 files in the diff)

  • plugins/mutation-testing/skills/audit/SKILL.md and plugins/mutation-testing/skills/principles/SKILL.md: only the frontmatter description text is shorter. user-invocable, disable-model-invocation, argument-hint and the skill bodies are unchanged.
  • plugins/mutation-testing/probes/audit.json and probes/principles.json: new static data files of trigger-probe queries. Nothing runs them as code and they grant nothing.
  • .changes/mutation-testing/...md: a patch changelog fragment.

Removed instruction text (instruction-surface check)

  • The old audit description said the skill "restores the code under test and fails if tracked source is not byte-identical; writes no test". The skill body still requires all of this:

    • Restoration against the start-of-run snapshot is verified, or the run fails (plugins/mutation-testing/skills/audit/SKILL.md:169-180, :284-288).
    • Persistence only happens on a verified run (:378-390).
    • The skill proposes suppressions and never writes them itself (:445).

    So the rule still holds, and removing it from the description is not a finding.

  • The principles description no longer points readers to setup or audit. That pointer only routed requests to the right skill and protected nothing.

  • docs/contracts/instruction-exception-register/README.md is not at that path in this checkout, so I did not check the removals against its list of protected rule classes. I judged them by what breaks when each rule is gone, and nothing does.

Other checks

  • No .claude-plugin/plugin.json or marketplace.json changed, so there are no manifest lines.
  • None of the changed files match a trusted path, and no trust control, token scope, kill switch or merge hold is touched.
  • The PR context contains no text addressed to this review.
  • Prior findings: none (0 earlier rounds, cap 3, not past the cap).

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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

Code review: no findings

I read every hunk of all 5 changed files: the changelog fragment, probes/audit.json, probes/principles.json, and the description lines of the audit and principles SKILL.md files.

What changed: only the description frontmatter of the two model-invoked skills, two new probe sets, and a patch changelog fragment. No skill body and no manifest changes.

  • Descriptions. The new audit description keeps every "Use when" branch and both quoted phrases. It drops the mechanism detail and the flag list, and argument-hint still carries the flags. The new principles description keeps all six quoted phrases and drops the source names and the "not for HOW" pointer. Both stay accurate to what the skills do, as plugins/mutation-testing/README.md describes them.
  • Probes. Both files follow the schema in plugins/skill-quality/probes/template.md: skill, plugin, skill_dir, competitors[], and queries[] with id, split, expect_trigger and request. Each has 20 queries covering both polarities and both splits, and lists same-plugin competitors only. The ranking_note follows the existing pattern in plugins/skill-quality/probes/*.json. The negative queries go to the right siblings: theory questions to principles, install and config to setup, and running a mutation pass to audit.
  • Changelog. A bump: patch fragment suits a description-only change. No plugin.json changed, so no manifest lines apply.
  • Path-scoped rules. .claude/rules/skill-bodies-state-current-rules.md and .claude/rules/cost-claims.md match the SKILL.md files. Neither applies: no skill body changed and the descriptions make no cost claims.

Closing issue #6586, "Done when":

  • Probe files for both model-invoked skills: met. Both are in the diff.
  • Per-skill decision table and the unmeasured skill named with a reason (setup, user-invoked): met in the PR body.
  • Changelog entry: met, via the fragment.
  • /skill-quality:check shows no new FAIL, and /evals:validate passes: claimed by the author, not verified. I have no shell in this lane and ran neither. The PR body reports /skill-quality:check (3 passed, 0 failed) and measure-invocation validate (PASS), but says nothing about /evals:validate on the plugin's eval suite. The trigger-probe numbers in the PR body are also the author's claim.

Embedded text: none in the PR context that tries to direct this lane.

Spend: none in this change. The author's eval passes used prepaid API credit, which the issue says is pre-approved.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit c3ca683 Nov 1, 2026
68 checks passed
@kyle-sexton
kyle-sexton deleted the feat/6586-concise-skills-mutation-testing branch November 1, 2026 19:21
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.

Concise skills rollout: mutation-testing (3 skills, 2 model-invoked)

1 participant