Skip to content

chore(deps): bump @adcp/client to 5.12.0 (closes most framework zod-parity gap)#2891

Merged
bokelley merged 4 commits into
mainfrom
bokelley/bump-adcp-client-5-12
Apr 22, 2026
Merged

chore(deps): bump @adcp/client to 5.12.0 (closes most framework zod-parity gap)#2891
bokelley merged 4 commits into
mainfrom
bokelley/bump-adcp-client-5-12

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

Bumps @adcp/client from ^5.11.0^5.12.0. Closes most of the framework-mode storyboard zod-parity gap by picking up the SDK's spec-shaped request-builders.

What lands with this bump

  • log_event + create_media_buy builders honor step.sample_request and emit spec shapes (adcp-client#794, closes adcp#2872 root cause)
  • list_creative_formats builder honors sample_request (adcp-client#789, mine — closes adcp-client#780)
  • si_* + sync_governance builders honor sample_request and conform to zod (adcp-client#802)
  • VALIDATION_ERROR retry-storm guard (adcp-client#758) — caches the validation envelope for 10s so a drifted handler can't loop on retry
  • New SDK helpers: wrapEnvelope public export, runAgainstLocalAgent testing helper, seed merge helpers, get_products test-controller bridge

CI baseline adjustment

Both legacy and framework regress on the bump because adcp-client#794 makes the runner emit every authored package on create_media_buy, exposing that several storyboards reference per-package products our catalog does not seed:

  • outdoor_video_q2, late_fringe_15s_mf, outdoor_ctv_q2_guaranteed, lifestyle_display_q2

Cascades into downstream get_delivery failures on the same buys.

mode clean (was → is) passing (was → is)
legacy 46 → 42 338 → 319
framework 42 → 37 339 → 319

The product-fixture follow-up is wiring the affected storyboards to controller_seeding: true + fixtures: blocks (the SDK side already shipped in adcp-client#790).

Framework-only delta (residual #30 work)

After the bump, the framework-mode-only failures vs. legacy are 5 storyboards / 7 step failures:

  • acquire_rights_denied (brand_rights/governance_denied) — GOVERNANCE_DENIED error code stripped from response
  • calibrate_must_violation + calibrate_after_policy_change (content_standards) — handler returns pass when storyboard expects fail
  • log_event (sales_social) + log_events (sales_catalog_driven) — EVENT_SOURCE_NOT_FOUND (session-state lookup diverges between dispatch paths)
  • provide_feedback (sales_catalog_driven) — MEDIA_BUY_NOT_FOUND (same session-state pattern)
  • report_usage (creative_ad_server) — accepted field type mismatch in response

Tracked as a separate task. The shape of the work is now scoped — these are response-shaping or handler-state issues, not zod input gaps.

Test plan

  • tsc --project server/tsconfig.json --noEmit clean
  • Local storyboard run: legacy 42/56, framework 37/56 (matches new baselines)
  • Storyboards (legacy + framework dispatch) in CI

🤖 Generated with Claude Code

Picks up the SDK's spec-shaped request-builders for log_event,
create_media_buy, list_creative_formats, si_*, sync_governance
(adcp-client#794, #789, #802) and the VALIDATION_ERROR retry-storm
guard (adcp-client#758). Closes most of the framework-mode zod-parity
gap.

Both legacy and framework regress on the bump because adcp-client#794
makes the runner emit every authored package on create_media_buy,
exposing per-package products our catalog does not seed. Adjusts CI
baselines to the new floor; fixture-seeding follow-up tracked
separately.

Framework-only delta vs. legacy is now 5 storyboards / 7 step
failures, listed in the changeset.
The initial bump used a local tarball during validation; the committed
lockfile carried that file:// path, breaking CI which can't resolve it.
Reinstall from the registry so the lockfile points at npm.
)

Every use case run-one-storyboard.ts supported is now covered by the
published adcp CLI (shipped in @adcp/client 5.12):

- Single-storyboard diagnostic run: adcp storyboard run <url> <id>
- Single-step debug: adcp storyboard step <url> <id> <step>
- JSON + JUnit output native

run-storyboards.ts stays — the dual-mode CI matrix and per-storyboard
test_kit / /mcp-strict routing it encodes doesn't fit the helper's
single-agent-one-config shape. Retirement tracked as an upstream RFC
for per-storyboard config on runAgainstLocalAgent.
…rlay

My original baselines (42/37) were taken from a local run where I'd
overlaid static/compliance/source/ onto the SDK cache. Without that
overlay, CI sees 38/32 clean on the bump — matching the fixture-seeding
regression documented in the PR. Lower the floor here; the follow-up
fixtures PR (adcp#2894) lifts it back up.
@bokelley bokelley merged commit 1380e69 into main Apr 22, 2026
14 checks passed
bokelley added a commit that referenced this pull request Apr 22, 2026
PR #2891 already bumped @adcp/client to 5.12.0 and adjusted storyboard
floors. After merging main, this PR's only remaining change is flipping
root tsconfig to strict: true.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bokelley bokelley mentioned this pull request Apr 22, 2026
6 tasks
bokelley added a commit that referenced this pull request Apr 22, 2026
* chore(deps): bump @adcp/client to 5.12.0, tsconfig strict: true

Bumps @adcp/client 5.11.0 → 5.12.0 and flips the root tsconfig.json from
strict: false to strict: true. The CI typecheck runs under server/tsconfig.json,
which has always been strict; this aligns the root config (used by IDEs and
local `npx tsc --noEmit`) with CI behavior. Zero code changes — codebase
already passes under --strict.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore: rename changeset after main merge (5.12 bump already landed)

PR #2891 already bumped @adcp/client to 5.12.0 and adjusted storyboard
floors. After merging main, this PR's only remaining change is flipping
root tsconfig to strict: true.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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