Repository navigation
fix(compliance): use media-buy schema for creative format pagination - #7173
Conversation
| follow-up step. | ||
| task: list_creative_formats | ||
| schema_ref: "creative/list-creative-formats-request.json" | ||
| schema_ref: "media-buy/list-creative-formats-request.json" |
There was a problem hiding this comment.
Medium: This diverges from the corpus convention for list_creative_formats. Every other storyboard — including the media-buy protocol (protocols/media-buy/index.yaml:365), media-buy scenarios, and the sales specialisms (sales-catalog-driven, sales-broadcast-tv, sales-proposal-mode) — anchors this task to creative/list-creative-formats-request.json. Nothing in static/compliance/source/** references media-buy/list-creative-formats-request.json; this PR makes it the sole use, and only for the request. runner-output-contract.yaml:1140 also names creative/list-creative-formats-request.json as the notice's spec_source.
Two concrete consequences:
- Cross-family split. Request now resolves to
media-buy/, whileresponse_schema_ref(L178) anddoc_ref(L179) staycreative/. Amedia-buy/list-creative-formats-response.jsonexists — switching only the request leaves the step referencing two schema families for one task. accountis no longer modeled. The sample_request sendsaccount.account_id(L192) to point at the seeded sandbox account. The creative schema definesaccount; the media-buy schema does not — so under the new refaccountsurvives only viaadditionalProperties: true. The swap silences theinput_schema_field_strippednotice without the referenced schema actually modeling the field the storyboard sends.
If the goal is a media-buy-agent target, switch request and response to media-buy/ and confirm the scoping story; otherwise keep creative/ and address the spurious notice at the notice's spec_source mapping.
| that invites callers to follow it past the end of results. | ||
| task: list_creative_formats | ||
| schema_ref: "creative/list-creative-formats-request.json" | ||
| schema_ref: "media-buy/list-creative-formats-request.json" |
There was a problem hiding this comment.
Medium: Same divergence as L177 — request anchored to media-buy/list-creative-formats-request.json while response_schema_ref (L229) and doc_ref (L230) stay creative/, and the sample's account.account_id (L240) is not modeled by the media-buy request schema. Resolve both steps together.
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — two-line compliance-source change plus patch changeset swapping the list_creative_formats request schema_ref in the universal pagination storyboard.
No blocking findings. One non-blocking Medium was noted inline (L177/L228): the swap to media-buy/ diverges from the corpus convention (other storyboards use creative/list-creative-formats-request.json) and splits the step across schema families, leaving the sample's account field un-modeled. Reviewer verified the sample still validates against both schemas.
Decision trace: no critical/high findings (row 1 no); gated_paths false (row 2 no); high_risk false (rows 3/5 no); no medium data-loss/schema/infra findings in the findings list (row 4 no — the single medium is a convention/coverage concern, not a blocking schema break); no prior escalation (row 6 no); no no-auto-approve team match (row 7 no); fewer than three medium findings (row 8 no). Falls through to row 9 → approve.
Summary
Closes #7143
Verification