Repository navigation
fix(performance): drop the one-tool pointer from target's counter rule - #17081
Conversation
/performance:target still named Valgrind's Cachegrind manual and Iai as the source of its counts-over-wall-clock rule and pointed at the manual's Overview, which ADR 0101 rules out as a source citation (one tool's documentation). The rule stays in our words: established practice for instruction counts, this plugin's own generalization for spawns, syscalls and queries, and reproducible, never more truthful, with its reason. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Held for its eval: #16767 is a cut item, so its before/after eval runs after this PR (D367). A session runs it and posts the eval-pair record for the current head. The pr-merge sweep removes this hold once that record is posted (release-eval-hold.mjs). |
Targeted eval result: PASSOne targeted case per changed skill, run on the old text (before) and the new text (after), on What this gate checks: that the new text does no worse than the old on these cases. By the owner's decision of 2026-11-17 the gate is this no-loss compare alone. There is no wrong-text side, so this case set has not been shown to detect wrong text: a PASS says the cases did not get worse, not that they would have noticed a bad edit. Scope: pure cut of the SKILL.md half of one R11 row in performance, part of a page: F0311, skills/target/SKILL.md 'Name the counter, not just the duration' loses '(Valgrind's Cachegrind manual; Iai)' as the named source of the counter rule (the sentence now reads 'established practice only for instruction counts') and the Pointer bullet to the Cachegrind manual's Overview. The rule and its reason stay. Measured: F0311 by the ported rules-only case p17081-ta-counter-basis (target skill); SKILL.md is loaded through the Skill tool, so the row is exempt from the opened-in-2-of-3 line. Its graders check what the kept paragraph says (instruction counts as the established basis, spawns as the plugin's own generalization, reproducible, the duration is what a user feels), never a source name. Unmeasured: none by row; the README half of F0311 was delivered by PR 16811 and is not in this PR.
Passing runs per grader, per side:
Graders that cannot show a loss, because they failed on the old text in every run:
Changed files the compare runs opened, per case and side:
Rows these runs measured (the row's file opened in at least 2 of 3 runs on each side, or loaded with the skill or agent):
Rows these runs did not measure:
Verdicts:
Cost: 0.50 USD (smoke and compare, the runs' The cases live outside the repository; their full text: The 1 cases: prompt.md and case.yaml
|
|
This pull request's hold waits only on its eval record. This comment restates the hold reason on its own line so the pr-merge release step can read it. |
|
The |
Codex Review Summary: ✅ CompletedThis 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: no security issues found. I read both changed files in full:
Instruction-surface check. The diff softens a standing skill body, so I read it under that lens instead of skipping it. The only removed instruction is a prompt to fetch one external documentation URL. It guarded no protected action: it did not gate, confirm, cap or deny anything. Removing it lets nothing new reach an action. It also removes one outbound fetch of external content, which slightly narrows what outside text enters the session. The rule that stays is unchanged in what it says. Other surfaces. Neither file matches a trusted-path glob or a trust control. No plugin manifest, workflow, hook, script, token request or merge-hold file changed. The PR context file contains no embedded instruction aimed at this lane. Spend. The eval run named in the PR description (0.50 USD on prepaid API credit) already happened and is not caused by this diff. critical-findings: 0 |
|
claude-review reviewed Code review: no findingsThe PR removes the leftover Cachegrind sourcing from What I checked:
Verifier dropped 0 of 0 candidates. |
Closes #16767
Siblings: #16811
Summary
The last undelivered half of row F0311 (R11):
/performance:target's counter rule still named "Valgrind's Cachegrind manual; Iai" as its source and carried a- **Pointer**bullet to the Cachegrind manual's Overview. ADR 0101 excludes one tool's documentation from the Source citation class (its 2026-11-16 amendment: "no link to one tool's documentation, in a skill body or reference file"), so both go. PR #16811 delivered the other four rows and the README half of F0311.Row count: 1 (F0311, R11, K5, its
target/SKILL.mdhalf). Whole page or part: part of one page; no whole-page deletion.Left out on purpose:
plugins/performance/reference/techniques.md:385still points at the Cachegrind manual's "Running cg_annotate" section (definition at:847). It is outside #16767's five rows, so it is not cut here.Fix
plugins/performance/skills/target/SKILL.md("Name the counter, not just the duration"): the sourcing parenthetical and the Pointer bullet are removed. The rule stays in our words: counts over wall clock is established practice only for instruction counts; extending it to spawns, syscalls and queries is this plugin's own generalization; a counter is reproducible, never more truthful, because the duration is what a user feels..changes/performance/fix-16767-target-cachegrind-pointer-d6381133.md: patch fragment.PR #16898 (for #16856) added the Overview pointer when it restated this paragraph as our own rule. Removing the pointer still meets #16856's done-when, since the rule and its reason stay in our words.
Eval cases that read the cut text
p17081-ta-counter-basis, a rules-only port oftarget/evals/evals.jsoncase 5 (names-the-counter-and-labels-the-generalization), which grades the edited paragraph directly but is skill-creator format and does not run underclaude plugin eval. Porting it was an agent-made choice. The existing runnable caseta-ranks-by-evidence-tierwas not used: none of its four graders (Tier and Counter columns, E1 first, WDAC at E4, recommendation on E1) depends on the edited paragraph, so it could not observe the cut. No grader of the new case names Cachegrind, Iai or a link.Verification
scripts/check-affected.sh: 17 passed, 2 skipped (no changed shell or Python), 0 failed over 2 changed files.scripts/check-changelog-fragments.sh --check: all 35 fragments valid.git grep -n 'performance/skills/target' origin/mainfindsscripts/vocabulary-senses.json:148andscripts/test_check_vocabulary.py:583-584, which concern the word "tier", not the edited paragraph;git grep -n 'cg-manual' origin/mainfinds no baseline or allowlist entry for the removed link.plugins/performance/skills/target/evals/evals.jsoncase 5 (names-the-counter-and-labels-the-generalization) still matches the new text: spawns as the counter, reproducible not more truthful, own generalization grounded only for instruction counts, the duration is what users feel. No eval file changed.652dfef8c261793e6fdfdbd8811fba2f6b911ea8, the merge base, aftera233a68634683252260bbaf0728537fd7393ea6f; validity VALID; the batches counted no denied call; cost 0.50 USD; full record: fix(performance): drop the one-tool pointer from target's counter rule #17081 (comment)): target casep17081-ta-counter-basisPASS (mean case score 0.867 before, 1.000 after;caveat-user-feelspassed 1/3 before and 3/3 after, every other grader 3/3 on both sides). Overall PASS. Measured row: F0311 (skills/target/SKILL.md, loaded with the skill).Not verified
Related
docs/adr/0101-resolve-ecosystem-specifics-from-the-consumer-repository.md.🤖 Generated with Claude Code