Skip to content

Version Packages - #8171

Merged
bokelley merged 1 commit into
3.2.xfrom
changeset-release/3.2.x
Oct 16, 2026
Merged

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

Conversation

@aao-release-bot

@aao-release-bot aao-release-bot Bot commented Oct 13, 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 publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to 3.2.x, this PR will be updated.

Releases

[email protected]

Patch Changes

  • 79d7c80: compliance(media-buy): the canonical_formats direct canonical selector carries every param the product constrains.

    create_media_buy_with_direct_canonical_selector sent {width: 300, height: 250, max_file_size_kb: 200} against canonical_formats_mrec_display, whose image declaration also constrains image_formats: ["jpg", "png"]. The runner's canonical_format_satisfaction check classified the omitted constrained param as directionality (local_satisfied: false), so the step failed for every seller even when the create was accepted — the same defect class compliance(media-buy): canonical_formats direct selector carries max_file_size_kb #7791 fixed for max_file_size_kb. The selector now includes image_formats: ["jpg", "png"], matching the product's declared constraint. No schema or wire change; the packaged dist/compliance/ cache is generated from this source.

  • 74302e7: compliance(media-buy): grade inline creative paths on what each seller actually publishes, and give the provenance scenarios complete seeded products.

    inline_creatives_without_sync required a product carrying canonical format_options[] with a stable format_option_id, and treated the legacy format_ids[] path as optional. Canonical-only sellers with unnamed options, and legacy-only sellers, therefore failed a representation AdCP never required them to publish — core/product.json requires format_ids, format_options, or both, not both (adcp-client#3268).

    The storyboard now has four execution paths. One canonical discovery captures the product, the pricing option, the canonical format_kind and the whole first format_options[] declaration from a single get_products response; three mutually exclusive canonical paths then read that captured declaration to decide which selector shape the seller published:

    • product-local option — format_option_refs[] with scope: "product"
    • publisher-catalog option — format_option_refs[] with scope: "publisher", carrying the complete {publisher_domain, format_option_id} pair core/product-format-declaration.json makes such an option addressable by
    • no stable format_option_id — no selector at all, format_kind alone

    The legacy format_ids[] path keeps its own discovery and runs independently. Capturing the declaration whole is what makes this safe: format_option_id and publisher_domain are both optional on a declaration, and a capture that does not resolve fails its step and discards every other capture with it, so capturing either one on its own would make it a precondition for the path that must not require it. The scope field is the only part of the ref no response carries; it comes from a storyboard-root constant injected with context_inputs, which deep-clones the request before writing so the captured declaration is never mutated.

    Because every canonical gate and every canonical buy now come from one response, a seller whose brief-mode results reorder — or whose canonical shape differs between calls — is never failed for it. Execution phases are not optional, so once a representation was actually captured, inline create, update and readback on it must work. A closing assert_contribution fails any run in which no path completed.

    A publisher-catalog-backed product previously received a scope: "product" ref that omitted publisher_domain. core/format-option-ref.json's product-local branch forbids publisher_domain outright, so that ref was unresolvable and a conformant seller had to reject it — failing the storyboard for being right. It is now graded on its own path.

    Make the three provenance storyboards' seeded products complete: they were missing the schema-required publisher_properties and reporting_capabilities and declared no format at all, so core/product.json rejected them outright and the creative probes referenced a format nothing seeded (adcp-client#3269). Their CPM pricing option also carried a rate field the schema ignores, so the product advertised no price. They now declare fixed_price and an image format option matching their creative probes.

    The canonical discovery probe additionally checks products[0].format_options[0].format_kind is image. filters.format_kinds narrows to products that accept a kind and says nothing about declaration order, so a conformant multi-kind product can lead with another kind; capturing that declaration would otherwise ship this fixture's 300x250 image asset under the wrong format_kind for a seller to correctly reject, on a non-optional phase. The check detects that mismatch rather than selecting a matching declaration — a red there closes all three canonical gates, so a canonical-only seller leading with another kind is not graded on any canonical path and the closing assert_contribution fails the run.

    Applicability, which predates this change: the buyer submits one fixed 300x250 image creative, and every path reads products[0] of its own response and that product's first format declaration. Answer this brief with a first product whose pricing_options[0] is fixed-price and whose format_options[0] — or format_ids[0] on the legacy path — accepts a 300x250 image. Selecting a compatible declaration by kind or dimensions regardless of array order would need an order-independent selector the storyboard grammar does not have; that is a general limitation, not addressed here.

    Tooling: scripts/lint-storyboard-sample-request-schema.cjs synthesized {} for a $context.* placeholder whose target is a discriminated union written as { type, discriminator, oneOf } (core/format-option-ref.json), because the shape lives on the branches rather than the root — ajv then reported the scope tag as missing. placeholderFor's object arm now takes the shape from the first object branch when the root carries no properties. The allowlist is unchanged.

    Reading the report: both discovery phases are optional, and a seller publishing one representation will see the other's discovery step go red. That is expected and takes no action — those steps do not gate the run. A red step inside an execution phase means the opposite: that representation was advertised, and inline create, update and readback on it must work. The closing assert_contribution is the only coverage gate.

    Adopters: the legacy path is now graded. A seller whose discovered product advertises format_ids[] will newly fail this storyboard where the previously-optional legacy phase did not grade it. Either fix the legacy inline path, or stop projecting to format_ids[] and advertise format_options[] alone — format_ids is deprecated in 3.2 and removed in 4.0, and a canonical-only product stands the legacy path down cleanly. Note the legacy discovery probe selects products[0] on is_fixed_price alone, so a dual-emitting seller whose first fixed-price product is not an image surface will have that product's format_ids[0] bought against a 300x250 image creative; rank a product that accepts the inline image creative first for this brief.

    Phase ids changed, so any diagnostics keyed on them need updating. verify_replacement is gone and the readback steps moved into their path phases; canonical_format_inline_path is replaced by canonical_product_scoped_inline_path, canonical_publisher_scoped_inline_path and canonical_unnamed_option_inline_path, and get_products_canonical_format moved into the new canonical_format_discovery. The other new ids are legacy_format_discovery and verify_format_coverage.

    Runner floor: the canonical paths gate on skip_if expressions that read into a captured object, and on a runner whose skip_if grammar cannot evaluate captured context every canonical path would execute rather than exactly one. Verified end-to-end on the @adcp/sdk 14.0.0-rc.53 this branch pins, and reported green on 15.9.2. No claim is made here about which earlier release first carried the grammar — run the fixture regressions against any older runner before pointing it at this bundle.

@aao-release-bot

Copy link
Copy Markdown
Contributor Author

HOLD: generated release branch requires human reconciliation/review. Automation is preparing a leased update. The PR must remain Draft.
Tested base: 74302e7
Prior ref: 79e7f7e
Candidate: not pushed
Observed ref: absent/unknown
Workflow: https://github.com/adcontextprotocol/adcp/actions/runs/38924577351
Do not mark Ready or merge without checking this run and fresh release provenance.

@aao-release-bot
aao-release-bot Bot force-pushed the changeset-release/3.2.x branch from 79e7f7e to f6b41c9 Compare October 16, 2026 16:47

@bokelley bokelley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exact-head maintainer review of release candidate f6b41c9 (3.2.5), performed with delegated coding-agent assistance under the maintainer-authorized delivery task.

Independently downloaded the immutable candidate tuple and verified SHA-256 5cc946062f3ed035f5332db7b1de68e3b6d2af8c01207e3959f2648addfe6e14 plus Cosign against the official release.yml identity, GitHub OIDC issuer, refs/heads/3.2.x and exact producer/source parent 74302e7. All four reviewed media-buy storyboards match immutable reviewed source, both dist aliases, and the signed tarball. Universal principal/reporting-core match source/dist/signed bytes.

Compared signed schemas against 3.2.4: no added/removed required fields or x-adcp-validation annotations; commercial graph remains 91 documents / 10 annotations with unchanged edges/contracts. Two canonical document differences are release metadata only. Version/lockfile/changelog and consumed patch changesets match 3.2.5. Producer workflow required current coverage and 3.0 compatibility both passed.

Approval is bound to this exact candidate HEAD. All normal required PR checks must pass before merge; any regenerated head requires fresh review. This approves the committed release candidate, not a claim of tag/CDN publication or SDK adoption.

@bokelley
bokelley marked this pull request as ready for review October 16, 2026 17:14
@aao-secretariat

Copy link
Copy Markdown
Contributor

Ladon does not review bot-authored PRs.

@bokelley
bokelley merged commit 3512882 into 3.2.x Oct 16, 2026
51 checks passed
@bokelley
bokelley deleted the changeset-release/3.2.x branch October 16, 2026 17:17
sujanchalla0510 pushed a commit to sujanchalla0510/adcp that referenced this pull request Oct 18, 2026
Merge the published v3.2.5 maintenance release (tag v3.2.5,
3512882, the adcontextprotocol#8171 Version Packages
merge on 3.2.x) into main as a record-only merge.

The merge keeps main's tree (ours strategy) and adds only the 3.2.5
release records:

- dist/schemas/3.2.5/, dist/compliance/3.2.5/ and the signed
  dist/protocol/3.2.5.tgz{,.crt,.sha256,.sig} tuple, byte-identical to
  the tag.
- CHANGELOG.md: the 3.2.5 block, verbatim from the tag.
- static/compliance/published-versions.json: register 3.2.5, matching
  the 3.2.x manifest.
- dist/schemas/index.json and latest.json: regenerated by
  build:schemas; latest_stable, v3 and v3.2 now 3.2.5.

The 3.2.4..3.2.5 source changes (adcontextprotocol#8163, adcontextprotocol#8236) are already on main in
their main form (adcontextprotocol#8161, adcontextprotocol#8235), so no 3.2.x source is taken. The
second parent records that reconciliation so the next 3.2.x forward
merge does not re-conflict on it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant