ContractCanary

Local CLI guide

Compare a saved contract with a candidate. Fail CI when inputs become narrower or outputs stop meeting the saved guarantee.

node src/cli.mjs fixtures/additive.json --human

ContractCanary: PASS
Adapter: json-schema
Exit 0 pass · 1 fail · 2 unknown

The CLI never connects to an MCP server or invokes tools. Unsupported keywords, missing schemas and malformed input return UNKNOWN, not PASS.

Back to the product · next action: run the committed fixture matrix in CI.