@anvpx/motion 0.1.56 → 0.1.95

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 (199) hide show
  1. package/CATALOG.md +38 -14
  2. package/README.md +30 -18
  3. package/mcpb/motion-kit-0.1.95.mcpb +0 -0
  4. package/package.json +9 -9
  5. package/plugins/motion-kit/.claude-plugin/plugin.json +1 -1
  6. package/plugins/motion-kit/README.md +3 -3
  7. package/plugins/motion-kit/commands/mk-draft.md +7 -3
  8. package/plugins/motion-kit/commands/mk-new.md +4 -4
  9. package/plugins/motion-kit/commands/mk-render.md +5 -3
  10. package/plugins/motion-kit/skills/motion-kit/SKILL.md +56 -54
  11. package/plugins/motion-kit/skills/motion-kit/references/amplify.md +280 -258
  12. package/plugins/motion-kit/skills/motion-kit/references/authoring-scene.md +60 -9
  13. package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +68 -67
  14. package/plugins/motion-kit/skills/motion-kit/references/craft-color.md +17 -4
  15. package/plugins/motion-kit/skills/motion-kit/references/craft-composition.md +1 -1
  16. package/plugins/motion-kit/skills/motion-kit/references/craft-critique.md +9 -1
  17. package/plugins/motion-kit/skills/motion-kit/references/craft-motion.md +45 -2
  18. package/plugins/motion-kit/skills/motion-kit/references/craft-narrative.md +7 -0
  19. package/plugins/motion-kit/skills/motion-kit/references/craft-sound.md +98 -22
  20. package/plugins/motion-kit/skills/motion-kit/references/craft-type.md +4 -0
  21. package/plugins/motion-kit/skills/motion-kit/references/critique-repair.md +42 -6
  22. package/plugins/motion-kit/skills/motion-kit/references/design-taste.md +119 -0
  23. package/plugins/motion-kit/skills/motion-kit/references/direction.md +93 -39
  24. package/plugins/motion-kit/skills/motion-kit/references/free-storyboard.md +6 -6
  25. package/plugins/motion-kit/skills/motion-kit/references/index.md +19 -5
  26. package/plugins/motion-kit/skills/motion-kit/references/intake.md +73 -17
  27. package/plugins/motion-kit/skills/motion-kit/references/knowledge-routing.md +10 -4
  28. package/plugins/motion-kit/skills/motion-kit/references/longform.md +2 -2
  29. package/plugins/motion-kit/skills/motion-kit/references/patching.md +1 -0
  30. package/plugins/motion-kit/skills/motion-kit/references/patterns.md +4 -4
  31. package/plugins/motion-kit/skills/motion-kit/references/quality-bar.md +110 -13
  32. package/plugins/motion-kit/skills/motion-kit/references/review.md +17 -17
  33. package/plugins/motion-kit/skills/motion-kit/references/scene-recipes.md +168 -111
  34. package/plugins/motion-kit/skills/motion-kit/references/slop.md +46 -46
  35. package/plugins/motion-kit/skills/motion-kit/references/storyboard-json.md +26 -26
  36. package/plugins/motion-kit/skills/motion-kit/references/themes.md +21 -12
  37. package/plugins/motion-kit/skills/motion-kit/references/troubleshooting.md +81 -81
  38. package/plugins/motion-kit/skills/motion-kit/references/visual-forms.md +88 -0
  39. package/plugins/motion-kit/skills/motion-kit/references/voice.md +66 -40
  40. package/plugins/motion-kit/skills/motion-kit/references/worked-decisions.md +88 -1
  41. package/plugins/motion-kit/skills/motion-kit/references/world-design.md +145 -0
  42. package/shared/themes/bold-dark.json +18 -1
  43. package/shared/themes/bold-light.json +18 -1
  44. package/shared/themes/calm-dark.json +19 -2
  45. package/shared/themes/calm-light.json +19 -2
  46. package/shared/themes/successors/README.md +17 -0
  47. package/shared/themes/successors/bold-dark-v2.json +293 -0
  48. package/shared/themes/successors/bold-light-v2.json +386 -0
  49. package/shared/themes/successors/calm-dark-v2.json +293 -0
  50. package/shared/themes/successors/calm-light-v2.json +386 -0
  51. package/shared/themes/successors/data-dark-v2.json +264 -0
  52. package/shared/themes/successors/data-light-v2.json +357 -0
  53. package/shared/themes/successors/editorial-dark-v2.json +293 -0
  54. package/shared/themes/successors/editorial-light-v2.json +387 -0
  55. package/shared/themes/successors/fjord-dark-v2.json +293 -0
  56. package/shared/themes/successors/fjord-light-v2.json +386 -0
  57. package/shared/themes/successors/playful-dark-v2.json +293 -0
  58. package/shared/themes/successors/playful-light-v2.json +386 -0
  59. package/shared/themes/successors/pop-dark-v2.json +273 -0
  60. package/shared/themes/successors/pop-light-v2.json +366 -0
  61. package/shared/themes/successors/tech-dark-v2.json +288 -0
  62. package/shared/themes/successors/tech-light-v2.json +381 -0
  63. package/shared/themes/successors/warm-dark-v2.json +293 -0
  64. package/shared/themes/successors/warm-light-v2.json +386 -0
  65. package/shared/themes/tech-dark.json +19 -9
  66. package/shared/themes/tech-light.json +19 -9
  67. package/skills/motion-kit/SKILL.md +56 -54
  68. package/skills/motion-kit/references/amplify.md +280 -258
  69. package/skills/motion-kit/references/authoring-scene.md +60 -9
  70. package/skills/motion-kit/references/common-mistakes.md +68 -67
  71. package/skills/motion-kit/references/craft-color.md +17 -4
  72. package/skills/motion-kit/references/craft-composition.md +1 -1
  73. package/skills/motion-kit/references/craft-critique.md +9 -1
  74. package/skills/motion-kit/references/craft-motion.md +45 -2
  75. package/skills/motion-kit/references/craft-narrative.md +7 -0
  76. package/skills/motion-kit/references/craft-sound.md +98 -22
  77. package/skills/motion-kit/references/craft-type.md +4 -0
  78. package/skills/motion-kit/references/critique-repair.md +42 -6
  79. package/skills/motion-kit/references/design-taste.md +119 -0
  80. package/skills/motion-kit/references/direction.md +93 -39
  81. package/skills/motion-kit/references/free-storyboard.md +6 -6
  82. package/skills/motion-kit/references/index.md +19 -5
  83. package/skills/motion-kit/references/intake.md +73 -17
  84. package/skills/motion-kit/references/knowledge-routing.md +10 -4
  85. package/skills/motion-kit/references/longform.md +2 -2
  86. package/skills/motion-kit/references/patching.md +1 -0
  87. package/skills/motion-kit/references/patterns.md +4 -4
  88. package/skills/motion-kit/references/quality-bar.md +110 -13
  89. package/skills/motion-kit/references/review.md +17 -17
  90. package/skills/motion-kit/references/scene-recipes.md +168 -111
  91. package/skills/motion-kit/references/slop.md +46 -46
  92. package/skills/motion-kit/references/storyboard-json.md +26 -26
  93. package/skills/motion-kit/references/themes.md +21 -12
  94. package/skills/motion-kit/references/troubleshooting.md +81 -81
  95. package/skills/motion-kit/references/visual-forms.md +88 -0
  96. package/skills/motion-kit/references/voice.md +66 -40
  97. package/skills/motion-kit/references/worked-decisions.md +88 -1
  98. package/skills/motion-kit/references/world-design.md +145 -0
  99. package/templates/compare/blueprints/versus.json +40 -35
  100. package/templates/compare/copy.md +4 -2
  101. package/templates/compare/previews/versus.png +0 -0
  102. package/templates/compare/styles/punchy.json +1 -1
  103. package/templates/datastory/blueprints/data-story.json +32 -8
  104. package/templates/datastory/blueprints/infographic.json +12 -34
  105. package/templates/datastory/blueprints/trend.json +31 -7
  106. package/templates/datastory/copy.md +4 -2
  107. package/templates/datastory/pacing.json +3 -0
  108. package/templates/datastory/previews/data-story.png +0 -0
  109. package/templates/datastory/previews/infographic.png +0 -0
  110. package/templates/datastory/previews/trend.png +0 -0
  111. package/templates/datastory/styles/clear.json +1 -1
  112. package/templates/datastory/styles/pop.json +1 -2
  113. package/templates/datastory/template.json +2 -2
  114. package/templates/event/blueprints/promo.json +18 -10
  115. package/templates/event/blueprints/save-the-date.json +14 -8
  116. package/templates/event/copy.md +2 -1
  117. package/templates/event/pacing.json +1 -0
  118. package/templates/event/previews/promo.png +0 -0
  119. package/templates/event/previews/save-the-date.png +0 -0
  120. package/templates/event/template.json +3 -3
  121. package/templates/explain/blueprints/architecture.json +43 -3
  122. package/templates/explain/blueprints/concept.json +50 -32
  123. package/templates/explain/blueprints/howto.json +3 -1
  124. package/templates/explain/blueprints/overview.json +11 -1
  125. package/templates/explain/copy.md +3 -1
  126. package/templates/explain/pacing.json +2 -1
  127. package/templates/explain/previews/architecture.png +0 -0
  128. package/templates/explain/previews/concept.png +0 -0
  129. package/templates/explain/previews/howto.png +0 -0
  130. package/templates/explain/previews/overview.png +0 -0
  131. package/templates/explain/styles/crisp.json +1 -1
  132. package/templates/explain/template.json +1 -0
  133. package/templates/guide/blueprints/lesson.json +47 -15
  134. package/templates/guide/blueprints/onboarding.json +27 -2
  135. package/templates/guide/blueprints/tutorial.json +6 -1
  136. package/templates/guide/copy.md +3 -0
  137. package/templates/guide/pacing.json +5 -0
  138. package/templates/guide/previews/lesson.png +0 -0
  139. package/templates/guide/previews/onboarding.png +0 -0
  140. package/templates/guide/previews/tutorial.png +0 -0
  141. package/templates/guide/styles/friendly.json +1 -1
  142. package/templates/guide/styles/techdark.json +2 -2
  143. package/templates/guide/template.json +13 -2
  144. package/templates/pitch/blueprints/feature.json +1 -1
  145. package/templates/pitch/blueprints/launch.json +3 -6
  146. package/templates/pitch/blueprints/pricing.json +24 -1
  147. package/templates/pitch/copy.md +2 -1
  148. package/templates/pitch/previews/feature.png +0 -0
  149. package/templates/pitch/previews/launch.png +0 -0
  150. package/templates/pitch/previews/pricing.png +0 -0
  151. package/templates/pitch/styles/teaser.json +1 -1
  152. package/templates/recap/blueprints/news-recap.json +44 -10
  153. package/templates/recap/blueprints/timeline-story.json +15 -5
  154. package/templates/recap/copy.md +2 -1
  155. package/templates/recap/previews/news-recap.png +0 -0
  156. package/templates/recap/previews/timeline-story.png +0 -0
  157. package/templates/report/blueprints/kpi-review.json +13 -2
  158. package/templates/report/blueprints/status.json +18 -8
  159. package/templates/report/copy.md +1 -1
  160. package/templates/report/previews/kpi-review.png +0 -0
  161. package/templates/report/previews/status.png +0 -0
  162. package/templates/report/styles/exec.json +1 -1
  163. package/templates/report/styles/memo.json +1 -1
  164. package/templates/social/blueprints/announce.json +22 -7
  165. package/templates/social/blueprints/listicle.json +19 -7
  166. package/templates/social/blueprints/tip.json +3 -0
  167. package/templates/social/copy.md +1 -0
  168. package/templates/social/previews/announce.png +0 -0
  169. package/templates/social/previews/listicle.png +0 -0
  170. package/templates/social/previews/tip.png +0 -0
  171. package/templates/social/styles/hook-first.json +1 -1
  172. package/templates/social/styles/techcut.json +1 -1
  173. package/templates/social/template.json +1 -1
  174. package/templates/update/blueprints/announcement.json +64 -36
  175. package/templates/update/blueprints/changelog.json +4 -0
  176. package/templates/update/blueprints/release-notes.json +5 -1
  177. package/templates/update/blueprints/weekly-update.json +76 -56
  178. package/templates/update/copy.md +3 -1
  179. package/templates/update/previews/announcement.png +0 -0
  180. package/templates/update/previews/changelog.png +0 -0
  181. package/templates/update/previews/release-notes.png +0 -0
  182. package/templates/update/previews/weekly-update.png +0 -0
  183. package/templates/update/styles/techdark.json +1 -1
  184. package/templates/update/template.json +2 -0
  185. package/templates/vista/blueprints/spotlight.json +56 -19
  186. package/templates/vista/blueprints/tour.json +65 -32
  187. package/templates/vista/copy.md +2 -1
  188. package/templates/vista/pacing.json +2 -1
  189. package/templates/vista/previews/spotlight.png +0 -0
  190. package/templates/vista/previews/tour.png +0 -0
  191. package/templates/vista/styles/bright.json +1 -1
  192. package/templates/vista/styles/cinematic.json +1 -1
  193. package/templates/vista/template.json +5 -5
  194. package/templates/walkthrough/blueprints/product-tour.json +48 -67
  195. package/templates/walkthrough/copy.md +4 -1
  196. package/templates/walkthrough/pacing.json +1 -0
  197. package/templates/walkthrough/previews/product-tour.png +0 -0
  198. package/templates/walkthrough/template.json +2 -2
  199. package/mcpb/motion-kit-0.1.56.mcpb +0 -0
