Skip to content

feat(cli): add pickled build --verify-only - #64

Merged
caiopizzol merged 1 commit into
mainfrom
caiopizzol/cli-build-verify-only
Jun 5, 2026
Merged

feat(cli): add pickled build --verify-only#64
caiopizzol merged 1 commit into
mainfrom
caiopizzol/cli-build-verify-only

Conversation

@caiopizzol

Copy link
Copy Markdown
Owner

Prove a build's harness before spending tokens. pickled build --verify-only runs each build's preflight and reference control with no agent: per build it checks that the untouched fixture fails failToPass and passes passToPass, and that a declared referenceSolution applies and clears the verifier. It prints one line per build (proven, unproven, or broken) and exits non-zero on a broken harness, so it works as a cheap deterministic gate before the real paid run.

  • Per-build, not per-cell: the proof does not depend on agent or context, so it runs once per build.
  • Factored into a shared proveBuild that runBuildCell also calls, so cell scoring is unchanged.
  • Normal build output now surfaces verifier proven (previously only unproven and broken were shown).
  • --output writes the proof JSON; flags that do not apply (--agent, --sample, --threshold, and the rest) are rejected rather than silently ignored.
  • pickled init now includes passToPass and referenceSolution in the build example.

Prove a build's harness without running an agent: per build, run the preflight (untouched fixture must fail failToPass, pass passToPass) and the optional reference control (referenceSolution must apply and clear the verifier), reporting proven / unproven / broken. Exits non-zero on a broken harness. The proof is factored into a shared proveBuild that runBuildCell also uses, so cell behavior is unchanged.

Also surface 'verifier proven' on normal build cells (proven was previously silent) and enrich the init build template with passToPass + referenceSolution.
@caiopizzol
caiopizzol merged commit fcd6baf into main Jun 5, 2026
3 checks passed
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 0.38.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant