Skip to content

docs: require running added/changed eval cases with baseline#237

Merged
marc0olo merged 1 commit into
mainfrom
docs/eval-run-policy
Jul 1, 2026
Merged

docs: require running added/changed eval cases with baseline#237
marc0olo merged 1 commit into
mainfrom
docs/eval-run-policy

Conversation

@marc0olo

@marc0olo marc0olo commented Jul 1, 2026

Copy link
Copy Markdown
Member

Summary

Tightens the eval-running policy for skill improvements. The current guidance is inconsistent: it says running evals is "recommended but not required" and tells contributors to skip running entirely when changes are "purely additive". That conflates two genuinely different things:

  1. Running a case you just added or changed — this is code you wrote. An unrun eval case can be silently mis-scoped: e.g. a prompt that says "just the command" paired with an expected behavior that requires an explanation will fail the with-skill run. Skipping it means committing a broken regression test. This should be mandatory, with baseline, and the results go in the PR.
  2. Re-running the untouched existing suite — a regression check ("did I break something already tested?"). This stays conditional on whether you modified content those cases cover.

This surfaced during the mops-cli upstream sync (#236): a newly added eval was mis-scoped and only caught because the case was actually run with baseline.

Changes

  • .claude/CLAUDE.md — rewrote the Skill improvement bullet under PR eval requirements and the Evals reviewed item in the upstream-sync checklist to make (1) mandatory-with-baseline and keep (2) conditional.
  • .agents/skills/improve-ic-skill/SKILL.md — restructured Step 7 into "A. always run cases you added/changed (with baseline)" vs "B. re-run untouched existing cases only when relevant", and updated the command examples so --no-baseline is framed as a quick spot-check, not for PR results.

Docs-only; no skill content or site changes.

🤖 Generated with Claude Code

Previously the eval guidance said running evals was "recommended but not
required" for improvements, and told contributors to skip running entirely
when changes were "purely additive". That conflated two distinct things:

1. Running the case you just added or changed — this is code you wrote, and
   an unrun case can be silently mis-scoped (e.g. a prompt that says "just the
   command" paired with a behavior that expects an explanation). It must be
   run to confirm it passes with the skill and shows a real baseline delta.
2. Re-running the untouched existing suite as a regression check — this stays
   conditional on whether you modified content those cases cover.

Update both `.claude/CLAUDE.md` (PR eval requirements + upstream-sync checklist)
and the `improve-ic-skill` skill (Step 7) to make (1) mandatory with baseline
and keep (2) conditional.
@marc0olo marc0olo requested review from a team and JoshDFN as code owners July 1, 2026 09:53
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Skill Validation Report

No skill files were changed in this PR — validation skipped.

@marc0olo marc0olo merged commit 6165991 into main Jul 1, 2026
6 checks passed
@marc0olo marc0olo deleted the docs/eval-run-policy branch July 1, 2026 18:02
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.

2 participants