Repository navigation
feat: agentic eval harness — Tier1 CI contracts, Tier2 live missions, Tier3 baselines - #76
Merged
Merged
Conversation
… Tier3 baselines (issue #73) Mandate (arXiv:2607.03691): harness evolution itself causes regressions practitioners misattribute to the model; unit tests verify mechanisms, not agentic outcomes. - Tier 1 (evals_tier1.rs, wired into a new Evals CI job): deterministic behavioral contracts through the real turn loop + storage — wire-shape stability (pinned golden request body: KV-cache prefix stability), resume equivalence (crash-mid-sandwich outcome == uninterrupted run), abort-path contracts (park resumable + durable audit), approval interaction matrix (allow/deny x risk, destructive structurally unregistrable). - Tier 2 (evals/tier2/run.py): three live BYOK missions — read_and_report, echo_chain, crash_resume (real failure-recovery: read missing file, create it, re-read) — scored on success, steps, usage-ledger tokens, tool-error rate. Timeout sentinel records a failed mission without aborting the run; session count is real. - Tier 3 (baselines/ + diff.py): per-release baselines, >25% metric growth or any success drop = REGRESS exit 1. - request_body made pub for external wire-shape assertion. Live: all three missions pass (crash_resume now 6 tool calls across failure+recovery); baseline stored; diff self-test PASS and synthetic regression flagged. CodeCora loop: 6 rounds clean.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Sep 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What (description of the change)
Issue #73 deliverables:
evals/scaffold with three tiers.evals_tier1.rs, new Evals CI job, deterministic): wire-shape stability (pinned golden request body = prefix-cache contract), resume equivalence (crash mid-sandwich == uninterrupted outcome), abort-path contracts (resumable park + durable audit), approval interaction matrix incl. destructive-structural-refusal.evals/tier2/run.py, manual/nightly, live BYOK): read_and_report, echo_chain, crash_resume (real failure→recovery arc); scored on success/steps/usage-ledger tokens/tool-errors; timeout sentinel keeps the run alive on hangs.baselines/+diff.py): per-release baseline; >25% metric growth or success drop exits 1 as a HARNESS regression.request_bodymadepubso the wire contract is assertable externally.Why (the problem you're solving)
arXiv:2607.03691 shows harness evolution itself causes quality regressions blamed on the model. tole had 159 mechanism tests and zero agentic-outcome tests; this gives regressions a measurement and a voice.
Testing (how you verified this works)
Refs #73