Skip to content

fix(compliance): gate product filtering by advertised buying modes - #8261

Merged
bokelley merged 1 commit into
mainfrom
conductor/refine-applicability-8252
Oct 16, 2026
Merged

bokelley merged 1 commit into
mainfrom
conductor/refine-applicability-8252

Conversation

@bokelley

@bokelley bokelley commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Sellers that omit optional buying modes currently fail product_filter_behavior before the unsupported call reaches them. Gate wholesale and refine independently on media_buy.buying_modes, while always testing brief (the implicit default).

Capture the refinement product ID from brief discovery. Wholesale has no phase dependency; refine depends only on brief, so missing or broken wholesale cannot hide supported refine coverage. A seller advertising refine still fails when it ignores replacement filters.

Runner regressions cover absent declarations, brief only, wholesale only, refine only, both optional modes, implicit brief, filter violations, and brief/wholesale failure dependencies. The tests retain the authored filter assertions and stub the client boundary; response-schema coverage stays in the schema suites.

Validation:

  • 143 focused runner, targeting, schema-request, context-output/entity, branch-set, and test-import checks passed.
  • New regressions fail on the original source and pass with the fix.
  • Compliance build/check, changeset scope/status, and title validation passed.
  • Full repository pre-commit checks passed: 1,139 root unit tests, all three server-unit shards, static guards, and TypeScript checks.
  • Targeted training-seller run over local MCP HTTP passed all 10 steps, including seeding and all buying modes, with no skips.
  • The full storyboard matrix runs in CI (the policy permits skipping the advisory local matrix).

Patch-compatible conformance authoring correction: no new protocol requirement, SDK/grading change, or released artifact edit. Includes a patch changeset; a reviewed cherry-pick to current 3.2.x follows the main merge.

Fixes #8252


Open workspace in Conductor

@aao-secretariat aao-secretariat Bot 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.

Ladon verdict: Approve

Approve — clean compliance-authoring fix with no blocking or medium findings.

What I checked:

  • Scope is a conformance relaxation in compliance scenario YAML (static/compliance/source/protocols/media-buy/scenarios/product_filter_behavior.yaml) plus a matching capability-gate test — no wire/schema change under static/schemas/source/**, no dist/** artifact mutation, no oneOf discriminator change.
  • Changeset is present (.changeset/fix-product-filter-buying-mode-applicability.md), correctly scoped as a patch, and matches the nature of the change (relaxation, not a breaking wire change).
  • Change gates wholesale/refine filter phases on advertised media_buy.buying_modes while always testing brief; moves filter_behavior_product_id capture from wholesale to brief with value preserved (brief validations pin products[0] to the single seeded product); decouples refine (depends_on brief) from wholesale (depends_on []).
  • Tests cover 7 buying-mode combinations plus broken-mode cascades.
  • Not a Breaking-class protocol change, so the breaking-change hard gate does not apply.

Gate checks: gated_paths is false; no no-auto-approve team match; high_risk is false; no prior decision. Reviewer reported zero Critical/High/Medium findings. None of rows 1–8 fire, so this falls through to row 9 → approve. (review_decision: REVIEW_REQUIRED only matters when gated_paths is true, which it is not here.)

@bokelley
bokelley merged commit 97c7b45 into main Oct 16, 2026
56 checks passed
@bokelley
bokelley deleted the conductor/refine-applicability-8252 branch October 16, 2026 23:38
bokelley added a commit that referenced this pull request Oct 17, 2026
TekWorx pushed a commit to TekWorx/adcp that referenced this pull request Oct 24, 2026
Merge the published v3.2.6 maintenance release (tag v3.2.6,
3523bdc, the adcontextprotocol#8274 Version Packages merge on
3.2.x) into main as a record-only merge, following adcontextprotocol#8278 for 3.2.5.

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

- dist/schemas/3.2.6/, dist/compliance/3.2.6/ and the signed
  dist/protocol/3.2.6.tgz{,.crt,.sha256,.sig} tuple, byte-identical to the tag.
- CHANGELOG.md: the 3.2.6 block, verbatim from the tag, inserted below main's
  3.3.0-beta.0 section. (The workflow's take-3.2.x rule would have dropped
  that section.)
- static/compliance/published-versions.json: register 3.2.6, 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.6. main's 3.3.0-beta.0 entry and v3.0
  (3.0.28) are kept; taking 3.2.x's copy would have regressed both.

The 3.2.5..3.2.6 source changes are all backports of work already on main in
its main form (adcontextprotocol#8335, adcontextprotocol#8402, adcontextprotocol#8218, adcontextprotocol#8216, adcontextprotocol#8341/adcontextprotocol#8387, adcontextprotocol#8327/adcontextprotocol#8334, adcontextprotocol#8260,
adcontextprotocol#8261, adcontextprotocol#8263, adcontextprotocol#8244), 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.

product_filter_behavior: refine phase isn't gated on buying_modes, so sellers that don't declare refine fail it

1 participant