@anvpx/motion 0.1.54 → 0.1.94

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 (55) hide show
  1. package/CATALOG.md +23 -7
  2. package/README.md +7 -7
  3. package/mcpb/{motion-kit-0.1.54.mcpb → motion-kit-0.1.94.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 +2 -2
  8. package/plugins/motion-kit/commands/mk-new.md +4 -4
  9. package/plugins/motion-kit/commands/mk-render.md +2 -2
  10. package/plugins/motion-kit/skills/motion-kit/SKILL.md +57 -49
  11. package/plugins/motion-kit/skills/motion-kit/references/amplify.md +258 -258
  12. package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +67 -66
  13. package/plugins/motion-kit/skills/motion-kit/references/design-taste.md +114 -0
  14. package/plugins/motion-kit/skills/motion-kit/references/direction.md +33 -21
  15. package/plugins/motion-kit/skills/motion-kit/references/free-storyboard.md +2 -2
  16. package/plugins/motion-kit/skills/motion-kit/references/index.md +17 -4
  17. package/plugins/motion-kit/skills/motion-kit/references/intake.md +5 -7
  18. package/plugins/motion-kit/skills/motion-kit/references/patching.md +1 -0
  19. package/plugins/motion-kit/skills/motion-kit/references/patterns.md +1 -1
  20. package/plugins/motion-kit/skills/motion-kit/references/quality-bar.md +37 -4
  21. package/plugins/motion-kit/skills/motion-kit/references/review.md +17 -17
  22. package/plugins/motion-kit/skills/motion-kit/references/scene-recipes.md +114 -111
  23. package/plugins/motion-kit/skills/motion-kit/references/slop.md +46 -46
  24. package/plugins/motion-kit/skills/motion-kit/references/storyboard-json.md +25 -25
  25. package/plugins/motion-kit/skills/motion-kit/references/themes.md +1 -1
  26. package/plugins/motion-kit/skills/motion-kit/references/troubleshooting.md +81 -81
  27. package/plugins/motion-kit/skills/motion-kit/references/visual-forms.md +54 -0
  28. package/plugins/motion-kit/skills/motion-kit/references/voice.md +15 -13
  29. package/plugins/motion-kit/skills/motion-kit/references/world-design.md +112 -0
  30. package/shared/themes/bold-dark.json +18 -1
  31. package/shared/themes/bold-light.json +18 -1
  32. package/shared/themes/calm-dark.json +19 -2
  33. package/shared/themes/calm-light.json +19 -2
  34. package/shared/themes/tech-dark.json +19 -9
  35. package/shared/themes/tech-light.json +19 -9
  36. package/skills/motion-kit/SKILL.md +57 -49
  37. package/skills/motion-kit/references/amplify.md +258 -258
  38. package/skills/motion-kit/references/common-mistakes.md +67 -66
  39. package/skills/motion-kit/references/design-taste.md +114 -0
  40. package/skills/motion-kit/references/direction.md +33 -21
  41. package/skills/motion-kit/references/free-storyboard.md +2 -2
  42. package/skills/motion-kit/references/index.md +17 -4
  43. package/skills/motion-kit/references/intake.md +5 -7
  44. package/skills/motion-kit/references/patching.md +1 -0
  45. package/skills/motion-kit/references/patterns.md +1 -1
  46. package/skills/motion-kit/references/quality-bar.md +37 -4
  47. package/skills/motion-kit/references/review.md +17 -17
  48. package/skills/motion-kit/references/scene-recipes.md +114 -111
  49. package/skills/motion-kit/references/slop.md +46 -46
  50. package/skills/motion-kit/references/storyboard-json.md +25 -25
  51. package/skills/motion-kit/references/themes.md +1 -1
  52. package/skills/motion-kit/references/troubleshooting.md +81 -81
  53. package/skills/motion-kit/references/visual-forms.md +54 -0
  54. package/skills/motion-kit/references/voice.md +15 -13
  55. package/skills/motion-kit/references/world-design.md +112 -0
package/CATALOG.md CHANGED
@@ -11,8 +11,8 @@ hero | base | Landing-page hero: kicker, big headline with [x] accents, subline
11
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
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. | -
@@ -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), 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. | -
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. 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
 
