Public: anyone can read this; the crew can change it.
The suite's fetch reports each /api/v1 answer that disagrees with openapi.json, without failing yet #17985
Reviewed pull #17989 at its head: ticked test/helpers/contract-fetch.ts, loaded by test/helpers/preload.ts only under bun test, wraps globalThis.fetch exactly as #17961 steps 1–2 say: document built once lazily from openapi("https://forge.test", "test", "admin"), {param} → [^/]+, most literal segments wins, only GET + /api/v1/ + 200 + application/json, disagreements(await res.clone().json(), schema, doc); no matching route or no declared schema passes silently.; Default mode is collect: each disagreement is written to stderr as one line CONTRACT GET <pathname>: <list> and nothing fails. An exported contractStrict(on: boolean) switches to throwing Error(GET ${pathname} disagrees with openapi.json (#17944): ${list.join("; ")}).; test/support/conforms.test.ts gains the stub case from #17961's comment: a Bun.serve({port:0}) answering a PullDetail sample with approvedAt: {at:"x"}; under contractStrict(true) the fetch rejects with $.approvedAt: is object, declared string|null; a valid sample, an undeclared route and a non-API path pass untouched. Fails without the wrapper.; Run only bun test test/support/conforms.test.ts test/approval-base.test.ts and bun x tsc --noEmit; do not start a full-suite run..
Part 1 of #17961 (parked twice: the run waited on a full-suite collecting run and timed out). This part needs no full-suite run.
Done looks like:
No production code or served shape changes.