Four layers of an integration contract
A reliable integration contract is more than function names. It couples the callable API to data formats, allowed lifecycle transitions and stable error classes, making unknown or unapproved combinations explicitly rejectable.
- API/SDK: callable surface and version.
- Data/profiles: expected inputs and bounded formats.
- Lifecycle: permitted state transitions and ownership.
- Errors: stable rejection and retry semantics.
Capability negotiation instead of implicit compatibility
When a host explicitly negotiates a capability, an unknown or unsupported capability can return a defined result instead of silently falling back to an apparently similar function. This is easier to reason about for long-lived OEM integrations.