Skip to content

valid_actions warning persists despite field present in get_media_buys response #5319

@danoykin

Description

@danoykin

Summary

The missing-valid-actions advisory fires on media_buy_seller/pending_creatives_to_start/verify_transition even when valid_actions is present in every get_media_buys response, including the pending_start status.

SDK version

@adcp/sdk 7.11.1 (AdCP 3.0.12)

Steps to reproduce

  1. Implement a sales agent that returns valid_actions inside each buy object in get_media_buys
  2. Run npx adcp storyboard run <agent> sales_guaranteed --allow-http --auth <token>
  3. Both capability tracks pass (28/28 Media Buy Lifecycle, 3/3 Reporting & Delivery)
  4. Advisory still fires: Agent does not return valid_actions in get_media_buys response

Evidence

Server logs confirm valid_actions is present for all statuses including pending_start:

{
  "media_buy_id": "...",
  "status": "pending_start",
  "valid_actions": ["cancel", "update_budget", "update_dates", "update_packages", "add_packages", "sync_creatives"],
  "available_actions": [{"action": "cancel", "mode": "self_serve"}]
}

Expected behavior

Warning should not fire when valid_actions is present in all buy objects.

Hypothesis

The compliance checker's observation data extraction may occur before the valid_actions field reaches the final wire format in the pending_creatives_to_start scenario specifically.

Labels

bug, sdk, storyboard

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingclaude-triagedIssue has been triaged by the Claude Code triage routine. Remove to re-triage.community-reportedcompliance-suitemedia-buyIssue concerns the media-buy protocol domainpriority:P1High priority: important bug or follow-up, not immediate P0

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions