Skip to content

feat(prototype): shorten the pressure-test description, measured - #12104

Merged
kyle-sexton merged 7 commits into
mainfrom
feat/6589-concise-skills-prototype
Nov 1, 2026
Merged

kyle-sexton merged 7 commits into
mainfrom
feat/6589-concise-skills-prototype

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #6589

Summary

Concise-skills rollout for prototype, descriptions only (scope recorded on #6476: #6476 (comment)). This ships a shorter pressure-test description, which held up in held-out trigger probes on Opus, and freezes a probe set for both pressure-test and explore-directions. The explore-directions rewrite also passed its probes but is not shipped: it dropped the presence-gate phrases the validate-plugins native-overlap contract requires, so main's description is kept.

Fix

Skill Description chars (main -> after) Body Decision
pressure-test 876 -> 742 (-134) unchanged (scope) rewrite ships
explore-directions 1011 (unchanged; measured rewrite was 817) unchanged (scope) measured pass (1011 -> 817, pos 24/24 -> 24/24, neg 24/24 both) but not shipped: the rewrite dropped the presence-gate phrases the validate-plugins native-overlap contract requires (rows 12 and 66); restoring them changes the measured text and leaves a ~108-char saving, so main is kept
build-generator unchanged (not measured: user-invoked) unchanged unchanged
  • pressure-test: tightens the use-when sentence and the output sentence. It keeps all five quoted trigger phrases and the pointer to /prototype:explore-directions for visual questions.
  • explore-directions: description unchanged from main. The measured rewrite kept all four quoted trigger phrases, moved the ClaudeDesign preference after the main use case, and dropped "where the upstream playground plugin is installed from its marketplace" from the playground clause. scripts/validate-plugins.sh --only prototype then failed native-overlap rows 12 (playground -> prototype:explore-directions) and 66 (ClaudeDesign -> prototype:explore-directions), which require the phrases "installed from its marketplace" and "resolves in this session". Restoring them would change the measured text and leave a ~108-char saving, barely over the 100-char cutoff, so the rewrite is dropped.
  • probes/explore-directions.json, probes/pressure-test.json: new frozen probes, 20 queries each. Both list same-plugin competitors only, per plugins/skill-quality/probes/template.md:22. The queries are unchanged.
  • Changelog fragment (patch, ### Changed): names only the pressure-test description change and the two probe files.
  • Merged main. feat(prototype): add an observe option to prototype:pressure-test #12048 changed pressure-test's argument-hint and body but not its description. The conflict keeps this branch's description and main's argument-hint.

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

Verification

The held-out probes are 16 per skill (8 positive, 8 negative), written blind and not committed. Opus served as model and judge, with 3 runs per case. Each split ran before and after back to back. The decision rule was recorded before any pass:

  • no positive query loses its firing majority;
  • no negative query gains a false-fire majority;
  • both rates stay within 0.05 of before.

Only VALID passes count.

Skill VALID passes Valid runs Positive fire (before -> after) Negative quiet (before -> after) Lost positive New false fire Result
pressure-test 8/8 96/96 24/24 -> 24/24 24/24 -> 24/24 none none rewrite ships
explore-directions 14/14 96/96 24/24 -> 24/24 24/24 -> 24/24 none none passed, not shipped (native-overlap contract)

Per split (fired runs; for the n splits, 0 fired means 12/12 quiet):

Split pressure-test before pressure-test after explore-directions before explore-directions after
p1 (4 queries) 12/12 12/12 12/12 12/12
p2 (4 queries) 12/12 12/12 rerun as p2a-p2d rerun as p2a-p2d
p2a / p2b / p2c / p2d (1 query each) - - 3/3 each 3/3 each
n1 fired 0/12 0/12 0/12 0/12
n2 fired 0/12 0/12 0/12 0/12
  • explore-directions rerun: the first after p2 pass hit the 5 USD per-pass cost ceiling and returned 7 of its 12 runs (partial: true). The plan reruns a partial pass split smaller, in both versions. Before any rerun pass, a dated addendum split p2 into one query per pass (p2a-p2d = pos-val-05..08). The split was chosen from per-case cost only: halves would sit near the ceiling, and four cases do not split evenly into thirds. The cases are byte-identical to p2's, with the same transform, runs, ceiling and decision rule. The old before and after p2 pair was set aside together. All 8 rerun passes are VALID and none is partial. They cost 7.87 USD.
  • Timeouts: in the 22 decision passes, 8 runs timed out at 300 s, every one after its Skill call. A rule recorded before any measured pass makes such a run VALID, graded by its Skill call. The affected queries are pressure-test pos-val-08 (after) and explore-directions pos-val-03 and 04 (p1) and 05 (p2a). Each timed-out run fired in its Skill call. If an errored run counted against after, those queries would read as lost positives. Under the recorded rule they are VALID and fired.
  • Read denials: after the measured passes started (16:39Z) and before any of this skill's numbers were read, the lane recorded at 17:4xZ the rule already used for Concise skills rollout: mutation-testing (3 skills, 2 model-invoked) #6586, Concise skills rollout: skill-quality (3 skills, 2 model-invoked) #6591 and Concise skills rollout: speech (3 skills, 2 model-invoked) #6592: a Read/Glob/Grep denial on a path outside the eval sandbox, before the Skill decision, does not invalidate a run. A denied read returns nothing and hits both versions alike. The allowed_tools: [Skill] transform does not remove those tools from the session.
  • Analyzer boundary: the analyzer's first run treated the claude-eval-* root as the sandbox edge, which left 7 negative passes INVALID. Every pre-decision denial targeted the sandbox home directory, the parent of the session's working directory. The boundary was switched to the session's working directory, matching the Concise skills rollout: mutation-testing (3 skills, 2 model-invoked) #6586 analyzer that the 17:4xZ addendum adopts. The switch came after run-validity had printed the positive skill-fired counts (pressure-test 12/12, explore-directions 7/7) and before any negative rate was printed.
  • Usage limit: the first launch of all 16 passes failed at about 16:33Z on an old account's usage limit. Those results are set aside, and all 16 passes were rerun in both versions (16:39Z to 19:28Z). No run in the rerun or in the p2 split rerun carries a usage or rate-limit error.
  • Grader vs trace: 0 disagreements between the grader and the trace's Skill call. 45 runs were VALID only through the denial or timeout rules, in both versions alike.
  • Sandbox limits, recorded in the plan before any pass: plugin eval loads only this plugin. Cross-plugin competitors (user-interface, visualization, planning, playgrounds, testing) are not in the sandbox listing, and the built-in ClaudeDesign tool cannot be varied. These numbers measure routing between the two sibling skills, build-generator and the base listing only. The explore-directions ClaudeDesign-preference move and the playground-clause rewording were unmeasured; neither ships.
  • Every pass ran on main's text from before feat(prototype): add an observe option to prototype:pressure-test #12048 (pressure-test argument-hint: "[scope]" and the shorter body), in both versions.
  • /skill-quality:check plugins/prototype/skills: 3 passed, 0 failed, with no dropped-trigger warning. measure-invocation validate: PASS, 0 warnings.
  • scripts/validate-plugins.sh --only prototype on the final head: passes ("All plugin manifests and the catalog validated."), native-overlap rows 12 and 66 included.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 7 commits November 1, 2026 00:49
… pressure-test

Frozen description-trigger probe sets (20 queries each, 5/5/5/5
pos/neg x train/validation) authored from main's descriptions before
any rewrite, for the concise-skills measurement round.

Refs: #6589

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Held-out trigger probes on Opus (16 queries, 3 runs each, before vs
after): pressure-test fired 24/24 positive runs and stayed quiet on
24/24 negative runs in both versions, so the 742-character rewrite
replaces the 876-character original. explore-directions keeps main's
description: its after p2 pass stopped at the cost ceiling (partial),
so it is unmeasured until that split is rerun smaller.

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

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

Conflict in plugins/prototype/skills/pressure-test/SKILL.md: keep this
branch's measured description (line 2) and take main's argument-hint
"[observe] [scope]" from #12048. Main did not change the description.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The partial explore-directions p2 pass was rerun split smaller in both
versions (one held-out query per pass), per the recorded plan. With all
22 passes VALID, explore-directions holds 24/24 positive fire and 24/24
negative quiet before and after, with no lost positive and no new false
fire. The description goes from 1011 to 817 characters. The changelog
fragment now names both shortened descriptions.

Refs: #6589

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…plugins into feat/6589-concise-skills-prototype
The measured explore-directions rewrite dropped the presence-gate phrases
the validate-plugins native-overlap contract requires (rows 12 and 66).
Restoring them would change the measured text and leave a ~108-char saving,
so main's description is kept. The changelog fragment now names only the
pressure-test description change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 1, 2026 20:44
@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-01T20:45:58.196462Z e1a1918 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 e1a1918ca7f3203caf9a4359a9cccf1a76d898b3: read 4 of 4 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #12104 (head e1a1918)

I found no security issues in this pull request.

I read every hunk of all 4 changed files. None of them matches a trusted-path glob.

  • .changes/prototype/feat-6589-concise-skills-prototype-c28b33f3.md: a new changelog fragment (patch bump). It is prose only.
  • plugins/prototype/probes/explore-directions.json and plugins/prototype/probes/pressure-test.json: new frozen trigger-probe datasets. Each holds 20 natural-language queries with expect_trigger labels. They are data that eval tooling reads. They contain no code, commands, paths that get run, or credentials.
  • plugins/prototype/skills/pressure-test/SKILL.md: only the description frontmatter value changes, from 876 to 742 characters. argument-hint, user-invocable and disable-model-invocation: false are unchanged, and so is the skill body.

Instruction-surface lens. The description is reworded. The old line "Not for visual or design questions. Use /prototype:explore-directions for those." becomes "Visual or design questions: /prototype:explore-directions." This is a routing hint between sibling skills, not a guardrail. It protects no class of action: no destructive operation, credential handling, publishing or trust decision depends on it. The new text keeps the same routing, just shorter, so nothing a rule used to stop is now unchecked. I did not read the instruction exception register (docs/contracts/instruction-exception-register/README.md) for this check; I judged it by consequence.

Plugin manifests. The diff changes no plugin.json or marketplace.json.

PR context. The description and the closing issue's comments contain no text telling this lane to pass the PR, skip a check, drop a finding or post elsewhere.

Prior findings. This lane has no earlier findings on this PR (0 rounds, cap 3, not past the cap).

Cost. Nothing here can create a charge. The PR reports eval spend from the author's own measurement runs; that spend is not part of the change.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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

Code review: no findings

I read every hunk of all 4 changed files. None of them matches a trusted-path glob.

What changed

  • plugins/prototype/skills/pressure-test/SKILL.md: the description is shorter. It still has all five quoted trigger phrases and still points visual or design questions to /prototype:explore-directions. The frontmatter keeps main's argument-hint: "[observe] [scope]", which matches the PR note about resolving the merge conflict with feat(prototype): add an observe option to prototype:pressure-test #12048.
  • plugins/prototype/probes/{pressure-test,explore-directions}.json: two new frozen probe sets. Each has 20 queries split 5/5/5/5 across positive/negative and train/validation. The schema matches plugins/skill-quality/probes/template.md (skill, plugin, skill_dir, competitors[], queries[] with id/split/expect_trigger/request), and both list only same-plugin competitors.
  • .changes/prototype/feat-6589-...md: a bump: patch fragment under ### Changed. A wording-only description change is a patch, so the level fits.

Native-overlap check

  • The prototype → prototype:pressure-test entry in docs/native-surfaces.md records Baked: description phrase no. The shortened description therefore drops no phrase that a presence gate needs. I checked this by reading the file, not by running validate-plugins.

Closing issue #6589, "Done when"

  • Probe files for both model-invoked skills: met.
  • Per-skill decision table with before and after numbers: met (PR body).
  • Every unmeasured skill or case named with a reason: met. build-generator is user-invoked, and the ClaudeDesign and playground clause changes did not ship.
  • Changelog entry: met.
  • /skill-quality:check reports no new FAIL, and /evals:validate passes: the author says so but I did not verify it, because this lane cannot run them. The issue says the plugin has 0 outcome eval case directories, so /evals:validate has little to check.
  • The trigger-probe numbers in the PR body are the author's claim and unverified.

Path-scoped rules: .claude/rules/skill-bodies-state-current-rules.md and cost-claims.md match the SKILL.md change. The new description has no history or cost claims, so neither is broken.

Embedded text: the PR context and issue comments contain no directives aimed at this lane.

Spend (not a hold): the PR body reports eval passes that spent prepaid API credit (for example, 7.87 USD on the explore-directions rerun, within the pre-approved 5 USD-per-pass ceiling). The diff itself causes no billed spend.

Prior findings: none (round 0 of 3; the cap does not apply).

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 382a482 Nov 1, 2026
68 checks passed
@kyle-sexton
kyle-sexton deleted the feat/6589-concise-skills-prototype branch November 1, 2026 21:05
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: prototype (2 skills, 2 model-invoked)

1 participant