Skip to content

Version Packages - #8069

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

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

Conversation

@aao-release-bot

@aao-release-bot aao-release-bot Bot commented Oct 8, 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.1.x, this PR will be updated.

Releases

[email protected]

Patch Changes

  • 2803498: Grade inline creative format paths against the representation the seller actually publishes, and give the provenance scenarios seeded products and formats their probes can resolve.

    The inline_creatives_without_sync half of this entry is SUPERSEDED within this same release. Everything below about that storyboard — three routes, per-route optional discovery phases, the field_absent guard, and "verified green on 9.6.2" — describes a shape that was replaced before publication by a single canonical discovery with four context-guarded paths — three mutually exclusive canonical ones plus an independent legacy one. See "Give inline_creatives_without_sync one canonical discovery and three exclusive canonical paths" in this entry for what actually ships and for the verified runner floor; in particular the shipped storyboard requires a runner that evaluates skip_if against captured context, so 9.6.2 is not supported. The provenance-fixture half of this entry is unaffected and stands.

    inline_creatives_without_sync previously required every seller to satisfy both the canonical format_options[] path and the legacy format_ids[] path, so canonical-only and legacy-only sellers failed on a representation they are not required to publish. There are three routes, not two: the named canonical path (format_option_refs[]), an unnamed canonical path for products whose format_options[] entries publish no selectable format_option_id, and the legacy format_ids[] path. The unnamed route omits every package selector and carries format_kind alone on the creative — creative-asset.json's 3.1 arm requires only format_kind, format_option_ref is "optional when format_kind alone routes the creative to a single declaration", and package-request.json requires only product_id / budget / pricing_option_id. It is captured by its own discovery probe (captures are per step, not per key, so folding it into the named probe would discard it for exactly the sellers it serves) and is gated twice so a selector-less purchase can never reach a named catalog: a phase-level skip_if on runners that read context, and a field_absent check on products[0].format_options[0].format_option_id in its own discovery probe for runners that do not — a named product fails that probe, so its captures are never promoted and the route cannot fire. This matters because a product with several format_options[] entries sharing one format_kind genuinely requires a format_option_ref, and a correct seller rejects a package without one. A seller publishing format_option_id is therefore graded once, on the named route. This closes the last applicability gap: format_option_id is a SHOULD, and a product that omits it is no longer failed.

    Each route opens with its own optional discovery phase that captures the product, the pricing option, and that path's format representation from one get_products response — the same response the path then buys from, so the signal that decides whether a path runs and the product it buys are one observation rather than two that can disagree. A representation the product does not advertise does not resolve, and the path skips instead of projecting one.

    What this does not relax. If a path's discovery observes a representation, that path is graded on it. Both path phases are non-optional, so a create, update, or replacement-readback failure on an observed path fails the storyboard even when the other path passes — unchanged from the previous behavior. A closing assert_contribution requires at least one path to reach the replacement readback and see the replacement creative on creative_approvals, so a run in which both paths skip still cannot pass.

    Known reporting wart, pending an SDK release. A conformant canonical-only or legacy-only seller leaves one deliberately non-gating failed step — the optional discovery probe for the representation it does not publish. The runner and the adcp CLI both treat the run as green (overall_passed: true, exit 0), but --format junit emits <testsuites failures="1"> against <testsuite failures="0">, so a pipeline gating on the JUnit aggregate rather than the exit code goes red. The fix is in @adcp/sdk (an additive StoryboardStepResult.counts_toward_failure: false on deliberately-optional failures; required OAuth and step assertions keep failing CI) and lands with that SDK release — no storyboard change can avoid it. Gate on the CLI exit code until then.

    Scope of the gate, and a known limit. Each path is gated on products[0] of its own discovery call. A representation published only on other products is not graded unless the first product matched to this brief carries it, so rank a product carrying the representation first for this brief or publish it on every product that matches. Both discovery calls send the same brief and filters and sellers are expected to answer them consistently, but nothing cross-checks that: a seller that withholds a representation from the call that would gate it is simply not graded on that path. No capability field declares which format representations a seller emits, so the storyboard cannot verify the claim today; closing this needs either such a capability or a runner that can gate on more than products[0].

    Two further limits are deliberate. A schema-invalid discovery response takes its whole path out of grading. Captures are applied per step, not per key: when one fails the runner discards all of that step's captures, so the gate sees nothing and skips the path, and because the discovery phase is optional its own response_schema failure is swallowed too. An advertised-but-invalid path can therefore disappear while the other path carries the run. This is the price of letting a genuinely absent representation skip without failing a conformant seller — the two are indistinguishable from the captures alone. get_products schema conformance is still graded on its own via full_sales_flow.

    The three provenance scenarios (provenance_enforcement, provenance_audit_observation, provenance_truth_of_claim) seeded products that omitted the required publisher_properties, reporting_capabilities, and format declarations, and their creative probes referenced display_300x250 on your-platform.example.com, which nothing seeded — so a seller that correctly rejects an unknown format failed the scenario for being right. Each now seeds a schema-valid product plus a fixture-local legacy format declaring the image, headline, and click_url assets its probes submit, and every probe references that seeded format. The fixed-CPM pricing option also moves from rate to fixed_price; rate validated only because the pricing option allows additional properties, and the option was being read as auction-based.

    Action required for seeding sellers. These three scenarios now declare a fixtures.creative_formats block, so seed_creative_format joins seed_product and seed_pricing_option as a required comply_test_controller scenario for them. A seller whose list_scenarios does not advertise seed_creative_format will see all three grade not_applicable (fixture_seed_unsupported) instead of running — the runner skips the whole storyboard rather than seeding partially. Advertise seed_creative_format to keep coverage.

  • 933ea92: Give inline_creatives_without_sync one canonical discovery and three exclusive canonical paths, so each format-option shape is graded on the selector it actually publishes.

    The previous shape used a discovery probe per representation. Independent probes see independent get_products responses, so a seller whose brief ranking differs between calls could satisfy neither probe and fail with no path executed, and a product-local reference was emitted unconditionally. format-option-ref.json's product-local arm sets publisher_domain: false, so a publisher-catalog-backed declaration sent with scope: "product" is schema-invalid, not merely unresolvable — a conformant publisher-backed seller was failed outright.

    One canonical discovery now captures products[0].format_options[0] as a whole declaration alongside the product and pricing option. Three mutually exclusive, exhaustive guards route it: unnamed (format_kind alone, no selector), product-local (scope: "product"), and publisher-catalog (scope: "publisher" with publisher_domain). The gate and the buy are one observation, so reordered or changed discovery results cannot produce a false failure. Each reference is the captured declaration with a scope constant injected through context_inputs, which deep-clones the request, so the stored context is never mutated.

    Legacy discovery deliberately does not narrow by canonical kind. A non-projectable legacy format has no canonical projection and accepts no kind, so a seller honouring such a filter would exclude itself and lose the only path it can be graded on — exactly the legacy-only population this scenario serves. On 3.1 neither probe narrows, because this line's product-filters.json defines no canonical-kind filter; asset applicability is stated in the narrative instead. The buyer submits a 300x250 image, so rank a product whose first format option accepts that creative for this brief.

    Required execution, readback and the final contribution assertion remain fatal: once a path's discovery observes its shape, a create, update or replacement-readback failure there fails the storyboard even when another path passes.

    Runner floor. These guards read captured context in skip_if. Verified with @adcp/sdk 15.8.1 (the hosted grader's version) and 15.9.2, and verified absent in 9.6.2. 15.8.1 was checked against the published registry tarball — compiled-source anchors plus public-API runStoryboard reproductions covering all three canonical shapes, an absent declaration, the scope-only no-mutation boundary, and the failed-discovery capture suppression the kind detector depends on. This does not establish 15.8.1 as the earliest supporting release; versions in between were not tested. This does not raise the floor above 15.x — billing_out_of_band, evaluator_auth and refine_finalize_exclusivity already ship context-reading skip_if on 3.1.x — but it is the first storyboard on this line to dereference a nested field of a captured object, and the first to do so on non-optional phases, so it is a strictly stronger grammar requirement than that prior art. On a runner below the floor the scenario mis-executes rather than degrading politely: every canonical phase opens and the product-scoped path can emit a schema-invalid ref. The repository's production @adcp/sdk stays 9.6.2; the regression tests run against a private, dev-only tests/sdk-runner helper that pins 15.9.2 and is absent from every published artifact.

    Also narrows the sample-request linter's object placeholder so a discriminated union written as { type, discriminator, oneOf } (core/format-option-ref.json) synthesises a tagged placeholder instead of {}. The descent happens only when the resolved node declares no properties, so refs whose variants differ — account natural keys, sandbox booleans — keep their own shape and the allowlist does not grow.

    The canonical discovery also asserts format_kind: image on products[0].format_options[0]. This is a mismatch detector, not a selector: the fixture's creative is a fixed 300x250 image, so a first declaration of another kind fails the optional probe, its captures are never promoted, and all three canonical lanes stand down rather than buying an image under — say — a video declaration. A dual-emitting seller is then graded on legacy alone, with its canonical support ungraded; a canonical-only seller whose first declaration is not an image completes no path and fails the closing coverage assertion with zero buys. Selecting a matching declaration out of the catalog, independently of the order the seller returns it in, remains out of scope.

  • 003d238: Stop the universal read-tool idempotency storyboard from sending a creative-only type filter to media-buy agents on 3.1.x.

  • 733df5e: Fix webhook-emission compliance setup to discover and bind a real product and
    pricing option before create_media_buy, waiting for asynchronous discovery to
    complete when needed. Replace unresolved test-kit schema
    references with explicit request and response schema paths and complete the
    trigger samples so conformance validation cannot silently skip these requests.

  • 733df5e: Give all 37 routed request-signing conformance vectors operation-valid bodies so payload parsing can reach the signature verifier. Preserve every intended negative outcome, capability, URL and signature parameter. Recompute truthful digests and test signatures only for the two body-bound fixtures using the existing published fixture key and maintained wire encoding; no signing policy or release assets change (Backport #7580, #7583 and #7617 to 3.1.x: 3.1.25 still ships the defective signing vectors and webhook_emission storyboard #7959, Request-signing conformance vectors carry schema-invalid bodies, making grading depend on verifier check order #7567).

@aao-release-bot
aao-release-bot Bot requested a review from a team as a code owner October 8, 2026 23:50
@aao-secretariat

Copy link
Copy Markdown
Contributor

Ladon does not review bot-authored PRs.

@aao-release-bot
aao-release-bot Bot force-pushed the changeset-release/3.1.x branch from 032da87 to 3c9d385 Compare October 9, 2026 08:45
@aao-release-bot
aao-release-bot Bot force-pushed the changeset-release/3.1.x branch from 3c9d385 to 2849a9a Compare October 16, 2026 13:11
@aao-release-bot
aao-release-bot Bot force-pushed the changeset-release/3.1.x branch from 2849a9a to 98da9c4 Compare October 16, 2026 15:45
@bokelley
bokelley merged commit f4d53b8 into 3.1.x Oct 16, 2026
12 checks passed
@bokelley
bokelley deleted the changeset-release/3.1.x branch October 16, 2026 15:53

@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.

Reviewed final generated head 98da9c4 for the authorized maintained-line release. Its sole parent is producer 933ea92; its tree exactly matches release merge f4d53b8. Package and lock identify 3.1.28, with only patch changesets consumed and expected release/index/changelog generation. All four corrected storyboard source files, both generated compliance copies, and the signed candidate archive match the independently reviewed bytes. Archive SHA256: 024d5b44e402ebf79d05dc1c99855f3ad892554e97990f809eed07e1cc951e99. Cosign verifies the maintained 3.1.x release workflow identity and GitHub OIDC issuer; producer run 38924515216 succeeded. Schema comparison against 3.1.24 preserves prior URL acceptance and introduces no required-field/dependency or validation-annotation change. Final build, integration, analysis and policy checks passed. This review authorizes only this exact committed signed tuple through the normal publication/recovery gates; no rebuilding, re-signing, alias changes, or authority bypass. Review prepared with delegated coding-agent assistance.

sujanchalla0510 pushed a commit to sujanchalla0510/adcp that referenced this pull request Oct 18, 2026
…main

Merge the published v3.1.29 maintenance release (tag v3.1.29,
f082c7a, the adcontextprotocol#8247 Version Packages
merge on 3.1.x) into main as a record-only merge. v3.1.29 descends from
v3.1.28 (f4d53b8, adcontextprotocol#8069), so both releases' records come in.

The merge keeps main's tree (ours strategy) and adds only:

- dist/schemas/3.1.28/, dist/schemas/3.1.29/, dist/compliance/3.1.28/,
  dist/compliance/3.1.29/ and the signed dist/protocol/3.1.28.tgz* and
  3.1.29.tgz* tuples, byte-identical to the tag.
- CHANGELOG.md: the 3.1.29 and 3.1.28 blocks, verbatim from the tag,
  above main's 3.1.27 block.
- dist/schemas/index.json: regenerated by build:schemas; v3.1 and
  latest_by_minor 3.1 now 3.1.29. latest.json is unchanged (3.2.5).

The 3.1.27..3.1.29 source changes (adcontextprotocol#7907, adcontextprotocol#8020, adcontextprotocol#8234, adcontextprotocol#8237, adcontextprotocol#8245)
are 3.1-line adaptations of fixes main already carries in its own form
(adcontextprotocol#7580, adcontextprotocol#7583, adcontextprotocol#7617, adcontextprotocol#8235; main's root request-signing vectors are
already unpadded base64url), so no 3.1.x source, tests or tooling are
taken. The second parent records that reconciliation so the next 3.1.x
forward merge starts from v3.1.29.

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