feat(eval): propagate trace source framework#492
Open
howenyap wants to merge 2 commits into
Open
Conversation
howenyap
force-pushed
the
agent/trace-source-framework
branch
from
July 15, 2026 09:09
670136a to
7afcc32
Compare
howenyap
marked this pull request as ready for review
July 17, 2026 03:13
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7afcc32. Configure here.
Local task files without a Dockerfile.hud marker (e.g. envs served via --runtime hud or tcp://) now use the SDK default instead of aborting. Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Summary
source_frameworkfrom local environment trees using framework fingerprintsWhy
The control plane now records which framework authored a trace. The SDK must resolve and propagate that provenance consistently while preserving existing HUD callers that do not pass the new argument.
Dependent PR
The corresponding control-plane and analysis-context changes are in https://github.com/hud-evals/hud-monorepo/pull/665. That PR currently pins this branch's commit and must update the submodule pointer to this PR's merge commit after merge.
Validation
Note
Medium Risk
Changes platform telemetry and hosted rollout submission contracts; behavior is mitigated by defaulting to "hud" and explicit resolution rules for remote runs.
Overview
Adds
source_frameworkso the platform can record which authoring framework produced each trace. A newresolve_source_frameworkhelper maps a local env tree to"hud"whenDockerfile.hudis present.The value threads through
rollout,trace_enter,Chat,Task/Taskset.run,HUDRuntime, andHostedRuntime. Remote/rollouts/submitpayloads and trace-enter reporting now includesource_framework.HostedRuntimecan take an explicit framework, infer it from a local source directory, or fail if provenance cannot be resolved.hud evalresolves framework from the local source root (falling back to"hud") and pins"hud"for platform tasksets with no on-disk tree. Existing callers keep working via a default of"hud"when the argument is omitted.Reviewed by Cursor Bugbot for commit dd89244. Bugbot is set up for automated code reviews on this repo. Configure here.