Repository navigation
test(harness-config): add the codify hand-off eval cases - #17459
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM65S145
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM65TAt2
…00-harness-config-codify-handoff-cases
One case per skill issue 17158 changed (audit-instructions I5, audit-prompting-postures P7, draft-auto-mode-rules Phase 2 item 1), each loading a corrections stand-in plugin, per issue 17200's host step. Each grades that the reply's PROPOSAL line names the /corrections:codify call, that the skill picks no mechanism itself, that it does not take the codify-unavailable fallback, and that it does not run codify. Refs: #17200 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-off cases Refs: #17200 Co-Authored-By: Claude Opus 5.5 <[email protected]>
The changed skills' fallback text says "/corrections:codify was not available", so a reply that explains the rule's two branches matched the whole-message pattern on the new text only. Match the claim on the PROPOSAL line instead, add "unavailable", and add samples for a prose explanation of the fallback (pass) and a fallback PROPOSAL line (fail). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nfig-codify-handoff-cases
…nfig-codify-handoff-cases
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-review reviewed Code review: PR #17459, harness-config codify hand-off eval casesNo blocking or advisory findings. The PR adds three eval cases ( Format. The cases follow the existing harness-config layout: a Skill text. What each case grades matches the current text:
Each says "was not available" in its fallback sentence, which is why Graders.
Stand-in plugin. The Closing issue. The PR body says Spend (not a finding). Each case runs 3 times, with up to 12 turns and a 600 s timeout per run. That spends subscription or API eval usage only when someone runs the evals. Loosened-check verdict: fail (default; the prompt had no Advisory and manifest lines (3)
Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review: PR #17459, three harness-config codify hand-off eval casesNo security vulnerabilities found. The PR adds three eval cases under What I checked:
The two findings below come only from the manifest default-deny rule. Spend: when run, each new case uses 3 runs per arm at up to 12 turns, paid from prepaid model credit. This is not a hold. critical-findings: 0 Manifest lines (2)
|
Refs: #17200
Summary
Adds the three harness-config eval cases that #17200 asks for under #17158: one per skill that PR 17326 changed. Each case loads a corrections stand-in plugin, in the shape of session-flow's
re-mechanical-finding-check-proposalcase, and grades that the skill hands the mechanism choice to/corrections:codifyand picks none itself.ai-must-always-rule-hands-to-codify: audit-instructions, catalog row I5 (a must-always rule nothing checks).pp-missing-gate-hands-to-codify: audit-prompting-postures, a MISSING P7 (a destructive skill with no gate).dr-never-action-hands-to-codify: draft-auto-mode-rules, Phase 2 item 1 (an action that must never happen).The skill text is unchanged; this PR adds eval cases, their stand-in plugin and a
bump: nonechangelog fragment.Fix
Each case has a deterministic verdict grader (
i5-convert,p7-missingorsection-hard-deny),hands-to-codify(the reply's PROPOSAL line namescorrections:codify),no-codify-run(the reply does not run codify),no-unavailable-claim(the PROPOSAL line does not call codify unavailable) and an llm grader,picks-no-mechanism.no-unavailable-claimmatches only the PROPOSAL line: the changed skill text has the reply say when codify was not available, which a whole-reply pattern would fail. That narrowing was made before the first run.Verification
validate-cases.pyoverplugins/harness-config/evals: no FAIL, and no WARN for the three new cases. Their deterministic graders were checked offline against each case'ssamples/.scripts/check-affected.sh: 18 passed, 2 skipped (no changed shell or Python).sonnet, 3 runs a side,hands-to-codifyread 0/3 before and 3/3 after in each of the three skills; overall verdict PASS.picks-no-mechanismread 4 of 9 after (audit-instructions 0/3, draft-auto-mode-rules 1/3, audit-prompting-postures 3/3; 0/9 before). It was not calibrated, so the five failing replies were read one by one: none picks a mechanism itself. The audit-instructions replies name the class of fix and the candidates codify chooses from. Reading note.Left out: the cases were not re-run on this PR's head. The runs above loaded copies of these cases under
p17326b-names against PR 17326's head; the run's note records that no grader, bar or case changed after the first run. Also not tested: that the real/corrections:codifyaccepts the hand-off, since a stand-in was loaded.Related
Remaining
#17200 stays open. Its host steps still owed, as its body lists them:
🤖 Generated with Claude Code