1. The problem
In one sentence
A spec change is known to be breaking, but nobody knows which of the existing tests, scripts and integrations use the part that changes.
A story
A team removes GET /users/{id} from the spec. The diff says “breaking”, which is right and not much help. The team has 60 scenario files: smoke tests, regression tests, partner examples. Which of them call the removed route? Someone searches the files for /users/, finds three, misses the one that builds the URL from a variable (/users/{{userId}}), and the nightly run fails the next morning.
Why it hurts
A breaking change has a cost that depends on who calls the thing. Knowing “this is breaking” is the start; knowing “these ten callers will stop working” is what lets you plan.
- For developers: a text search misses calls built from variables and placeholders. The step that fails first is often the one nobody thought to look for.
- For managers: the number of affected callers turns “we are making a breaking change” into a concrete work list with owners.
- For DevOps: run the impact check in the same pipeline step as the diff, so the answer arrives with the pull request, not after the merge.
Example
The new spec (version 2) removes GET /users/{id}. Two scenario files call it:
- label: Fetch user 1
request: { method: GET, url: "{{baseUrl}}/users/1" }
and one with a placeholder in the path (GET {{baseUrl}}/users/{{userId}}). A third file only calls POST /users and GET /users, which the change does not touch.
How to detect it without clrsig
- Search for the path in your test files, including the variants (
/users/1,/users/{{id}}, string concatenations). - Run the whole test suite against a build of the new version, and read the failures.
How to fix it
The problem here is not a defect to fix but a list to work through. For each affected caller:
- Update the caller to the new route or shape, before the change ships.
- Keep the old behaviour for a while, if the caller cannot move yet (AC-054).
To tell which: ask the owner of the caller. Never ship the change and find out from the nightly run.
Related problems
AC-054 A spec change breaks existing clients, AC-055 Not every change is equally risky, AC-057 You do not know what your tests never reached.
Words used on this page are explained once in the glossary.
2. How clrsig helps
Check
CS-IMP-001 Scenario step hits a breaking change. State: caught. Severity today: failure (exit code 1). A step’s method and path match an operation that has a breaking change. Only changes that name a method and a path are matched. A placeholder in the step URL ({{baseUrl}}/users/{{userId}}) stands for one path segment.
Command
Compare two specs and cross-reference the breaking changes with scenario files. Nothing is sent and no server is needed (the sandbox notes say never to run these scenarios against a server). From the sandbox folder, with a whole folder of scenarios:
clrsig impact specs/diff/impact-hit/v1.yaml specs/diff/impact-hit/v2.yaml clrsig/scenarios/impact
Exit code: 0 no scenarios are affected, 1 one or more steps match a breaking change, 2 a spec parse or configuration error. Here it is 1.
What you see
Output from clrsig v0.21.0, recorded on 2026-11-30:
Breaking changes (1):
[ERR] GET /users/{id} — API path removed without deprecation
Affected scenarios (2):
impact - the same call, with a placeholder in the path (clrsig\scenarios\impact\calls-removed-endpoint-placeholder.yaml)
✗ Fetch a user by variable GET {{baseUrl}}/users/{{userId}}
└─ API path removed without deprecation
impact - a step that calls an operation the revision removes (clrsig\scenarios\impact\calls-removed-endpoint.yaml)
✗ Fetch user 1 GET {{baseUrl}}/users/1
└─ API path removed without deprecation
2 scenario(s) affected — review before shipping the spec revision
How to read it: the breaking change is listed first. Then each affected scenario file, with the step label, the method and the URL, and the reason. The step with {{userId}} is found too.
For a scenario that only calls operations the change does not touch, the result is clean (exit code 0):
Output from clrsig v0.21.0, recorded on 2026-11-30:
Breaking changes (1):
[ERR] GET /users/{id} — API path removed without deprecation
No scenario steps match the breaking change paths.
Where to look
- Reports:
--format jsonwrites the same data for a script, and-owrites it to a file. - Folders: a folder is searched with its sub-folders;
--no-recursivelimits it to the top level. - Desktop app: open the affected scenario and update the step.
How clrsig helps you fix it
It gives you the work list: file, step and reason. It does not know about callers outside your scenario files (partners, mobile apps).
Limits
- It sees only the scenario files you give it. Other callers need their own list.
- Only changes that name a method and a path are matched.
More ways
Nothing yet.
3. Video brief for Google NotebookLM
VIDEO BRIEF — AC-056 · Which of my tests will the change break?
Length: 5 to 7 minutes. Language: English. Audience: developers, with a line each for managers and DevOps.
One idea: knowing a change is breaking is the start; knowing which callers will stop working is what lets you plan.
Open with this story: A team removes a route from the spec. The diff says breaking, which is right and not much help. The team has 60 scenario files. Someone searches the files for the path, finds three, and misses the one that builds the URL from a variable. The nightly run fails the next morning.
Say these facts, in this order:
1. clrsig impact takes the old spec, the new spec, and scenario files or folders. It needs no server.
2. In the example, the breaking change is GET users by id, removed without deprecation.
3. Two scenario files are affected: one with a literal id in the path and one with a placeholder in the path. Both are found, because a placeholder stands for one path segment.
4. A scenario that only calls routes the change does not touch gets a clean result and exit code 0.
5. The exit code is 1 when any step matches a breaking change.
6. The result is a work list: file, step label, method, URL and reason.
7. Two ways to fix an affected caller: update it before the change ships, or keep the old behaviour for a while.
8. For managers: the number of affected callers turns a breaking change into a work list with owners.
9. For DevOps: run the impact check in the same pipeline step as the diff.
Show on screen: the scenario step, the command (clrsig impact specs/diff/impact-hit/v1.yaml specs/diff/impact-hit/v2.yaml clrsig/scenarios/impact), and the output blocks, copied exactly from the card.
Name the check: CS-IMP-001, Scenario step hits a breaking change. Say the clrsig version: v0.21.0.
Explain these words once: scenario (a script of steps with your own checks); placeholder (a name in double braces that stands for a value, such as the user id); breaking change (a change that can break existing clients); exit code (0 clean, 1 a finding, 2 setup or spec broken).
Say what clrsig does not see here: callers outside your scenario files, such as partners and mobile apps; only changes that name a method and a path are matched.
Safety line (if a write is shown): not needed, impact sends nothing.
Finish with three recap questions:
1. What does clrsig impact need besides the two specs? (Scenario files or folders.)
2. Is a step with a placeholder in the path found? (Yes.)
3. Which callers does it not see? (Those outside your scenario files.)
Tease the next video: AC-057 · You do not know what your tests never reached.
Do not: say "contract testing" alone; say clrsig "catches everything"; invent flags, IDs or numbers; read tables aloud; use any fact that is not in the card.