Skip to content

test(evals): round-2 fixes from captured eval replies - #18750

Queued
kyle-sexton wants to merge 2 commits into
mainfrom
test/evals-round2-fixes
Queued

kyle-sexton wants to merge 2 commits into
mainfrom
test/evals-round2-fixes

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Refs: #18655

Summary

The second eval run's captured replies left 20 cases failing. Each row below was checked against the case files, the skill text and the with-arm reply (the without-arm reply too, where the case separates the arms). Each fix is the smallest one: a regex the with-arm reply now passes (still failing the without-arm reply), a judge rubric aligned to expected_outcome or the skill, or a skill sentence added on its own line. No skill word is removed. This follows option (A) of the owner decision.

Fix

Plugin Case Grader Change
actionlint su-check-default toggle-reported Regex accepts Effective value is before the value
bash-format su-apply-repeat-already-configured already-configured Skill sentence: say "already configured" in those words. The grader stays as is, since its labeled near-miss sample ("nothing to do") shows the literal phrase is intended
bash-format su-check-green-not-every-edit-covered gitignored-caveat Judge drops "silently", matching expected_outcome ("skipped by default")
codebase-health audit-planted-drift confidence-tag Regex accepts unverified tied to the light/off/skipped verification level. A bare Status: unverified stays a fail, per the reviewer-labeled samples
codebase-health audit-planted-drift resolver-ran, view-line-after-report Skill sentence: run the resolver whether or not visualization:visualize is installed
codebase-health audit-view-retired-terminal view-line-after-report, retired-notice Skill sentence: copy the resolver's view: line and notices word for word
discipline dyr-fanout-tiered-ledger typed-inventory, full-inventory, ledger-columns, ledger-per-item Skill sentence in fan-out-tier.md: one ledger table with Claim, Type, Verdict, Source, Source tier, Consensus, Recency
discipline dyr-fanout-tiered-ledger corrects-falsified Regex accepts the unit before the corrected 60 (120 requests/min | Corrected to 60)
discipline pfp-coupling-priced coupling-costs-named Skill sentence: name all five coupling costs. The proposed widening dropped pricing, which SKILL.md and expected_outcome both name, so it was not applied
docs-naming audit-plans-renames-tiers-frozen rows-and-tiers Judge asks for excerpts on review sites only, per the audit skill's "Present the result" item 3
docs-naming realign-applies-one-id present-first Judge cut to its presentation-order clause (see Loosened checks); it keeps failing until the skill or the model presents before apply-rename.sh
python-format su-check-venv-walk-closest-config status-table Config-row alternation accepts the step-3 wording (format concern, adapter:ruff, resolves); matchers.json and case.yaml both updated
repo-hygiene clean-merged-branches-opt-in prune-dry-run-ran Grader removed (see Loosened checks)
repo-hygiene clean-tree-dry-run-gate asks-confirm Regex accepts the numbered-choice fallback question How would you like to proceed?
repo-hygiene clean-tree-include-secrets-gate separate-secrets-confirm Skill sentence in §6: a separate confirmation for the --include-secrets deletion (already stated in context/git-tree-reset.md)
session-flow cb-dirty-tree-blocks-launch, fh-confirms-before-resume, or-routes-recovery-writes-nothing *-from-moved-section Skill sentence in each skill: on a topic ask, read Observations or follow each - Moved: pointer before reporting the handoff says nothing
session-flow or-routes-recovery-writes-nothing cites-ttl-decision Regex bug: 90(?![\w.]) rejected 90s; now 90(?![\d.])
visualization viz-diagram-target-fallback override-read, fallback-notice Skill sentence: resolve diagram_target for a diagram on every surface, the terminal included
visualization viz-team-file-medium report-line-team Skill sentence: copy the resolver's view: line and notices word for word
discipline dyr-fanout-bounded-waves (case) Deleted (see Loosened checks)
discipline dyr-fanout-worker-error-retry-once (case) Deleted (see Loosened checks)

Every changed deterministic grader has new rewritten pass/fail samples. Each changed plugin has a fragment: bump: patch where skill text changed, bump: none for actionlint, docs-naming and python-format.

Loosened checks

  • actionlint toggle-reported, codebase-health confidence-tag, discipline corrects-falsified, python-format status-table, repo-hygiene asks-confirm: widened to accept the with-arm wording above. Each still fails the without-arm reply and every existing fail sample.
  • bash-format gitignored-caveat (judge): no longer requires the word "silently", which expected_outcome does not ask for.
  • docs-naming rows-and-tiers (judge): excerpts required on review sites only, not on every cited site.
  • repo-hygiene prune-dry-run-ran (removed): context/git-branch-cleanup.md line 209 runs git-prune.sh --dry-run only after a deletion batch, and this case stops before any deletion. expected_outcome and the description now say so. routes-to-clean and branch-audit-ran still check the with-arm path.
  • docs-naming present-first (narrowed): the judge keeps only the clause that the finding's pair, site counts and form table appear in an assistant message before the apply-rename.sh call. It drops the four clauses that repeat the case's deterministic graders (no-other-id, no-sibling-move, rows-reported, orphan-sweep). The order check stays, and it still fails on the observed run, which is a real skill miss.
  • discipline dyr-fanout-bounded-waves (case deleted): two runs failed. The 24 claims sit in a few small local files, so the model rationally resolves them inline and never needs bounded waves. notes-529-risk asks the reply to repeat internal throttling rationale from context/fan-out.md.
  • discipline dyr-fanout-worker-error-retry-once (case deleted): two runs failed. The prompt simulates a worker error while gateway/docs/pricing.md stays readable, so a direct parent read is a reasonable response. A real failure cannot be injected until feat(evals): convert other plugins' evals.json files to claude plugin eval suites #8635 lands.

