Repository navigation
Version Packages - #8171
Version Packages#8171
Conversation
|
HOLD: generated release branch requires human reconciliation/review. Automation is preparing a leased update. The PR must remain Draft. |
79e7f7e to
f6b41c9
Compare
bokelley
left a comment
There was a problem hiding this comment.
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.
|
Ladon does not review bot-authored PRs. |
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]>
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_formatsdirect canonical selector carries every param the product constrains.create_media_buy_with_direct_canonical_selectorsent{width: 300, height: 250, max_file_size_kb: 200}againstcanonical_formats_mrec_display, whose image declaration also constrainsimage_formats: ["jpg", "png"]. The runner'scanonical_format_satisfactioncheck classified the omitted constrained param asdirectionality(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 formax_file_size_kb. The selector now includesimage_formats: ["jpg", "png"], matching the product's declared constraint. No schema or wire change; the packageddist/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_syncrequired a product carrying canonicalformat_options[]with a stableformat_option_id, and treated the legacyformat_ids[]path asoptional. Canonical-only sellers with unnamed options, and legacy-only sellers, therefore failed a representation AdCP never required them to publish —core/product.jsonrequiresformat_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_kindand the whole firstformat_options[]declaration from a singleget_productsresponse; three mutually exclusive canonical paths then read that captured declaration to decide which selector shape the seller published:format_option_refs[]withscope: "product"format_option_refs[]withscope: "publisher", carrying the complete{publisher_domain, format_option_id}paircore/product-format-declaration.jsonmakes such an option addressable byformat_option_id— no selector at all,format_kindaloneThe legacy
format_ids[]path keeps its own discovery and runs independently. Capturing the declaration whole is what makes this safe:format_option_idandpublisher_domainare 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. Thescopefield is the only part of the ref no response carries; it comes from a storyboard-root constant injected withcontext_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_contributionfails any run in which no path completed.A publisher-catalog-backed product previously received a
scope: "product"ref that omittedpublisher_domain.core/format-option-ref.json's product-local branch forbidspublisher_domainoutright, 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_propertiesandreporting_capabilitiesand declared no format at all, socore/product.jsonrejected them outright and the creative probes referenced a format nothing seeded (adcp-client#3269). Their CPM pricing option also carried aratefield the schema ignores, so the product advertised no price. They now declarefixed_priceand animageformat option matching their creative probes.The canonical discovery probe additionally checks
products[0].format_options[0].format_kindisimage.filters.format_kindsnarrows 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 wrongformat_kindfor 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 closingassert_contributionfails 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 whosepricing_options[0]is fixed-price and whoseformat_options[0]— orformat_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.cjssynthesized{}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 thescopetag as missing.placeholderFor's object arm now takes the shape from the first object branch when the root carries noproperties. 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 closingassert_contributionis 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-optionallegacy phase did not grade it. Either fix the legacy inline path, or stop projecting toformat_ids[]and advertiseformat_options[]alone —format_idsis 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 selectsproducts[0]onis_fixed_pricealone, so a dual-emitting seller whose first fixed-price product is not an image surface will have that product'sformat_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_replacementis gone and the readback steps moved into their path phases;canonical_format_inline_pathis replaced bycanonical_product_scoped_inline_path,canonical_publisher_scoped_inline_pathandcanonical_unnamed_option_inline_path, andget_products_canonical_formatmoved into the newcanonical_format_discovery. The other new ids arelegacy_format_discoveryandverify_format_coverage.Runner floor: the canonical paths gate on
skip_ifexpressions that read into a captured object, and on a runner whoseskip_ifgrammar cannot evaluate captured context every canonical path would execute rather than exactly one. Verified end-to-end on the@adcp/sdk14.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.