@@ -87,7 +88,8 @@ props: {"value":42,"label":"Users"}
87
88
  ```
88
89
 
89
90
  ```
90
- flow (base): Node-and-arrow diagram (2-8 nodes) laid out left-right or top-bottom.
91
+ 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.
92
+ title text<=64
91
93
  nodes * {id,label}[2..8]
92
94
  edges * {from,to,label}[]
93
95
  direction lr|tb = "lr"
@@ -95,7 +97,7 @@ props: {"nodes":[{"id":"a","label":"A"},{"id":"b","label":"B"}],"edges":[{"from"
95
97
  ```
96
98
 
97
99
  ```
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.
100
+ 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
101
  title * text
100
102
  lines text[..3]
101
103
  credits text[..4]
@@ -289,7 +291,7 @@ props: {"title":"Top regions","columns":["Region","Revenue"],"rows":[["North","$
289
291
  ```
290
292
 
291
293
  ```
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.
294
+ 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), 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.
293
295
  title text<=60
294
296
  caption text<=140
295
297
  model text
@@ -297,7 +299,8 @@ scene3d (base): WebGL stage (vendored three.js) with a depth rig: stage diorama|
297
299
  light studio|sunset|night|soft|sweep = "studio"
298
300
  material clay|gloss|metal|emissive|glass|wire = "clay"
299
301
  hdri neutral|studio|sunset|night = "neutral"
300
- camera orbit|dolly|crane|push|macro|tele|high|low|static = "orbit"
302
+ camera orbit|dolly|crane|push|macro|tele|high|low|pan|tilt|static = "orbit"
303
+ bokeh off|subtle|strong = "off"
301
304
  depth single|layer|tunnel = "single"
302
305
  volumetric off|soft|dense = "off"
303
306
  reflector off|gloss|mirror = "off"
@@ -326,3 +329,16 @@ waveform (base): Audio waveform from precomputed peaks: bars rise as the playhea
326
329
  label text<=40
327
330
  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
331
  ```
332
+
333
+ ```
334
+ 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. 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.
335
+ title * text<=64
336
+ kicker text<=28
337
+ subtitle text<=120
338
+ terrain coast|desert|forest|city|interior|ocean|space = "coast"
339
+ time dawn|day|dusk|night|storm = "dusk"
340
+ layout overlay|lower|center = "overlay"
341
+ stops text<=40[2..4]
342
+ balance {left,right,verdict}
343
+ props: {"title":"The light does not wait","terrain":"coast","time":"dusk","layout":"overlay"}
344
+ ```
package/README.md CHANGED
@@ -91,13 +91,13 @@ Inside a session the same thing is two lines: `/plugin marketplace add <path>` t
91
91
 
92
92
  ## Updates
93
93
 
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 |
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 |
101
101
 
102
102
  ## The approval gate
103
103
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvpx/motion",
3
- "version": "0.1.54",
3
+ "version": "0.1.94",
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.54",
61
- "@anvpx/motion-audio": "0.1.54",
62
- "@anvpx/motion-build": "0.1.54",
63
- "@anvpx/motion-cli": "0.1.54",
64
- "@anvpx/motion-scenes": "0.1.54",
65
- "@anvpx/motion-schema": "0.1.54",
66
- "@anvpx/motion-templates": "0.1.54",
67
- "@anvpx/motion-themes": "0.1.54",
60
+ "@anvpx/motion-assets": "0.1.94",
61
+ "@anvpx/motion-audio": "0.1.94",
62
+ "@anvpx/motion-build": "0.1.94",
63
+ "@anvpx/motion-cli": "0.1.94",
64
+ "@anvpx/motion-scenes": "0.1.94",
65
+ "@anvpx/motion-schema": "0.1.94",
66
+ "@anvpx/motion-templates": "0.1.94",
67
+ "@anvpx/motion-themes": "0.1.94",
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.54"
13
+ "version": "0.1.94"
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.54 plugin install` copies
3
+ Plugin root: `plugins/motion-kit/`. `npx -y @anvpx/motion@0.1.94 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.54 plugin install --out ./motion-kit-plugin
25
+ npx -y @anvpx/motion@0.1.94 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.54` (pinned; never unpinned `npx`).
35
+ calls `npx -y @anvpx/motion@0.1.94` (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,8 +5,8 @@ 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.54 preview storyboard.json
9
- npx -y @anvpx/motion@0.1.54 approve storyboard.json --note "<user words>"
8
+ npx -y @anvpx/motion@0.1.94 preview storyboard.json
9
+ npx -y @anvpx/motion@0.1.94 approve storyboard.json --note "<user words>"
10
10
  ```
11
11
 
12
12
  Follow `skills/motion-kit/SKILL.md` stages 7-8 (preview, show + approve).
@@ -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.54 template list --for "<one-line brief>"
9
- npx -y @anvpx/motion@0.1.54 template show <template>/<blueprint>
10
- npx -y @anvpx/motion@0.1.54 new <template>/<blueprint> --set k=v ... --out storyboard.json
11
- npx -y @anvpx/motion@0.1.54 validate storyboard.json
8
+ npx -y @anvpx/motion@0.1.94 template list --for "<one-line brief>"
9
+ npx -y @anvpx/motion@0.1.94 template show <template>/<blueprint>
10
+ npx -y @anvpx/motion@0.1.94 new <template>/<blueprint> --set k=v ... --out storyboard.json
11
+ npx -y @anvpx/motion@0.1.94 validate storyboard.json
12
12
  ```
13
13
 
14
14
  Follow `skills/motion-kit/SKILL.md` stages 1-6 (intake, brief, pick template,
@@ -5,8 +5,8 @@ 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.54 render storyboard.json --gated --verify
9
- npx -y @anvpx/motion@0.1.54 verify out/final.mp4 --storyboard storyboard.json
8
+ npx -y @anvpx/motion@0.1.94 render storyboard.json --gated --verify
9
+ npx -y @anvpx/motion@0.1.94 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
@@ -6,88 +6,96 @@ 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.54`. 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.94`. The user describes the outcome; you author one storyboard JSON, show a short preview, and render only after 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
- ```
23
- 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.
24
- 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`).
25
- 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.
26
- 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`. If narration or music was asked and the voice rows are missing: try `MOTION_VOICE_PYTHON` (or `--python`) with a working 3.12 venv; only if none exists, stop and get agreement to ship silent (`references/setup.md`). Music needs narration (`--music` requires `--audio`).
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/world-design.md`, `references/design-taste.md`, `references/visual-forms.md`): audience + content spine, the visual argument, the world (hero/environment/light/depth/camera) and a beat table (beat | question | visual 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).
17
+ 5. Audio (skip if not asked): 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: `mk approve storyboard.json --note "<their words>"`, then `mk render storyboard.json --gated --verify` plus the same audio flags. Output: `out/project/final.mp4`.
27
20
 
28
21
  ## Read when
29
22
 
30
23
  | File | Read when |
31
24
  | --------------------------------- | -------------------------------------------------------------- |
32
- | `references/direction.md` | invent the visual argument before choosing a realization route |
33
- | `references/knowledge-routing.md` | one unresolved craft or technical decision; lazy craft-card index |
34
- | `references/content-pack.md` | organize creative intent, beats, asset rights, audio and sourced facts |
35
- | `references/longform.md` | a 3–5 minute film, acts, beat budget, recurring motif, long-form sound |
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 |
36
32
  | `references/themes.md` | theme or 3D look |
37
- | `references/worked-example.md` | first build; the complete loop and output shapes |
38
33
  | `references/free-storyboard.md` | direct route: shape and write the board |
39
- | `references/storyboard-json.md` | field shapes, overlays, assets, or decoding a validation error |
40
- | `references/density.md` | thin frame, text-heavy board, or long cut |
41
- | `references/scene-recipes.md` | type for a beat and prop shape; recipes (short-form/vertical, `stair`, whiteboard, mechanism) |
42
- | `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 |
43
37
  | `references/quality-bar.md` | judging the preview and what to say before asking |
44
- | `references/common-mistakes.md` | command refuses, or flag/field in doubt |
45
- | `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 when the table above is not enough |
40
+
46
41
  ## Rules
47
42
 
48
- 1. Never render without the user's explicit yes. Always pass `--gated`; exit 4 means "ask", not "error".
49
- 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.
50
- 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.
51
- 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.
52
- 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.
53
- 6. Packs optional: `packs/INDEX.md` beside CLI, <=1200-byte excerpt max; never inline/persist refs.
54
- 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". 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` (`totalSec`, `clip.full`, `continuity`, missing stills). `continuity: warn`: repair before asking.
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. No slide decks. A film of 4+ base scenes needs at least a third visual-bearing (`chart`, `flow`, `steps`, `timeline`, `compare`, `icon-grid`, `scene3d`, `media-frame`, `kinetic`, `stair`, `table`, `code`, `waveform`); name each beat's form before writing it (`references/visual-forms.md`).
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 optional: load `packs/INDEX.md` lazily, <=1200-byte excerpt max; 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`).
55
50
 
56
51
  ## Stages
57
52
 
58
53
  | # | Stage | Do | Done when |
59
- | --- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------- |
54
+ | --- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------ |
60
55
  | 1 | Intake | topic, audience, length, channel, brand, tone; max 3 questions (`references/intake.md`) | 5-line note |
61
- | 2 | Brief | <= 8 facts, <= 3 sourced numbers, one arc; `brief.md` | numbers sourced |
62
- | 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 |
63
- | 4 | Outline | <= 200 words (`references/outline.md`); stop for "go" unless "just do it" | user confirms |
64
- | 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 |
65
- | 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 |
66
- | 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` |
67
- | 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 |
68
- | 9 | Patch | smallest change; back to 6-7; max 3 rounds, then offer options | approval matches file |
69
- | 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 |
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 storyboard.json --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: `mk approve ... --note "<their words>"` | explicit yes recorded |
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 |
70
66
 
71
67
  ## Choosing a route
72
68
 
73
- 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
+ Design first, choose template, direct or authored by fit. `mk catalog` defines props, not the idea. Name the route and its limits. Reuse cites the direction line + `mk catalog <type>`.
74
70
 
75
71
  ## How long should it be
76
72
 
77
- 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.
78
- Use given length. `mk fit --seconds N` adjusts timing, not depth; add beats with `mk scene add`.
73
+ A one-sentence ask defaults to 45–90 s; say the length in the outline. Reserve 3–5 minutes for a brief that already carries an argument (`references/longform.md`). Use a given length. `mk fit --seconds N` adjusts timing, not depth; add beats with `mk scene add`.
79
74
 
80
75
  ## Voice, music and captions (opt-in)
81
76
 
82
- `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`.
77
+ One voice, one bed, captions timed. Copy the bed beside the storyboard (paths containing `..` are refused); never default to `bed-full.wav`.
78
+
79
+ ```sh
80
+ mk voice storyboard.json --preset warm-narrator
81
+ mk captions .mk/storyboard/voice-manifest.json --storyboard storyboard.json --out ops.json
82
+ mk patch storyboard.json --ops ops.json
83
+ mk preview storyboard.json --full --audio .mk/storyboard/voice-manifest.json \
84
+ --music epic-bed.wav --music-volume 0.35 --music-license LICENSE-CC0.txt
85
+ mk approve storyboard.json --note "approved"
86
+ mk render storyboard.json --gated --verify --audio .mk/storyboard/voice-manifest.json \
87
+ --music epic-bed.wav --music-volume 0.35 --music-license LICENSE-CC0.txt
88
+ ```
89
+
90
+ Write numbers as words in narration (`01` -> "zero one"). Details: `references/voice.md`.
83
91
 
84
92
  ## Failures
85
93
 
86
94
  | Symptom | Do |
87
95
  | ---------------- | ------------------------------------------------------------------- |
88
- | exit 4 | not an error: stage 8 |
96
+ | exit 4 | not an error: ask, or pass the missing `--audio`/`--music` flags |
89
97
  | exit 5 | fix the named scene, re-render once, then report |
90
98
  | same error twice | stop patching; `mk catalog <type>` and rewrite that scene |
91
99
  | anything else | `references/common-mistakes.md`, then `references/troubleshooting.md` |
92
100
 
93
- Done = approval hash matches, `mk verify` exit 0 is quoted, and unverified parts are named.
101
+ Storyboard-only request: stop here. Done = approval hash matches, `mk verify` exit 0 is quoted, and unverified parts are named.