wos lint
Status: stub. Day 3 deliverable.
Usage
wos lint <policy.yaml>
wos lint <policy.yaml> --jsonRuns the Athena (L1) compiler entirely in-process. No network. Errors
come back with stable machine codes (SCHEMA_VIOLATION,
CONTRADICTORY_RULES, MISSING_ARRAY_MAX, …) and a JSON path to the
offending node.
Exit codes
| Code | Meaning |
|---|---|
0 | Policy is valid (warnings allowed). |
1 | Policy has at least one error. |
2 | Usage / I-O / parse failure. |