AICC CLI
The AICC CLI validates AI Change Control specs and produces normalized plans.
It is the reference validator for the open AICC specification.
Install
npm install
Usage
npm run build
node dist/index.js validate ../aicc-spec/examples/minimal.yaml
node dist/index.js plan ../aicc-spec/examples/minimal.yaml
If installed globally or linked, use the aicc command:
aicc validate ../aicc-spec/examples/minimal.yaml
aicc plan ../aicc-spec/examples/minimal.yaml
Exit codes
0 valid
1 invalid spec
2 internal error
Examples
Validate a spec:
node dist/index.js validate ../aicc-spec/examples/pr_safe_change.yaml
Generate a normalized plan:
node dist/index.js plan ../aicc-spec/examples/migration_requires_approval.yaml
Relationship to aicc-spec
This CLI validates against ../aicc-spec/schema.json and enforces the semantic
rules documented in ../aicc-spec/spec.md.