Repository navigation
chore(version): add 3.0.6 to COMPATIBLE_ADCP_VERSIONS + bump schema citations - #1526
Merged
Merged
Conversation
…3.0.6 schema citations PR #1510 bumped ADCP_VERSION to 3.0.6 but didn't add 3.0.6 to the COMPATIBLE_ADCP_VERSIONS literal union in scripts/sync-version.ts. Callers passing { adcpVersion: '3.0.6' } fell through to the (string & {}) escape hatch — still accepted at runtime, but no editor completion. Closes the gap by appending '3.0.6' to the list; src/lib/version.ts regenerated via npm run sync-version. Plus 4 schema-citation bumps so user-facing surfaces line up with the pinned version: - skills/cross-cutting.md (§ Spec reference) - skills/SHAPE-GOTCHAS.md (§7 signal_type) - examples/hello_seller_adapter_social.ts (audience.json comment) - src/lib/server/decisioning/runtime/from-platform.ts (account-ref.json comment) docs/migration-6.6-to-6.7.md 3.0.5 references are historical (the migration target was 3.0.5) and stay unchanged. Local tracking issues filed for the upstream spec gaps the team is waiting on: - adcp-client#1523 (waits on adcp#4015 — audio variant phase for creative_template storyboard) - adcp-client#1525 (waits on adcp#4021 — output_only flag on format.assets[]) Both upstream issues remain OPEN. Validated: fork-matrix 23/23, typecheck + format clean. Pure additive at wire and type level — COMPATIBLE_ADCP_VERSIONS extends backward compat, no existing strings change. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
… schema code-reviewer caught a pre-existing broken schema citation in examples/hello_seller_adapter_social.ts:188. The comment cited /schemas/3.0.6/core/audience.json — a file that has never existed in either 3.0.5 or 3.0.6. The surrounding prose describes SyncAudiencesRow's matched_count + effective_match_rate fields, which actually live at schemas/cache/3.0.6/media-buy/sync-audiences-response.json. Repointed. Pure comment-only fix. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Contributor
Author
Expert review summary (one round, one reviewer)Verdict: ship. No blockers.
Final state
|
Contributor
Author
|
Acknowledged — thanks for the review summary. All citations verified against Generated by Claude Code |
Contributor
Author
|
Noted — thanks for the follow-up commit and confirming the fork-matrix is green. No further action from triage. Generated by Claude Code |
Contributor
Author
|
Acknowledged — ready for review when you are. Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Code-reviewer flagged this in PR #1519 as an "optional follow-up": cross-cutting.md and SHAPE-GOTCHAS §7 cite
schemas/cache/3.0.5/...while the repo pinned 3.0.6 today (PR #1510). Investigating turned up a real gap — PR #1510 bumpedADCP_VERSIONto 3.0.6 but didn't add 3.0.6 to theCOMPATIBLE_ADCP_VERSIONSliteral union inscripts/sync-version.ts.What changed
Real fix:
scripts/sync-version.ts— appended'3.0.6'toCOMPATIBLE_ADCP_VERSIONS. Without this, callers passing{ adcpVersion: '3.0.6' }fell through the literal-union autocomplete to the(string & {})escape hatch — still accepted at runtime but no editor completion or compile-time signal.src/lib/version.tsregenerated vianpm run sync-version.Citation bumps (3.0.5 → 3.0.6):
skills/cross-cutting.md§ Spec reference —schemas/cache/3.0.5/bundled/<protocol>/skills/SHAPE-GOTCHAS.md§7 —schemas/cache/3.0.5/enums/signal-catalog-type.jsonexamples/hello_seller_adapter_social.ts—/schemas/3.0.5/core/audience.jsoncommentsrc/lib/server/decisioning/runtime/from-platform.ts—schemas/cache/3.0.5/core/account-ref.jsoncommentdocs/migration-6.6-to-6.7.md3.0.5 references are historical (the migration target was 3.0.5) and stay unchanged.Spec follow-ups tracked
While doing this sweep, filed two local tracking issues for the upstream spec gaps from earlier PRs:
creative_templatestoryboard)output_onlyflag onformat.assets[])Both upstream issues remain OPEN. Each local tracking issue lists the SDK call sites that need updating when the upstream lands.
Test plan
npm run compliance:fork-matrix— 23/23 in ~12snpm run typecheckcleannpm run format:checkcleanAdopter impact
Pure additive at wire and type level.
COMPATIBLE_ADCP_VERSIONSextends backward compatibility — no existing strings change. Citation bumps are docs-only.🤖 Generated with Claude Code