Repository navigation
fix(compliance): canonical_formats direct selector carries image_formats - #8161
Merged
bokelley merged 1 commit intoOct 13, 2026
Conversation
Contributor
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean compliance-scenario fix with correct changeset.
This PR adds image_formats: ["jpg", "png"] to the create_media_buy_with_direct_canonical_selector direct selector (canonical_formats.yaml:933) so the omitted param is no longer misclassified as local_satisfied: false by the runner's directionality check — matching the product's declared image constraint (L100). This is the same defect class (#7791) previously fixed for max_file_size_kb.
Checked:
- Fix completeness: sibling positive steps resolve satisfaction via legacy
format_ids/format_option_refanchors, so only the direct-only step must carry every constrained param. - Changeset: patch changeset is correct — compliance source is protocol surface, no wire/schema change, dist/ untouched (immutable artifacts preserved).
- No schema↔docs drift, no oneOf regression, no governance-precedent conflict.
No blocking or medium findings. gated_paths is false; high_risk is false; no no-auto-approve team match. Despite review_decision: REVIEW_REQUIRED, row 2 does not apply (gated_paths false). Falls through to row 9.
bokelley
added a commit
that referenced
this pull request
Oct 13, 2026
…ats (#8161) (#8163) Co-authored-by: sujan kumar reddy challa <[email protected]>
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]>
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.
Fixes #8133.
Problem
The positive direct canonical selector in
canonical_formats(create_media_buy_with_direct_canonical_selector) sent{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— "Under-specified selector: product constrains params.image_formats, but the request selector omits image_formats"), so the expected-positive step failed for every seller regardless of whether the create was accepted. This is the same defect class #7791 fixed formax_file_size_kb;image_formatswas the remaining omission.Change
static/compliance/source/protocols/media-buy/scenarios/canonical_formats.yaml: the direct selector now carriesimage_formats: ["jpg", "png"], matching the product's declared constraint.No schema or wire change; the packaged
dist/compliance/cache is generated from this source.Testing
image_formats(the exact validator error in compliance canonical_formats positive direct selector still omits constrained image_formats #8133); after the change it carries every constrained param (width,height,max_file_size_kb,image_formats) with the product's declared values.node scripts/check-changeset-protocol-scope.cjs origin/mainpasses; PR title validated withscripts/check-pr-title.cjs.