Command-line control for interface contracts.
interfacectl validates, enforces, and inspects interface contracts as executable truth.
brew install interfacectl
Supports macOS, Linux, CI environments.
interfacectl validate interface.json
Validates an interface against its contract.
interfacectl diff previous.json current.json
Shows structural and language drift.
interfacectl enforce interface.json --strict
Fails on any contract violation.
Interface conforms to contract.
Minor deviation detected.
Interface has diverged from definition.
Contract violation. Change blocked.
In CI pipelines to validate interface changes before merge.
During design system changes to ensure token adherence.
Before AI-generated interfaces ship to production.
interfacectl is the executable surface of the Surfaces system.
It does not interpret intent.
It evaluates truth.
If it passes interfacectl, it passes the contract.