Repository navigation
fix(compliance): run shared seller checks on auction inventory - #8550
Conversation
bddc818 to
98531d1
Compare
There was a problem hiding this comment.
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),patchtype, scoped to compliance assets — matches convention; no breaking wire change implied. - Diff drops the
is_fixed_pricediscovery filter, swaps the fixed_price assertion forpricing_option_id, gates the stale-cache forcing phase behindcompliance_testing.scenarios contains force_upstream_unavailable, warms the shared brief/account cache via a healthy non-emission probe first, and adds anenrich_requestflag 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.)
There was a problem hiding this comment.
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/sdkfrom17.0.0-beta.2to17.0.0-beta.3, applied consistently in both the SDK table row and the npm install snippet. - Bundled
3.3.0-beta.0and theADCP_VERSIONcomment unchanged. - No
static/schemas/source/**, task definitions, normative reference docs, release scripts, ordist/**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_decisionis REVIEW_REQUIRED butgated_pathsis 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.
There was a problem hiding this comment.
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 despitereview_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
.changesetpresent is the already-approved compliance/SDK changeset. - Prior decision was
approve, notescalate, so row 6 N/A. - Zero medium findings, so row 8 N/A.
Rows 1–8 do not fire → row 9: approve.
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.