Getting Started
Run the Guard on the machine that already holds the source. Configuration, options and exit codes are in the Guard CLI beta guide.
Install
The Guard is in private beta and is not on the public npm registry. Install the file named in your beta invitation as a development dependency of the repository you want to scan. It needs Node.js 22 or later. Confirm the build you installed with the second command.
npm install --save-dev ./sovereign-guard-<version>.tgz
npx sovereign-guard --versionFirst scan
No setup is needed. Without a sovereign.config.json the Guard runs in zero-config mode and checks raw colours, physical layout properties, component size and text contrast read from your own stylesheets.
npx sovereign-guard scan src --check --output-path report
# report/sovereign-report.sarif lists every finding
# exit 0: clean · exit 1: findings · exit 2: tool or config failure