Skip to content

fix(compliance): chain proposal_id through proposal_finalize storyboard (3.0.x) - #4092

Merged
bokelley merged 1 commit into
3.0.xfrom
bokelley/3.0.x-proposal-id-chain
May 4, 2026
Merged

bokelley merged 1 commit into
3.0.xfrom
bokelley/3.0.x-proposal-id-chain

Conversation

@bokelley

@bokelley bokelley commented May 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Cherry-pick of #4091 to 3.0.x. Closes #4086 on the supported line.

The media_buy_seller/proposal_finalize storyboard sent the literal placeholder balanced_reach_q2 from sample_request for refine_proposal, finalize_proposal, and accept_proposal. Sellers that mint runtime proposal_id values (uuids, db rowids) hit a 404 against any stateful upstream. This PR captures proposals[0].proposal_id from brief_with_proposals via context_outputs and consumes it as $context.proposal_id in the three downstream steps.

Why backport

  • 3.0.x is the supported line — proposal-mode sellers certifying against latest/ need this to pass refine_proposal against any non-catalog upstream.
  • Conformance-yaml only — no schema or protocol semantics shift. Low risk to cherry-pick.
  • Frozen dist/compliance/3.0.0..3.0.6/ snapshots are intentionally left untouched. The fix flows into the next 3.0.x release via the normal build.

Test plan

  • Cherry-pick applied cleanly with git cherry-pick.
  • node scripts/lint-storyboard-sample-request-schema.cjs — clean
  • node scripts/lint-storyboard-context-entity.cjs — clean
  • node scripts/build-compliance.cjs — builds successfully

Related

🤖 Generated with Claude Code

…rd (#4086)

Capture proposals[0].proposal_id on brief_with_proposals via context_outputs,
and consume it as $context.proposal_id in refine_proposal, finalize_proposal,
and accept_proposal. Without the chain the runner sent the literal placeholder
"balanced_reach_q2" from sample_request, which 404s against sellers minting
runtime proposal IDs (uuids, db rowids).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@bokelley
bokelley merged commit 1f46a2f into 3.0.x May 4, 2026
12 checks passed
@bokelley
bokelley deleted the bokelley/3.0.x-proposal-id-chain branch May 4, 2026 16:34
bokelley added a commit that referenced this pull request May 7, 2026
…4189) (#4191)

* chore(3.0.x): re-cherry-pick #3461 and #3462 (envelope_field_present + asset-union) (#3608)

* feat(compliance): add envelope_field_present check type; update v3-envelope-integrity storyboard (#3461)

Closes