DEV Community

R VIKRAM
R VIKRAM

Posted on

ContractPulse: Catch the Breaking API Change Before Your Consumers Do

The problem

You change an API. A field is renamed, a type changes, a required field becomes optional — or the other way round. Your tests pass. Then a consumer's integration breaks in production, and the first you hear about it is an angry message, not a failing check.

API compatibility is a contract problem, not just a code problem. If you have consumers depending on your API, a change that looks small to you can be breaking to them. The time to catch that is before the change ships, by checking it against the actual consumer contracts — not after a consumer reports the breakage.

ContractPulse is an auditor for that moment. It checks API changes against consumer contracts for breaking compatibility.

How it works

ContractPulse is an instruction/workflow skill — a structured SKILL.md workflow you run inside your AI agent. It is script-first and practical. You supply the API specification and the consumer contracts, and it works through them in a fixed order:

  1. Compare the old and new API. What actually changed — fields, types, requiredness, endpoints, and behaviour described in the spec?
  2. Check each change against each consumer contract. Does this change break something a specific consumer depends on? A change that is safe for one consumer can be breaking for another, and the output says which.
  3. Classify the breakage. Breaking, potentially breaking, or safe — with the reason spelled out, so the decision is reviewable.
  4. Produce the audit result. A clear list of breaking changes by consumer, ready to feed into a versioning, deprecation, or communication decision.

The point is not to stop you changing your API. It is to make sure you know who you are breaking before you ship.

Verified proof

Honestly: there are no public dry-run numbers published yet for ContractPulse. It has 0 uses and 0 reviews on Agensi at the time of writing, and no published sample audit. I am not going to invent a detection rate, a number of APIs checked, or a customer story. The honest test is to run it against a real API change and a real consumer contract and see whether it catches something your tests missed.

Honest limits

  • ContractPulse checks contract compatibility from the API specs and contracts you supply. It does not test live endpoints, so a behaviour change that is not visible in the spec will not be caught.
  • It is only as good as the contracts you give it. If a consumer's dependency is undocumented, the workflow cannot know about it.
  • It is a short skill, around 820 words. It gives you a tight, repeatable compatibility audit, not a full API testing or monitoring platform.

Try it

ContractPulse is for engineers who own an API with real consumers and want a repeatable check before a breaking change ships.

Try it on Agensi: https://agensi.io/skills/contractpulse-api-compatibility-and-consumer-contract-auditor

Price: $9. No GitHub repo is published for this skill.

Top comments (0)