feat(migration): Add run artifact migration command for legacy TraceCore#77
Merged
justindobbs merged 3 commits intomainfrom Mar 6, 2026
Merged
feat(migration): Add run artifact migration command for legacy TraceCore#77justindobbs merged 3 commits intomainfrom
justindobbs merged 3 commits intomainfrom
Conversation
…ore schema upgrades - Add agent_bench.runner.migration module with migrate_run_artifact, migrate_run_file, and migrate_run_directory functions - Add `agent-bench runs migrate` CLI command with --root and --write flags for dry-run and in-place rewriting - Backfill required top-level fields: agent_ref, task_hash, runtime_identity, budgets, artifact_hash, validator - Normalize runtime_identity from harness_version and add name/version
…ield in run artifacts - Add test_run_artifact_wall_clock_elapsed_is_numeric_for_reference_run verifying wall_clock_elapsed_s is numeric and non-negative - Verify elapsed time is int or float type - Verify elapsed time is >= 0
…n for runs migrate command - Add docs/operations/artifact_migration_playbook.md with migration workflow, CI integration patterns, and operational guidance - Document tracecore runs migrate command in docs/cli/commands.md with --root and --write flags - Add playbook link to README.md documentation index - Cover dry-run validation, in-place rewriting, strict-spec verification, and custom run directory usage - Include CI hook pattern for detecting
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
Testing
python -m pytestpython -m ruff check agent_benchChecklist