Skip to content

fix(deps): bump @adcp/client to 5.11.0 for get_rights builder fix (closes #2846)#2883

Merged
bokelley merged 2 commits into
mainfrom
bokelley/issue-2846
Apr 22, 2026
Merged

fix(deps): bump @adcp/client to 5.11.0 for get_rights builder fix (closes #2846)#2883
bokelley merged 2 commits into
mainfrom
bokelley/issue-2846

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Bumps @adcp/client from ^5.10.0 to ^5.11.0 to pick up adcontextprotocol/adcp-client#792, which restored sample_request handling in the storyboard runner's get_rights builder.
  • Rebaselines the training-agent storyboard CI floors to lock in the gains (legacy 36→43 / 295→336, framework 21→25 / 241→244).

Why

#2846 reported brand_rights/governance_denied failing with the wrong error code. Root cause was in the SDK, not the training agent: the get_rights builder hardcoded query / uses and derived brand_id from the caller's domain, silently discarding every field the storyboard declared. Rights-holder rosters rejected the caller-domain brand_id as unknown — rights[0] was undefined, $context.rights_id never resolved, and downstream acquire_rights failed with rights_not_found before the training agent's existing GOVERNANCE_DENIED check in brand-handlers.ts:978 could run.

The training-agent code was already correct. The fix is the SDK bump.

Test plan

  • brand_rights/governance_denied storyboard: 4P/1F → 5P/0F
  • Full storyboard suite (legacy dispatch): 43/56 clean, 336 passing steps
  • Full storyboard suite (framework dispatch): 25/56 clean, 244 passing steps
  • CI floors updated to match; regressing fails the gate

🤖 Generated with Claude Code

bokelley and others added 2 commits April 22, 2026 03:32
…oses #2846)

Upstream PR adcontextprotocol/adcp-client#792 restored
sample_request handling in the storyboard runner's get_rights
builder. Before, the builder hardcoded query/uses and derived
brand_id from the caller's domain, silently discarding every
field the storyboard declared. Rights-holder rosters rejected
the caller-domain brand_id as unknown, so rights[0] was
undefined, \$context.rights_id didn't resolve, and acquire_rights
failed with rights_not_found before the training agent's
existing GOVERNANCE_DENIED check in brand-handlers.ts:978
could run.

With 5.11.0 the brand_rights/governance_denied scenario passes
5/5 against the training agent. CI floors rebaselined:
- legacy: 36→43 clean storyboards, 295→336 passing steps
- framework: 21→25 clean storyboards, 241→244 passing steps

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Resolved conflict in .github/workflows/training-agent-storyboards.yml
by combining main's floor bumps (44→ and 37→ from cross-agent format
and framework session-context fixes) with #2846's @adcp/client 5.11.0
bump. Re-ran storyboards against the merged state:

- legacy: 46 clean / 338 passing
- framework: 42 clean / 339 passing

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bokelley
bokelley merged commit 8683997 into main Apr 22, 2026
14 checks passed
@bokelley
bokelley deleted the bokelley/issue-2846 branch April 22, 2026 07:44
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