Skip to content

refactor: rename binary vp to vt and make program name configurable#228

Merged
branchseer merged 4 commits intomainfrom
03-12-refactor_rename_binary_vp_to_vt_and_make_program_name_configurable
Mar 12, 2026
Merged

refactor: rename binary vp to vt and make program name configurable#228
branchseer merged 4 commits intomainfrom
03-12-refactor_rename_binary_vp_to_vt_and_make_program_name_configurable

Conversation

@branchseer
Copy link
Member

@branchseer branchseer commented Mar 12, 2026

  • Rename binary from vp to vt in Cargo.toml
  • Support both vp and vt (and vpr shorthand) in nested scripts.

Details

  • Rename SessionCallbacksSessionConfig with a program_name: Str field, making all libraries agnostic about the program name
  • Add program_name to LabeledReporterBuilder/LabeledGraphReporter and thread it through to format_compact_summary so summary output shows the correct binary name
  • Rename OwnedSessionCallbacksOwnedSessionConfig and as_callbacks()as_config()
  • Update all test fixtures, snapshots, and CLAUDE.md to use vt

- Rename binary from `vp` to `vt` in Cargo.toml
- Support both `vp` and `vt` (and `vpr` shorthand) in nested scripts for backward compatibility
- Rename `SessionCallbacks` → `SessionConfig` with a `program_name: Str` field, making all libraries agnostic about the program name
- Add `program_name` to `LabeledReporterBuilder`/`LabeledGraphReporter` and thread it through to `format_compact_summary` so summary output shows the correct binary name
- Rename `OwnedSessionCallbacks` → `OwnedSessionConfig` and `as_callbacks()` → `as_config()`
- Update all test fixtures, snapshots, and CLAUDE.md to use `vt`
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

The `needless_pass_by_value` expect was no longer triggered after the
SessionCallbacks → SessionConfig rename, causing clippy to error on the
unfulfilled expectation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
branchseer and others added 2 commits March 12, 2026 11:20
The vp dummy binary was previously tracked in git (bypassing gitignore).
The rename commit deleted it but didn't add the replacement vt dummy,
causing CI to fail to resolve the vt executable during plan snapshot tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@branchseer branchseer merged commit 1acf3ee into main Mar 12, 2026
11 of 13 checks passed
@branchseer branchseer deleted the 03-12-refactor_rename_binary_vp_to_vt_and_make_program_name_configurable branch March 12, 2026 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants