vibeqc.system_info

vibeqc.system_info(*, record_hostname=True)[source]

Collect the runtime environment as a nested dict.

The returned dict has the same shape as the on-disk .system TOML – top-level keys are sections (vibeqc, host, cpu, memory, python, libraries, validation), each mapping to the keys documented in vibeqc.system_info. vibeqc.git_sha prefers the full immutable commit ID and falls back to the abbreviated ID only when full build provenance is unavailable.

Parameters:

record_hostname (bool) – If False (or if the VIBEQC_NO_HOSTNAME=1 env var is set), the host.hostname field is set to "<redacted>" and the python.executable path is home-relativised (/Users/<user>/... -> ~/...) so the home directory is not exposed. Both fields are always present so the TOML shape stays stable for parsers; we never omit either.

Return type:

dict[str, Any]