Commit b1fe9d5
authored
feat(storyboards): require full proposal_finalize chain after @adcp/sdk@6.10.0 (#565)
The storyboard runner v6.10.0 closed the sync_accounts cascade gap
(adcp#4053, adcp-client#1146/#1545) — the sole-stateful-step exemption
now lets refine_proposal / finalize_proposal / accept_proposal run
end-to-end against agents that don't implement sync_accounts.
CI assertion was previously gated to setup + brief_with_proposals
(the only phases the runner could execute on the older SDK). Now
asserts all 5 phases pass, with per-scenario likely-cause hints in
the failure message so a contributor breaking finalize wiring gets
pointed at the right module + design-doc anchor.
Adapter fix: examples/sales_proposal_mode_seller/src/platform.py
incorrectly required either proposal_id OR ctx.recipes — but the
storyboard runner accepts a committed proposal by sending packages[]
directly (LLM-derived from the committed proposal's allocations).
The check now allows three valid shapes: proposal_id alone (framework
hydrates ctx.recipes), packages[] alone (regular create_media_buy
flow), or both empty (rejected as INVALID_REQUEST). Documented in the
method docstring.
Storyboard locally: 5/5 phases PASS (was 2/5). Test suite unaffected.1 parent 2e351b0 commit b1fe9d5
2 files changed
Lines changed: 55 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
817 | 817 | | |
818 | 818 | | |
819 | 819 | | |
820 | | - | |
821 | | - | |
822 | | - | |
823 | | - | |
824 | | - | |
825 | | - | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
826 | 826 | | |
827 | 827 | | |
828 | 828 | | |
| |||
840 | 840 | | |
841 | 841 | | |
842 | 842 | | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
851 | 854 | | |
852 | 855 | | |
853 | 856 | | |
| |||
861 | 864 | | |
862 | 865 | | |
863 | 866 | | |
864 | | - | |
865 | | - | |
866 | | - | |
| 867 | + | |
| 868 | + | |
867 | 869 | | |
868 | 870 | | |
869 | 871 | | |
| |||
872 | 874 | | |
873 | 875 | | |
874 | 876 | | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
875 | 896 | | |
876 | 897 | | |
877 | 898 | | |
| |||
882 | 903 | | |
883 | 904 | | |
884 | 905 | | |
885 | | - | |
| 906 | + | |
886 | 907 | | |
887 | 908 | | |
888 | 909 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
99 | 106 | | |
100 | 107 | | |
101 | | - | |
| 108 | + | |
| 109 | + | |
102 | 110 | | |
103 | 111 | | |
104 | 112 | | |
105 | | - | |
| 113 | + | |
106 | 114 | | |
107 | 115 | | |
108 | 116 | | |
109 | 117 | | |
110 | 118 | | |
111 | | - | |
112 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
113 | 123 | | |
114 | 124 | | |
115 | 125 | | |
| |||
0 commit comments