Repository navigation
fix(compliance): chain proposal_id through proposal_finalize storyboard (3.0.x) - #4092
Merged
Merged
Conversation
…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]>
Summary
Cherry-pick of #4091 to
3.0.x. Closes #4086 on the supported line.The
media_buy_seller/proposal_finalizestoryboard sent the literal placeholderbalanced_reach_q2fromsample_requestforrefine_proposal,finalize_proposal, andaccept_proposal. Sellers that mint runtimeproposal_idvalues (uuids, db rowids) hit a 404 against any stateful upstream. This PR capturesproposals[0].proposal_idfrombrief_with_proposalsviacontext_outputsand consumes it as$context.proposal_idin the three downstream steps.Why backport
latest/need this to passrefine_proposalagainst any non-catalog upstream.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
git cherry-pick.node scripts/lint-storyboard-sample-request-schema.cjs— cleannode scripts/lint-storyboard-context-entity.cjs— cleannode scripts/build-compliance.cjs— builds successfullyRelated
EXPECTED_FAILURESallowlist forget_products_refineonce a 3.0.x release picks this up.🤖 Generated with Claude Code