CLI Command Contract

The CLI command contract is the set of command names, options, generated artifacts, status outputs, and behavior that automation can depend on.

Appears in

Sources

Draft Notes

  • Focus on stable behavior useful to scripts: inputs, outputs, generated files, and status commands.
  • Avoid documenting exit-code guarantees until the local command references explicitly provide them.
  • Add contract checks for command metadata if the refdog validation scripts become part of the docs workflow.