Skip to content

Replace prose tests with skill evals - #16

Closed
drimchansky wants to merge 14 commits into
mainfrom
task/prose-tests-to-evals
Closed

drimchansky wants to merge 14 commits into
mainfrom
task/prose-tests-to-evals

Conversation

@drimchansky

Copy link
Copy Markdown
Owner

Replace prose-pinning tests with model-based evals of the kit's skills. This draft grows case by case.

  • evals/ holds claude plugin eval cases. The first shows plan-task declining a plan for one obvious change.
  • .github/workflows/evals.yml runs the regression cases on trusted same-repository pull requests and fails the check below 0.8. With the eval-authoring label, it instead runs the cases a push changed, with and without the plugin, and uploads traces. Each run updates one results comment on the PR.
  • Cases are authored on Linux runners because plain git fails inside the macOS eval sandbox.

Retiring the wording tests and updating the maintenance guidance come after the case batch.

The kit had no check that runs a skill against a model. Plain git fails
inside the macOS eval sandbox, so cases that need it are authored on
Linux runners: the eval-authoring label runs the cases a push changed,
and every other trusted pull request runs the regression gate. Each run
updates one pull-request comment with its results.
@drimchansky drimchansky added the eval-authoring Run changed eval cases with and without the plugin label Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Eval results

  • Mode: gate

  • Commit: c093000

  • Result: success

  • Run: https://github.com/drimchansky/agents-kit/actions/runs/41465329767

  • PASS commit-never-pushes: score 1.00, cost $0.50

  • PASS explore-waits-for-confirmation: score 1.00, cost $0.35

  • PASS fix-findings-proposes-before-edit: score 1.00, cost $0.59

  • PASS implement-asks-before-choice: score 1.00, cost $0.39

  • PASS plan-task-declines-small-change: score 0.90, cost $0.35

  • PASS plan-task-writes-task-folder: score 1.00, cost $0.92

  • PASS review-code-high-risk-signoff: score 0.92, cost $0.88

  • PASS review-code-task-folder-no-ask: score 0.92, cost $0.85

  • Total cost: $4.83

The credential scrub also removed the API key from the eval's own child
sessions, so every run failed as not logged in. Uploaded traces and
workspaces are public, so files holding an Anthropic key shape are
removed before upload instead. A push that changes the workflow now
re-runs every case the pull request changes.
review-code must review the branch a task folder records without asking
which work to review. implement must ask about an unresolved encoding
choice before changing anything; a fixture observer confirms the
repository stayed as scaffolded.
Eval runs on Linux could not create files in the workspace or temp
directory. This case records what the sandboxed shell can write; it is
removed once the cause is known.
Sandboxed shells in the Linux eval runs could not write to their
workspace or temp directory under /tmp, so runs now use the runner temp
directory. review-code now counts any tool that returns the task result,
and the implement case starts from the typed command, because a
model-invoked implement must propose before it works.
Linux sandboxed shells place read-protected placeholder files in the
workspace, which crashed the observer. It now skips non-regular entries
and harness folders, and the fixture hides them from git status. A typed
command leaves no skill record in the trace, so the indicator fails a
reply that reports the command missing. The sandbox probe case is removed.
fix-findings must propose every fix before editing. explore may load its
instructions but must wait before reading the subject. commit must
commit only the staged tree, leaving unstaged and untracked work, and
never push.
plan-task must write a loadable task folder after reading its context and
core rules. review-code must hold approval on a high-risk change until
sign-off. A capability case records that a tracker-less draft still
carries the ticket placeholder; it reports without gating.
@drimchansky drimchansky added eval-authoring Run changed eval cases with and without the plugin and removed eval-authoring Run changed eval cases with and without the plugin labels Nov 2, 2026
The plain "review the work tracked in the task folder" request loaded the
plan reviewer in two of three runs. Asking for a code review keeps the
case on review-code while still naming only the folder.
Delete the review-evidence suite and trim start-secretary and the first
review-pr-loop test to their structural and helper checks. The test
guide now describes every remaining suite, and change routing no longer
points at retired assertions.
@drimchansky drimchansky removed the eval-authoring Run changed eval cases with and without the plugin label Nov 2, 2026
A grader that can never pass outweighs the case, so the pull-request
gate must fail and keep its report. The next commit removes it.
The pull-request gate failed and kept its report with the impossible
grader present. Removing it restores the regression suite.
The test guide now gives the gate and authoring commands, pins, grants,
tags, results, CI behavior, and the macOS Git limitation with its
eval-authoring route. Change routing sends skill, reference, agent, and
core-rule changes to the regression gate, and eval changes to authoring.
Each gate run costs about $5 and 11 minutes, so a trusted PR now runs
the eval job only when labeled eval-gate (regression gate) or
eval-authoring (authoring). Manual dispatch still runs the gate. The CI
and change-routing guidance name both labels.
@drimchansky drimchansky added the eval-gate Run the regression eval gate on this PR label Nov 2, 2026
@drimchansky
drimchansky marked this pull request as ready for review November 2, 2026 16:18
@drimchansky

Copy link
Copy Markdown
Owner Author

Closing: the task was cancelled.

@drimchansky drimchansky closed this Nov 2, 2026
@drimchansky
drimchansky deleted the task/prose-tests-to-evals branch November 2, 2026 16:29
drimchansky added a commit that referenced this pull request Nov 3, 2026
Task: no ticket
Related PR: #16

`fix-findings` asked the user to approve a concrete diff for every fix
outside a narrow Auto tier. PR comments and other findings without a
Confirmed verdict always took that path, even for a typo.

- Two kinds of fix now apply without asking. Confirmed fixes that meet
the existing Auto criterion still apply, including behavior changes.
Clear fixes of any verdict except Withdrawn or Inconclusive also apply
when they stay within review-evidence's `low` risk tier: documentation,
comments, copy, or styling. A test edit applies without asking only when
its finding is Confirmed.
- Every other actionable finding gets a question with its options, their
trade-offs, and a recommended option. The user picks an option, or
skips, defers, or rejects the finding. No diff is drafted or shown.
- `Pre-existing` findings get one question about whether to include
them, except findings the user named individually. Included findings
then follow the same routing, and Auto fixes wait until the question is
answered.
- A picked option takes the same executor packet and recovery
re-execution as an Auto fix. A new picked-option intake compares the
executor's reported changes with the picked option. The approved-diff
packet, byte-compare intake, verbatim-only replay, and fresh-diff asks
are removed from the executor binding and the recovery reference.
- `tests/review-evidence.test.ts` pins the new gate and fails if
diff-approval wording returns.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

eval-gate Run the regression eval gate on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant