agentleFS
GhostlyGawdGhostlyGawd/recursive-harness/skills/eval-capture/SKILL.md

eval-capture

Skill3 starsChanged 4 months agoMITView on GitHub

Snapshot a just-completed task into the regression corpus (evals/corpus/). Use after any task where the user accepted the result AND future harness changes could plausibly regress it — recurring task shapes, tasks that needed corrections before acceptance, anything involving taste the user articulated. Also use when /meta-retro reports a category with misses but no eval coverage. Without corpus growth, "harness improvement" is unmeasurable drift.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Prefer this whenever checkable.

    line 24
  2. Distinctive:

    Keep cases hermetic: no network, no machine-specific paths, fixtures < 50KB.

    line 33
  3. Distinctive:

    NOT pre-taught. Writing a fidelity constraint is not satisfying it: verify the chosen fixture against it.

    line 41
  4. Distinctive:

    Verify in-session before committing: run /run-evals <slug> (fresh subagent performs the task, no headless — ADR 0003) and confirm it passes …

    line 45

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Eval Capture

The corpus is the only proof that harness vN+1 beats vN. Feed it.

When to capture (any one suffices)

  • The task shape recurs (third "write a migration" = the migration eval)
  • The user corrected you before accepting — the correction IS the rubric
  • The result encodes taste the user articulated ("never bury the lede")

Skip: one-offs, secrets/proprietary data (sanitize or skip), pure lookups.

Case anatomy: evals/corpus/<slug>/

  • task.md — the request, verbatim enough to be re-runnable, with any needed fixtures alongside.
  • exactly one grader:
    • check.py — objective: gets the output dir as argv[1], exits 0/1. Prefer this whenever checkable; it's free to run forever.
    • rubric.md — subjective: 3-6 falsifiable criteria for the critic agent. "Subject line under 60 chars" yes; "feels professional" no.
  • meta.json — {"date", "category", "source_session", "origin": "..."}

Rules

  • A correction-born case MUST encode the corrected behavior as the expected one — that's the regression you're guarding against.
  • Keep cases hermetic: no network, no machine-specific paths, fixtures < 50KB.
  • Tag category to match prediction categories so calibration stats and eval results join up in /meta-retro.
  • Leakage check (behavioral evals). An eval that claims to test "the agent used system X" is confounded if X's answer is pre-taught. Before finalizing, grep the loaded skills/, hooks/, and memory/decisions/ for the expected answer; if an artifact that loads for this task already teaches it, the eval passes WITHOUT exercising the capability — choose a fixture whose solution is NOT pre-taught. Writing a fidelity constraint is not satisfying it: verify the chosen fixture against it. (session 0d0fe086, 2026-06-22: a cp1252 recall eval used the single most pre-taught fix in the repo.)

Verify in-session before committing: run /run-evals <slug> (fresh subagent performs the task, no headless — ADR 0003) and confirm it passes today. A case that fails on day one is either a real finding (file it) or a bad rubric (fix it).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.