feat(evals): build and publish trace-derived evals locally - #476
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 86a344f8e2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Align checked and published path contracts, handle clock rollback, and reject duplicate capture ledgers before publication. Expose semantic release validators and bind every downloaded capture to the authenticated export-manifest digest.
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4c49fa85f5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3ec1c43715
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
A developer can now ask their coding agent to turn a hosted Understudy workload into a checked, publishable eval without using the web app. The CLI downloads and authenticates the complete frozen week, keeps workload reasoning local, proves the verifier against independent good and wrong fixtures, and uploads only the exact owner-approved release.
This is the agent-tools half of the CLI-first eval workflow. It uses the companion platform PR for complete trace export and immutable release storage. Hosted model runs, GEPA, and cleanup of the old web authoring path remain separate follow-up work.
Related: understudylabs/understudy-platform#646
Workflow
capture-evidencerunsunderstudy evals build --last 7dand materializes every receipt- and digest-verified export segment into one private local project.understudy evals checkreplays immutable module snapshots in fresh deterministic workers. It requires a known-good pass, an intentionally wrong rejection, repeatability, complete source accounting, and bound owner approvals.understudy evals publish --previewprints the exact manifest, release ID, bundle hash, size, and ordered inventory without a network request.--expect-release-id. Any local change invalidates the preview before the CLI sends data.Data and execution boundaries
.understudy; staging and downloaded payloads remain inside that ignored private tree, and an empty authenticated export fails before a project is created.source/, raw traces, the expiring receipt and local export proof, the execution index, analysis, and mutableeval-project.jsonstate.Session-settled decisions carried from planning: the coding agent owns eval semantics; the source is a complete frozen week; the backend only transports evidence and stores the final release; publication is a separate explicit action.
Validation
npm run check: 1,275 tests passed across 165 suites.Deliberately deferred
Post-Deploy Monitoring & Validation
evals buildreaches a terminal seven-day receipt and that every local source count, byte total, and content digest matches the authenticated export.evals checkreports complete lineage accounting, explicit coverage gaps, one good pass, one wrong rejection, stable repeated results, and the final artifact hashes.evals publish --previewinventory. Upload only after explicit permission and only with its exact--expect-release-id.4xxscope/approval error, or5xxis a stop signal.