Docs
contextai validate
Check that all output files are fresh and well-structured.
bash
contextai validatevalidate compares the current output files on disk against what contextai generate would produce. It exits with a non-zero code if any file is stale or missing — useful in CI.
CI usage
yaml
- name: Validate context files
run: npx contextai validate