package/CATALOG.md CHANGED
@@ -7,16 +7,16 @@ Generated by `mk catalog --write` from the scene registry; do not edit. Read the
7
7
  ```
8
8
  type | layer | purpose | required
9
9
  title | base | Opening or section title card with optional kicker and subtitle. | title
10
- hero | base | Landing-page hero: kicker, big headline with [x] accents, subline and up to 4 glass tiles; bento or centered. | title
11
- poster | base | Type-led statement: 1-3 oversized lines with [x] accents, optional kicker and foot; outline draws the last line as outline type and accent words keep their gradient fill. | lines
10
+ hero | base | Landing-page hero: kicker, big headline with [x] accents, subline and up to 4 tiles; bento or centered. | title
11
+ poster | base | Type-led statement: 1-3 oversized lines with [x] accents, optional kicker and foot; outline draws the last line as outline type and accent words stay solid ink. | lines
12
12
  bullets | base | Short list of 1-6 points with an optional heading. | items
13
13
  stat | base | One hero number with label, unit, delta and context; counts up. | value,label
14
- flow | base | Node-and-arrow diagram (2-8 nodes) laid out left-right or top-bottom. | nodes,edges
15
- outro | base | Closing card on a deep ground (its own dark gradient, whatever the theme): title, up to 3 lines and up to 4 credits. | title
14
+ flow | base | Node-and-arrow diagram (2-8 nodes) laid out left-right or top-bottom, with an optional statement title above the chain: the point the diagram proves, not a label. | nodes,edges
15
+ outro | base | Closing beat on a horizon ground (its own deep sky and ground plane, whatever the theme): title, up to 3 lines and up to 4 credits. No decorative arcs. | title
16
16
  lower-third | overlay | Name plate with optional title at the lower edge. | name
17
17
  bug | overlay | Corner word mark or ledger image; give exactly one of text or image. | -
18
18
  progress | overlay | Thin progress bar over the scene or the whole timeline. | -
19
- countdown | overlay | Integer count between from and to, one step per equal slice of the duration. | from,to
19
+ countdown | overlay | A real countdown: the remaining count, the event it ends on, and one tick per step so the viewer can see where in the sequence it is. | from,to
20
20
  chapter | overlay | Numbered chapter chip in a corner. | number,label
21
21
  caption | overlay | Voice word timings as karaoke captions; falls back to a full-text card. | -
22
22
  compare | base | Two options side by side or wiped before/after, 1-5 points each; the winner is marked by icon and text. | left,right
@@ -32,9 +32,10 @@ kpi-grid | base | 2-6 headline numbers side by side, each with label, unit, chan
32
32
  chart | base | Animated bar, line or donut chart for ranking, trend or share, with values shown and an optional highlight. | kind
33
33
  stair | base | Two series over time: compound growth as annual steps and the same deposit earning simple interest as a straight line, with the year the gap reaches one deposit marked. | title
34
34
  table | base | Small data table or ranked list (2-5 columns, 2-8 rows) with row-by-row reveal and one optional highlighted row. | columns,rows
35
- scene3d | base | WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|bare (where the copy lives), camera orbit|dolly|crane|push|macro|high|low|static, depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), plus post/light/hdri and model knot|gem|cut|sphere|torus. The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable. | -
35
+ scene3d | base | WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front|apart (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|full|plate|bare (where the copy lives), camera orbit|dolly|crane|push|macro|tele|high|low|pan|tilt|static, bokeh off|subtle|strong (WebGL only), depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), look real|ink (ink = WebGL NPR pass: depth silhouette + crease edges, paper tint, focus fade; the flat 2D path approximates with a paper ground and a heavier pen), plus post/light/hdri and model knot|gem|cut|sphere|torus|phone (phone = a phone-proportioned layered device: parametric slabs with a front-facing screen — bezel, glass and a notch/island — an app-grid display with earpiece+selfie, power/volume side buttons, a 3-lens camera module with flash, bottom-edge charging port/speaker/mic with a light port surround, a hollow mid-frame chassis around a smaller nested logic board and distinct per-layer finishes, so front, back and teardown beats read as a phone at a glance). The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable. | -
36
36
  sticker | base | Pop-comic sticker slam: 1-5 short phrases slam in with outline type, tilt and a starburst; for hooks, myth-vs-fact and punchy shorts. | words
37
37
  waveform | base | Audio waveform from precomputed peaks: bars rise as the playhead sweeps; for voice agents, podcasts and narrated reports. Peaks are storyboard data, never decoded audio. | peaks
38
+ world | base | Designed environment with integrated type: pick terrain coast|desert|forest|city|interior|space and time dawn|day|dusk|night|storm; deterministic sky, horizon, ground, weather and parallax, no stock asset and no named subject. Add `objects` (up to three families: pine, rock, boat, gull, crate, piling) with `density` sparse|rich to populate the place from the shared object runtime; empty by default, so existing boards are unchanged. Give `stops` (2-4 labels) to draw a mechanism as a lit path of labelled posts across the ground, or `balance` (two 1-3 item lists plus an optional verdict) to stand a ledger of what arrives against what leaves in the same place. Use it for an opening, a mechanism, a comparison, a turn or a closing beat. | title
38
39
  Detail: `mk catalog <type>`. Props are strict; unlisted keys are rejected.
39
40
  ```
