From 39d0467c46f05c8235c932cfc93b31aeb28e05eb Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 25 Apr 2026 14:32:42 +0000 Subject: [PATCH 1/2] fix(schema): correct title annotation in rate-limited error-details schema Change "RATE_LIMITED Details" to "Rate Limited Details" in the `title` annotation of error-details/rate-limited.json. The title field is non-normative per JSON Schema draft-07 (no validation or wire-format impact); this corrects the downstream codegen output from `RATE_LIMITEDDetails` to `RateLimitedDetails`. Applied to source and all dist snapshots (3.0.0, 3.0.0-rc.3, latest). Refs #3145. See adcp-client#942 for the SDK alias layer. https://claude.ai/code/session_01E3LcN5g4tEZutKCTePUVbs --- .changeset/fix-rate-limited-schema-title.md | 4 ++++ dist/schemas/3.0.0-rc.3/error-details/rate-limited.json | 2 +- dist/schemas/3.0.0/error-details/rate-limited.json | 2 +- static/schemas/source/error-details/rate-limited.json | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 .changeset/fix-rate-limited-schema-title.md diff --git a/.changeset/fix-rate-limited-schema-title.md b/.changeset/fix-rate-limited-schema-title.md new file mode 100644 index 0000000000..bf62916928 --- /dev/null +++ b/.changeset/fix-rate-limited-schema-title.md @@ -0,0 +1,4 @@ +--- +--- + +Fix `title` in `error-details/rate-limited.json` from `"RATE_LIMITED Details"` to `"Rate Limited Details"`. The JSON Schema `title` annotation is non-normative; no validation or wire-format change. This corrects the generated TypeScript type name from `RATE_LIMITEDDetails` to `RateLimitedDetails` in downstream codegen consumers (see adcp-client#942 for the SDK alias layer). diff --git a/dist/schemas/3.0.0-rc.3/error-details/rate-limited.json b/dist/schemas/3.0.0-rc.3/error-details/rate-limited.json index 5f2d83a15a..e19d693e51 100644 --- a/dist/schemas/3.0.0-rc.3/error-details/rate-limited.json +++ b/dist/schemas/3.0.0-rc.3/error-details/rate-limited.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/3.0.0-rc.3/error-details/rate-limited.json", - "title": "RATE_LIMITED Details", + "title": "Rate Limited Details", "description": "Recommended details shape for RATE_LIMITED errors. Provides rate limit window information so agents can plan request pacing.", "type": "object", "properties": { diff --git a/dist/schemas/3.0.0/error-details/rate-limited.json b/dist/schemas/3.0.0/error-details/rate-limited.json index 6e1f77dc56..d14f456739 100644 --- a/dist/schemas/3.0.0/error-details/rate-limited.json +++ b/dist/schemas/3.0.0/error-details/rate-limited.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/3.0.0/error-details/rate-limited.json", - "title": "RATE_LIMITED Details", + "title": "Rate Limited Details", "description": "Recommended details shape for RATE_LIMITED errors. Provides rate limit window information so agents can plan request pacing.", "type": "object", "properties": { diff --git a/static/schemas/source/error-details/rate-limited.json b/static/schemas/source/error-details/rate-limited.json index 7a955d0637..4c63669ea2 100644 --- a/static/schemas/source/error-details/rate-limited.json +++ b/static/schemas/source/error-details/rate-limited.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/error-details/rate-limited.json", - "title": "RATE_LIMITED Details", + "title": "Rate Limited Details", "description": "Recommended details shape for RATE_LIMITED errors. Provides rate limit window information so agents can plan request pacing.", "type": "object", "properties": { From 1b45132b3d49eb49a22609b222c76968f202eb51 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Sat, 25 Apr 2026 11:57:13 -0400 Subject: [PATCH 2/2] revert: drop dist/schemas/ hand-edits per #3149 review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dist/schemas/3.0.0/ and dist/schemas/3.0.0-rc.3/ are immutable release snapshots — scripts/build-schemas.cjs only writes them under --release mode (the changesets release step), and dist/schemas/latest/ is gitignored. Mutating frozen GA snapshots breaks the immutability contract that lets buyers pin to 3.0.0 and trust they see exactly what was published. Source title fix is preserved. The next --release build picks up the corrected title for that version's snapshot; past releases stay byte-identical to what was published. Co-Authored-By: Claude Opus 4.7 (1M context) --- dist/schemas/3.0.0-rc.3/error-details/rate-limited.json | 2 +- dist/schemas/3.0.0/error-details/rate-limited.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/schemas/3.0.0-rc.3/error-details/rate-limited.json b/dist/schemas/3.0.0-rc.3/error-details/rate-limited.json index e19d693e51..5f2d83a15a 100644 --- a/dist/schemas/3.0.0-rc.3/error-details/rate-limited.json +++ b/dist/schemas/3.0.0-rc.3/error-details/rate-limited.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/3.0.0-rc.3/error-details/rate-limited.json", - "title": "Rate Limited Details", + "title": "RATE_LIMITED Details", "description": "Recommended details shape for RATE_LIMITED errors. Provides rate limit window information so agents can plan request pacing.", "type": "object", "properties": { diff --git a/dist/schemas/3.0.0/error-details/rate-limited.json b/dist/schemas/3.0.0/error-details/rate-limited.json index d14f456739..6e1f77dc56 100644 --- a/dist/schemas/3.0.0/error-details/rate-limited.json +++ b/dist/schemas/3.0.0/error-details/rate-limited.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/3.0.0/error-details/rate-limited.json", - "title": "Rate Limited Details", + "title": "RATE_LIMITED Details", "description": "Recommended details shape for RATE_LIMITED errors. Provides rate limit window information so agents can plan request pacing.", "type": "object", "properties": {