Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

For AI agents

What an agent gets: a JSON result, exit codes it can branch on, a read-only default, and these docs as markdown.

  • Skill: compara skill prints the guide an agent reads to use this version of compara.
  • Machine-readable result: --json summary.json (or --json - for standard output) writes the counts and per-column statistics, in the shape docs/contract.schema.json gives.
  • Exit codes: 0 identical, 1 differences, 2 error, 3 duplicate keys with --fail-on-dups; --exit-zero for a job whose output is the report.
  • Read-only by default: compare without -o, --json or --export-dir writes nothing; --summary makes that a promise and refuses any flag that would write.
  • Docs as markdown: llms.txt lists every page of the docs site, each one also served as .md.

The loop an agent runs: compara columns on each file to choose the key, compare --summary for the counts, then --json - for the columns that changed and --export-dir for the rows.


Made from README.md.