Skip to main content

versionx policy

Policy authoring and evaluation

Subcommands

init

Scaffold a starter policy file under .versionx/policies/

check

Evaluate all policies against the current workspace

explain

Explain why a specific policy fired (or didn't) by name

Flags

FlagValueDefaultRequiredGlobalDescription
name<NAME>yes

list

List loaded policies + their kinds

stats

Show aggregate counts per kind / severity

update

Refresh the policy lockfile (versionx.policy.lock) with current content hashes for every loaded policy source

audit

Audit waivers for expired / expiring-soon entries

verify

Verify policy sources against the policy lockfile (hash drift + sealed-name removal)

See also