Skip to content

fix(compliance): run shared seller checks on auction inventory - #8550

Merged
bokelley merged 6 commits into
mainfrom
bokelley/auction-only-seller-compliance
Oct 28, 2026
Merged

bokelley merged 6 commits into
mainfrom
bokelley/auction-only-seller-compliance

Conversation

@bokelley

@bokelley bokelley commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Auction-only sellers cannot complete five shared media-buy compliance scenarios because discovery requires fixed-price inventory. The resulting empty responses also strand product and creative-format captures. Accept any selectable pricing option, while retaining the lifecycle and rejection assertions.

The measurement rejection probe opts into task enrichment so every auction package has a valid bid before the seller evaluates its proposed terms. Intentional malformed negative probes remain unchanged. Stale-response checks warm the same brief/account cache before forcing an outage, scope the controller to that account, and apply the forced phase only when the seller advertises force_upstream_unavailable.

Pins the published @adcp/[email protected], containing adcontextprotocol/adcp-client#3480. No mock fixed-price products or additional auction-only capability are required. Maintenance backports preserve native 3.1/3.2 contracts and publish new immutable bundles.

Validation: 12 auction/fixed/stale construction regressions against the published SDK; 42 existing capability regressions; 180 relevant authoring/schema checks; compliance build; typecheck; 1,276 root unit tests; full 811-file server suite (13,385 passed, 31 skipped). A test-only setup guard prevents unit-test startup from fetching/resetting repository caches; its two focused suites pass all 23 tests. Construction regressions use mocked transport; live adopter interoperability remains to be rerun by the seller.

@bokelley
bokelley force-pushed the bokelley/auction-only-seller-compliance branch from bddc818 to 98531d1 Compare October 28, 2026 14:25
@bokelley
bokelley marked this pull request as ready for review October 28, 2026 14:25

@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 — compliance-scenario fix enabling auction-only sellers to run shared media-buy and stale-response checks.

Checked:

  • No static/schemas/source/** touched — no schema↔docs coherence concern, no oneOf discriminator regression, no wire-shape break.
  • Changeset present (.changeset/auction-only-seller-compliance.md), patch type, scoped to compliance assets — matches convention; no breaking wire change implied.
  • Diff drops the is_fixed_price discovery filter, swaps the fixed_price assertion for pricing_option_id, gates the stale-cache forcing phase behind compliance_testing.scenarios contains force_upstream_unavailable, warms the shared brief/account cache via a healthy non-emission probe first, and adds an enrich_request flag for the measurement-rejection probe. requires_capability/contains gating and account-matching across the three stale requests follow established precedent.
  • 135-line cjs regression test pins ordering and bid/account invariants.

Decision table: no critical/high/medium findings (row 1 N/A); gated_paths false (row 2 N/A); high_risk false (rows 3/5 N/A); no medium findings (rows 4/8 N/A); no no-auto-approve team match (row 7 N/A); no prior decision (row 6 N/A). Falls through to row 9 → approve. (review_decision: REVIEW_REQUIRED only blocks approve when gated_paths is true, which it is not here.)

aao-secretariat[bot]
aao-secretariat Bot previously approved these changes Oct 28, 2026

@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 — editorial docs-only change, no blocking or medium findings.

Checked:

  • Delta is a single docs file (docs/building/by-layer/L4/choose-your-sdk.mdx): a two-line version bump of @adcp/sdk from 17.0.0-beta.2 to 17.0.0-beta.3, applied consistently in both the SDK table row and the npm install snippet.
  • Bundled 3.3.0-beta.0 and the ADCP_VERSION comment unchanged.
  • No static/schemas/source/**, task definitions, normative reference docs, release scripts, or dist/** artifacts touched — no wire-shape or schema↔docs coherence concern, no immutability concern.
  • No changeset-scope issue: the published protocol surface is untouched by the docs delta.
  • No high-risk flag, no gated paths, no no-auto-approve team match. review_decision is REVIEW_REQUIRED but gated_paths is false, so row 2 does not fire.

No critical/high/medium findings. Prior pass was clean and nothing re-surfaces. Decision table: rows 1–8 do not fire → row 9 approve.

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

This is a subsequent review following a prior approve. The delta since that pass is a single line in scripts/sdk-response-conformance/known-findings.json bumping the @adcp/sdk pin from 17.0.0-beta.2 to 17.0.0-beta.3, in lockstep with the companion version bumps already approved in package.json, package-lock.json, and the choose-your-sdk.mdx docs table. The known-findings pin correctly tracks the installed SDK version so waived conformance deltas attribute to the right artifact — correct shape.

No critical/high/medium findings in this run. Reviewing the decision gates:

  • No no-auto-approve team match (row 7 N/A).
  • gated_paths: false, so row 2 does not fire despite review_decision: REVIEW_REQUIRED.
  • high_risk: false; no deletions/modifications in sensitive paths (rows 3, 5 N/A).
  • No schema source changes, no changeset-scope issues, no breaking-class protocol change — the .changeset present is the already-approved compliance/SDK changeset.
  • Prior decision was approve, not escalate, so row 6 N/A.
  • Zero medium findings, so row 8 N/A.

Rows 1–8 do not fire → row 9: approve.

@bokelley
bokelley merged commit cdf4c7f into main Oct 28, 2026
65 checks passed
@bokelley
bokelley deleted the bokelley/auction-only-seller-compliance branch October 28, 2026 15:12
bokelley added a commit that referenced this pull request Oct 28, 2026
Backport #8550 with native 3.1 account and FormatId contracts. Use the modern runner only in the private development fixture; leave production dependencies unchanged.

(cherry picked from commit cdf4c7f)
bokelley added a commit that referenced this pull request Oct 28, 2026
Backport #8550 with native 3.2 account and format contracts. Use the modern runner only in the private development fixture; leave production dependencies unchanged.

(cherry picked from commit cdf4c7f)
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