40
41
 
@@ -49,7 +50,7 @@ props: {"title":"Hello"}
49
50
  ```
50
51
 
51
52
  ```
52
- hero (base): Landing-page hero: kicker, big headline with [x] accents, subline and up to 4 glass tiles; bento or centered.
53
+ hero (base): Landing-page hero: kicker, big headline with [x] accents, subline and up to 4 tiles; bento or centered.
53
54
  title * text<=70
54
55
  subtitle text<=120
55
56
  kicker text<=28
@@ -59,7 +60,7 @@ props: {"title":"Design at the [speed] of thought","layout":"bento"}
59
60
  ```
60
61
 
61
62
  ```
62
- poster (base): Type-led statement: 1-3 oversized lines with [x] accents, optional kicker and foot; outline draws the last line as outline type and accent words keep their gradient fill.
63
+ poster (base): Type-led statement: 1-3 oversized lines with [x] accents, optional kicker and foot; outline draws the last line as outline type and accent words stay solid ink.
63
64
  lines * text<=38[1..3]
64
65
  kicker text<=28
65
66
  foot text<=60
@@ -83,11 +84,13 @@ stat (base): One hero number with label, unit, delta and context; counts up.
83
84
  unit text
84
85
  delta text
85
86
  context text
87
+ exact boolean
86
88
  props: {"value":42,"label":"Users"}
87
89
  ```
88
90
 
89
91
  ```
90
- flow (base): Node-and-arrow diagram (2-8 nodes) laid out left-right or top-bottom.
92
+ flow (base): Node-and-arrow diagram (2-8 nodes) laid out left-right or top-bottom, with an optional statement title above the chain: the point the diagram proves, not a label.
93
+ title text<=64
91
94
  nodes * {id,label}[2..8]
92
95
  edges * {from,to,label}[]
93
96
  direction lr|tb = "lr"
