Skip to content

Runner: pending_creatives scenario stops after step 1 despite correct agent response #5890

Description

@dasilvaidm

Summary

The pending_creatives_to_start storyboard scenario fails at step 1 (create_without_creatives) even though the agent returns a correct pending_creatives status. Steps 2 and 3 are never emitted by the runner.

Evidence from agent logs

Step 1 — create_media_buy without creatives:

{
  "adcp_version": "3.1",
  "status": "completed",
  "media_buy_id": "mb_4db26926-1afe-433c-a9ae-022e3fbf141d",
  "media_buy_status": "pending_creatives",
  "media_buy": {
    "media_buy_id": "mb_4db26926-...",
    "status": "pending_creatives"
  },
  "sandbox": true,
  "valid_actions": ["sync_creatives"]
}

Manual replay of all 3 steps confirmed working end-to-end:

  • Step 1: create_media_buystatus: pending_creatives
  • Step 2: sync_creatives with assignment → {"action":"created","status":"approved","assigned_to":["pkg_38a3b7c4-..."]}
  • Step 3: get_media_buysstatus: pending_start

Media buy persists between calls (Postgres). Runner never emits steps 2 and 3.

Hypothesis

The runner assertion on step 1 may be failing on the field shape — the agent returns both media_buy_status (3.1 field) and media_buy.status (3.0 compat field). The runner targeting 3.0 may have an assertion bug on one of these fields, causing it to stop the scenario despite a completed status.

Expected behavior

Runner should proceed to steps 2 and 3 when step 1 returns status: completed with media_buy.status: "pending_creatives".

Compliance target

3.0 (resolved 3.0.18)

Steps to reproduce

  1. Register a sales agent that returns pending_creatives on create_media_buy without creatives
  2. Run the media_buy_seller storyboard
  3. Observe step pending_creatives_to_start/create_without_creatives failing, steps 2 and 3 skipped

Metadata

Metadata

Assignees

No one assigned

    Labels

    claude-triagedIssue has been triaged by the Claude Code triage routine. Remove to re-triage.

    Type

    No type

    Fields

    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