Repository navigation
test(rate-limit-guard): convert the eval suite to case.yaml - #12069
Conversation
Move the 5 cases from skills/*/evals/evals.json to evals/<case>/ under the owner's #8635 slice-3 decision (c2), and tighten setup's check text where the converted runs showed the model guessing: row labels (PASS/FAIL/INFO/UNKNOWN), one remediation line per FAIL, every option its own row, when the module writes rate_limits, and reading the hook source only for a finding no step covers. Evidence (claude plugin eval, runs judged VALID by run-validity.py): - smoke --runs 1: with 0.88, without 0.60 - setup-* --runs 3: setup-reads with 1.00, without 0.56 - setup-checks --runs 3 after the last two sentences: with 1.00, without 0.50 Refs: #8635 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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: PR #12069 (rate-limit-guard eval conversion)No security issues found. I read every hunk of all 32 changed files in What changed
Instruction-surface lens (SKILL.md)
Other checks
critical-findings: 0 |
|
claude-review reviewed Code review: PR #12069, rate-limit-guard eval suite moved to
|
Refs: #8635
Summary
The first slice-3 conversion under the owner's (c2) decision (8635#issuecomment-6560394961): rate-limit-guard's 5 eval cases move from
skills/*/evals/evals.jsontoevals/<case>/case.yamlandprompt.md. The converted runs also showed thesetupskill's text leaving the model to guess, so this tightens it.Fix
setup-readsasks about another machine's snapshot, since the module writes a real one in the sandbox.setup-checksexpectation 2 accepts UNKNOWN for an unrendered option, assetup/SKILL.mdrequires.setup/SKILL.md:rate_limitsonly when its session sees subscription windows (hooks/register.tsx:538);rate-limit-guardchangelog fragment.Verification
claude plugin eval, each run judged VALID byrun-validity.py, with 0 permission denials in the last two:--runs 1--runs 3--runs 3, after the last two sentencesThe earlier 3-run of the setup cases was INVALID: the model Grepped the plugin's
hooks/andlib/because the skill told it to read the code, and the sandbox denied it. The final runs read no file under either. The noise report says "n too small to call" (1-2 cases per run), so these show no loss, not a measured gain.Related
🤖 Generated with Claude Code