@sundownreel/mcp 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/README.md +65 -2
  2. package/brand.json +29 -0
  3. package/chunks/chunk-ONI7QK5B.mjs +63 -0
  4. package/chunks/chunk-YUE6XWVB.mjs +2 -0
  5. package/dsl/index.mjs +2 -0
  6. package/dsl/semantic.mjs +5 -0
  7. package/dsl/types.ts +240 -0
  8. package/engine/fonts/ArchivoBlack.ttf +0 -0
  9. package/engine/fonts/Caveat-Bold.ttf +0 -0
  10. package/engine-geo/data-manifest.json +460 -0
  11. package/engine-remotion/public/music/README.md +6 -0
  12. package/engine-remotion/public/music/bed-curious.mp3 +0 -0
  13. package/engine-remotion/public/music/bed-explainer.mp3 +0 -0
  14. package/engine-remotion/public/music/bed-reflective.mp3 +0 -0
  15. package/engine-remotion/public/music/bed-tense.mp3 +0 -0
  16. package/engine-remotion/public/music/bed-upbeat.mp3 +0 -0
  17. package/engine-remotion/public/music/music-index.json +52 -0
  18. package/engine-remotion/public/sfx/README.md +6 -0
  19. package/engine-remotion/public/sfx/alarm-buzz.mp3 +0 -0
  20. package/engine-remotion/public/sfx/beep-happy.mp3 +0 -0
  21. package/engine-remotion/public/sfx/boing-small.mp3 +0 -0
  22. package/engine-remotion/public/sfx/cash-register.mp3 +0 -0
  23. package/engine-remotion/public/sfx/chart-draw.mp3 +0 -0
  24. package/engine-remotion/public/sfx/click-key.mp3 +0 -0
  25. package/engine-remotion/public/sfx/click-sharp.mp3 +0 -0
  26. package/engine-remotion/public/sfx/click-switch.mp3 +0 -0
  27. package/engine-remotion/public/sfx/cloth-swish.mp3 +0 -0
  28. package/engine-remotion/public/sfx/counter-tick.mp3 +0 -0
  29. package/engine-remotion/public/sfx/ding.mp3 +0 -0
  30. package/engine-remotion/public/sfx/error-beep.mp3 +0 -0
  31. package/engine-remotion/public/sfx/glass-ping.mp3 +0 -0
  32. package/engine-remotion/public/sfx/glass-tick.mp3 +0 -0
  33. package/engine-remotion/public/sfx/impact-light.mp3 +0 -0
  34. package/engine-remotion/public/sfx/impact-punch.mp3 +0 -0
  35. package/engine-remotion/public/sfx/impact-soft.mp3 +0 -0
  36. package/engine-remotion/public/sfx/impact-thud.mp3 +0 -0
  37. package/engine-remotion/public/sfx/impact-tin.mp3 +0 -0
  38. package/engine-remotion/public/sfx/impact-wood.mp3 +0 -0
  39. package/engine-remotion/public/sfx/office-ambience-1.mp3 +0 -0
  40. package/engine-remotion/public/sfx/paper-feed.mp3 +0 -0
  41. package/engine-remotion/public/sfx/paper-rustle.mp3 +0 -0
  42. package/engine-remotion/public/sfx/paper-slide.mp3 +0 -0
  43. package/engine-remotion/public/sfx/paper-tear.mp3 +0 -0
  44. package/engine-remotion/public/sfx/pencil-scratch.mp3 +0 -0
  45. package/engine-remotion/public/sfx/pop-drop.mp3 +0 -0
  46. package/engine-remotion/public/sfx/pop-pluck.mp3 +0 -0
  47. package/engine-remotion/public/sfx/pop.mp3 +0 -0
  48. package/engine-remotion/public/sfx/printer-chatter.mp3 +0 -0
  49. package/engine-remotion/public/sfx/receipt-tick.mp3 +0 -0
  50. package/engine-remotion/public/sfx/room-tone.mp3 +0 -0
  51. package/engine-remotion/public/sfx/sfx-index.json +322 -0
  52. package/engine-remotion/public/sfx/slide-whoosh.mp3 +0 -0
  53. package/engine-remotion/public/sfx/stamp-thud.mp3 +0 -0
  54. package/engine-remotion/public/sfx/stinger-8bit.mp3 +0 -0
  55. package/engine-remotion/public/sfx/stinger-hit.mp3 +0 -0
  56. package/engine-remotion/public/sfx/stinger-pizzi.mp3 +0 -0
  57. package/engine-remotion/public/sfx/stinger-sax.mp3 +0 -0
  58. package/engine-remotion/public/sfx/stinger-steel.mp3 +0 -0
  59. package/engine-remotion/public/sfx/sweat-drop.mp3 +0 -0
  60. package/engine-remotion/public/sfx/swipe.mp3 +0 -0
  61. package/engine-remotion/public/sfx/tick-crisp.mp3 +0 -0
  62. package/engine-remotion/public/sfx/tick-soft.mp3 +0 -0
  63. package/engine-remotion/public/sfx/type-click.mp3 +0 -0
  64. package/engine-remotion/public/sfx/typewriter-soft.mp3 +0 -0
  65. package/engine-remotion/public/sfx/ui-confirm.mp3 +0 -0
  66. package/engine-remotion/public/sfx/wheel-roll.mp3 +0 -0
  67. package/engine-remotion/public/sfx/whoosh-rise.mp3 +0 -0
  68. package/engine-remotion/public/sfx/whoosh-ui-rise.mp3 +0 -0
  69. package/engine-remotion/public/sfx/whoosh.mp3 +0 -0
  70. package/library/music/bed.wav +0 -0
  71. package/library/sfx/thud.wav +0 -0
  72. package/library/sfx/tick.wav +0 -0
  73. package/library/sfx/whoosh.wav +0 -0
  74. package/package.json +38 -4
  75. package/pipeline/scripts/master_audio.sh +12 -0
  76. package/prompts/engine-engineer.md +26 -0
  77. package/prompts/fact-checker.md +22 -0
  78. package/prompts/idea-scout.md +21 -0
  79. package/prompts/library-artist.md +15 -0
  80. package/prompts/qa.md +20 -0
  81. package/prompts/researcher.md +22 -0
  82. package/prompts/shot-dsl-writer.md +63 -0
  83. package/prompts/style-shot-writer.md +46 -0
  84. package/registry/styles.mjs +89 -0
  85. package/render/fonts/Anton-Regular.ttf +0 -0
  86. package/render/fonts/ArchivoBlack.ttf +0 -0
  87. package/render/fonts/Caveat-Bold.ttf +0 -0
  88. package/render/fonts/Caveat.ttf +0 -0
  89. package/render/fonts/Cinzel-Black.ttf +0 -0
  90. package/render/fonts/Cinzel-SemiBold.ttf +0 -0
  91. package/render/fonts/CormorantGaramond-MediumItalic.ttf +0 -0
  92. package/render/fonts/CourierPrime-Regular.ttf +0 -0
  93. package/render/fonts/IBMPlexMono-SemiBold.ttf +0 -0
  94. package/render/fonts/IBMPlexSerif-SemiBold.ttf +0 -0
  95. package/render/fonts/Kalam-Bold.ttf +0 -0
  96. package/render/fonts/KaushanScript-Regular.ttf +0 -0
  97. package/render/fonts/LibreBaskerville-Bold.ttf +0 -0
  98. package/render/fonts/LibreBaskerville-Italic.ttf +0 -0
  99. package/render/fonts/PlayfairDisplay-Bold.ttf +0 -0
  100. package/render/fonts/PlayfairDisplay-Regular.ttf +0 -0
  101. package/render/fonts/README.md +15 -0
  102. package/render/fonts/ZillaSlab-Bold-Lining.ttf +0 -0
  103. package/render/fonts/licenses/Anton-OFL.txt +93 -0
  104. package/render/fonts/licenses/ArchivoBlack-OFL.txt +93 -0
  105. package/render/fonts/licenses/Caveat-OFL.txt +93 -0
  106. package/render/fonts/licenses/Cinzel-OFL.txt +93 -0
  107. package/render/fonts/licenses/CormorantGaramond-OFL.txt +93 -0
  108. package/render/fonts/licenses/CourierPrime-OFL.txt +93 -0
  109. package/render/fonts/licenses/IBMPlexMono-OFL.txt +93 -0
  110. package/render/fonts/licenses/IBMPlexSerif-OFL.txt +93 -0
  111. package/render/fonts/licenses/Kalam-OFL.txt +93 -0
  112. package/render/fonts/licenses/KaushanScript-OFL.txt +95 -0
  113. package/render/fonts/licenses/LibreBaskerville-OFL.txt +93 -0
  114. package/render/fonts/licenses/PlayfairDisplay-OFL.txt +93 -0
  115. package/render/fonts/licenses/ZillaSlab-OFL.txt +93 -0
  116. package/render/render.mjs +59539 -0
  117. package/render3d/data/footprints/README.md +27 -0
  118. package/render3d/data/footprints/test-district.geojson +1 -0
  119. package/render3d/fonts/ArchivoBlack.ttf +0 -0
  120. package/render3d/fonts/IBMPlexMono-400.ttf +0 -0
  121. package/render3d/fonts/IBMPlexMono-600.ttf +0 -0
  122. package/render3d/fonts/Inter-400.ttf +0 -0
  123. package/render3d/fonts/Inter-600.ttf +0 -0
  124. package/render3d/fonts/Inter-800.ttf +0 -0
  125. package/render3d/fonts/licenses/ArchivoBlack-OFL.txt +93 -0
  126. package/render3d/fonts/licenses/BlockfolkCaps-OFL.txt +96 -0
  127. package/render3d/fonts/licenses/IBMPlexMono-OFL.txt +93 -0
  128. package/render3d/fonts/licenses/Inter-OFL.txt +93 -0
  129. package/render3d/render.mjs +41191 -0
  130. package/render3d/runtime.js +4532 -0
  131. package/rendergeo/fonts/Anton-Regular.ttf +0 -0
  132. package/rendergeo/fonts/ArchivoBlack.ttf +0 -0
  133. package/rendergeo/fonts/BarlowCondensed-Bold.ttf +0 -0
  134. package/rendergeo/fonts/BarlowCondensed-SemiBold.ttf +0 -0
  135. package/rendergeo/fonts/Caveat-Bold.ttf +0 -0
  136. package/rendergeo/fonts/Caveat.ttf +0 -0
  137. package/rendergeo/fonts/Cinzel-Black.ttf +0 -0
  138. package/rendergeo/fonts/Cinzel-SemiBold.ttf +0 -0
  139. package/rendergeo/fonts/CormorantGaramond-Medium.ttf +0 -0
  140. package/rendergeo/fonts/CormorantGaramond-MediumItalic.ttf +0 -0
  141. package/rendergeo/fonts/CormorantGaramond-SemiBold.ttf +0 -0
  142. package/rendergeo/fonts/CourierPrime-Regular.ttf +0 -0
  143. package/rendergeo/fonts/IBMPlexMono-Medium.ttf +0 -0
  144. package/rendergeo/fonts/IBMPlexMono-Regular.ttf +0 -0
  145. package/rendergeo/fonts/IBMPlexMono-SemiBold.ttf +0 -0
  146. package/rendergeo/fonts/IBMPlexSansCondensed-Medium.ttf +0 -0
  147. package/rendergeo/fonts/IBMPlexSansCondensed-SemiBold.ttf +0 -0
  148. package/rendergeo/fonts/IBMPlexSerif-SemiBold.ttf +0 -0
  149. package/rendergeo/fonts/Kalam-Bold.ttf +0 -0
  150. package/rendergeo/fonts/KaushanScript-Regular.ttf +0 -0
  151. package/rendergeo/fonts/LibreBaskerville-Bold.ttf +0 -0
  152. package/rendergeo/fonts/LibreBaskerville-Italic.ttf +0 -0
  153. package/rendergeo/fonts/OldStandard-Bold.ttf +0 -0
  154. package/rendergeo/fonts/OldStandard-Italic.ttf +0 -0
  155. package/rendergeo/fonts/OldStandard-Regular.ttf +0 -0
  156. package/rendergeo/fonts/PlayfairDisplay-Bold.ttf +0 -0
  157. package/rendergeo/fonts/PlayfairDisplay-Regular.ttf +0 -0
  158. package/rendergeo/fonts/ZillaSlab-Bold-Lining.ttf +0 -0
  159. package/rendergeo/render-geo.mjs +45063 -0
  160. package/server.js +293 -0
  161. package/studio-cli/bin/sundownreel-gate.mjs +205 -0
  162. package/studio-cli/src/gate.mjs +704 -0
  163. package/styles/README.md +32 -0
  164. package/styles/broadsheet/STYLE.md +5 -0
  165. package/styles/broadsheet/style.json +11 -0
  166. package/styles/cartoon/STYLE.md +37 -0
  167. package/styles/cartoon/style.json +12 -0
  168. package/styles/chalkline/STYLE.md +30 -0
  169. package/styles/chalkline/style.json +11 -0
  170. package/thumbnails/dist/make.mjs +62995 -0
  171. package/vendor/gsap.min.js +11 -0
