G1 (start):
- vbs run builds an executable target, passes program args through `--`,
inherits stdio via Void::Process (interactive programs keep the terminal)
and returns the program's exit code; Windows targets run under Wine.
- vbs metadata emits a schema-versioned workspace document built with
Void::Json::Strict: roots, profile/compiler, targets (sources, includes,
links, labels, install rules), dependencies and the lockfile revision.
- vbs why walks the target graph root -> target, or explains a dependency
and the targets linking it.
- vbs add NAME[@RANGE] / vbs remove NAME edit vbs.deps.toml (canonical,
comment-preserving block editing), validate ranges with
Void::Semver::parse_range and refresh vbs.lock via the resolver.
- --frozen implies --locked --offline for build/test/run.
G7 (native caching):
- --native-cache off|auto|ccache|sccache (or VBS_NATIVE_CACHE) prepends
ccache/sccache to compile actions only; the wrapper and real compiler are
part of the action key, archive/link actions are untouched, and
vbs doctor reports availability.
VoidLibrary reuse: Void::Process (spawn with inherited stdio),
Void::Json::Strict (metadata document), Void::Str (trim/split/prefix),
Void::Semver (range validation), plus the existing SDK helpers
(target_kind_name/visibility_name) instead of local duplicates.
Verified: lifecycle_run_metadata_why_and_manifest_editing,
native_cache_wrapper_is_lowered_into_compile_commands and
native_cache_wraps_compile_actions pass; CLI contracts pass; clang-format
clean.