CLI baseline metrics
CLI baseline metrics
Section titled “CLI baseline metrics”Use this checklist when changing vox-cli command surface, registry, or compile time.
Before / after a change
Section titled “Before / after a change”- Timing (local):
cargo check -p vox-cli --timings— open the HTML report; compare wall time to the previous run. - Workspace guard:
vox ci build-timings(budgets indocs/ci/build-timings/budgets.json). - Dependency graph:
cargo tree -p vox-cli -e normal,build— spot unexpected always-on crates after edits. - Command surface:
cargo run -p vox-cli -- commands --format json --include-nested— diff against the prior output, or rely oncargo test -p vox-cli --test command_catalog_paths_baseline(sorted path fixture undercrates/vox-cli/tests/fixtures/) plusvox ci command-compliance(embed + catalog vs registry). - Build analytics (VoxDB): query
build_*projections via MCP (vox_benchmark_listwithsource=build_health|build_regressions|build_warnings|dependency_shape) and compare with prior runs before deciding module refactor vs feature-gate vs crate split.
Single source of truth
Section titled “Single source of truth”- Registry:
contracts/cli/command-registry.yaml(embedded invox-clifor catalog metadata). - Generated table:
docs/src/reference/cli-command-surface.generated.md— refresh withvox ci command-sync --writeafter registry edits. - Compliance:
vox ci command-compliancebefore merge.