manifest-audit Contract
Purpose
Check standard-suite manifests for required sections and missing local artifact references.
Usage
manifest-audit [root] [--json]
Inputs
- Arguments: optional root path; defaults to current directory.
- Options:
--jsonemits machine-readable output. - Environment: none.
- Files:
*/CTS.manifest.toml.
Outputs
Human Output
Summary of manifests checked, missing sections, missing artifact paths, and final result.
Machine Output
With --json, stdout contains one JSON object:
rootmanifests_checkederrorswarningsstatus
Diagnostics
Unreadable files, parse errors, and filesystem diagnostics go to stderr.
Exit Codes
| Code | Meaning |
|---|---|
| 0 | All checked manifests passed. |
| 2 | Invalid arguments. |
| 3 | Root path missing. |
| 4 | One or more manifests failed validation. |
Stability
- Command name: stable after first release.
- Flag names:
--jsonis stable. - Machine-readable fields: additive changes allowed in minor releases.
- Breaking-change policy: field removals require a major version.
Examples
Human Use
manifest-audit D:\010-CITY-HALL
Automation Use
manifest-audit D:\010-CITY-HALL --json