Skip to content

fix(compliance): honor legacy inline creative asset slots - #8798

Merged
bokelley merged 4 commits into
mainfrom
fix/inline-legacy-asset-slots
Nov 8, 2026
Merged

bokelley merged 4 commits into
mainfrom
fix/inline-legacy-asset-slots

Conversation

@bokelley

@bokelley bokelley commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Legacy inline-creative manifests hard-code image and click_url even when the captured format declares different slots. Build both create/update manifests from the operator-supplied exact legacy format declaration, and preserve raw legacy discovery/readback so media-buy-only sellers can be tested without Creative Protocol tools.

Prepare both legacy manifests before any legacy or canonical purchase. Missing or unsupported fixtures become explicit coverage gaps before purchases; malformed catalogs, seller refusals and readback failures remain visible. Canonical-only sellers retain their existing path.

This uses the published SDK beta.20 already adopted on main, which implements the declared test_kit_format_catalog_runner requirement. The net change is limited to the storyboard, its regression tests and a patch changeset.

Validation in Docker:

  • All 44 CLI scenario regressions and 13 SDK compatibility checks pass against a fresh install of main's published beta.20 dependency.
  • Normal commit/push hooks pass, including 1,282 root unit tests, the full 828-file server suite and typecheck. The server hook uses its supported two-shard setting. One unchanged bounded-worker file required the hook’s built-in serial retry; all 34 tests passed. No test limits or hooks changed.
  • Source request-schema lint passes. Code, protocol and security reviews, including the merge resolution preserving main's newer dependency, are clear.

The training-agent storyboard matrix is checked by authoritative CI.

Refs #8632.

@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 with clean wire-shape posture.

What I checked:

  • Legacy inline manifests now build from the captured format's required slots via $build_assets_from_format (head L414) instead of hard-coded image/click_url; legacy phases moved ahead of canonical ones with response_projection: raw preserving authored legacy refs.
  • New requires: test_kit_format_catalog_runner (head L9) is satisfied by the @adcp/sdk 17.0.0-beta.17→beta.19 bump; package-lock changes only that package's version/tarball/integrity, and package.json top-level version is untouched (no hand-edited version — changeset-sourced).
  • No static/schemas/source/**, dist/**, or wire-shape changes, so no schema↔docs coherence, oneOf discriminator, or released-artifact immutability concern applies.
  • patch changeset present and correctly scoped.
  • legacy_format_inline_path (head ~L365) is non-optional with skip_if: "!context.legacy_format_id_value" (head ~L368), so it only runs when a usable legacy ref was captured — safe.
  • Fail-closed behavior on mixed canonical+legacy with missing operator fixture is documented and tested (fixture_unavailable coverage gap), surfaced rather than hidden. 80 new test lines cover slot-ID fidelity, fixture gaps, canonical-only, unsupported-update preflight, and malformed-catalog visibility.

No critical/high/medium findings. gated_paths false, high_risk false, no author team gate, no prior decision. Note: review_decision is REVIEW_REQUIRED, but gated_paths is false so row 2 does not apply. Falls through to row 9.

aao-secretariat[bot]
aao-secretariat Bot previously approved these changes Nov 8, 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 — version-sync consistency fix, no blocking findings.

This PR bumps the SDK to 17.0.0-beta.19 across package.json, package-lock.json, the changeset, and syncs scripts/sdk-response-conformance/known-findings.json to match. Delta since the prior approve is a single-line consistency fix in mutable tooling (not a released dist artifact). Changeset is present; no wire/schema change, no oneOf regression, no spec↔docs drift, no immutable-artifact modification.

Gate checks: author is not on any no-auto-approve team; gated_paths is false; high_risk is false. Prior decision was approve, and the current run surfaces no critical/high/medium findings. None of decision-table rows 1–8 fire, so this falls through to row 9 → approve.

@aao-secretariat

Copy link
Copy Markdown
Contributor

Ladon cannot review this PR until merge conflicts are resolved.

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

Re-approval: no reviewable delta since the prior approval; re-submitting after stale-review dismissal.

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