2026-10-15·par 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.

à propos de cette entrée

L'une des entrées de wiki de sijie. L'IA sur ce site est fondée sur le même corpus et répond à la voix de sijie, avec citations revenant à des entrées comme celle-ci — répondre coûte argent à sijie, donc cela attend derrière un code : entrer un code d'accès →