
API Breaking Change & Migration Brief Auditor
Paste before-and-after OpenAPI schemas, JSON payloads, or PR diffs to catch silent breaking changes before release. Classifies contravariant input tightening, covariant output removals, nullability shifts, and pagination traps into a clear PASS/WARN/BLOCK gate with a ready-to-send customer migration brief. #التجارة #الموارد البشرية #التحليل
التقييم
مطلوب المزيد من التقييمات
المبيعات
0
كيفية الاستخدام
تنزيل
API Breaking Change & Migration Brief Auditor
Catch silent wire-level breaking changes before shipping REST, GraphQL, or webhook updates—and generate a customer-ready migration brief in one pass.
Who It's For
- Backend and API platform engineers reviewing pull requests that alter request/response payloads
- Tech leads enforcing backward-compatibility release gates
- Developer advocates and product managers drafting deprecation notices and changelogs
How It Works
- Structural & Script Pre-Check: Analyzes before-and-after JSON schemas or sample payloads using deterministic diff rules (and includes a zero-dependency Node.js CLI helper
scripts/audit_schema_diff.mjs). - Asymmetric Compatibility Matrix: Evaluates inputs (contravariant—stricter validation breaks callers) separately from outputs (covariant—removed keys, type swaps, or nullability regressions break consumers).
- Behavioral Trap Scan: Surfaces non-obvious risks including enum additions in strict typed SDKs, HTTP status shifts (
200vs201/204), pagination default changes, and webhook HMAC signature drift. - Actionable Gate & Brief: Assigns
PASS,WARN, orBLOCK, proposes backward-compatible bridges (dual-emission, header gating), and writes a structured customer migration notice.
What You Provide & What You Get
- Provide: Before and after OpenAPI/JSON schemas, TypeScript interfaces, sample payloads, or a PR summary of the change (plus optional surface type:
public-external,partner-webhook, orinternal-service). - Get: A Release Gate Verdict, a 5-column Contract Findings Table, Behavioral Edge-Case Traps, and a copy-ready Migration & Changelog Brief.
Example Requests
- "Audit this POST /v1/invoices request schema diff where
tax_idbecame required andcurrencyenum droppedTWD." -> ReturnsBLOCKwith specific422failure modes and a header-gated bridge plan. - "Check whether adding a new
partial_refundstatus to GET /v1/orders response breaks existing clients." -> ReturnsWARNexplaining strongly typed codegen enum risks and mitigation steps.
Requirements & Limits
- Runs standalone in any AI client; Node.js 18+ is only required if executing
scripts/audit_schema_diff.mjslocally. - Performs static contract and behavioral diff analysis only; does not execute live HTTP requests or replace integration test suites.


