1. The problem
In one sentence
The spec lists a query parameter (status, sort, limit), the server accepts it, and ignores it.
A story
A dashboard asks for GET /orders?status=completed and expects the 2 completed orders. The server answers with all 3 orders, pending ones included. It accepted the parameter and did nothing with it. The dashboard shows the wrong totals. Nobody gets an error, because the answer is a valid list of orders.
Why it hurts
A parameter that is accepted and ignored is worse than one that is refused. The client believes it narrowed the data, and uses the result as if it had.
- For developers: the parameter was added to the spec during design and never implemented, or a caching layer ignores the query string. The answer is well-formed, so no schema check fails.
- For managers: reports and screens show data that does not match the filter. Decisions are taken on the wrong numbers.
- For DevOps: a cache that drops the query string serves the same body for every parameter. Test the parameters with different values and compare the answers.
Example
Three demos from the failure catalog:
GET /orders?status=completed -> count: 3 (should be 2: only the completed orders)
GET /products?sort=price_asc -> first item price 79.99 (should be 29.99: the lowest price first)
GET /items?limit=2 -> count: 5 (should be 2)
How to detect it without clrsig
- Call the route with two different values of the parameter and compare the answers. If they are identical, the parameter is ignored.
curl -s 'URL?limit=2' | jq '.items | length'shows the number of items returned.
How to fix it
There are two usual causes:
- The code is wrong (more likely). Implement the parameter, or take it out of the spec. A parameter in the spec is a promise.
- The spec is wrong. The parameter was never meant to be public. Remove it from the spec.
To tell which: ask whether any client sends it. If they do, implement it. Never keep a parameter that silently does nothing.
Related problems
AC-036 The pagination contract is broken, AC-038 Valid shape, wrong meaning, AC-033 Loose validation: values outside the rules and unknown fields are accepted. See also the site’s Syntactically Valid but Semantically Invalid Payloads.
Words used on this page are explained once in the glossary.
2. How clrsig helps
Check
No built-in check, and the state is not caught. The answers are valid lists, so the response checks pass. A scenario that asserts the expected result of each parameter finds it: the count, or the first item.
Command
Each demo is a runnable server in the failure catalog, and its scenario only reads data (GET). From the demo folder, with Go installed:
cd failures/fm-022-02-filter-ignored
go run broken/main.go &
clrsig run scenarios/detect.yaml --env environments/local.yaml
Exit code: 0 all steps pass, 1 a step failed, 2 the scenario or the setup is broken. Here it is 1. Against fixed/main.go the steps pass and the exit code is 0.
What you see
Output from clrsig v0.21.0, recorded on 2026-11-30. The filter demo, fm-022-02-filter-ignored:
Scenario: fm-022-02 — Filter Parameter Ignored
FAIL GET /orders?status=completed — must return only the 2 completed orders 200 15ms
✗ jsonpath $.count eq 2: expected "2"; got "3"
SKIP GET /orders?status=pending — must return only the 1 pending order
skipped: step 1 (GET /orders?status=completed — must return only the 2 completed orders) failed and its failPolicy is stop; set failPolicy: continue to run the steps after a failure
FAILED 0 passed, 1 failed, 1 skipped (0/1 assertions passed) 15ms
The sort demo, fm-022-04-sort-order:
Output from clrsig v0.21.0, recorded on 2026-11-30:
Scenario: fm-022-04 — Sort Order Contract
FAIL sort=price_asc — first item must have the lowest price (29.99) 200 18ms
✗ jsonpath $.items[0].price eq 29.99: expected "29.99"; got "79.99"
SKIP sort=price_desc — first item must have the highest price (349.99)
skipped: step 1 (sort=price_asc — first item must have the lowest price (29.99)) failed and its failPolicy is stop; set failPolicy: continue to run the steps after a failure
FAILED 0 passed, 1 failed, 1 skipped (0/1 assertions passed) 18ms
The limit demo, fm-022-05-limit-ignored:
Output from clrsig v0.21.0, recorded on 2026-11-30:
Scenario: fm-022-05 — Limit Parameter Ignored
FAIL GET /items?limit=2 — count must be 2 (broken server ignores limit and returns all 5) 200 15ms
✗ jsonpath $.count eq 2: expected "2"; got "5"
FAILED 0 passed, 1 failed, 0 skipped (0/1 assertions passed) 15ms
How to read it: each line shows the value the scenario expected and the value the server gave.
Where to look
- Desktop app: open the scenario and run it; each step shows its assertion result.
- Reports:
--format jsonandjunitonclrsig run. - GitHub Action: use
command: runwith thescenarioandenvinputs. Some of these demo scenarios name their spec withspecFile; the others check only their own assertions. To compare your own responses with your spec, name it withspecFilein the scenario, or give thespecinput, which replaces it; older releases of the Action ignored that input withrun(setup and upgrading).
How clrsig helps you fix it
It tells you which parameter had no effect and by how much. You supply the expected result, which also documents what the parameter is meant to do.
Limits
- It needs a known data set so that the expected count or order is stable.
- Only the parameter values you write are tested.
More ways
Nothing yet.
3. Video brief for Google NotebookLM
VIDEO BRIEF — AC-037 · A filter, limit or sort parameter is ignored
Length: 5 to 7 minutes. Language: English. Audience: developers, with a line each for managers and DevOps.
One idea: a parameter that is accepted and ignored is worse than one that is refused, because the client believes it narrowed the data.
Open with this story: A dashboard asks for orders with the status completed and expects the 2 completed orders. The server answers with all 3 orders, pending ones included. It accepted the parameter and did nothing with it. The dashboard shows the wrong totals, and nobody gets an error because the answer is a valid list.
Say these facts, in this order:
1. Filter demo: the scenario expects a count of 2 and gets 3.
2. Sort demo: sorting by price ascending should give the lowest price, 29.99, first; the server gives 79.99.
3. Limit demo: a limit of 2 should give a count of 2; the server gives 5.
4. The answers are valid lists, so a schema check passes; a scenario that asserts the expected result finds the problem.
5. Two usual causes: the code is wrong (implement the parameter or take it out of the spec), or the parameter was never meant to be public.
6. A cache that drops the query string can cause the same symptom.
7. For managers: decisions are taken on numbers that do not match the filter.
8. For DevOps: call a route with two parameter values and compare the answers.
Show on screen: the three example lines, the commands (go run broken/main.go and clrsig run scenarios/detect.yaml --env environments/local.yaml), and the three output blocks, copied exactly from the card.
Name the check: none built in; found by value assertions in a scenario. Say the clrsig version: v0.21.0.
Explain these words once: query parameter (a value after the question mark in a URL); filter (a parameter that narrows a list); scenario (a script of steps with your own checks, called assertions); exit code (0 clean, 1 a finding, 2 setup or spec broken).
Say what clrsig does not see here: it needs a known data set; only the parameter values you write are tested.
Safety line (if a write is shown): not needed, these scenarios only send GET requests.
Finish with three recap questions:
1. Why is an ignored parameter worse than a refused one? (The client believes it narrowed the data.)
2. How can you detect it by hand? (Call with two values and compare the answers.)
3. Why does a schema check not see it? (The answer is a valid list.)
Tease the next video: AC-038 · Valid shape, wrong meaning.
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.