aicc
v0.1.2
Published
The AICC CLI validates AI Change Control specs and produces normalized plans. It is the reference validator for the open AICC specification.
Readme
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 installUsage
npm run build
node dist/index.js validate ../aicc-spec/examples/minimal.yaml
node dist/index.js plan ../aicc-spec/examples/minimal.yamlIf installed globally or linked, use the aicc command:
aicc validate ../aicc-spec/examples/minimal.yaml
aicc plan ../aicc-spec/examples/minimal.yamlExit codes
0valid1invalid spec2internal error
Examples
Validate a spec:
node dist/index.js validate ../aicc-spec/examples/pr_safe_change.yamlGenerate a normalized plan:
node dist/index.js plan ../aicc-spec/examples/migration_requires_approval.yamlRelationship to aicc-spec
This CLI validates against ../aicc-spec/schema.json and enforces the semantic
rules documented in ../aicc-spec/spec.md.