@@ -95,7 +98,7 @@ props: {"nodes":[{"id":"a","label":"A"},{"id":"b","label":"B"}],"edges":[{"from"
95
98
  ```
96
99
 
97
100
  ```
98
- outro (base): Closing card on a deep ground (its own dark gradient, whatever the theme): title, up to 3 lines and up to 4 credits.
101
+ outro (base): Closing beat on a horizon ground (its own deep sky and ground plane, whatever the theme): title, up to 3 lines and up to 4 credits. No decorative arcs.
99
102
  title * text
100
103
  lines text[..3]
101
104
  credits text[..4]
@@ -128,7 +131,7 @@ props: {}
128
131
  ```
129
132
 
130
133
  ```
131
- countdown (overlay): Integer count between from and to, one step per equal slice of the duration.
134
+ countdown (overlay): A real countdown: the remaining count, the event it ends on, and one tick per step so the viewer can see where in the sequence it is.
132
135
  from * int 0..999
133
136
  to * int 0..999
134
137
  label text
@@ -160,6 +163,8 @@ compare (base): Two options side by side or wiped before/after, 1-5 points each;
160
163
  verdict text<=80
161
164
  winner left|right
162
165
  winnerLabel text<=20 = "Winner"
166
+ locale text<=35 = "en-US"
167
+ targets {id,role}[..2]
163
168
  props: {"left":{"label":"Before","points":["Manual"]},"right":{"label":"After","points":["Automated"]},"winner":"right"}
164
169
  ```
165
170
 
@@ -242,7 +247,7 @@ props: {"lines":["const total = price * 2","- old line","+ new line"],"lang":"js
242
247
  ```
243
248
  kpi-grid (base): 2-6 headline numbers side by side, each with label, unit, change and trend arrow (good=down when a fall is good); values count up.
244
249
  title text
245
- items* {value,label,unit,delta,trend,good}[2..6]
250
+ items* {value,label,unit,delta,trend,good,exact}[2..6]
246
251
  cols int 2..3
247
252
  props: {"title":"Quarter at a glance","items":[{"value":"$4.2M","label":"Revenue","delta":"+12%","trend":"up"},{"value":86,"unit":"%","label":"Retention","delta":"-2 pts","trend":"down"}]}
248
253
  ```
@@ -289,15 +294,17 @@ props: {"title":"Top regions","columns":["Region","Revenue"],"rows":[["North","$
289
294
  ```
290
295
 
291
296
  ```
292
- scene3d (base): WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|bare (where the copy lives), camera orbit|dolly|crane|push|macro|high|low|static, depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), plus post/light/hdri and model knot|gem|cut|sphere|torus. The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable.
297
+ scene3d (base): WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front|apart (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|full|plate|bare (where the copy lives), camera orbit|dolly|crane|push|macro|tele|high|low|pan|tilt|static, bokeh off|subtle|strong (WebGL only), depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), look real|ink (ink = WebGL NPR pass: depth silhouette + crease edges, paper tint, focus fade; the flat 2D path approximates with a paper ground and a heavier pen), plus post/light/hdri and model knot|gem|cut|sphere|torus|phone (phone = a phone-proportioned layered device: parametric slabs with a front-facing screen — bezel, glass and a notch/island — an app-grid display with earpiece+selfie, power/volume side buttons, a 3-lens camera module with flash, bottom-edge charging port/speaker/mic with a light port surround, a hollow mid-frame chassis around a smaller nested logic board and distinct per-layer finishes, so front, back and teardown beats read as a phone at a glance). The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable.
293
298
  title text<=60
294
299
  caption text<=140
295
300
  model text
296
301
  post clean|bloom|cinematic|vintage = "cinematic"
302
+ look real|ink = "real"
297
303
  light studio|sunset|night|soft|sweep = "studio"
298
304
  material clay|gloss|metal|emissive|glass|wire = "clay"
299
305
  hdri neutral|studio|sunset|night = "neutral"
300
- camera orbit|dolly|crane|push|macro|tele|high|low|static = "orbit"
306
+ camera orbit|dolly|crane|push|macro|tele|high|low|pan|tilt|static = "orbit"
307
+ bokeh off|subtle|strong = "off"
301
308
  depth single|layer|tunnel = "single"
302
309
  volumetric off|soft|dense = "off"
303
310
  reflector off|gloss|mirror = "off"
@@ -326,3 +333,20 @@ waveform (base): Audio waveform from precomputed peaks: bars rise as the playhea
326
333
  label text<=40
327
334
  props: {"peaks":[0.2,0.4,0.6,0.8,0.6,0.4,0.3,0.5,0.7,0.9,0.7,0.5,0.4,0.3,0.2,0.1],"label":"Intro"}
328
335
  ```
336
+
337
+ ```
338
+ world (base): Designed environment with integrated type: pick terrain coast|desert|forest|city|interior|space and time dawn|day|dusk|night|storm; deterministic sky, horizon, ground, weather and parallax, no stock asset and no named subject. Add `objects` (up to three families: pine, rock, boat, gull, crate, piling) with `density` sparse|rich to populate the place from the shared object runtime; empty by default, so existing boards are unchanged. Give `stops` (2-4 labels) to draw a mechanism as a lit path of labelled posts across the ground, or `balance` (two 1-3 item lists plus an optional verdict) to stand a ledger of what arrives against what leaves in the same place. Use it for an opening, a mechanism, a comparison, a turn or a closing beat.
339
+ title * text<=64
340
+ kicker text<=28
341
+ subtitle text<=120
342
+ terrain coast|desert|forest|city|interior|ocean|space = "coast"
343
+ time dawn|day|dusk|night|storm = "dusk"
344
+ layout overlay|lower|center = "overlay"
345
+ subject none|lighthouse = "none"
346
+ objects pine|rock|boat|gull|crate|piling[..3] = []
347
+ density sparse|rich = "sparse"
348
+ stops text<=40[2..4]
349
+ balance {left,right,verdict}
350
+ targets {id,role}[..1]
351
+ props: {"title":"The light does not wait","terrain":"coast","time":"dusk","layout":"overlay"}
352
+ ```
package/README.md CHANGED
@@ -11,8 +11,8 @@ brief ──► direction ──► storyboard.json ──► validate ──►
11
11
 
12
12
  - **A small production document with room for original design.** Storyboards are diffable, reviewable and patchable JSON. Use catalog components where they fit, or author deterministic HTML/CSS/JS scenes for original compositions through the same build and approval path.
13
13
  - **Deterministic by construction.** Every scene is a pure function of time (`seek(t)`): no frame-rate clock, no unseeded randomness. Same-machine drafts are byte-identical.
14
- - **A real approval gate.** `mk preview` writes a review pack, `mk approve` records the user's yes, and `mk render --gated` refuses with exit 4 until the recorded approval matches the current inputs. Any edit re-arms it.
15
- - **Local and offline.** Rendering, linting, contact sheets and voice run on your machine. Confidential decks stay on disk.
14
+ - **An honest approval gate.** `mk preview` writes a review pack, `mk approve` records the approval of those exact inputs, and `mk render --gated` refuses with exit 4 until a human-labelled approval matches the current inputs. Only an interactive terminal can label a receipt human; any edit re-arms the gate. A recorded `interaction.json` (`mk interaction record`) is one of those inputs: editing it re-arms the gate like editing a scene.
15
+ - **Local rendering, no cloud service.** Rendering, linting, previewing and contact sheets run on your machine; confidential decks stay on disk. Optional voice setup downloads Kokoro assets and a GPL-3.0 phonemizer on first use and is unavailable on macOS — the engine itself never sends anything to a cloud service.
16
16
 
17
17
  ## Requirements
18
18
 
@@ -20,7 +20,7 @@ brief ──► direction ──► storyboard.json ──► validate ──►
20
20
  - **ffmpeg** and **ffprobe** >= 6 on `PATH`
21
21
  - Chrome for HyperFrames: `mk doctor` reports it; the first render downloads `chrome-headless-shell` if it is missing
22
22
 
23
- Optional voice needs Python 3.12 plus Kokoro/faster-whisper; `mk doctor` tells you what is missing. The engine itself needs no Python.
23
+ Optional voice needs Python 3.12 plus Kokoro/faster-whisper; on first use it downloads Kokoro assets and a GPL-3.0 phonemizer into a local cache, and this path is not available on macOS. `mk doctor` tells you what is missing. The engine itself needs no Python. See `docs/VOICE-SUPPORT.md` for the supported-platform matrix and the exact early refusals.
24
24
 
25
25
  ## Quickstart
26
26
 
@@ -34,6 +34,10 @@ function mk { npx -y @anvpx/motion@latest @args } # PowerShell
34
34
  # Optional template-assisted example, after deciding the visual direction:
35
35
  mk template list --for "how our pricing works"
36
36
  mk new explain/architecture --demo --out storyboard.json # --demo = example copy; --set k=v for yours
37
+ # NOTE: built-in catalog presets are gated (S8: no observed proof); `mk new` on a
38
+ # built-in returns exit 2 today. Use the direct route instead:
39
+ # mk catalog -> write storyboard.json -> mk validate storyboard.json
40
+ # or an authored scene (`mk scene new <id>`). Authored/project templates are not gated.
37
41
  mk validate storyboard.json
38
42
  mk preview storyboard.json
39
43
  mk approve storyboard.json --note "looks right" # only after the user said yes
@@ -44,7 +48,7 @@ mk render storyboard.json --gated --verify
44
48
 
45
49
  ## What you get
46
50
 
47
- - **28 scene types** — title, bullets, stat, flow, chart, compare, timeline, code, scene3d and more. `mk catalog` lists them; `mk catalog <type>` shows the props.
51
+ - **30 scene types** — title, bullets, stat, flow, chart, compare, timeline, code, scene3d and more. `mk catalog` lists them; `mk catalog <type>` shows the props.
48
52
  - **12 templates and 30 blueprints** — `mk template list --for "<brief>"` ranks blueprints; `mk template show <template>/<blueprint>` explains one.
49
53
  - **Shared themes** — light/dark families projected from DTCG tokens, plus user themes and vendored assets with a licence ledger.
50
54
  - **Edits as verbs** — `mk patch` (atomic JSON Patch), `mk scene add|remove|move`, `mk fit --seconds N`.
@@ -64,9 +68,9 @@ The agent first develops a visual argument in an authoring-only `direction.md`:
64
68
  **Claude Desktop — one file.** `npx -y @anvpx/motion@latest desktop` writes
65
69
  `motion-kit-<version>.mcpb` into the current folder. Open it (double-click, or drag it onto
66
70
  Desktop), answer the two settings, and the nine tools appear. The bundle carries **no engine**:
67
- every tool runs `npx -y @anvpx/motion@latest`, so the engine tracks new releases on its own; pin a
68
- version in the extension settings when you need reproducible output. The archive is not code-signed,
69
- so Desktop may ask you to confirm it.
71
+ each tool runs the engine pinned to the bundle's release; `@latest` is available as a warned opt-in
72
+ in the extension settings, not an automatic update. The archive is not code-signed, so Desktop may
73
+ ask you to confirm it.
70
74
 
71
75
  Tools: `mk_version`, `mk_doctor`, `mk_catalog`, `mk_new`, `mk_validate`, `mk_still`, `mk_preview`,
72
76
  `mk_approve`, `mk_render` — each is the CLI command of the same name, and `mk_render` always
@@ -78,6 +82,8 @@ passes `--gated`.
78
82
  claude plugin install motion-kit --marketplace <path to this repo>
79
83
  ```
80
84
 
85
+ This is a **self-hosted local-path marketplace** — a directory you control, not an official listing. A local-path install of 0.1.94 was qualified (R19/R21); official marketplace listing is NOT_RUN.
86
+
81
87
  Inside a session the same thing is two lines: `/plugin marketplace add <path>` then
82
88
  `/plugin install motion-kit@motion-kit`. For one session without a marketplace:
83
89
  `npx -y @anvpx/motion@latest plugin install --out ./motion-kit-plugin` then
@@ -91,13 +97,13 @@ Inside a session the same thing is two lines: `/plugin marketplace add <path>` t
91
97
 
92
98
  ## Updates
93
99
 
94
- | surface | follows new releases | how |
95
- | ------------------------------ | -------------------- | --------------------------------------------------------------------------------------------------------------------------- |
96
- | CLI (`npx -y ...@latest`) | yes | the dist-tag is resolved on every run |
97
- | Desktop bundle | engine yes, bundle no | every tool runs `@latest`; Desktop has no extension auto-update, so open a newer `.mcpb` only when the tool list changes |
98
- | Claude Code plugin, local path | yes | the marketplace reads the folder in place; edits apply at the next session start or `/reload-plugins` |
99
- | Claude Code plugin, git source | when you update | third-party marketplaces default to no auto-update: turn it on under `/plugin` → Marketplaces, or run `claude plugin update` |
100
- | `--plugin-dir` folder, skills | no | they pin `@<x.y.z>` on purpose; re-run `mk plugin install` after a release |
100
+ | surface | follows new releases | how |
101
+ | ------------------------------ | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
102
+ | CLI (`npx -y ...@latest`) | yes | the dist-tag is resolved on every run |
103
+ | Desktop bundle | engine on setting change | the engine is pinned by default; Desktop has no extension auto-update, so open a newer `.mcpb` for a newer engine or tool list |
104
+ | Claude Code plugin, local path | yes | the marketplace reads the folder in place; edits apply at the next session start or `/reload-plugins` |
105
+ | Claude Code plugin, git source | when you update | third-party marketplaces default to no auto-update: turn it on under `/plugin` → Marketplaces, or run `claude plugin update` |
106
+ | `--plugin-dir` folder, skills | no | they pin `@<x.y.z>` on purpose; re-run `mk plugin install` after a release |
101
107
 
102
108
  ## The approval gate
103
109
 
@@ -107,13 +113,19 @@ mk preview → user reviews contact.png / stills / clip → mk approve →
107
113
 
108
114
  `mk render --gated` exits **4** (`AWAITING_APPROVAL`) when the storyboard, its themes, referenced assets, asset ledger or audio inputs changed after the approval. `mk verify` exits **5** on a failed QA check. Approval is a sidecar file in `.mk/<name>/approval.json`; it is never a storyboard field.
109
115
 
116
+ The honest promise is narrower than "a human said yes":
117
+
118
+ - The gate proves the approved inputs are unchanged. It authenticates bytes, not an approver.
119
+ - Only an interactive terminal with no agent marker can label an approval `"human"`. An agent or non-interactive caller is refused (exit 2); `mk approve --automation` writes `approvalKind: "automated"`, which `mk render --gated` always refuses (exit 4).
120
+ - Deliberate local forgery is out of scope: a same-user process can still write the sidecar or allocate a pseudo-terminal.
121
+
110
122
  ## Limits (honest version)
111
123
 
112
- - No GUI, editor or scrubbing player. The review surface is the preview pack plus `mk publish`.
124
+ - No GUI authoring surface and no editor. The review surface is the preview pack plus the published viewer from `mk publish`. The plain viewer's input is transport only (play/pause, scrub, restart, speed, loop, fullscreen, keyboard and pointer parallax); `mk publish --interactive` exposes scene-declared targets, records semantic input as `interaction.json`, replays a saved transcript from `viewer.html?interaction=interaction.json` (same origin), and `mk render --interaction` folds that same transcript back into the video.
113
125
  - Delivery is opaque video: MP4 by default, or WebM/MOV/GIF/PNG-sequence conversions of the master. No alpha channel and no HDR path.
114
- - Captions are generated from voice word timings or imported SRT/VTT; word-level karaoke needs a voice manifest.
115
- - Voice is optional and needs a Python 3.12 environment; it is not reachable from `npx` alone.
116
- - Determinism is proven on the same machine. Cross-machine or cross-GPU pixel equality is not claimed.
126
+ - Captions are generated from voice word timings or imported SRT/VTT; word-level karaoke needs a voice manifest. Without word timings, `mk captions` refuses with the fix (`docs/VOICE-SUPPORT.md`).
127
+ - Voice is optional and needs a Python 3.12 environment; it is not reachable from `npx` alone. Supported on Windows/Linux; macOS is unavailable — see `docs/VOICE-SUPPORT.md`.
128
+ - Determinism is opt-in (`mk verify --determinism`) and proven on the same machine only. Cross-machine or cross-GPU pixel equality is not claimed.
117
129
  - Pre-1.0: HyperFrames 0.8.212 and the single storyboard schema are pinned; the scene vocabulary can still change.
118
130
 
119
131
  ## Development (from source)
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvpx/motion",
3
- "version": "0.1.56",
3
+ "version": "0.1.95",
4
4
  "description": "Storyboard JSON to animated video, rendered locally with HyperFrames: the mk CLI plus the full pipeline.",
5
5
  "license": "MIT",
6
6
  "author": "anvpx",
@@ -57,14 +57,14 @@
57
57
  "@fontsource/jetbrains-mono": "5.3.0",
58
58
  "@fontsource/source-serif-4": "5.3.1",
59
59
  "@fontsource/space-grotesk": "5.3.0",
60
- "@anvpx/motion-assets": "0.1.56",
61
- "@anvpx/motion-audio": "0.1.56",
62
- "@anvpx/motion-build": "0.1.56",
63
- "@anvpx/motion-cli": "0.1.56",
64
- "@anvpx/motion-scenes": "0.1.56",
65
- "@anvpx/motion-schema": "0.1.56",
66
- "@anvpx/motion-templates": "0.1.56",
67
- "@anvpx/motion-themes": "0.1.56",
60
+ "@anvpx/motion-assets": "0.1.95",
61
+ "@anvpx/motion-audio": "0.1.95",
62
+ "@anvpx/motion-build": "0.1.95",
63
+ "@anvpx/motion-cli": "0.1.95",
64
+ "@anvpx/motion-scenes": "0.1.95",
65
+ "@anvpx/motion-schema": "0.1.95",
66
+ "@anvpx/motion-templates": "0.1.95",
67
+ "@anvpx/motion-themes": "0.1.95",
68
68
  "hyperframes": "0.8.212",
69
69
  "postprocessing": "6.39.5",
70
70
  "three": "0.186.0",
@@ -10,5 +10,5 @@
10
10
  "license": "MIT",
11
11
  "name": "motion-kit",
12
12
  "repository": "https://www.npmjs.com/package/@anvpx/motion",
13
- "version": "0.1.56"
13
+ "version": "0.1.95"
14
14
  }
@@ -1,6 +1,6 @@
1
1
  # motion-kit Claude Code plugin
2
2
 
3
- Plugin root: `plugins/motion-kit/`. `npx -y @anvpx/motion@0.1.56 plugin install` copies
3
+ Plugin root: `plugins/motion-kit/`. `npx -y @anvpx/motion@0.1.95 plugin install` copies
4
4
  this exact folder; a Claude Code user installs it from a marketplace instead.
5
5
 
6
6
  ## Install
@@ -22,7 +22,7 @@ Inside a session the same thing is two commands:
22
22
  Without a marketplace, for one session:
23
23
 
24
24
  ```bash
25
- npx -y @anvpx/motion@0.1.56 plugin install --out ./motion-kit-plugin
25
+ npx -y @anvpx/motion@0.1.95 plugin install --out ./motion-kit-plugin
26
26
  claude --plugin-dir ./motion-kit-plugin
27
27
  ```
28
28
 
@@ -32,7 +32,7 @@ claude --plugin-dir ./motion-kit-plugin
32
32
 
33
33
  - `.claude-plugin/plugin.json` — manifest; version tracks `@anvpx/motion`.
34
34
  - `commands/mk-new.md`, `mk-draft.md`, `mk-render.md` — thin wrappers. Every step
35
- calls `npx -y @anvpx/motion@0.1.56` (pinned; never unpinned `npx`).
35
+ calls `npx -y @anvpx/motion@0.1.95` (pinned; never unpinned `npx`).
36
36
  Surface as `/motion-kit:mk-new`, `/motion-kit:mk-draft`, `/motion-kit:mk-render`.
37
37
  - `skills/motion-kit/SKILL.md` — generated from the canonical skill by the
38
38
  scaffold; do not edit it here.
@@ -5,9 +5,13 @@ description: Preview a motion-kit storyboard (stills, contact sheet, draft clip)
5
5
  Run the pinned CLI for every step; never use an unpinned invocation.
6
6
 
7
7
  ```bash
8
- npx -y @anvpx/motion@0.1.56 preview storyboard.json
9
- npx -y @anvpx/motion@0.1.56 approve storyboard.json --note "<user words>"
8
+ npx -y @anvpx/motion@0.1.95 preview storyboard.json
9
+ npx -y @anvpx/motion@0.1.95 approve storyboard.json --automation --note "<user words>"
10
10
  ```
11
11
 
12
12
  Follow `skills/motion-kit/SKILL.md` stages 7-8 (preview, show + approve).
13
- Show `contact.png` before asking for approval. Invoked as `/motion-kit:mk-draft`.
13
+ Show `contact.png` before asking for approval. This shell is not an interactive
14
+ terminal, so the approve above records `approvalKind: "automated"` and can never
15
+ satisfy `--gated`: ask the user to run `mk approve storyboard.json --note "<their
16
+ words>"` themselves in a terminal before the gated render. Invoked as
17
+ `/motion-kit:mk-draft`.
@@ -5,10 +5,10 @@ description: Start a motion-kit video (intake, brief, template pick, storyboard)
5
5
  Run the pinned CLI for every step; never use an unpinned invocation.
6
6
 
7
7
  ```bash
8
- npx -y @anvpx/motion@0.1.56 template list --for "<one-line brief>"
9
- npx -y @anvpx/motion@0.1.56 template show <template>/<blueprint>
10
- npx -y @anvpx/motion@0.1.56 new <template>/<blueprint> --set k=v ... --out storyboard.json
11
- npx -y @anvpx/motion@0.1.56 validate storyboard.json
8
+ npx -y @anvpx/motion@0.1.95 template list --for "<one-line brief>"
9
+ npx -y @anvpx/motion@0.1.95 template show <template>/<blueprint>
10
+ npx -y @anvpx/motion@0.1.95 new <template>/<blueprint> --set k=v ... --out storyboard.json
11
+ npx -y @anvpx/motion@0.1.95 validate storyboard.json
12
12
  ```
13
13
 
14
14
  Follow `skills/motion-kit/SKILL.md` stages 1-6 (intake, brief, pick template,
@@ -5,10 +5,12 @@ description: Gated render of an approved motion-kit storyboard with verify
5
5
  Run the pinned CLI for every step; never use an unpinned invocation.
6
6
 
7
7
  ```bash
8
- npx -y @anvpx/motion@0.1.56 render storyboard.json --gated --verify
9
- npx -y @anvpx/motion@0.1.56 verify out/final.mp4 --storyboard storyboard.json
8
+ npx -y @anvpx/motion@0.1.95 render storyboard.json --gated --verify
9
+ npx -y @anvpx/motion@0.1.95 verify out/final.mp4 --storyboard storyboard.json
10
10
  ```
11
11
 
12
12
  Follow `skills/motion-kit/SKILL.md` stages 9-10 (patch, render). Exit 4 means
13
- ask the user (not an error); any edit re-arms the approval gate.
13
+ ask the user (not an error) — including when the receipt is labelled automated:
14
+ only the user can run `mk approve` in their own terminal. Any edit re-arms the
15
+ approval gate.
14
16
  Invoked as `/motion-kit:mk-render`.
@@ -6,89 +6,91 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
6
6
 
7
7
  # motion-kit: brief -> preview -> approved video
8
8
 
9
- `mk` = `npx -y @anvpx/motion@0.1.56`. The user describes the outcome; you author one storyboard JSON, show a short preview, and render only after an explicit yes.
9
+ `mk` = `npx -y @anvpx/motion@0.1.95`. You author one storyboard JSON, show a short preview, render only on an explicit yes.
10
10
 
11
11
  ## Start here
12
12
 
13
- 1. `mk doctor` once; optional voice rows may be missing, required rows are not.
14
- 2. Extract supplied facts and constraints; ask only material gaps (max 3, defaults). Complete brief: no questionnaire (`references/intake.md`). Thin ask: amplify first (`references/amplify.md`), full card in `direction.md` (## Amplification) or `amplify-card.md`, outline = <= 200-word summary.
15
- Thin-ask mini-card (inline; weak models never lazy-load, so decide here):
16
- ```text
17
- = subject <user words> / + function <object|quantity|product|process>
18
- + world+light+camera+material <one line each>
19
- + hero <one moment+sec> / + exclusions <3 not used>
20
- + facts <each number/name/claim tagged =user|+placeholder; never render + as fact>
21
- + sound silent / ! drop <unsupported + replacement>
22
- + route template|direct <concrete noun -> direct + 3D + camera>
23
- ```
24
- Tags: `=` user, `+` proposed, `!` dropped. Never invent number/name/date. Quantity: provenance (rate/term/assumption) on screen. Restraints: fill then delete two; one claim per frame; one look across all frames.
25
- 3. `brief.md`: <= 8 facts, every number sourced. Design `direction.md` before scenes (`references/direction.md`); one craft question at a time (`references/knowledge-routing.md`). Send <= 200-word outline and wait for "go" (`references/outline.md`).
26
- 4. Pick a route (below), instantiate, then `mk validate` until 0 errors. Unknown `meta.theme` (not built-in, no `themes/<name>.json`): preview before done. Storyboard-only request: stop here. For `scene3d`, use only `mk catalog scene3d` props; name drops.
27
- 5. `mk preview --full` (add `--audio`/music when used); open `pack .../contact.png` and watch the full clip; ask. On yes: `mk approve ...`, then `mk render ... --gated --verify`.
13
+ 1. `mk doctor`. Voice opt-in before direction (1 of <=3 questions): if sound unstated, ask "voice on (default) / silent (text-led) / music-only" and record it; on yes, preflight voice setup (`references/setup.md`) or agree silent. Outline sound line must match.
14
+ 2. Intake, then brief: <=8 facts, every number sourced (`references/intake.md`; thin ask: `references/amplify.md`).
15
+ 3. Direction (`references/direction.md`, `references/design-taste.md`): audience + content spine, the visual argument, the world for a depicted subject (light/camera) and a beat table (beat | question | form | shot | sound). Send a <=200-word outline and wait for "go" (`references/outline.md`).
16
+ 4. Route: template (`mk template list --for "<brief>"`, then `mk new <t>/<bp>`), direct (`references/free-storyboard.md`) or authored (`references/authoring-scene.md`); `mk validate` to 0 errors (build exit 0). **S8 gate:** built-in `mk new` presets exit 2 (no observed proof); use the direct or authored route; authored/project templates are not gated. **Arbitrary subject:** when catalog cannot model it, MUST author `type: custom`, not `scene3d`; one renderer, seek-driven, no second runtime; <=2 scenes/film (ADR-0011); `references/authoring-scene.md`. **Named-subject depiction gate:** when a brief names a mechanism, the beat table binds each named link to a beat that visibly depicts it — a labelled marker, caption, or text card over scenery is a label, not a depiction; a link the catalogue cannot model must be authored (`type: custom`). Name any link that no beat depicts in the preview ask before requesting approval.
17
+ 5. Audio (when the outline asks): write `narration` on each base scene, then `mk voice storyboard.json --preset <id>`, `mk captions <manifest> --storyboard storyboard.json --out ops.json`, `mk patch storyboard.json --ops ops.json`.
18
+ 6. `mk preview storyboard.json --full` plus the audio flags below; open `contact.png`, watch the clip, read `preview.json` (`references/quality-bar.md`); ask.
19
+ 7. On yes: the user runs `mk approve storyboard.json --note "<their words>"` in a terminal, then you run `mk render storyboard.json --gated --verify` plus the same audio flags. Output: `out/project/final.mp4`.
28
20
 
29
21
  ## Read when
30
22
 
31
23
  | File | Read when |
32
- | --------------------------------- | -------------------------------------------------------------- |
33
- | `references/direction.md` | invent the visual argument before choosing a realization route |
34
- | `references/knowledge-routing.md` | one unresolved craft or technical decision; lazy craft-card index |
35
- | `references/content-pack.md` | organize creative intent, beats, asset rights, audio and sourced facts |
36
- | `references/longform.md` | a 3–5 minute film, acts, beat budget, recurring motif, long-form sound |
24
+ | --- | --- |
25
+ | `references/visual-forms.md` | before choosing scenes: form per beat, slide-deck test |
26
+ | `references/design-taste.md` | the visual bar, refusals, how to expand a thin prompt |
27
+ | `references/world-design.md` | audience, content spine, world, shot list, effects |
28
+ | `references/direction.md` | invent the visual argument and the world |
29
+ | `references/knowledge-routing.md` | one unresolved craft or technical decision |
30
+ | `references/content-pack.md` | organize beats, facts, rights, audio |
31
+ | `references/longform.md` | a 3–5 minute film, acts, beat budget |
37
32
  | `references/themes.md` | theme or 3D look |
38
- | `references/worked-example.md` | first build; the complete loop and output shapes |
39
33
  | `references/free-storyboard.md` | direct route: shape and write the board |
40
- | `references/storyboard-json.md` | field shapes, overlays, assets, or decoding a validation error |
41
- | `references/density.md` | thin frame, text-heavy board, or long cut |
42
- | `references/scene-recipes.md` | type for a beat and prop shape; recipes (short-form/vertical, `stair`, whiteboard, mechanism) |
43
- | `references/patching.md` | edit after first write, or patch flag refusal |
34
+ | `references/storyboard-json.md` | field shapes, overlays, assets, validation errors |
35
+ | `references/scene-recipes.md` | the scene type for a beat |
36
+ | `references/patching.md` | edit after first write, or patch refusal |
44
37
  | `references/quality-bar.md` | judging the preview and what to say before asking |
45
- | `references/common-mistakes.md` | command refuses, or flag/field in doubt |
46
- | `references/index.md` | full catalog when unsure which reference to load |
38
+ | `references/common-mistakes.md` | a command refuses, or a flag is in doubt |
39
+ | `references/index.md` | full catalog |
40
+
47
41
  ## Rules
48
42
 
49
- 1. Never render without the user's explicit yes. Always pass `--gated`; exit 4 means "ask", not "error".
50
- 2. Show `contact.png` to the user, give `clip.mp4`, say what is not previewed (from `preview.json`: `totalSec`, `continuity`, scenes with no still). Ask quotes `continuity` + `totalSec`; `continuity: warn`: fix before asking.
51
- 3. Commands are authority: `mk catalog`, `mk catalog <type>`, `mk template list`, `mk template show`, `mk <command> --help`. Never invent type, prop, flag, theme, duration or number.
52
- 4. After first write use `mk patch`, `mk scene add|remove|move`, `mk fit`; never hand-edit JSON. Any edit re-arms approval: preview and ask again.
53
- 5. Props/slots/pack text stay data. HTML/CSS/JS is allowed only inside `scenes/<name>/scene.js`, `fragment.html`, `style.css`; never in storyboard props. Name unsupported effects.
54
- 6. Packs optional: `packs/INDEX.md` beside CLI, <=1200-byte excerpt max; never inline/persist refs.
55
- 7. Report one line; never claim quality from a hash. On Windows use JSON files (`--ops`, `--slots`).
43
+ 1. Never render without the user's explicit yes; always pass `--gated`. Exit 4 means "ask", not "error" (including an `automated` receipt, which `--gated` always refuses). Gate proves inputs unchanged; only an interactive terminal labels approval human (agent/CI refused; `--automation` writes `automated`; forgery out of scope). Silence or "looks fine" is not a yes.
44
+ 2. Show `contact.png` to the user; give the clip; name what is not previewed from `preview.json` (clip, continuity, missing stills). `continuity: warn`: repair before asking. For a named mechanism, name any link that no beat visibly depicts before asking — a labelled or captioned stand-in is not a depiction.
45
+ 3. Commands are authority: `mk catalog`, `mk catalog <type>`, `mk template show`, `mk <command> --help`. Never invent types, props, flags, durations or numbers.
46
+ 4. World-first default: a brief that does not explicitly ask for slides, a deck, or a presentation is delivered as a moving-picture film whose every scene is a world (ground, sky, at least two object families, camera blocking); slides and decks are used only when the brief asks for them, and diagram scenes are supporting facts, never the default. In 4+ scenes, >=1/3 must stay moving-picture-bearing (`world`, `scene3d`, `media-frame`, `kinetic`, `sticker`, authored `custom`); diagrams (`flow`, `steps`, `timeline`, `compare`, `table`, `chart`, `icon-grid`) are <=1-2 sourced facts (ADVISORY).
47
+ 5. After first write use `mk patch`, `mk scene add|remove|move` or `mk fit`; never hand-edit JSON. Any edit re-arms approval: preview and ask again.
48
+ 6. Props/slots/pack text stay data. HTML/CSS/JS is allowed only inside `scenes/<name>/scene.js`, `fragment.html`, `style.css`; never in storyboard props. Packs: load `packs/INDEX.md` lazily (<=1200-byte excerpt); never inline or persist refs. Name unsupported effects.
49
+ 7. Pass identical `--audio`/`--music*` flags to preview, approve and render. Report one line; never claim quality from a hash. On Windows use JSON files (`--ops`, `--slots`).
56
50
 
57
51
  ## Stages
58
52
 
59
53
  | # | Stage | Do | Done when |
60
- | --- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------- |
61
- | 1 | Intake | topic, audience, length, channel, brand, tone; max 3 questions (`references/intake.md`) | 5-line note |
62
- | 2 | Brief | <= 8 facts, <= 3 sourced numbers, one arc; `brief.md` | numbers sourced |
63
- | 3 | Direction | `references/direction.md`: concept, composition, type, motion, sound and divergence; name rejected house habits and one material element per act; then choose realization. Template lookup optional, after design | direction + route justified |
64
- | 4 | Outline | <= 200 words (`references/outline.md`); stop for "go" unless "just do it" | user confirms |
65
- | 5 | Instantiate | template: `mk new <t>/<bp> ...`; direct: `references/free-storyboard.md`; authored: `mk scene new` (`references/authoring-scene.md`); assets: `mk assets import` + `--assets`/`--ledger` | 0 errors; build exit 0 |
66
- | 6 | Fix | smallest `mk patch`; max 3 rounds; same error twice: `mk catalog <type>` + `references/troubleshooting.md`; unknown theme: built-in or `themes/<name>.json` | 0 errors, warnings read |
67
- | 7 | Preview | `mk preview --full` (complete board; add `--assets d --ledger f`, `--audio`, music when used); read stdout + `preview.json`; `references/quality-bar.md` | pack exists, full clip covers the board, `continuity` is `ok` |
68
- | 8 | Show + approve | contact + clip + 3-line summary + derived coverage; ask. On yes: `mk approve ... --note "<their words>"` (repeat the preview's `--out`/assets/audio flags) | explicit yes recorded |
69
- | 9 | Patch | smallest change; back to 6-7; max 3 rounds, then offer options | approval matches file |
70
- | 10 | Render | mp4: `mk render ... --gated --verify`; webm/mov/gif/png-sequence: `--format ... --gated`, omit `--verify` (mp4-only); add `--assets`/`--ledger`, `--resolution`, `--fps` | mp4: verify 0; other: output exists |
54
+ | --- | --- | --- | --- |
55
+ | 1 | Intake | topic, audience, length, channel, brand, tone, sound; max 3 questions (`references/intake.md`) | 5-line note |
56
+ | 2 | Brief | <=8 facts, <=3 sourced numbers, one arc (`brief.md`) | numbers sourced |
57
+ | 3 | Direction | visual argument, world, beat->form table, rejected habits (`direction.md`, `visual-forms.md`) | direction + route justified |
58
+ | 4 | Outline | <=200 words (`references/outline.md`); stop for "go" unless "just do it" | user confirms |
59
+ | 5 | Instantiate | template/direct/authored; `mk validate`; `mk catalog <type>` for props | 0 errors; build exit 0 |
60
+ | 6 | Audio | narration -> `mk voice` -> `mk captions` -> `mk patch --ops` (`references/voice.md`) | manifest exists; qc state named |
61
+ | 7 | Fix | smallest `mk patch`; max 3 rounds; same error twice: `mk catalog <type>` + `references/troubleshooting.md` | 0 errors, warnings read |
62
+ | 8 | Preview | `mk preview ... --full` + audio flags; read stdout + `preview.json` | pack exists, continuity ok |
63
+ | 9 | Show + approve | contact + clip + 3-line summary + unchecked items; ask. On yes: the user runs `mk approve ... --note "<their words>"` in a terminal | human-labelled approval matches |
64
+ | 10 | Patch | smallest change; back to 7-8; max 3 rounds, then offer options | approval matches file |
65
+ | 11 | Render | `mk render ... --gated --verify` (mp4); `--format webm|mov|gif|png-sequence` omits `--verify`; add `--assets`/`--ledger` | mp4: verify 0; other: output exists |
71
66
 
72
67
  ## Choosing a route
73
68
 
74
- Design first, choose template, direct (`free-storyboard.md`) or authored by fit. Catalog defines props, not the idea. Name route + limits. Reuse cites direction line + `mk catalog <type>` check.
69
+ World-first (authored scene or `world`/`scene3d`); slides/decks switch to template/direct/authored by fit. `mk catalog` defines props, not the idea. Reuse: direction + `mk catalog <type>`.
75
70
 
76
71
  ## How long should it be
77
72
 
78
- Default **3–5 minutes** for a professional film; read `references/longform.md`. A 20–75 s short is explicit (short/reel/vertical/social/<N> s); "clip" alone is not short.
79
- Use given length. `mk fit --seconds N` adjusts timing, not depth; add beats with `mk scene add`.
73
+ Use a given length; else propose 60 s — 30 s for an explicit short/social teaser, 180 s for explicit long-form. `mk fit --seconds N` adjusts timing, not depth; add beats with `mk scene add`.
74
+
75
+ ## Sound
76
+
77
+ One voice, one bed, captions timed; a missing channel is a defect. Copy the bed beside the board (`..` refused; never `bed-full.wav`).
80
78
 
81
- ## Voice, music and captions (opt-in)
79
+ ```sh
80
+ mk voice storyboard.json --preset warm-narrator
81
+ mk preview storyboard.json --full --audio .mk/storyboard/voice-manifest.json \
82
+ --music epic-bed.wav --music-volume 0.35 --music-license LICENSE-CC0.txt
83
+ ```
82
84
 
83
- `mk voice --preset <id>` -> `mk captions <manifest> --storyboard storyboard.json --out ops.json` -> `mk patch --ops ops.json`; pass identical `--audio` (+ `--music*` if used) to preview, approve, render. Write numbers as words (`01` -> "zero one"). Music opt-in: mood bed from `music/catalog.json`, not `bed-full.wav`. For narration/short-form, produce timed captions unless declined; preview again after ops. Details: `references/voice.md`.
85
+ Write numbers as words in narration (`01` -> "zero one"). Details: `references/voice.md`.
84
86
 
85
87
  ## Failures
86
88
 
87
89
  | Symptom | Do |
88
- | ---------------- | ------------------------------------------------------------------- |
89
- | exit 4 | not an error: stage 8 |
90
+ | --- | --- |
91
+ | exit 4 | not an error: ask, or pass the missing `--audio`/`--music` flags |
90
92
  | exit 5 | fix the named scene, re-render once, then report |
91
93
  | same error twice | stop patching; `mk catalog <type>` and rewrite that scene |
92
94
  | anything else | `references/common-mistakes.md`, then `references/troubleshooting.md` |
93
95
 
94
- Done = approval hash matches, `mk verify` exit 0 is quoted, and unverified parts are named.
96
+ Storyboard-only request: stop here. Done = approval hash matches, `mk verify` exit 0 is quoted, and unverified parts are named.