This repository was archived by the owner on Oct 16, 2026. It is now read-only.
Repository navigation
feat(trace): prepare trace artifact grading - #1419
Merged
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
85882bc
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c5006e01.agentv.pages.dev |
| Branch Preview URL: | https://feat-prepare-trace-docs.agentv.pages.dev |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Prepared-attempt grading can now consume imported trace/session artifacts, so manual or external-agent runs can feed trace-aware graders without rerunning the target provider.
The trace input accepts canonical
agentv.trace.v1JSON/JSONL plus AgentV transcript JSONL, matches multi-record files bytest_idand target, and fails clearly when the trace is missing, ambiguous, or belongs to a different prepared attempt.The prepare/grade docs now spell out the
prepare -> external agent -> gradeworkflow and its observability boundary: AgentV prepares and grades, while Opik/Phoenix/OTel tracing is emitted by the harness or target rather than anagentv watchpath.The public trace naming is also converged on plain
Trace*types andagentv.trace.v1as the only canonical AgentV trace namespace.Verification
git diff --check origin/mainbun test apps/cli/test/commands/grade/grade-prepared.test.ts apps/cli/test/commands/trace/trace.test.tsbun test packages/core/test/evaluation/trace-envelope.test.ts packages/core/test/evaluation/trace-trajectory.test.tsbun test packages/eval/test/define-code-grader.test.ts packages/eval/test/define-prompt-template.test.ts