Repository navigation
perf(discovery): move the research practitioner test to a reference file - #12876
Conversation
The /discovery:research hub body (SKILL.md, frontmatter stripped) drops from 45,165 to 43,646 bytes. The proof-of-shipped-work test and the untrusted-profile paragraph move word for word to skills/research/reference/practitioner-test.md; the hub keeps the heading's other paragraphs and points at the file before a person is weighed as a recognized author, and its See also lists it. Two rs-* cases read the moved text: rs-practitioner-needs-shipped-work and rs-profile-imperative-is-red-flag. Refs: #12659 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pelling The changelog fragment takes the <branch-slug>-<8 hex> name the fragment check requires. The rs-practitioner-needs-shipped-work grader drops its optional "recognised" alternative, which the spelling check flags; regrading all 9 observed replies gives the same verdict with and without it. Refs: #12659 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 (incremental since f64988d): no security issues foundcritical-findings: 0 I read the one file changed since the last review,
|
|
claude-review reviewed Code review (incremental): PR #12876, f64988d → 7fe6f09I reviewed 1 of 1 changed files: Last round's finding is fixed. Row L9 (line 312) cited Not verified: the owner says a sweep of Spend: the two new eval cases from earlier rounds still use prepaid model credits on each I found no embedded instructions in the PR context, the settled threads or the prior findings. |
…file Row L9's "Be selective" why-line cites the practitioner-source rule, which this branch moved from the research SKILL.md to reference/practitioner-test.md. L8 was repointed; L9 now is too. Refs: #12659 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closes #12659
Summary
The
/discovery:researchhub carried the practitioner-source test on every load, though a run needs it only when it weighs a person as a recognized author. This PR moves that text word for word into a reference file read at that point. It is the third progressive-disclosure cut under #12243, following the #12387 recipe.Fix
skills/research/reference/practitioner-test.mdholds the two moved paragraphs: the proof-of-shipped-work test and the untrusted-profile paragraph. "Reconciling sources at the gate" keeps its heading, first paragraph and scoped-exception quote, and points at the file before a person's post, talk, profile or repository is weighed. "See also" lists the file.awkstrip piped towc -c): 45,165 bytes on main221bfbabf1, 43,646 on this branch. The issue's 44,641 predates fix(discovery): give the research Effort-ceiling sentence headroom in the re-attach slice #12647.docs/upstream/aiforui-course.mdrows L8 and L9, now name the reference file (L9 was fixed in review). No test, contract window, hook or script cites it; the 20,000-byte window pins incontract.test.share untouched, since the cut sits after byte 20,000.rs-practitioner-needs-shipped-workandrs-profile-imperative-is-red-flag. Neither grants Bash, and both end before any web research.Verification
/docs-hygiene:compress compare, two independentcompare-labeleragents, before against after: both returnedVERDICT: PASS. Union of rows: 2 RELOCATED, 2 FALSE POSITIVE, no SEMANTIC LOSS, no AMBIGUITY.plugins/discovery/scripts/contract.test.sh: all contract assertions passed.validate-cases.pyonplugins/discovery/evals: no finding on thers-*cases.claude plugin eval --case 'rs-*' --ablation none --runs 2 -j 2 --keep-temp --model claude-opus-5-5, Claude Code 2.1.317, capped scopes, arms launched together. Before is this branch's copy with main'sskills/researchswapped in. Firing check on main (--runs 1): all 3 cases scored 1.00, VALID. The suite was frozen after it, with one later edit: the spelling check flagged the optionalrecognisedalternative in thenot-cited-as-authoritygrader, so it was dropped. Regrading all 9 observed replies of that case with the old and new pattern gives the same verdict on each.noise-reportrun-validity.py --runs 2rs-practitioner-needs-shipped-workhit max turns and one own-copy Grep was deniedrs-practitioner-needs-shipped-work, the mean falls from 1.00 to 0.50, past the 0.15 threshold. The suite detects a loss, so the cut is measurable and ships.Related
🤖 Generated with Claude Code