Skip to content

fix(evals): align battery with proof v2 contract - #4

Merged
lnittman merged 1 commit into
mainfrom
astra/webs-proof-v2-consumer-20260917
Sep 17, 2026
Merged

lnittman merged 1 commit into
mainfrom
astra/webs-proof-v2-consumer-20260917

Conversation

@lnittman

Copy link
Copy Markdown
Contributor

The deterministic Webs battery failed after the evals 2.0.1 upgrade because its test still expected proof-run v1. Match the producer's exported version, keep an explicit v1/v2 support boundary, and validate serialized proof with the canonical parser. Regressions reject unknown versions, missing intent/goal, invalid routes/artifacts, and preserve failed assertions and blockers when reading legacy v1 proof.

Only test/battery.test.ts changes. The existing battery already parses proof before scoring and serialization, so its runtime needs no change. The dependency owner's manifest and lockfile candidate remain separate.

Validation on both the committed evals 1.8.0 baseline and the preserved evals 2.0.1 candidate:

  • pnpm typecheck — passed.
  • pnpm test — 18 passed, 0 failed, 0 skipped in each configuration.
  • pnpm battery — 1 deterministic case passed, score 1.00.
  • pnpm check:generated and git diff --check — passed.
  • Before the fix on evals 2.0.1, node --test test/battery.test.ts reproduced 3 passes and 1 v1/v2 mismatch failure; the focused suite then passed all 6 tests.

Independent review and the captain's integrated verification remain separate gates.

Validate serialized proof with the canonical parser and preserve explicit
v1 compatibility, malformed-input rejection, and failed legacy proof gates.

Co-Authored-By: Codex gpt-6-astra <noreply@openai.com>
@lnittman
lnittman merged commit b245095 into main Sep 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant