Coming in the next release. This describes the eval loop as planned. Names can still change before it ships.
Storage
Cases live in the engine data dir, never on a server.my-cases. A suite holds up to 100 cases. This is not the skill eval store.
Case format
A case has the schemaallternit.gizzi_eval_case.v1.
Workspace reasons when there is no archive:
not_git, snapshot_off, pruned, too_large, no_project.
On save, Gizzi adds default graders: status equals completed, and cost and latency ceilings at twice the recorded values. For a bad case, too_slow uses 0.5 times, and broke_file adds a forbidden_step for the failed write tool.
Suites use allternit.eval_suite.v1 with "runner": "gizzi". A case source is session or workspace_task.
Dev and holdout
Each case has asplit. The staged gate uses dev. The full gate adds holdout. Holdout cases are never shown to a model that proposes a change.
Trajectory mapping
Graders read aTrajectory. It is built from the session trace.
Graders
Grader parameter names match the Agency engine. Unknown fields are rejected.
The graders are written twice, in Rust and in TypeScript. Both run the shared vectors in
contracts/eval/grader-vectors.v1.json.
Replay and live
- Replay grades the stored trace. It uses no model and is free. It tests the grading machinery, not prompt changes. CI runs replay only.
- Live restores the workspace into a temp dir, runs
gizzi run --format json --dir <tmp>, runs the file checks, and grades. It costs money or plan usage, and starts only after a fresh price estimate. A live run without one gets409 estimate_required. An estimate expires after 10 minutes.
CLI
/testcase [good|bad] [note] saves the current session.
Redaction
A private save removes secrets with the support-bundle redactor, drops streaming deltas, and keeps at most 5,000 entries. Prompts stay, because live runs need them. The self-test runs after redaction.gizzi eval case export is for the shared suite and is stricter. It also removes emails, home paths and host names, truncates tool output, scans the archive for secrets and refuses on a hit, and writes redaction_report.json. A person reviews the output before it is committed.
The shared suite and the gate
The shared suite is indomains/agent-evals/gizzi/, with the same layout as a user suite (suites/shared.v1/). It is the protected suite for harness changes.
scripts/gizzi-eval-gate.mjs replays the suite and compares the report with the stored baseline using the same comparison as scripts/agency-eval-gate.mjs. On pull requests it is advisory: it reports, and does not block. Refresh the baseline with gizzi eval baseline write in the same PR as the change.
Engine routes
Errors are
{"error": "<code>", "message": "<sentence>"}. Codes include session_not_found, case_limit, empty_session, case_not_found, run_not_found and estimate_required.
App routes
allternit-api proxies each engine route under/api/v1/agent-evals/*.
Saving a case and listing by session go to the server that holds the session. Everything else goes to the local engine. If the engine can’t be reached, the proxy returns 502.