Verification

  • validate-cases.py on all nine touched plugins: exit 0, no FAIL. The only new WARN is the bash-format judge sample count (3 to 4 samples needing calibration).
  • check-matchers.py on all nine plugins: ok under JavaScript. A node probe of each changed regex against the captured replies passes with-arm and fails without-arm.
  • check-skill.sh over the six plugin skill roots with SKILL.md or reference changes: 45 skills pass. visualize stays at 499 lines (cap 500): its two sentences share line 147, and neither contains a flip word.
  • git diff --word-diff=porcelain on plugins/*/skills/**: no removed word.
  • destructive-guard.test.sh (345 checks) and allowed-tools-pairing.test.sh (repo-hygiene) pass; session-flow test_resume_cases.py passes, 167 tests.
  • check-changelog-fragments.sh --check and --check-required: pass, 9 plugins.
  • No eval was run. The affected cases need a compare run, which the Evals session dispatches.

Related

🤖 Generated with Claude Code

Second-run replies showed 20 cases still failing. Each fix is checked
against the case, the skill and the captured with-arm reply:

- graders widened where the reply did what the skill says
  (actionlint toggle-reported, codebase-health confidence-tag,
  discipline corrects-falsified, python-format status-table,
  repo-hygiene asks-confirm) and one regex bug fixed
  (session-flow cites-ttl-decision rejected "90s");
- judges aligned to expected_outcome or the skill (bash-format
  gitignored-caveat, docs-naming rows-and-tiers);
- one added skill sentence per missed step (bash-format, codebase-health,
  discipline, repo-hygiene, session-flow, visualization), with no skill
  word removed;
- removed: repo-hygiene prune-dry-run-ran (the spoke runs the prune only
  after a deletion), docs-naming present-first (failed twice after a skill
  sentence already required it), and the discipline cases
  dyr-fanout-bounded-waves and dyr-fanout-worker-error-retry-once (the
  fixture never needs a wide fan-out, and a worker error cannot be
  injected, #8635).

Refs: #18655

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 24, 2026 07:27
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T07:30:10.710333Z f899ac5 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed b929014a087aae0b5ebdff89cc565feae073cf2d: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #18750, incremental since f899ac5

No security issues found. This lane already reviewed an earlier head, so this review reports blocking findings only (CRITICAL and IMPORTANT).

What I checked

  • I read the whole change: one file, plugins/docs-naming/evals/realign-applies-one-id/case.yaml.
  • What changed. The change restores a present-first grader. It is an LLM judge over the eval trace and only grades whether the finding was presented before apply-rename.sh ran. The case description now says this grader covers only that order.
  • Why it isn't a risk. This is eval measurement config. It runs no code, holds no credentials, gates no merge and is not a standing instruction. Restoring the grader adds a check and removes none.
  • Trust controls. No trusted path, workflow, action, token or merge-hold code changed.
  • Plugin manifests. None changed, so there are no manifest lines.
  • Spend. The restored LLM grader adds one judge call per eval run, paid from prepaid API credit. That is not a hold.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on f899ac5748819736c1ea5fb979474ec7e36a71e1; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed b929014a087aae0b5ebdff89cc565feae073cf2d: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Code review (incremental, blocking only): PR #18750

Scope: the one file changed since f899ac57: plugins/docs-naming/evals/realign-applies-one-id/case.yaml. I read its whole change in the incremental diff, plus the head file and the PR context for background. This lane had already reviewed an earlier head, so this review reports blocking findings only.

The earlier finding is fixed. My last review said the present-first grader had been removed without a valid reason (discussion_r4676922697). The push brings the grader back, cut down to the presentation-order clause, which is the first fix option that comment offered:

  • It stays type: llm, focus: trace, arm: both.
  • It now fails a run that calls apply-rename.sh before FN-c60eb30e's pair, site counts and form table appear in an assistant message.
  • The four clauses it dropped are covered by deterministic graders: no-other-id, no-sibling-move, rows-reported and orphan-sweep. So narrowing the judge weakens no check.
  • The case description now says the grader judges only the order. That matches the grader.
  • The PR body's results table and ## Loosened checks section were updated to call the grader "narrowed" and to say it keeps failing on the observed run because the skill misses the step. The reason given holds for this diff.
  • No changelog fragment in the PR still says the grader was removed.

Loosened-check settings: the prompt had no loosened_check_verdict:, loosened_check_patterns: or loosened_check_decision_record: line. I used fail with no consumer entries and did not check whether an owner-decision citation was required.
Loosened checks would be marked: fail (lane default: no verdict line in prompt); patterns: 0

Spend: the restored llm grader runs on both arms, adding one judge call per arm on each run of this case. That uses prepaid API credit only.

The PR context file has no closing-issue section (the body only says Refs: #18655), so I checked no acceptance criteria.

Verifier dropped 0 of 0 candidates.

…e-id

The review lane pointed out that present-first reports a real skill miss:
the skill requires the presentation before apply-rename.sh, and no other
grader checks that order. Restore the judge, cut to the order clause,
since the deterministic graders already cover the id, the rows, the sweep
and the siblings. It keeps failing until the skill or the model meets it.

Refs: #18655

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 24, 2026
Any commits made after this event will not be merged.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant