Repository navigation
feat: remove the vf-replay cli - #3052
Merged
Merged
Conversation
Drop the vf-replay console script, its config, its Rich dashboard, its tests and its docs. Task.rescore stays as the library API for scoring a saved trace again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mikasenghaas
force-pushed
the
feat/drop-replay-cli
branch
from
November 3, 2026 04:14
2a3d98d to
ab141b6
Compare
mikasenghaas
marked this pull request as ready for review
November 3, 2026 04:19
Contributor
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Removes the optional vf-replay CLI and its supporting modules while retaining Task.rescore(trace) for offline scoring. Existing command users must switch to the library API; saved runs and core scoring behavior are unchanged. You can add or adjust custom eligibility rules. Learn more. |
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
vf-replayconsole script and its stack:verifiers/v1/cli/replay.py,verifiers/v1/configs/cli/replay.py(ReplayConfig), the Rich replay dashboard (cli/dashboard/replay.py), andtests/unit/cli/test_replay.py.saved_config_pathfromcli/output.py, which onlyvf-replayused.vf-replayfrom the command table indocs/getting_started.mdand fromdocs/debugging.md. The "Re-score without rerunning the agent" section now documentsTask.rescore(trace), which stays as the library API.Stacked on #2610 (removes
vf-eval). Land after it.Breaking
vf-replayno longer exists. To score a saved trace again, callTask.rescore(trace)on it.verifiers.v1.configs.cli.replayis gone.Verification
pytest tests/unit: passes.vf-replay,ReplayConfig, or replay dashboard references remain in verifiers or prime-rl.🤖 Generated with Claude Code
Note
Remove the
vf-replayCLI and its replay workflowDeletes the replay CLI module, its
ReplayConfigmodel, the replay dashboard renderer, and related tests. The console-script entry forvf-replayis removed from pyproject.toml. Docs now describe offline re-scoring viaTask.rescore(trace)instead: it clears scores and runs scoring hooks and judges that need only the saved trace, skipping setup, finalize, and runtime-dependent hooks (debugging.md, getting_started.md).vf-replayno longer installs as a console command;verifiers.v1.cli.replay,run_replay,ReplayConfig, andReplayProgressare gone. UseTask.rescore(trace)for offline re-scoring.Macroscope summarized ab141b6.
Note
Medium Risk
Breaking CLI removal changes how users re-score saved runs, though the supported path is the existing
Task.rescoreAPI rather than deleted scoring logic.Overview
Removes the
vf-replayCLI and its supporting code: theverifiers.v1.cli.replayentrypoint,ReplayConfig, the Rich replay dashboard, unit tests, and thevf-replayconsole script inpyproject.toml.saved_config_pathincli/output.pyis dropped because only replay used it.Docs now count four CLI commands instead of five. The debugging guide no longer documents batch re-scoring from a run directory; offline re-scoring is described as calling
Task.rescore(trace)on a saved trace (same behavior replay relied on: clear scores, run trace-only hooks and judges, skip runtime-dependent setup).Breaking:
uv run vf-replay …is gone; re-score traces in application code viaTask.rescore.Reviewed by Cursor Bugbot for commit ab141b6. Bugbot is set up for automated code reviews on this repo. Configure here.