Skip to content

aix validate

Validates ai.json against the schema and checks for logical errors (e.g., missing files, invalid rule activation modes).

Terminal window
aix validate

If errors are found, it prints the JSON path to the invalid field and a description of the error. It exits with code 1 on failure.

Terminal window
aix validate --lock

--lock creates or refreshes ai.lock.json beside ai.json. After that, plain aix validate also checks the lockfile and fails if the resolved config has changed.