Repository navigation
feat(testing): hand an uncovered can't-fail test pattern in setup to corrections:codify - #17548
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
claude-security-review reviewed Security review: no exploitable issues; two default-deny manifest flagsThis is a blocking-only review: this lane already reviewed an earlier head ( What changed since the last review. The pull request adds a new eval case,
The Instruction-surface check. No standing instruction is removed, narrowed or softened:
The new text names Eval files.
Manifest flags. The stub's new
Other surfaces.
Spend. The new eval case spends prepaid API usage when evals run ( Manifest lines (3)
critical-findings: 0 |
|
claude-review reviewed Code review: PR #17548 (testing
|
Lane run report
Failed GitHub API calls
|
|
The unattended merge path is about to arm native auto-merge at head |
|
Merge-Risk: max=MEDIUM demote=false head=37ae4f81a1916375aee4493034226bac2a3ddfd2 rubric=10.4.1 rater=claude-opus-5-5 checker=claude-opus-5-5 |
Lane run report
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane run report
Failed GitHub API calls
|
|
pr-unblock / address-feedback finished round 1 of max 4 on 37ae4f8. |
Lane run report
Failed GitHub API calls
|
|
The pr-unblock lane stopped on this pull request and needs a person: an adjudicator found that a disputed review finding turns on what the change is meant to do, which a person decides. Reason:
To resume, deal with the reason above, remove the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=17548 -f activity=address-feedback |
Lane run report
Failed GitHub API calls
|
|
Session hold by the GitHub Work session (396ae3c7): this pull request is being reworked under the owner's decision of 2026-11-20 (question Q97, option A). The gated codify call and its fallback go onto the Bash, PowerShell and Go bullet of the setup skill, the new eval case is pushed, and the eval runs on the new head. Lanes: please leave the branch alone until a later comment from this session lifts the hold. |
…bullet Bash, PowerShell and Go are the languages a shipped run of `/testing:setup check` reports with no test-lint rule; the "any other detected language" row is reachable only with a patched adapter loader. The "no maintained rule" bullet now names `/corrections:codify` for a can't-fail test pattern behind the availability gate, with the shared strongest-first fallback, in the wording the other row already uses. The instruction section now refers to the "lint rows" above. setup.sh is unchanged. Owner decision of 2026-11-20 on the pull request. Refs #17160 Co-authored-by: Claude Opus 5.5 <[email protected]>
`setup-check-pwsh-hands-to-codify` loads a corrections stand-in and runs `/testing:setup check` in a repository whose only tests are one Pester file, which setup.sh reports as "no maintained rule". It grades that the reply names PowerShell together with `/corrections:codify`, picks no mechanism itself, does not say codify is unavailable, runs neither `apply` nor codify, and writes and edits no file. Refs #17160 Co-authored-by: Claude Opus 5.5 <[email protected]>
…sue-17160-44623100953-1
|
The session hold from the GitHub Work session is lifted: the rework under the owner's decision of 2026-11-20 (question Q97, option A) is pushed, and the eval ran on this head. Eval of case |
|
The unattended merge path is about to arm native auto-merge at head |
|
Merge-Risk: max=LOW demote=false head=95b67b9f41ea21a616f713810aa1adcdc9345651 rubric=10.4.3 rater=claude-opus-5-5 checker=claude-opus-5-5 |
Closes #17160
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Host-session rework (owner decision of 2026-11-20, option A): the 'any other detected language' row cannot be reached in a shipped run. The adapter loader accepts only js, cs, python, bash, pwsh and go, and
setup.shhas a row for each, so Bash, PowerShell and Go are the languages a shipped run reports with no rule. Before this rework their bullet was the third sentence that picked a mechanism from the private list: 'Bash, PowerShell and Go: no maintained rule.' (plugins/testing/skills/setup/SKILL.md:102 at 344bcb0). That bullet now carries the same/corrections:codify "<the test pattern>"call, gate sentence and fallback, word for word as the other row, and the instruction section's back-reference reads 'the lint rows above'. Skill text only:setup.sh, its rule rows and exit codes are byte-identical to main.New eval case:
setup-check-pwsh-hands-to-codify. It loads a corrections stand-in plugin and runs/testing:setup checkin a repository whose only tests are one Pester file, and grades that the reply names PowerShell together with/corrections:codify, picks no mechanism itself, does not say codify is unavailable, runs neitherapplynor codify, and writes and edits no file.Not verified
Fix
/corrections:codify "<the test pattern>"for the user to run, then the shared gate sentence and fallback; the instruction section describes the optional line as a pointer and sends a check-decidable test rule…Verification
The runner ran each check from the base copy against 37ae4f8:
The run reports:
checkbuilds no mechanism', the instruction-line description now matches what setup.sh prints at lines 352-355, and the fragment…Host-session rework, at 95b67b9 (main merged in):
git diff origin/main --stat -- plugins/testing/skills/setup/: onlySKILL.md;setup.shand its tests unchangedscripts/check-affected.sh: 19 passed, 1 skipped over 14 changed filesvalidate-casesonplugins/testing/evals: no FAIL; the new case has only the threeallowed_toolsWARNs every setup case carries; every regex and tool grader's pass and fail samples graded under node and bunpwsh-named-with-codifyandleaves-mechanism-to-codifygrade that the language with no shipped rule is named with/corrections:codifyfor the mechanism;no-writeandno-editgrade thatcheckwrites no filepwsh-named-with-codifyandleaves-mechanism-to-codifycan only fail there; the lane's first head names codify for a PowerShell repository only in the instruction section, whichpwsh-named-with-codifyrejects (a must-fail sample covers it)Eval of case
setup-check-pwsh-hands-to-codifyonclaude plugin eval, sonnet,--ablation none, 3 runs a side. AFTER is this pull request'splugins/testingat 95b67b9. BEFORE is main'splugins/testingat 002ccb7 plus the new case; it is the detection control. The two copies differ only inskills/setup/SKILL.md. A 1-run smoke on AFTER came first./corrections:codifynowhere. Both hand-off graders fail 3/3. On this head every reply names/corrections:codify "<the test pattern>"for the PowerShell tests.permission_denialsis empty in all six batch traces. Each reply notes that the Bash tool reported exit 1 because zsh could not write its cwd-tracking file on a read-only sandbox path. The script itself printed exit 0, andran-setup-checkpassed every run.leaves-mechanism-to-codifygot votes FAIL, PASS, FAIL. Its lint section reads "To cover a can't-fail test pattern in PowerShell, run/corrections:codify \"<the test pattern>\". That skill is available here. It will pick the strongest enforcement rung that can decide the rule and prove the check.checkbuilds no mechanism itself." The two passing runs also got split votes (2 of 3). The smoke run was failed 1-2 on a reply of the same shape. No grader was changed./corrections:codifytaking the hand-off (the stand-in runs nothing, and nothing calls it); the fallback when codify is absent (every run loads the stand-in); Bash and Go repositories; the "any other detected language" row, which no shipped run reaches; the instruction-section wording;opus.pwsh-named-with-codifyaccepts/corrections:codifywithin 300 characters of the PowerShell name unlessinstruction,CLAUDE.mdorAGENTS.mdcomes between, so a reply naming codify near PowerShell for another reason would pass;no-unavailable-claimskips a line whereif,unlessorwhencomes right beforecorrections:codify, so an unavailable claim on such a line would pass. All three AFTER replies were read: each names the call in its lint section for the PowerShell tests and none says codify is unavailable.Left out: the items under Not verified.
Related
#17160
🤖 Generated with Claude Code