Description
Problem
Conformance storyboards reference fixtures by hardcoded ID — test-product, test-pricing, default, video_30s, native_post, native_content, campaign_hero_video, gov_acme_q2_2027, sports_ctv_q2, cpm_guaranteed, mb_acme_q2_2026_auction, and more. None are discoverable from the spec.
Every agent implementer hits the same wall: failing storyboards → grep YAML source → hand-seed matching fixtures.
Our training agent (adcontextprotocol/adcp#2582) hand-aliases ~8 such fixtures across product-factory.ts and formats.ts. A Python or Go seller would rebuild the same list from scratch.
Proposal
Ship a new subpath export: @adcp/client/compliance-fixtures.
import { createAdcpServer } from '@adcp/client/server';
import { seedComplianceFixtures } from '@adcp/client/compliance-fixtures';
const server = createAdcpServer({ ... });
seedComplianceFixtures(server);seedComplianceFixtures registers (via comply_test_controller seed scenarios from adcontextprotocol/adcp#2584, or directly via the SDK's state store during the transition):
- Products:
test-productwithdelivery_type: non_guaranteed, minimal channels/formats;sports_ctv_q2as a CTV variant; all withpricing_optionsincludingtest-pricing,default,cpm_guaranteed. - Formats:
video_30s,native_post,native_content— explicit entries alongside the existing format catalog. - Creatives:
campaign_hero_videowithstatus: approved. - Plans:
gov_acme_q2_2027at the domain the test storyboards assume. - Media buys:
mb_acme_q2_2026_auctionas a pre-created fixture for flow-derived-ID tests.
Shape
export interface ComplianceFixturesOptions {
/** Subset of fixture categories to seed. Defaults to all. */
categories?: Array<'products' | 'formats' | 'creatives' | 'plans' | 'media_buys' | 'pricing_options'>;
/** Override specific fixture bodies (for sellers whose catalog shape differs). */
overrides?: Partial<ComplianceFixtureSet>;
}
export function seedComplianceFixtures(
server: AdcpServer,
options?: ComplianceFixturesOptions
): Promise<void>;
export const COMPLIANCE_FIXTURES: Readonly<ComplianceFixtureSet>;COMPLIANCE_FIXTURES is the canonical data; seedComplianceFixtures just walks it and calls the appropriate seed helpers. Sellers who prefer to seed via their own mechanism can read COMPLIANCE_FIXTURES directly.
Source of truth
The fixture set SHOULD be generated from — or validated against — the actual storyboard YAML. If a storyboard references product_id: "test-product", CI lints that the fixtures package declares it. Catches drift on day zero.
Benefits
For SDK-based implementers
One import closes ~20 of 55 storyboards. (In our training agent: universal suite, error_compliance, idempotency, deterministic_testing, schema_validation, webhook_emission, plus parts of sales_* and governance_*.)
For non-SDK implementers
The canonical COMPLIANCE_FIXTURES data is still useful — ported to Python/Go/Rust once, reusable across implementations. Or the seed scenarios from adcp#2584 let any agent seed on demand.
For storyboard authors
Storyboard reviewers see "references new_fixture_xyz not in COMPLIANCE_FIXTURES" at lint time instead of agents failing in the wild.
Migration path
- Land the package with today's hardcoded set.
- Follow Spec: comply_test_controller fixture-seeding scenarios (seed_product, seed_pricing_option, seed_creative, seed_plan, seed_media_buy) adcp#2584 + fix(projection): lint package selector dimensions #2585 upstream; evolve to runner-driven seeding.
- Deprecate the package when storyboards fully adopt
fixtures:/$capturepatterns.
Related
- Protocol: adcontextprotocol/adcp#2584 (comply_test_controller seed scenarios)
- Protocol: adcontextprotocol/adcp#2585 (storyboard fixtures block / $capture pattern)
- Source motivation: adcontextprotocol/adcp#2582 (training-agent migration)
Activity
feat: AdCP 3.0 release blockers — adapter, fixtures, schemas, grader,…