@@ -0,0 +1,322 @@
1
+ {
2
+ "whoosh": {
3
+ "file": "sfx/whoosh.mp3",
4
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
5
+ "source": "synthesized: audio/generate.py",
6
+ "author": "Reel Forge"
7
+ },
8
+ "impact-soft": {
9
+ "file": "sfx/impact-soft.mp3",
10
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
11
+ "source": "synthesized: audio/generate.py",
12
+ "author": "Reel Forge"
13
+ },
14
+ "whoosh-rise": {
15
+ "file": "sfx/whoosh-rise.mp3",
16
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
17
+ "source": "synthesized: audio/generate.py",
18
+ "author": "Reel Forge"
19
+ },
20
+ "swipe": {
21
+ "file": "sfx/swipe.mp3",
22
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
23
+ "source": "synthesized: audio/generate.py",
24
+ "author": "Reel Forge"
25
+ },
26
+ "cloth-swish": {
27
+ "file": "sfx/cloth-swish.mp3",
28
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
29
+ "source": "synthesized: audio/generate.py",
30
+ "author": "Reel Forge"
31
+ },
32
+ "boing-small": {
33
+ "file": "sfx/boing-small.mp3",
34
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
35
+ "source": "synthesized: audio/generate.py",
36
+ "author": "Reel Forge"
37
+ },
38
+ "wheel-roll": {
39
+ "file": "sfx/wheel-roll.mp3",
40
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
41
+ "source": "synthesized: audio/generate.py",
42
+ "author": "Reel Forge"
43
+ },
44
+ "slide-whoosh": {
45
+ "file": "sfx/slide-whoosh.mp3",
46
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
47
+ "source": "synthesized: audio/generate.py",
48
+ "author": "Reel Forge"
49
+ },
50
+ "pop": {
51
+ "file": "sfx/pop.mp3",
52
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
53
+ "source": "synthesized: audio/generate.py",
54
+ "author": "Reel Forge"
55
+ },
56
+ "stamp-thud": {
57
+ "file": "sfx/stamp-thud.mp3",
58
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
59
+ "source": "synthesized: audio/generate.py",
60
+ "author": "Reel Forge"
61
+ },
62
+ "type-click": {
63
+ "file": "sfx/type-click.mp3",
64
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
65
+ "source": "synthesized: audio/generate.py",
66
+ "author": "Reel Forge"
67
+ },
68
+ "counter-tick": {
69
+ "file": "sfx/counter-tick.mp3",
70
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
71
+ "source": "synthesized: audio/generate.py",
72
+ "author": "Reel Forge"
73
+ },
74
+ "paper-feed": {
75
+ "file": "sfx/paper-feed.mp3",
76
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
77
+ "source": "synthesized: audio/generate.py",
78
+ "author": "Reel Forge"
79
+ },
80
+ "paper-rustle": {
81
+ "file": "sfx/paper-rustle.mp3",
82
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
83
+ "source": "synthesized: audio/generate.py",
84
+ "author": "Reel Forge"
85
+ },
86
+ "alarm-buzz": {
87
+ "file": "sfx/alarm-buzz.mp3",
88
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
89
+ "source": "synthesized: audio/generate.py",
90
+ "author": "Reel Forge"
91
+ },
92
+ "error-beep": {
93
+ "file": "sfx/error-beep.mp3",
94
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
95
+ "source": "synthesized: audio/generate.py",
96
+ "author": "Reel Forge"
97
+ },
98
+ "chart-draw": {
99
+ "file": "sfx/chart-draw.mp3",
100
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
101
+ "source": "synthesized: audio/generate.py",
102
+ "author": "Reel Forge"
103
+ },
104
+ "sweat-drop": {
105
+ "file": "sfx/sweat-drop.mp3",
106
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
107
+ "source": "synthesized: audio/generate.py",
108
+ "author": "Reel Forge"
109
+ },
110
+ "office-ambience-1": {
111
+ "file": "sfx/office-ambience-1.mp3",
112
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
113
+ "source": "synthesized: audio/generate.py",
114
+ "author": "Reel Forge"
115
+ },
116
+ "typewriter-soft": {
117
+ "file": "sfx/typewriter-soft.mp3",
118
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
119
+ "source": "synthesized: audio/generate.py",
120
+ "author": "Reel Forge"
121
+ },
122
+ "room-tone": {
123
+ "file": "sfx/room-tone.mp3",
124
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
125
+ "source": "synthesized: audio/generate.py",
126
+ "author": "Reel Forge"
127
+ },
128
+ "beep-happy": {
129
+ "file": "sfx/beep-happy.mp3",
130
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
131
+ "source": "synthesized: audio/generate.py",
132
+ "author": "Reel Forge"
133
+ },
134
+ "ding": {
135
+ "file": "sfx/ding.mp3",
136
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
137
+ "source": "synthesized: audio/generate.py",
138
+ "author": "Reel Forge"
139
+ },
140
+ "cash-register": {
141
+ "file": "sfx/cash-register.mp3",
142
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
143
+ "source": "synthesized: audio/generate.py",
144
+ "author": "Reel Forge"
145
+ },
146
+ "receipt-tick": {
147
+ "file": "sfx/receipt-tick.mp3",
148
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
149
+ "source": "synthesized: audio/generate.py",
150
+ "author": "Reel Forge"
151
+ },
152
+ "printer-chatter": {
153
+ "file": "sfx/printer-chatter.mp3",
154
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
155
+ "source": "synthesized: audio/generate.py",
156
+ "author": "Reel Forge"
157
+ },
158
+ "pencil-scratch": {
159
+ "file": "sfx/pencil-scratch.mp3",
160
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
161
+ "source": "synthesized: audio/generate.py",
162
+ "author": "Reel Forge"
163
+ },
164
+ "paper-slide": {
165
+ "file": "sfx/paper-slide.mp3",
166
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
167
+ "source": "synthesized: audio/generate.py",
168
+ "author": "Reel Forge"
169
+ },
170
+ "paper-tear": {
171
+ "file": "sfx/paper-tear.mp3",
172
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
173
+ "source": "synthesized: audio/generate.py",
174
+ "author": "Reel Forge"
175
+ },
176
+ "glass-tick": {
177
+ "file": "sfx/glass-tick.mp3",
178
+ "license": "original (Reel Forge), CC0-equivalent, generated 2026-11-28 by audio/generate.py",
179
+ "source": "synthesized: audio/generate.py",
180
+ "author": "Reel Forge"
181
+ },
182
+ "tick-crisp": {
183
+ "file": "sfx/tick-crisp.mp3",
184
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
185
+ "source": "Kenney Interface Sounds (https://kenney.nl/assets/interface-sounds), tick_001.ogg",
186
+ "author": "Kenney (kenney.nl)",
187
+ "kind": "tick"
188
+ },
189
+ "tick-soft": {
190
+ "file": "sfx/tick-soft.mp3",
191
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
192
+ "source": "Kenney Interface Sounds (https://kenney.nl/assets/interface-sounds), tick_002.ogg",
193
+ "author": "Kenney (kenney.nl)",
194
+ "kind": "tick"
195
+ },
196
+ "click-sharp": {
197
+ "file": "sfx/click-sharp.mp3",
198
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
199
+ "source": "Kenney Interface Sounds (https://kenney.nl/assets/interface-sounds), click_004.ogg",
200
+ "author": "Kenney (kenney.nl)",
201
+ "kind": "click"
202
+ },
203
+ "click-key": {
204
+ "file": "sfx/click-key.mp3",
205
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
206
+ "source": "Kenney Interface Sounds (https://kenney.nl/assets/interface-sounds), select_001.ogg",
207
+ "author": "Kenney (kenney.nl)",
208
+ "kind": "click"
209
+ },
210
+ "click-switch": {
211
+ "file": "sfx/click-switch.mp3",
212
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
213
+ "source": "Kenney UI Audio (https://kenney.nl/assets/ui-audio), switch1.ogg",
214
+ "author": "Kenney (kenney.nl)",
215
+ "kind": "click"
216
+ },
217
+ "pop-drop": {
218
+ "file": "sfx/pop-drop.mp3",
219
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
220
+ "source": "Kenney Interface Sounds (https://kenney.nl/assets/interface-sounds), drop_001.ogg",
221
+ "author": "Kenney (kenney.nl)",
222
+ "kind": "pop"
223
+ },
224
+ "pop-pluck": {
225
+ "file": "sfx/pop-pluck.mp3",
226
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
227
+ "source": "Kenney Interface Sounds (https://kenney.nl/assets/interface-sounds), pluck_001.ogg",
228
+ "author": "Kenney (kenney.nl)",
229
+ "kind": "pop"
230
+ },
231
+ "glass-ping": {
232
+ "file": "sfx/glass-ping.mp3",
233
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
234
+ "source": "Kenney Interface Sounds (https://kenney.nl/assets/interface-sounds), glass_005.ogg",
235
+ "author": "Kenney (kenney.nl)",
236
+ "kind": "ping"
237
+ },
238
+ "ui-confirm": {
239
+ "file": "sfx/ui-confirm.mp3",
240
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
241
+ "source": "Kenney Interface Sounds (https://kenney.nl/assets/interface-sounds), confirmation_003.ogg",
242
+ "author": "Kenney (kenney.nl)",
243
+ "kind": "chime"
244
+ },
245
+ "whoosh-ui-rise": {
246
+ "file": "sfx/whoosh-ui-rise.mp3",
247
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
248
+ "source": "Kenney Interface Sounds (https://kenney.nl/assets/interface-sounds), maximize_003.ogg",
249
+ "author": "Kenney (kenney.nl)",
250
+ "kind": "whoosh"
251
+ },
252
+ "impact-wood": {
253
+ "file": "sfx/impact-wood.mp3",
254
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
255
+ "source": "Kenney Impact Sounds (https://kenney.nl/assets/impact-sounds), impactWood_light_004.ogg",
256
+ "author": "Kenney (kenney.nl)",
257
+ "kind": "impact"
258
+ },
259
+ "impact-thud": {
260
+ "file": "sfx/impact-thud.mp3",
261
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
262
+ "source": "Kenney Impact Sounds (https://kenney.nl/assets/impact-sounds), impactSoft_heavy_000.ogg",
263
+ "author": "Kenney (kenney.nl)",
264
+ "kind": "impact"
265
+ },
266
+ "impact-light": {
267
+ "file": "sfx/impact-light.mp3",
268
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
269
+ "source": "Kenney Impact Sounds (https://kenney.nl/assets/impact-sounds), impactGeneric_light_000.ogg",
270
+ "author": "Kenney (kenney.nl)",
271
+ "kind": "impact"
272
+ },
273
+ "impact-punch": {
274
+ "file": "sfx/impact-punch.mp3",
275
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
276
+ "source": "Kenney Impact Sounds (https://kenney.nl/assets/impact-sounds), impactPunch_medium_002.ogg",
277
+ "author": "Kenney (kenney.nl)",
278
+ "kind": "impact"
279
+ },
280
+ "impact-tin": {
281
+ "file": "sfx/impact-tin.mp3",
282
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
283
+ "source": "Kenney Impact Sounds (https://kenney.nl/assets/impact-sounds), impactTin_medium_003.ogg",
284
+ "author": "Kenney (kenney.nl)",
285
+ "kind": "impact"
286
+ },
287
+ "stinger-8bit": {
288
+ "file": "sfx/stinger-8bit.mp3",
289
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
290
+ "source": "Kenney Music Jingles (https://kenney.nl/assets/music-jingles), jingles_NES00.ogg",
291
+ "author": "Kenney (kenney.nl)",
292
+ "kind": "stinger"
293
+ },
294
+ "stinger-pizzi": {
295
+ "file": "sfx/stinger-pizzi.mp3",
296
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
297
+ "source": "Kenney Music Jingles (https://kenney.nl/assets/music-jingles), jingles_PIZZI03.ogg",
298
+ "author": "Kenney (kenney.nl)",
299
+ "kind": "stinger"
300
+ },
301
+ "stinger-steel": {
302
+ "file": "sfx/stinger-steel.mp3",
303
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
304
+ "source": "Kenney Music Jingles (https://kenney.nl/assets/music-jingles), jingles_STEEL01.ogg",
305
+ "author": "Kenney (kenney.nl)",
306
+ "kind": "stinger"
307
+ },
308
+ "stinger-sax": {
309
+ "file": "sfx/stinger-sax.mp3",
310
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
311
+ "source": "Kenney Music Jingles (https://kenney.nl/assets/music-jingles), jingles_SAX01.ogg",
312
+ "author": "Kenney (kenney.nl)",
313
+ "kind": "stinger"
314
+ },
315
+ "stinger-hit": {
316
+ "file": "sfx/stinger-hit.mp3",
317
+ "license": "CC0 1.0 (public domain) - Kenney, see audio/licenses/kenney-CC0.txt",
318
+ "source": "Kenney Music Jingles (https://kenney.nl/assets/music-jingles), jingles_HIT03.ogg",
319
+ "author": "Kenney (kenney.nl)",
320
+ "kind": "stinger"
321
+ }
322
+ }
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,40 @@
1
1
  {
2
2
  "name": "@sundownreel/mcp",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Sundown Reel MCP server: long-form faceless videos, directed by your Claude.",
5
+ "type": "module",
6
+ "bin": {
7
+ "sundownreel-mcp": "server.js",
8
+ "sundownreel-gate": "studio-cli/bin/sundownreel-gate.mjs"
9
+ },
10
+ "main": "server.js",
11
+ "engines": {
12
+ "node": ">=22"
13
+ },
14
+ "dependencies": {
15
+ "@resvg/resvg-js": "2.6.2",
16
+ "@puppeteer/browsers": "3.3.0",
17
+ "puppeteer-core": "25.19.0",
18
+ "sharp": "0.35.6",
19
+ "ws": "8.23.1"
20
+ },
21
+ "peerDependencies": {
22
+ "@hyperframes/producer": "0.8.7"
23
+ },
24
+ "peerDependenciesMeta": {
25
+ "@hyperframes/producer": {
26
+ "optional": true
27
+ }
28
+ },
29
+ "keywords": [
30
+ "mcp",
31
+ "model-context-protocol",
32
+ "claude",
33
+ "video",
34
+ "sundownreel"
35
+ ],
36
+ "homepage": "https://sundownreel.com",
37
+ "publishConfig": {
38
+ "access": "public"
39
+ }
40
+ }
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env bash
2
+ # Stage 10 — Audio master to −14 LUFS / ≤ −1 dBTP (tested Nov 28 2026 on robot-bill-v3: −14.13 LUFS, −1.69 dBTP).
3
+ # NOTE: the chain used for v3 (compressor → alimiter → loudnorm TP=−1.0) measured +1.1 dBTP true peak: FAIL. Use this one.
4
+ # FIX (2026-11-28, see pipeline/scripts/CHANGES.md): limiter ceiling 0.82 (-1.7 dBFS) -> 0.63 (-4.0 dBFS). The limiter runs on loudnorm's
5
+ # 192 kHz output and the downsample to 48 kHz re-creates inter-sample overs: with 0.82, broadband SFX-like transients measured
6
+ # up to +1.2 dBTP (12/12 noise seeds over -1); 0.708 still failed 2/12; 0.63 kept 12/12 <= -1.3 dBTP, integrated loudness unchanged.
7
+ # usage: pipeline/scripts/master_audio.sh raw.mp4 final.mp4
8
+ set -euo pipefail
9
+ ffmpeg -loglevel error -y -i "$1" -c:v copy \
10
+ -af "acompressor=threshold=-26dB:ratio=6:attack=3:release=150:makeup=8,loudnorm=I=-14:TP=-1.5:LRA=7,alimiter=limit=0.63:level=false,aresample=48000" \
11
+ -ar 48000 -c:a aac -b:a 192k "$2"
12
+ ffmpeg -hide_banner -i "$2" -af loudnorm=print_format=json -f null - 2>&1 | grep -E '"input_(i|tp|lra)"'
@@ -0,0 +1,26 @@
1
+ # ENGINE ENGINEER (Stage 8b; replaces master §6.8 SCENE CODER)
2
+
3
+ Source: HANDOFF-UPDATE-01 §U5, with paths adapted to this repo (`04-script/`, `facts.csv`, `validate.mjs`). Library index: `library/LIBRARY.md`.
4
+
5
+ ```text
6
+ ROLE: You maintain the cartoon engine (engine/, renderer-agnostic SVG; the channel renders it with Remotion in engine-remotion/) and the asset library (library/). You build new sets,
7
+ props, poses, expressions and components requested in videos/*/07-shots/library-requests.md, and you keep the
8
+ engine deterministic, fast and on-style.
9
+
10
+ STANDARDS:
11
+ - Style: measured targets in HANDOFF-UPDATE-01 §U3.6 and §U6.3 (the PB reference frames are not on this machine) (proportions, palette, outline 4.5 px at
12
+ character height 500, one cel band, DOF bands, saturation 45–58 / value 160–178 averaged over frames).
13
+ - Puppet rules: rotation only at pivots; drawing swaps for faces; legs separate from the torso; mitten hands.
14
+ - Determinism: no Math.random, no Date; seeded rand(); same input = same pixels.
15
+ - Every new asset: registry id with @version, LIBRARY.md line, golden still(s), Lab composition coverage.
16
+ - Never copy another channel's designs; our cast/sets only. Never add per-shot generated bitmaps.
17
+ - Performance budget: ≤ 0.6 s render time per frame at 1080p on 3 cores for a busy wide (measure with
18
+ `npx remotion render ... --frames=0-89` and time it).
19
+
20
+ FOR EACH REQUEST:
21
+ 1. Decide: new preset (cheapest) → new prop → new set variant → new set.
22
+ 2. Build it as hand-written SVG (U4.2). Only if Jacob has approved one-time AI art for this set, follow U4.3.
23
+ 3. Render Lab/SetTour or Lab/CastLineup stills; run pipeline/scripts/measure/style_metrics.py on them (with pipeline/.venv/bin/python); fix until in band.
24
+ 4. Update golden stills; run the golden diff (qa.py --golden); commit with message "lib: <id>@<v> for <video> S###".
25
+ 5. Mark the request done in library-requests.md with the id to use.
26
+ ```
@@ -0,0 +1,22 @@
1
+ # Fact-checker (MCP-native, independent)
2
+
3
+ ROLE: the independent fact-checker. You must be a different session from the researcher, with your own actor id (e.g.
4
+ `checker-<date>-a`). Do not read or rely on the researcher's reasoning: re-open every source yourself. Use only
5
+ Sundown Reel MCP tools plus your own web tools for opening sources.
6
+
7
+ 1. Call `factcheck_plan {episodeId}`. It lists every unverified fact with what to check, the disputed rows, numbers in
8
+ the narration that no fact covers, the researchers' actor ids (yours must differ) and the allowed statuses.
9
+ 2. For each fact, check: the source loads and is the one named; the quote is verbatim; value and unit match exactly;
10
+ the date is the original report date (not a re-share); attribution is exact; `on_screen` shows the same number;
11
+ real-time values carry a current `as_of`; computed rows recompute; market odds match the exact market definition.
12
+ 3. Record results with `factcheck_record {episodeId, actor, results:[{id, status, note}]}`:
13
+ - verified: it matches a primary source or two independent major outlets;
14
+ - computed: our arithmetic, recomputed by you;
15
+ - disputed: wrong, misquoted, mis-dated or unsupported. Say in the note what would fix it;
16
+ - scenario: only in an episode flagged hypothetical, for labelled invented inputs.
17
+ Leave out any row you can't settle (it stays unverified).
18
+ 4. Report to the user: counts per status, every disputed row with the fix, and the script numbers without a fact.
19
+ Disputed or unverified rows block the script until the researcher fixes them and you check again.
20
+
21
+ NEVER: record a check under the researcher's actor id; verify from memory or from the researcher's notes; approve a
22
+ gate (only the human does, in their own terminal).
@@ -0,0 +1,21 @@
1
+ # Idea scout (MCP-native)
2
+
3
+ ROLE: find and score video ideas for the user's channel, using only Sundown Reel MCP tools plus any search or keyword
4
+ tools you already have. You never read repo files for this role; the tools return everything.
5
+
6
+ 1. Call `ideas_generate` (pass `niche`, `styleId` and `count` if the user gave them). Read the rubric, the slate rule,
7
+ the title rules, the topic rules and `avoidRepeating`.
8
+ 2. Brainstorm the requested number of ideas. Each one: an outlandish premise a 12-year-old can picture, resting on at
9
+ least one real, checkable number. Prefer mechanisms and companies over individual people.
10
+ 3. If you have web search or keyword / outlier tools, use them for D (demand) and O (outlier proof), and put the
11
+ sources (URL + date) in `anchors`. If you don't, score D and O as estimates (2–3) and tell the user.
12
+ 4. Score every idea 0–5 on D, O, X, L, G, R. Be honest about R: anything that needs a claim about a named person you
13
+ cannot source is R 5 (rejected).
14
+ 5. Call `ideas_save` with ALL the ideas (the tool computes the scores, rejects R 5 and picks the slate).
15
+ 6. Show the user the slate (slot, title, score, why it's in) and the strongest rejected or excluded ideas with the
16
+ reason. Let them pick. Then call `episode_create` with the `next.args` from ideas_save (or the idea they chose),
17
+ followed by `topic_save` with its `ideaRef`.
18
+
19
+ NEVER: present a social post or AI summary as a fact; propose real-person caricatures, third-party characters, brands
20
+ as characters or copied formats; promise numbers the research can't verify; give buy/sell advice. You do not approve
21
+ anything: Gate 1 is the human's call in their own terminal.
@@ -0,0 +1,15 @@
1
+ # LIBRARY ARTIST (only for Jacob-approved one-time AI art; replaces master §6.6)
2
+
3
+ Source: HANDOFF-UPDATE-01 §U5, with paths adapted to this repo (`04-script/`, `facts.csv`, `validate.mjs`). Library index: `library/LIBRARY.md`.
4
+
5
+ ```text
6
+ ROLE: You create ONE-TIME library art with an image model, only when Jacob has approved a specific asset batch
7
+ (see library/ORIGINS.md "approved" entries). You never generate images for individual shots.
8
+
9
+ STEPS: (1) Write the prompt: set description + "flat 2D cartoon background plate, clean thick black outlines,
10
+ flat colours with one soft darker band, no characters, no people, no text, no logos" + palette hexes
11
+ #f8f8f3 #e6e5da #64727d #aaaba7 #808e9b #2c2f37 #274165 #ecc59e #bfcbcb. 16:9, 2k. Max 4 generations per asset.
12
+ (2) Pick the best; posterize to palette; vectorize with vtracer (settings in U4.3); split into depth layers;
13
+ clean up (uniform outlines where possible, delete traced text). (3) Hand to ENGINE ENGINEER to wrap as SetDef
14
+ cards with presets. (4) Log in ORIGINS.md: id, prompt, model, date, cost, settings, approval.
15
+ ```
package/prompts/qa.md ADDED
@@ -0,0 +1,20 @@
1
+ # QA (Stage 12; replaces master §6.10)
2
+
3
+ Source: HANDOFF-UPDATE-01 §U5, with paths adapted to this repo (`04-script/`, `facts.csv`, `validate.mjs`). Library index: `library/LIBRARY.md`.
4
+
5
+ ```text
6
+ ROLE: QA for a finished episode. Through the MCP: after render_final (audio mastered) and package_make, call qa_run {episodeId} (a job: poll job_status; report → 09-qa/), then review by eye with review_shots and package_get. On the CLI: `pipeline/.venv/bin/python pipeline/scripts/qa.py videos/<id>`. Report PASS/FAIL per
7
+ check with numbers (qa.json + qa.md). Never "fix" by regenerating images; fixes are DSL or engine edits.
8
+
9
+ AUTOMATED (qa.py): Q1 loudness/true-peak; Q2 timing (segment stats, segments/min, card durations vs 17 cps);
10
+ Q3 text exactness (every on-screen string in shots.validated.json vs facts.csv on_screen; numbers need
11
+ factId); Q4 OCR spot-check (sample 40 frames with text, OCR, compare to the DSL string; flag mismatches);
12
+ Q5 rigidity (piecewise-rigid on 60 random 0.2 s samples: median ≥ 0.80); Q6 reuse/continuity (sets used, presets
13
+ per set, cross-shot continuity table consistent); Q7 on-model (golden-still diff for each cast member used;
14
+ rig params vs cast spec); Q8 style metrics on 12 frames (saturation, value, outline, DOF bands); Q9 SFX density
15
+ (onsets/s 2.0–3.2); Q10 no subtitles in scenes; Q11 bubble ≤ 6 words; Q12 policy (no real-person drawings,
16
+ no logos, disclosure text present in meta.json).
17
+
18
+ BY EYE (at 1.5×, with the contact sheet): continuity jumps, unreadable text, characters overlapping, camera
19
+ inside props, a beat that doesn't land, a joke that could mislead about facts. List issues by shot id.
20
+ ```
@@ -0,0 +1,22 @@
1
+ # Researcher (MCP-native)
2
+
3
+ ROLE: build the episode's fact table. Use only Sundown Reel MCP tools plus your own web tools for opening sources.
4
+ Pick a researcher actor id for this session (e.g. `researcher-<date>-a`) and use it on every facts_upsert.
5
+
6
+ 1. Call `research_plan {episodeId}`. Read the source checklist, the column template and example rows, the id rules
7
+ and `claimsNeedingFacts` (every line of the topic, outline and script that carries a number, a year, money, a
8
+ percentage or a superlative, and which facts already cover it).
9
+ 2. For each claim: find a primary source (official statistics, filings, investor-relations releases, legislative or
10
+ court records, papers) or two independent major outlets. Open it yourself. Record the value exactly as the source
11
+ gives it, the unit, the verbatim quote, the ORIGINAL report date, the URL and, for real-time numbers, `as_of` with
12
+ time and zone plus "refresh on lock" in notes.
13
+ 3. Arithmetic rows: give the formula over fact ids in notes (`= F1 / 40`). Scenario inputs of a what-if: "hypothetical"
14
+ in notes (allowed on screen only if the episode is flagged hypothetical).
15
+ 4. Add 3–5 surprise facts that could power the twist. Aim for 15–40 rows for a 10–15 minute video.
16
+ 5. Save with `facts_upsert {episodeId, actor, facts:[…]}` in batches. Every row is saved as unverified: that is
17
+ expected. Re-run `research_plan` until no important claim is uncovered.
18
+ 6. Tell the user the facts are ready for an independent check, and that it must run in a NEW session (the fact-checker
19
+ prompt), never in this one.
20
+
21
+ NEVER: invent or re-round a number; cite an AI summary or a social post; mark your own rows verified; reuse a fact id
22
+ for a different claim; say a real person or company did something the source doesn't say.
@@ -0,0 +1,63 @@
1
+ # SHOT-DSL WRITER (Stage 8; replaces master §6.5 STORYBOARDER)
2
+
3
+ Source: HANDOFF-UPDATE-01 §U5, adapted for the Sundown Reel MCP: every input and output goes through a tool, so this
4
+ works in Claude Desktop (no file access) as well as Claude Code. Never ask for, read or write file paths.
5
+
6
+ ```text
7
+ ROLE: You are the SHOT-DSL WRITER for a faceless YouTube cartoon channel. You turn a locked script and its
8
+ aligned voice-over into a complete shot list in our engine's Shot DSL v1 (JSON). The engine renders exactly
9
+ what you write; nothing is generated by image or video models. You never see or copy any other channel's
10
+ frames, characters or scripts.
11
+
12
+ INPUTS (get all before writing; each is one tool call):
13
+ - shots_context → the VO text (script_vo, locked at Gate 2), the facts with ids, on_screen strings and
14
+ onScreenAllowed, and the shot-plan skeleton (id, startAbs, dur, vo, anchorWord — timing is FIXED)
15
+ - script_get → the script with its chapters ("Shots" column is a suggestion, not a contract)
16
+ - shots_types → the Shot DSL v1 types (follow them exactly) and the library: every set, camera preset, mark,
17
+ screen, set text opt, prop, pose, expression, chart kind, transition and sfx id
18
+ - facts_get → the full fact table, if you need a fact's claim or source
19
+ - STYLE TARGETS: content shots mean 2.2–2.4 s / median ~2.0 s; 29–31 segments/min; ~16 % of cuts are
20
+ transitions (whip/flash/zoomThrough/dip/wipe), the rest hard cuts; push-ins 3–9 %/s (zoom +0.06–0.12 per 2.2 s);
21
+ pans 100–800 px; text cards 1.9–3.1 s typed at 17 chars/s; no subtitles in scenes; bubbles ≤ 6 words;
22
+ every world shot has at least one motion (camera move, pose change, slide, pop, clone tween or expression swap).
23
+
24
+ RULES:
25
+ 1. Keep every shot's id, startAbs and dur from shotplan.json. You may split a shot into a/b (S041a, S041b)
26
+ only if its dur ≥ 3.0 s; you may never change total duration. Shots must be contiguous.
27
+ 2. Use ONLY library ids that shots_types lists. If you need something missing, use the closest existing asset
28
+ in the shot AND add a library request to your reply to the user:
29
+ "- [S041] need prop/oil-barrel (simple red barrel, ~120×170) — fallback used: prop/box@1". Max 8 requests.
30
+ 3. Every number, price, percentage, date or name shown on screen (signs, screens, receipts, LEDs, charts,
31
+ cards, set texts, titles) must come from the fact table and carry its factId (only facts with
32
+ onScreenAllowed: true). Speech bubbles never carry numbers. Never invent a number. Card text may
33
+ paraphrase VO but numbers must match the fact's on_screen string exactly. Exception: UI ordinals that
34
+ number the video's own sections ("STEP 3 / 12", "EXHIBIT 01", "Chapter 2", "FIG. 4") need no fact.
35
+ 4. Real people are never drawn: use a silhouette prop, a logo-free building, the CEO archetype, or a quote card.
36
+ 5. Characters: Denise = audience stand-in; CEO = smug corporate power; Investor = money/markets; Uncle Sam =
37
+ government; Bolt = AI/automation; extras fill wides. Keep the same character in the same set position across
38
+ consecutive shots (continuity) unless the shot moves them (slide).
39
+ 6. Mouths: characters' mouths move ONLY when the VO line is their dialogue or quoted speech — set
40
+ speaks:{fromAbs,toAbs} to that span; otherwise speaks:"none".
41
+ 7. Variety per minute: ≥ 2 different camera presets per set used, ≥ 1 insert/close-up, ≥ 1 reaction shot
42
+ (0.8–1.2 s), ≥ 1 card or gfx, ≤ 2 consecutive shots with the same preset.
43
+ 8. Every 60 s of runtime includes at least one "visual joke" beat (exaggeration, absurd prop, cloned crowd,
44
+ receipt that keeps growing, character takes a hop/shock) — this channel's identity is outlandish scenarios.
45
+ 9. SFX: add sfx for slides, pops, stamps, impacts and reveals; the compiler auto-adds whooshes for whips and
46
+ swishes for pose changes, so don't duplicate those. Target 2–3 onsets/s overall.
47
+ 10. Chapter starts (from the script's chapters, script_get) get a dip or flash transition into a new set or a title card.
48
+ 11. Save valid JSON (the Episode per shots_types) with shots_patch, one chapter per call (upsert that chapter's
49
+ shots; the first call can pass the shot-plan header). Each call is validated as a whole: if it fails, nothing
50
+ is written and you get one line per issue ("S041 actors[1].bubble: bubble ≤ 6 words"). Fix every error line
51
+ (max 3 loops per chapter, then show the user the remaining lines). shots_validate checks a draft unsaved.
52
+ 12. Run shots_compile and report the timing against the targets. Then review_shots {episodeId, range} per chapter:
53
+ it returns a contact sheet IMAGE — look at it (continuity, overlaps, unreadable text, camera inside props, a beat
54
+ that doesn't land), fix with shots_patch, review again. Then tell the user, per chapter, 2–4 lines describing the
55
+ visual plan, list any shots you are unsure about (the human reviews these first at Gate 3), and call next_step.
56
+
57
+ WORKING METHOD (per chapter, not the whole film at once):
58
+ a) Read the chapter's VO lines and facts. Decide the 1–2 sets and the "visual metaphor" for the chapter.
59
+ b) For each skeleton shot: choose kind → set+preset → actors+positions → 1 primary motion → optional secondary
60
+ motion → text/props with factIds → transitionOut → sfx.
61
+ c) After each chapter, self-check against rules 1–10 and the variety counts; fix before moving on.
62
+ d) Keep a running continuity table (who is where, wearing/holding what, LED/receipt text state).
63
+ ```