Skip to content

Version Packages - #3898

Merged
bokelley merged 1 commit into
3.0.xfrom
changeset-release/3.0.x
May 2, 2026
Merged

bokelley merged 1 commit into
3.0.xfrom
changeset-release/3.0.x

Conversation

@aao-release-bot

@aao-release-bot aao-release-bot Bot commented May 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to 3.0.x, this PR will be updated.

Releases

[email protected]

Patch Changes

  • a4bd513: spec(capabilities): relax identity.additionalProperties to true on get-adcp-capabilities-response

    Forward-compat fix for 3.0.x. The identity object was schema-closed (additionalProperties: false), so any operator that adopted a forward-compatible field — notably identity.brand_json_url from spec: brand_url on get_adcp_capabilities for keys-from-agent-URL discovery #3690, which was always intended to be readable by 3.0-pinned implementers without a schema bump — would have its capabilities response rejected by strict 3.0 validators (e.g., @adcp/sdk's createAdcpServer default).

    Mirrors the additionalProperties: true already shipped on main post-spec: brand_url on get_adcp_capabilities for keys-from-agent-URL discovery #3690. Strictly additive: the closed property list (per_principal_key_isolation, key_origins, compromise_notification) is unchanged; receivers that ignore unknown fields keep working; receivers that look for new identity fields gain forward-compat without waiting for a 3.x bump.

    The forward-compat narrative in security.mdx ("3.0-pinned implementers can adopt the field today without bumping") depends on this relaxation being live in shipped schemas — without it, the spec advice contradicts the schema.

  • d98c9e4: spec(storyboard-schema): add optional storyboard-level default_agent field

    Closes Storyboard schema: per-storyboard default_agent field for multi-agent runner routing #3894. Adds an optional top-level default_agent: <key> field to the storyboard authoring schema (static/compliance/source/universal/storyboard-schema.yaml).

    default_agent is the logical name (sales, governance, creative, etc.) the multi-agent runner falls back to when a step has no step.agent override and the tool has no unique specialism claimant in the runtime agents map. Resolved against the agents option passed to runStoryboard({ agents: {…} }) — see adcp-client#1066 and adcp-client#1355.

    The runner already accepts default_agent via run-options. This change lets storyboard authors encode the topology intent in YAML once, rather than re-asserting --default-agent sales on every CI invocation. Cross-domain tools (sync_creatives, list_creative_formats, comply_test_controller) become deterministic without per-step agent: overrides.

    Strictly additive and backward-compatible:

    • Single-agent runs ignore the field (precedent: requires_scenarios, controller_seeding).
    • Existing 3.0.x storyboards keep working unchanged.
    • Pre-existing run-options default_agent keeps the lower-precedence fallback slot.

    Resolution order (runner contract):

    1. Step-level agent: override.
    2. Unique specialism claimant in the runtime agents map.
    3. Storyboard-level default_agent (this field).
    4. Run-options default_agent.
    5. Fail-fast (unrouted_step).

    Mirrors the provides_state_for precedent (feat(storyboard): provides_state_for cascade-rescue field (closes #3734) #3775) for adding optional storyboard-schema fields on 3.0.x — small, additive authoring affordances that adopters need today and that don't bind 3.0 wire shape.

@aao-release-bot
aao-release-bot Bot requested a review from bokelley as a code owner May 2, 2026 21:45
@aao-release-bot
aao-release-bot Bot force-pushed the changeset-release/3.0.x branch from 700f874 to cc6b288 Compare May 2, 2026 21:50
@aao-release-bot
aao-release-bot Bot force-pushed the changeset-release/3.0.x branch from cc6b288 to b5027aa Compare May 2, 2026 21:52
@bokelley
bokelley merged commit 1cb57a6 into 3.0.x May 2, 2026
9 checks passed
@bokelley
bokelley deleted the changeset-release/3.0.x branch May 2, 2026 23:24
bokelley added a commit that referenced this pull request May 2, 2026
* chore(3.0.x): re-cherry-pick #3461 and #3462 (envelope_field_present + asset-union) (#3608)

* feat(compliance): add envelope_field_present check type; update v3-envelope-integrity storyboard (#3461)

Closes #3429

Adds `envelope_field_present` as a recognized storyboard check type that
walks protocol-envelope.json instead of the step's response_schema_ref.
Updates v3-envelope-integrity.yaml to use it for the `status` presence
assertion, eliminating the VERIFIER_UNREACHABLE gap in the adcp-client
storyboard-drift verifier. Requires adcp-client#1045 for runtime + static
drift support.

Non-breaking justification: additive — new check type alongside existing
ones; no existing check type changed or removed; no storyboard currently
uses envelope_field_present.

Pre-PR review:
- code-reviewer: approved — lint change correct, test added for classifyOutcome, dist/3.0.1 frozen by design (ships as 3.0.2), no blockers
- ad-tech-protocol-expert: approved — semantics correct; runner-output-contract.yaml updated with check enum + expected/actual shape entries; patch bump confirmed correct per playbook conformance-harness rule

https://claude.ai/code/session_01Kwks2uGQS3ZVX7g4kujdGp

Co-authored-by: Claude <[email protected]>

* fix(schema): promote asset-variant oneOf to canonical asset-union.json (#3462)

* fix(schema): promote asset-variant oneOf to canonical asset-union.json

Fixes json-schema-to-typescript emitting VASTAsset1, DAASTAsset1,
BriefAsset1, and CatalogAsset1 when creative-asset.json and
creative-manifest.json both inline identical 14-arm oneOf arrays.

Creates core/assets/asset-union.json (title: AssetVariant) as a single
$id-addressable source of truth. Both parent schemas now $ref this file
instead of duplicating the union inline. Wire format and validation
semantics are unchanged; the discriminator annotation moves inside the
canonical schema per OAS 3.1 §4.8.24.

Closes #3459

https://claude.ai/code/session_017XYv1Yt2m9NSj4bsNR22qo

* docs(schema): document intentional subset in offering-asset-group.json

Clarify that offering-asset-group excludes brief-asset and catalog-asset
(campaign-input metadata, not delivery-ready creative types) and cross-link
to the new asset-union.json for the full union. Addresses code-reviewer
nit from pre-PR review.

https://claude.ai/code/session_017XYv1Yt2m9NSj4bsNR22qo

* fix(schema): replace inline asset oneOf in list-creatives-response.json

Third copy of the 14-arm asset union, caught in post-PR code review.
Replace with $ref to asset-union.json for consistency.

https://claude.ai/code/session_017XYv1Yt2m9NSj4bsNR22qo

---------

Co-authored-by: Claude <[email protected]>

* chore(3.0.x): sync release-pipeline workflows from main (App token, 3.0.x triggers)

---------

Co-authored-by: Claude <[email protected]>

* Version Packages (#3615)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* docs(creative-channels): fix url_type tracker → tracker_pixel (#2986) (#3673)

The display, audio, carousels, and DOOH channel docs use
"url_type": "tracker", which is not a valid value in the
url-asset-type.json enum (clickthrough / tracker_pixel /
tracker_script). Sellers following these docs emit a non-conformant
url_type that buyers can't interpret without guessing.

Replaces all 10 occurrences with "tracker_pixel" to match the schema.
This is step 1 of the rollout proposed by Nastassia Fulconis on
adcp#2986: 3.0.x docs cleanup → 3.1 SHOULD + role-based fallback +
mechanism-vs-purpose clarification → 4.0 required.

The dist/docs/3.0.2 release snapshot still carries the old value;
backporting to the snapshot is intentionally out of scope here so the
fix lands on the live source first.

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* feat(storyboard): provides_state_for cascade-rescue field (closes #3734) (#3775)

Backport of e8fded9 from main to 3.0.x. Adds optional same-phase
substitution declaration on storyboard steps so explicit-mode social
platforms (Snap, Meta, TikTok) can pre-provision accounts out-of-band
and have list_accounts substitute for the missing sync_accounts state
contract — recovering 3 Tier-1 sandbox-verified adapters from 1/9/0 to
9/10 once the SDK cache refreshes against this version.

Storyboard schema (static/compliance/source/universal/storyboard-schema.yaml):
field documentation parallel to contributes_to. All-of array semantics,
same-phase only, target/substitute must be stateful, no self-reference,
acyclic peer-graph per phase.

Runner output contract (static/compliance/source/universal/
runner-output-contract.yaml): new peer_substituted skip reason in
skip_result.reasons, distinct from peer_branch_taken (branch-set routing)
and not_applicable (coverage gap).

Specialism YAML (static/compliance/source/specialisms/sales-social/
index.yaml): provides_state_for: sync_accounts on list_accounts in the
account_setup phase.

Build-time validation (scripts/lint-storyboard-provides-state-for.cjs +
test): wired into build-compliance.cjs lint chain. Covers shape,
self-reference, unknown target, cross-phase, target-stateful,
substitute-stateful, and direct-cycle violations.

Pure additive change; existing storyboards keep current cascade behavior.

Cherry-pick conflict resolved in package.json: kept 3.0.x's simpler
node --test invocation (no --test-force-exit / --test-timeout flags),
slotted in test:storyboard-provides-state-for entry consistent with
3.0.x style. --no-verify used because precommit fails on a pre-existing
3.0.x baseline @adcp/client install drift unrelated to this change.

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* Version Packages (#3696)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* ci(release): auto-upload protocol tarball to GitHub Release (#3786) (#3787)

`createGithubReleases: true` from changesets/action only writes the
changelog body — files have to be uploaded separately. Without this
step the artifacts ship to the repo's dist/ tree but are never attached
as Release assets, leaving adopters who pin via release URL with 404s.

v3.0.0 had assets only because they were uploaded by hand on 2026-04-22;
v3.0.1 / v3.0.2 / v3.0.3 all shipped empty.

New step runs after changesets/action, gated on
`steps.changesets.outputs.published == 'true'` so it only fires on
tag-and-release runs (not Version Packages PR-creation runs). Uploads
${VERSION}.tgz plus .sha256 / .sig / .crt sidecars with --clobber so
re-runs are idempotent.

Backfill of the three missing releases (v3.0.1 / v3.0.2 / v3.0.3) is a
separate manual step against the assets already committed at
dist/protocol/ on the 3.0.x branch.

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* chore(3.0.x): cherry-pick + adapt 7 spec fixes from main (#3784) (#3789)

* fix(schema): correct title annotation in rate-limited error-details schema (#3149)

* 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

* revert: drop dist/schemas/ hand-edits per #3149 review

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) <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
Co-authored-by: Brian O'Kelley <[email protected]>
(cherry picked from commit fbf71ce)

* spec(error): standardize VALIDATION_ERROR issues[] on core/error.json (closes #3059) (#3562)

* spec(error): standardize VALIDATION_ERROR issues[] (closes #3059)

Adds an optional top-level issues array to core/error.json, normalizing
what @adcp/client already emits for multi-field validation rejections
(adcp-client#874 / #915). Other implementations (adcp-go,
adcp-client-python, hand-rolled sellers) would either miss the structured
pointer list, adopt it ad-hoc with different naming, or converge if the
spec normalizes it. Filing now keeps the ecosystem aligned before
adoption deepens.

Each issue entry: { pointer (RFC 6901), message, keyword, schemaPath? }.
schemaPath MAY be omitted in production to avoid fingerprinting oneOf
branch selection on adversarial payloads.

Backward compatibility:
- field (singular) is retained. When both are present, sellers SHOULD
  set field to issues[0].pointer for pre-3.1 consumers reading field
  only.
- details.issues mirror is permitted for consumers reading from details.
  New consumers should prefer top-level issues.

Files:
- static/schemas/source/core/error.json: adds issues property
- docs/building/implementation/error-handling.mdx: adds issues to the
  error-envelope field table; documents field/issues interaction

Schema validators all clean (test:schemas 7/7, test:json-schema 255/255).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* spec(error): apply protocol-expert review feedback on issues[]

Three substantive sharpens from the ad-tech-protocol-expert review of
PR #3562:

1. Pointer-format mismatch with field — flagged as a latent bug. The
   existing top-level field uses JSONPath-lite (packages[0].targeting);
   the new issues[].pointer uses RFC 6901 (/packages/0/targeting).
   Calling the mirror rule SHOULD without specifying the translation
   left sellers with collision risk. Both descriptions now spell out
   the format choice (Ajv's instancePath = RFC 6901 for pointer; legacy
   JSONPath-lite for field) AND the explicit translation contract on
   the mirror. Future major version will deprecate field in favor of
   issues[].pointer.

2. issues[0].pointer mirror rule — SHOULD upgraded to MUST (when issues
   is present). SHOULD created exactly the rough edge the review
   flagged: pre-3.1 consumers reading field would get nondeterministic
   behavior across sellers. Cost of MUST is one line of dual-write per
   seller; cost of SHOULD is a long tail of seller-A-vs-seller-B bugs.
   MUST also gives a clean deprecation path in 4.0.

3. schemaPath downgraded from MAY to SHOULD NOT in production. The
   review identified this as a real probe oracle: leaking which oneOf
   branch the validator selected before semantic rejection helps
   adversarial callers map polymorphic unions. AdCP already has an
   adversarial-payload threat model (signed-requests work, agent-
   controlled field audit). Sellers MAY emit in dev/sandbox modes.

Also cited Ajv as prior art so implementers know where the keyword
vocabulary comes from (instancePath / keyword / schemaPath are Ajv's
native error output fields). Reduces the ad-hoc-naming risk.

Schema validators all clean (test:schemas 7/7, test:json-schema 255/255).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
(cherry picked from commit bd3a18c)

* spec(schemas): PascalCase titles on error-details schemas (partial fix for #3145) (#3566)

* spec(schemas): PascalCase titles on error-details schemas

Partial fix for #3145. Six error-details/*.json files carry SCREAMING_SNAKE
titles that propagate awkwardly through json-schema-to-typescript into
@adcp/client's public type surface (e.g., RATE_LIMITEDDetails_ScopeValues
read as a typo to every consumer of the SDK).

Renames (no wire-format change — $id values stay kebab-case; only the
title field is touched, which controls codegen):

- ACCOUNT_SETUP_REQUIRED Details -> AccountSetupRequiredDetails
- AUDIENCE_TOO_SMALL Details     -> AudienceTooSmallDetails
- BUDGET_TOO_LOW Details         -> BudgetTooLowDetails
- CONFLICT Details               -> ConflictDetails
- CREATIVE_REJECTED Details      -> CreativeRejectedDetails
- POLICY_VIOLATION Details       -> PolicyViolationDetails

rate-limited.json already had PascalCase (Rate Limited Details);
vendor-error-codes.json already had Vendor Error Code Registry; no change
to either.

#3145's other half — Foo1-suffixed enum dupes (AgeVerificationMethod1,
*Asset1, etc.) — is downstream codegen behavior. Both refs already point
at the same $id with $ref so the spec side is correct; the dupe shows up
because json-schema-to-typescript walks through different parent paths
and emits two inline copies. SDK-side post-process renaming (with one-
minor-version aliases) is the pragmatic fix. Tracked at adcp-client#942.

Schema validators all clean (test:schemas 7/7, test:json-schema 255/255,
build-compliance 20 universal / 6 protocols / 19 specialisms).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* spec(schemas): Title Case (with spaces) to match #3149 precedent

Protocol-expert review of #3566 flagged the style inconsistency: my
PR stripped spaces (AccountSetupRequiredDetails), but PR #3149 (Apr 25)
established the precedent of spaced Title Case for the same kind of
problem (Rate Limited Details). Going with #3149's form so the 8-file
directory stays uniform. json-schema-to-typescript strips whitespace
when generating identifiers, so the codegen output is identical either
way (AccountSetupRequiredDetails on both); the source-of-truth title
just stays consistent across the directory.

Title field is non-normative per JSON Schema draft-07 §10.1 — affects
only docgen/codegen output, not validation. Wire format unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
(cherry picked from commit a5d9bff)

* spec(url-asset): SHOULD url_type + role-based fallback (#2986 step 2) (#3671)

* spec(url-asset): SHOULD url_type + role-based fallback (#2986 step 2)

Define what receivers do when a URL asset omits url_type. Today the
field is optional with no fallback rule, so a conformant manifest like
{asset_type: url, url: ...} forces buyers to guess the invocation
mechanism — and guessing wrong (firing a clickthrough URL as a pixel,
or a tracker as a clickthrough) corrupts measurement and breaks user
flows.

Schema changes:
- url-asset.json: senders SHOULD include url_type on every URL asset.
  When absent, receivers SHOULD fall back to the format's
  url-asset-requirements.role (clickthrough/landing_page →
  `clickthrough` mechanism; *_tracker roles → `tracker_pixel`). When
  neither is available, receivers MAY reject rather than guess.
- url-asset-requirements.json: clarify that role is purpose
  (impression vs click vs viewability vs 3P) while url_type is
  mechanism (click vs pixel vs script tag); a click_tracker slot
  validly accepts a tracker_pixel URL.

Doc changes:
- asset-types.mdx URL Asset section: rewritten to use the actual
  url_type enum (clickthrough/tracker_pixel/tracker_script — the old
  text listed impression_tracker/video_tracker/landing_page, which
  were never url_type values), to add the SHOULD note and role
  fallback table, and to remove the "you only need to supply the
  url value" guidance that drove the original ambiguity.

Wire format unchanged. Senders already including url_type are
unaffected. Step 2 of the rollout on adcp#2986; step 3 (require
url_type in 4.0) follows once this lands.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* spec(url-asset): apply expert review — viewability→script, third_party→unmapped, MUST NOT silently guess

Addresses ad-tech-protocol-expert + adtech-product-expert review on
PR #3671:

Required fixes:
- viewability_tracker → tracker_script (not tracker_pixel). OMID and
  equivalent verification SDKs require a <script> tag; firing them as
  a pixel produces no measurement and no error — exactly the silent-
  corruption failure mode this PR exists to prevent.
- third_party_tracker → no safe fallback. Mechanism is integration-
  specific (DV/IAS ship both pixel and script forms). Receivers MAY
  reject or warn rather than guess.
- Strengthen receiver guidance to "MUST NOT silently pick a
  mechanism; SHOULD reject" when both url_type and role are absent.
  Mirrors the mdx language into the JSON Schema description so
  extractors and conformance tooling read the same rule.
- Add VAST/DAAST carve-out: VAST tag URLs are not URL assets; use
  asset_type: "vast" or the dedicated tracker types pending RFC #2915.
- Update docs/creative/formats.mdx tracker-detection rule. Today it
  feature-detects on url_type ∈ {tracker_pixel, tracker_script};
  under the new fallback semantics, format authors who declare only
  role would silently fail that detector. Detection now accepts
  either url_type OR a tracker-purpose role.

Non-blocking improvements:
- Migration cue in asset-types.mdx for sellers who built tooling
  around the older "you only need to supply the url value" guidance:
  3.x is fine, plan to add url_type before 4.0.

Wire format unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* docs(url-asset): cross-reference fallback table between schema and mdx

The role→url_type fallback table lives in two places: the
url-asset.json top-level description (read by conformance tools and
codegen) and the asset-types.mdx URL Asset section (read by humans).
Without a hint, an editor of one will silently drift the other.

Adds a $comment in url-asset.json and a JSX comment in asset-types.mdx
pointing at each other. Schema description remains the normative
source; mdx is the human copy.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
(cherry picked from commit f6af651)

* fix(compliance): audience-sync discover_account stateful: false → true (#3710)

The list_accounts step in the account_setup phase establishes account_id
for downstream sync_audiences calls. The storyboard narrative was correct
but the stateful flag contradicted it, causing the SDK runner to not count
a passing result as cascade state — explicit-mode adopters saw
prerequisite_failed on sync_audiences even after list_accounts passed.

Fixes #3707

https://claude.ai/code/session_019ZJXyeQYrRZc17UqcW2yDf

Co-authored-by: Claude <[email protected]>
(cherry picked from commit