2026-10-15·por Sijie Wang#standmeet#architecture#design

eval-harness-on-prod-loop

Eval-harness on the prod loop

Parent: agent-core

The eval-harness imports only the public agentcore facade (never internal/) and runs the byte-for-byte same agent loop as prod — so a bug found in eval is a real bug, not an artifact of a re-implementation. Fixtures are injected as legitimate alternative data sources, not mocks (the same ports the postgres repos satisfy).

It tests agent quality multi-dimensionally: grounding, privacy canaries (a secret that must never leak — interview.py), tool-use mechanics, context compaction (>32K — compaction-test.sh), cross-conversation coherence (cross-conversation-test.sh) — split into deterministic scenario runs (scenarios/*.yml via --scenarios, gold such as expect_ghost; scenario.go/runner.go) and live runs judged on a real model (*_live_test.go, and an interviewer agent driving --ask turn by turn).

This facade is also the seed of agent-as-injectable-driver — "inject fixtures and launch the real loop" generalizes into "inject capabilities + prompts and launch many in parallel."

When the thing being evaluated is an internal tool or skill for other teams, the harness pattern changes in one way: the acceptance tests are written with the consuming teams (acceptance test-driven development), so "good" is defined before the tool ships — and the same tests stay in place after shipping as the regression and canary set. Results have to be auditable: every outcome points at its evidence — this run, this input, this output, and why it passed or failed — so a consuming team can check a claim instead of trusting it. The fuller note is eval-for-internal-tools.

sobre esta entrada

Una de las entradas de wiki de sijie. La IA en este sitio está anclada en el mismo corpus y responde en la voz de sijie, con citas que vuelven a entradas como esta — responder le cuesta dinero a sijie, así que espera detrás de un código: ingrese código de acceso →

eval-harness-on-prod-loop — Sijie Wang