@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
@@ -1,81 +1,81 @@
1
- # Troubleshooting and exit codes
2
-
3
- Read the first `E` line, not the whole log. It names a pointer and usually a suggestion. Fix that one thing, re-run, then read the next.
4
-
5
- ## First response
6
-
7
- 1. `mk validate` / `mk preview`: read the pointer, compare that scene with `mk catalog <type>`, patch only that scene.
8
- 2. Same error twice: stop changing flags. Rewrite the named scene from its catalog example via `mk patch`, or choose a different type.
9
- 3. Third failure: stop. Tell the user the exact error and the two routes you tried; do not loop.
10
- 4. Never disable lint, raise a limit by editing the output, or hand-edit the JSON to get past a gate.
11
-
12
- ## Exit codes
13
-
14
- | Exit | Meaning | Do |
15
- | ---- | -------------------------------------------------------------------------- | ------------------------------------------------------------ |
16
- | 0 | success (warnings allowed) | continue; read the warnings |
17
- | 1 | tool, build or render failure | `mk doctor`; read the last lines and `render-log.txt` |
18
- | 2 | bad flags, unreadable file, validation errors, no preview for `mk approve` | fix the named pointer; run `mk preview` before approve |
19
- | 4 | AWAITING_APPROVAL (`--gated`) | not an error: show the pack, ask, `mk approve` only on a yes |
20
- | 5 | QA failed (`mk verify`) | fix the named scene or param, re-render once, then report |
21
- | 127 | required program missing | give the install hint from `mk doctor`; do not retry blindly |
22
-
23
- ## Named failures
24
-
25
- | Symptom | Cause / fix |
26
- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
27
- | `unknown key(s): typo` | prop not in the catalog: remove it or `mk catalog <type>` |
28
- | `must be a lowercase slug` | scene id has spaces or capitals; rename to `a-z`, `0-9`, hyphens |
29
- | `overlay needs over: <base scene id>` | add `"over": "<existing base id>"` and a fitting `duration` |
30
- | `duplicate scene id "x"` | every id must be unique |
31
- | `unknown theme "x"; use one of: ...` | built-in theme, vendored `themes/x.json`, or `mk new`; `mk validate` does not catch this. If the theme is not built-in, preview before calling stage 5 done |
32
- | `mk approve` exits 2 after a preview | the preview used `--out`/`--assets`/`--ledger`/audio flags; repeat those exact flags. The printed `approve:` hint may omit `--out`, so do not trust it alone |
33
- | `no ledger row` or `no assetsDir` | run `mk assets import` for each file, then pass the same `--assets d --ledger f` to build/preview/approve/render; `image` is relative to `--assets` |
34
- | `parent "/scenes/9" does not exist` | patch path skips a level; add the parent first or target an existing path |
35
- | `mk new` slot error (`max 5`, `text<=...`) | shorten or merge; never edit the generated board past the slot limit |
36
- | `mk fit` refuses "over the X s" | the scenes cannot stretch that far: `mk scene add`, then fit; never pad or stretch past the range |
37
- | `mk approve` exits 2 | no preview for the current inputs, or a flag differs from preview; re-preview |
38
- | `mk render --gated` exits 4 | no approval or the inputs changed; preview again and ask again |
39
- | Preview exits 2 | lint or validation failed; read the still/scene it names |
40
- | `verify` exit 5 | read the report line: streams, duration, fps or frame count; fix the named scene, render once |
41
- | `mk captions` asks for `--storyboard` | ops need scene-relative paths; add the board |
42
- | `mk voice` fails closed | Python 3.12 venv or voice extras missing; `mk doctor`; ship silent if unavailable |
43
- | Preview says the clip was skipped | budget ran out; stills are still valid; offer `--budget-sec` |
44
- | `mk state` exits 1 | an artifact claims more than its inputs prove; fix the overclaim, do not re-preview blindly |
45
- | No vision / cannot open the image | say so; read `preview.json`; ask the user to open the pack and approve |
46
-
47
- ## Recover without a rewrite
48
-
49
- - Wrong wording or number: `mk patch` replace the leaf.
50
- - Wrong pacing: `mk patch` replace `duration`, or `mk fit --seconds N`.
51
- - Wrong structure: `mk scene remove|move|add`, then validate.
52
- - Wrong look: change the theme or the direction fields, not the copy.
53
- - Wrong route: restart from `mk new` or `mk scene new`; do not bolt a second route onto a broken board.
54
-
55
- After any successful edit the approval is stale. Preview again, then ask.
56
-
57
-
58
- ## Sound and the approval gate
59
-
60
- Five refusals that cost this project two round trips each, all of them about audio.
61
- They are the places a film stops one flag short of existing.
62
-
63
- | Refusal | What it means | Do instead |
64
- | -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
65
- | `delivery FAIL — integrated loudness is -25 LUFS` | the gate judges EBU R128 integrated loudness, not peak level; delivery wants -14 ±2 LUFS with a true peak at or below -1 dBFS | re-run the mix so the render reports about -14 LUFS, then re-render; the render prints its own LUFS and true peak — read that line before re-rendering |
66
- | `delivery FAIL — no audio stream` | a silent mp4 cannot pass delivery; the gate requires an audio stream, not merely a quiet one | narrate (`mk voice`) or add a voice track; do not ship silence |
67
- | `--music needs --audio: the bed loops to the narration length` | there is no music-only film; the bed length follows the voice manifest | run `mk voice` first, then pass `--audio <manifest> --music <bed>` |
68
- | `cannot read --music-license CC0-1.0: not found` | the flag takes a **path to a licence file**, not an SPDX id | `--music-license music/LICENSE-CC0.txt` |
69
- | `refusing music approval: the preview clip was not mixed with this bed/volume/license` | the approval hash covers bed, volume **and** licence, so every audio flag used at render must also be used at preview | pass the identical audio flags to `mk preview` and `mk approve` |
70
- | `music bed "…" escapes the project` | a gated render only accepts files inside the board's own directory | copy the bed and its licence beside the board, then reference them relatively |
71
-
72
- The rule behind all five: **preview, approve and render take the same flags.** Any
73
- difference — a volume, a licence path, a bed copied from elsewhere — is a new input
74
- set and the approval no longer applies. Copy the flag block once and paste it into all
75
- three commands.
76
-
77
- ## Applicability, counterexample and provenance
78
-
79
- The exit codes, named failures and audio refusals are motion-kit observations of the current CLI surface, not a vendor specification. A symptom can have more than one cause; read the first `E` line and the pointer before assuming a row applies. Counterexamples: exit 0 with warnings is still success; exit 4 under `--gated` is an approval wait, not a failure; a silent board can be intentional with `--allow-silent`. Verify the exact message and current flags before acting, and re-run after each single fix.
80
-
81
- **Check:** the first E/failure line matches a symptom above before applying a fix; the fix is verified by re-running the same command once. If the message differs, do not force a match.
1
+ # Troubleshooting and exit codes
2
+
3
+ Read the first `E` line, not the whole log. It names a pointer and usually a suggestion. Fix that one thing, re-run, then read the next.
4
+
5
+ ## First response
6
+
7
+ 1. `mk validate` / `mk preview`: read the pointer, compare that scene with `mk catalog <type>`, patch only that scene.
8
+ 2. Same error twice: stop changing flags. Rewrite the named scene from its catalog example via `mk patch`, or choose a different type.
9
+ 3. Third failure: stop. Tell the user the exact error and the two routes you tried; do not loop.
10
+ 4. Never disable lint, raise a limit by editing the output, or hand-edit the JSON to get past a gate.
11
+
12
+ ## Exit codes
13
+
14
+ | Exit | Meaning | Do |
15
+ | ---- | -------------------------------------------------------------------------- | ------------------------------------------------------------ |
16
+ | 0 | success (warnings allowed) | continue; read the warnings |
17
+ | 1 | tool, build or render failure | `mk doctor`; read the last lines and `render-log.txt` |
18
+ | 2 | bad flags, unreadable file, validation errors, no preview for `mk approve` | fix the named pointer; run `mk preview` before approve |
19
+ | 4 | AWAITING_APPROVAL (`--gated`) | not an error: show the pack, ask, `mk approve` only on a yes |
20
+ | 5 | QA failed (`mk verify`) | fix the named scene or param, re-render once, then report |
21
+ | 127 | required program missing | give the install hint from `mk doctor`; do not retry blindly |
22
+
23
+ ## Named failures
24
+
25
+ | Symptom | Cause / fix |
26
+ | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
27
+ | `unknown key(s): typo` | prop not in the catalog: remove it or `mk catalog <type>` |
28
+ | `must be a lowercase slug` | scene id has spaces or capitals; rename to `a-z`, `0-9`, hyphens |
29
+ | `overlay needs over: <base scene id>` | add `"over": "<existing base id>"` and a fitting `duration` |
30
+ | `duplicate scene id "x"` | every id must be unique |
31
+ | `unknown theme "x"; use one of: ...` | built-in theme, vendored `themes/x.json`, or `mk new`; `mk validate` does not catch this. If the theme is not built-in, preview before calling stage 5 done |
32
+ | `mk approve` exits 2 after a preview | the preview used `--out`/`--assets`/`--ledger`/audio flags; repeat those exact flags. The printed `approve:` hint may omit `--out`, so do not trust it alone |
33
+ | `no ledger row` or `no assetsDir` | run `mk assets import` for each file, then pass the same `--assets d --ledger f` to build/preview/approve/render; `image` is relative to `--assets` |
34
+ | `parent "/scenes/9" does not exist` | patch path skips a level; add the parent first or target an existing path |
35
+ | `mk new` slot error (`max 5`, `text<=...`) | shorten or merge; never edit the generated board past the slot limit |
36
+ | `mk fit` refuses "over the X s" | the scenes cannot stretch that far: `mk scene add`, then fit; never pad or stretch past the range |
37
+ | `mk approve` exits 2 | no preview for the current inputs, or a flag differs from preview; re-preview |
38
+ | `mk render --gated` exits 4 | no approval or the inputs changed; preview again and ask again |
39
+ | Preview exits 2 | lint or validation failed; read the still/scene it names |
40
+ | `verify` exit 5 | read the report line: streams, duration, fps or frame count; fix the named scene, render once |
41
+ | `mk captions` asks for `--storyboard` | ops need scene-relative paths; add the board |
42
+ | `mk voice` fails closed | Python 3.12 venv or voice extras missing; `mk doctor`; ship silent if unavailable |
43
+ | Preview says the clip was skipped | budget ran out; stills are still valid; offer `--budget-sec` |
44
+ | `mk state` exits 1 | an artifact claims more than its inputs prove; fix the overclaim, do not re-preview blindly |
45
+ | No vision / cannot open the image | say so; read `preview.json`; ask the user to open the pack and approve |
46
+
47
+ ## Recover without a rewrite
48
+
49
+ - Wrong wording or number: `mk patch` replace the leaf.
50
+ - Wrong pacing: `mk patch` replace `duration`, or `mk fit --seconds N`.
51
+ - Wrong structure: `mk scene remove|move|add`, then validate.
52
+ - Wrong look: change the theme or the direction fields, not the copy.
53
+ - Wrong route: restart from `mk new` or `mk scene new`; do not bolt a second route onto a broken board.
54
+
55
+ After any successful edit the approval is stale. Preview again, then ask.
56
+
57
+
58
+ ## Sound and the approval gate
59
+
60
+ Five refusals that cost this project two round trips each, all of them about audio.
61
+ They are the places a film stops one flag short of existing.
62
+
63
+ | Refusal | What it means | Do instead |
64
+ | -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
65
+ | `delivery FAIL — integrated loudness is -25 LUFS` | the gate judges EBU R128 integrated loudness, not peak level; delivery wants -14 ±2 LUFS with a true peak at or below -1 dBFS | re-run the mix so the render reports about -14 LUFS, then re-render; the render prints its own LUFS and true peak — read that line before re-rendering |
66
+ | `delivery FAIL — no audio stream` | a silent mp4 cannot pass delivery; the gate requires an audio stream, not merely a quiet one | narrate (`mk voice`) or add a voice track; do not ship silence |
67
+ | `--music needs --audio: the bed loops to the narration length` | there is no music-only film; the bed length follows the voice manifest | run `mk voice` first, then pass `--audio <manifest> --music <bed>` |
68
+ | `cannot read --music-license CC0-1.0: not found` | the flag takes a **path to a licence file**, not an SPDX id | `--music-license music/LICENSE-CC0.txt` |
69
+ | `refusing music approval: the preview clip was not mixed with this bed/volume/license` | the approval hash covers bed, volume **and** licence, so every audio flag used at render must also be used at preview | pass the identical audio flags to `mk preview` and `mk approve` |
70
+ | `music bed "…" escapes the project` | a gated render only accepts files inside the board's own directory | copy the bed and its licence beside the board, then reference them relatively |
71
+
72
+ The rule behind all five: **preview, approve and render take the same flags.** Any
73
+ difference — a volume, a licence path, a bed copied from elsewhere — is a new input
74
+ set and the approval no longer applies. Copy the flag block once and paste it into all
75
+ three commands.
76
+
77
+ ## Applicability, counterexample and provenance
78
+
79
+ The exit codes, named failures and audio refusals are motion-kit observations of the current CLI surface, not a vendor specification. A symptom can have more than one cause; read the first `E` line and the pointer before assuming a row applies. Counterexamples: exit 0 with warnings is still success; exit 4 under `--gated` is an approval wait, not a failure; a silent board can be intentional with `--allow-silent`. Verify the exact message and current flags before acting, and re-run after each single fix.
80
+
81
+ **Check:** the first E/failure line matches a symptom above before applying a fix; the fix is verified by re-running the same command once. If the message differs, do not force a match.
@@ -0,0 +1,54 @@
1
+ # Visual forms: make the beat visible
2
+
3
+ Cover the words and look at the frame. If what remains is a logo, a gradient and a
4
+ rounded card, the film fails the slide-deck test. Every beat must put a _thing_ on
5
+ screen: an object, a diagram, a quantity with shape, a comparison, a place, a process.
6
+
7
+ Pick the form before the scene type. `mk catalog <type>` is the authority for props.
8
+
9
+ | The beat must make visible | Form | Scene types | Must include |
10
+ | ------------------------------ | --------- | --------------------------------------- | ---------------------------------------------- |
11
+ | A quantity that changes | scale | `chart`, `stair`, `compare`, `kpi-grid` | axis or baseline, unit, labelled values |
12
+ | A process or mechanism | diagram | `flow`, `steps`, `timeline` | named parts, direction, one highlighted moment |
13
+ | A claim, rule or definition | statement | `poster`, `callout`, `kinetic` | one oversized phrase, no card |
14
+ | A place, product or object | world | `world`, `scene3d`, `media-frame` | ground, horizon, light direction, camera move |
15
+ | Two options against each other | split | `compare`, `table` | two columns, one verdict |
16
+ | Evidence or a source | proof | `quote`, `media-frame`, `table` | attribution visible on screen |
17
+ | Parts, features or a taxonomy | grid | `icon-grid`, `steps` | real icons, short labels, one detail each |
18
+ | A dense record or config | record | `code`, `table`, `waveform` | a readable subset, not the whole file |
19
+
20
+ ## Rules
21
+
22
+ 1. **Visual density.** In a film of 4+ base scenes, at least a third are
23
+ visual-bearing (`chart`, `flow`, `steps`, `timeline`, `compare`, `icon-grid`,
24
+ `scene3d`, `media-frame`, `kinetic`, `stair`, `table`, `code`, `waveform`).
25
+ A 6-scene film needs 2; a 9-scene film needs 3. The lint warns when a board has
26
+ none.
27
+ 2. **Name the world.** `direction.md` states ground, light (direction and quality),
28
+ material, depth cue and camera. "Cream paper, flat ink, no key" is a world;
29
+ "clean and minimal" is not a world.
30
+ 3. **One object returns.** A shape, diagram or place recurs in at least three
31
+ beats and changes each time (state, scale, colour, position). `patterns.md`.
32
+ 4. **Scale contrast.** In each act one element reaches at least half the frame
33
+ height. Six equal cards is a deck; one big thing and two small things is a frame.
34
+ 5. **A motion verb per beat.** Draw, count, push, wipe, assemble, split, track,
35
+ settle. A board whose only motion is fade-and-rise is a deck.
36
+ 6. **Every number gets a shape.** Use a bar, line or before/after pair when two
37
+ numbers exist; a lone `stat` is only for the single hero number.
38
+ 7. **No invented data.** With no supplied numbers, show the mechanism, the place
39
+ or the object. Never fake a chart, a percentage or a testimonial.
40
+
41
+ ## Anti-patterns (rewrite on sight)
42
+
43
+ - `title` -> `bullets` -> `stat` -> `outro` with nothing else.
44
+ - Three equal stat cards as the whole data film.
45
+ - Centred text on a gradient, repeated with different words.
46
+ - A full board of icon cards.
47
+ - Captions or fades as the only thing that changes.
48
+ - A scene3d object that names nothing in the brief.
49
+
50
+ ## Check before preview
51
+
52
+ Name each base scene's form in one word. If two or more rows say "card" or
53
+ "text", replace one with a form the film does not have yet. If the picture could
54
+ be rebuilt as a slide deck without loss, the direction is not finished.
@@ -26,7 +26,7 @@ The default aligner is English-only. Non-ASCII tokens such as `Café` fail align
26
26
  | `british-editorial` | `bf_emma` | editorial, intimate |
27
27
  | `japanese-calm` | `jf_alpha` | Japanese, calm |
28
28
  6. The command preflights the narration against the scene duration and refuses before synthesis when it cannot fit, or when a number is not written out. The silence gate can also refuse words that land inside silence. Fix the script or the scene duration; never edit the manifest to hide it.
29
- 7. `mk qc` gates the manifest plus audio and reports PASS, WARN, FAIL or UNKNOWN. Quote its result; a synthetic file is not human-quality proof.
29
+ 7. `mk qc` gates the manifest plus a **narration track**: pass the manifest-timeline speech (the scene wavs in order), not the mixed film, which is longer by design and is not a qc input. It reports PASS, WARN, FAIL or UNKNOWN. Report the exact state; UNKNOWN is not a pass and a synthetic file is not human-quality proof.
30
30
 
31
31
  ## Music
32
32
 
@@ -41,12 +41,14 @@ Music is opt-in; without `--music` the film is narration-only or silent. The ins
41
41
  | `playful-light` | playful / medium-high | friendly social, workshop, community |
42
42
  | `documentary-reflective` | reflective / low | long-form documentary, history, science |
43
43
 
44
- Legacy `bed-full.wav` remains for old callers; do not default to it. All beds are 32 s loops, mixed under narration with ducking; the renderer loops and trims to the film. Pass the identical bed, volume and licence to `mk preview`, `mk approve` and `mk render`:
44
+ Legacy `bed-full.wav` remains for old callers; do not default to it. All beds are 32 s loops, mixed under narration with ducking; the renderer loops and trims to the film. The beds ship at `<package root>/music/*.wav` (beside `package.json` of `@anvpx/motion`). Copy the chosen `.wav` and `LICENSE-CC0.txt` beside the storyboard first: the approval gate refuses a bed outside the board's directory and refuses any path containing `..`. Then pass the identical bed, volume and license to `mk preview`, `mk approve` and `mk render`:
45
45
 
46
46
  ```sh
47
+ # one-time: copy the bed and its licence beside the storyboard
48
+ cp node_modules/@anvpx/motion/music/ambient-calm.wav .
49
+ cp node_modules/@anvpx/motion/music/LICENSE-CC0.txt .
47
50
  mk preview storyboard.json --audio .mk/<name>/voice-manifest.json --full \
48
- --music node_modules/@anvpx/motion/music/cinematic-deep.wav --music-volume 0.35 \
49
- --music-license node_modules/@anvpx/motion/music/LICENSE-CC0.txt
51
+ --music ambient-calm.wav --music-volume 0.35 --music-license LICENSE-CC0.txt
50
52
  ```
51
53
 
52
54
  Do not use two beds in one film unless the direction explicitly calls for a scored transition; a hard music cut is as damaging as a hard picture cut. Plan the score as intro / body / resolved ending.
@@ -68,15 +70,15 @@ Do not use two beds in one film unless the direction explicitly calls for a scor
68
70
 
69
71
  ## Failure paths
70
72
 
71
- | Symptom | Do |
72
- | ----------------------------------- | ----------------------------------------------------------------------- |
73
- | `mk voice` not installed / exit 127 | `mk doctor`; give the install hint; ship silent only if the user agrees |
74
- | token `"01"` has no letters | write the number as spoken ("zero one"); digits stay in the visual copy |
75
- | word inside silence | rewrite the pause/sentence or lengthen that scene; never edit timings |
76
- | narration refused before synthesis | shorten the words or lengthen that scene; never edit timings |
77
- | `mk qc` WARN or UNKNOWN | report the exact state; do not call it PASS |
78
- | `mk captions` omits words | tell the user which scene and how many; adjust the script or duration |
79
- | render exit 4 after audio work | the audio inputs drifted from approval; re-preview and re-approve |
73
+ | Symptom | Do |
74
+ | ----------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
75
+ | `mk voice` not installed / exit 127 | `mk doctor`; give the install hint; ship silent only if the user agrees |
76
+ | token `"01"` has no letters | write the number as spoken ("zero one"); digits stay in the visual copy |
77
+ | word inside silence | rewrite the pause/sentence or lengthen that scene; never edit timings |
78
+ | narration refused before synthesis | shorten the words or lengthen that scene; never edit timings |
79
+ | `mk qc` WARN or UNKNOWN | report the exact state; do not call it PASS |
80
+ | `mk captions` omits words | tell the user which scene and how many; adjust the script or duration |
81
+ | render exit 4 after audio work | first check you passed the approved `--audio`/`--music` flags; re-preview and re-approve only when the flags already match and an input changed |
80
82
 
81
83
  ## Levels (advisory, not a broadcast standard)
82
84
 
@@ -0,0 +1,112 @@
1
+ # World design: audience, content, world, camera
2
+
3
+ Use with `direction.md` before choosing scenes. A film that only arranges text is a
4
+ deck. This card fills the two things a weak brief leaves empty: what the audience
5
+ must get, and the world that makes it visible.
6
+
7
+ ## 1. Audience and content contract
8
+
9
+ Answer in `direction.md`; every answer is a decision, not a mood.
10
+
11
+ | Question | What to write |
12
+ | ---------------------- | ------------------------------------------------------------------------ |
13
+ | Who watches | role, context, what they already know, what they will do with the film |
14
+ | What must change | one sentence: understand / feel / do, and how you would notice it worked |
15
+ | What can be assumed | terms and facts you may use without explaining |
16
+ | What must be explained | the mechanism, the numbers, the unfamiliar object |
17
+ | What is at stake | why this matters to that viewer now |
18
+ | Evidence they trust | a number with provenance, a demo, a comparison, a named source |
19
+ | Vocabulary | their words; the jargon to avoid |
20
+
21
+ Content spine for 30–90 s: **promise -> mechanism -> evidence -> consequence -> close**.
22
+ Each beat answers the question the previous beat raised. Name parts, quantities,
23
+ places and actors ("the outdoor coil", "42 minutes", "at the library"). Specific
24
+ nouns beat adjectives. If the brief gives no number, show the mechanism or the
25
+ place; never invent a figure, a customer, a date or a testimonial.
26
+
27
+ Completeness check: could a viewer retell the film in three sentences with the
28
+ mechanism and one number right? If not, a beat is missing, not a word.
29
+
30
+ ## 2. The world
31
+
32
+ Decide these before a scene type. The engine can only draw what the table allows.
33
+
34
+ | Element | Decide | Engine |
35
+ | --------------- | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
36
+ | Hero subject | what it is, scale, material, finish, the state change the film shows | `world` (a place), `scene3d` model (abstract object), `media-frame` (supplied image), authored scene |
37
+ | Environment | ground, water, sky or interior; horizon; weather; time of day; atmosphere | `world` terrain/time, `scene3d` `stage`/`light`/`hdri`/`floor`, theme ground |
38
+ | Related objects | 2–4 things that give scale and story (a hand, a cable, a second unit) | `scene3d` `compare` + pair material, icons, diagram nodes, authored |
39
+ | Light | key direction and quality, fill, rim, practicals, colour temperature | `light`, `hdri`, `post`, `volumetric`, theme accents |
40
+ | Depth | foreground / midground / background layers; what is sharp, what falls off | `depth`, `bokeh`, `reflector`, stage furniture |
41
+ | Surface | reflections, shadow softness, contact with the ground | `reflector`, `contact`, `stage`, theme `shadow` |
42
+
43
+ **Engine boundary (state it, never fake it).** `scene3d` builds a procedural
44
+ diorama: one hero from `knot|gem|cut|sphere|torus`, a stage, light and post. It
45
+ cannot import a GLB, a photo or a specific product, and it has no water, sky,
46
+ forest or crowd. For a named product, person or place: use `media-frame` with
47
+ images the user supplies (and `mk assets import` for the ledger), or an authored
48
+ diagram, or say the material is missing and ask. An abstract form that "suggests"
49
+ a camera is a claim the film cannot support.
50
+
51
+ ## 3. Shot list
52
+
53
+ One row per beat, in `direction.md` or beside the board:
54
+
55
+ | Beat | Shot | Camera | Lens / focus | What moves inside the frame | Start -> end framing |
56
+ | ---- | ---- | ------ | ------------ | --------------------------- | -------------------- |
57
+
58
+ Camera vocabulary (real props): `push` (zoom in), `dolly` (lateral move with
59
+ parallax), `crane` (rise), `orbit`, `tele` (compressed long lens), `macro`
60
+ (close on the contact), `high`, `low`, `pan` (lateral track), `tilt` (vertical
61
+ reveal), `static`. `bokeh: subtle|strong` separates the hero from the stage.
62
+ State the move, its start and end framing, and what changes inside the frame;
63
+ a camera move with nothing acting inside it is a screensaver.
64
+
65
+ Effects that exist: bloom, grain, vignette (`post`), volumetric shafts
66
+ (`volumetric`), planar reflection (`reflector`), shadows and contact (`stage`,
67
+ `contact`). Do not promise particles, lens flare, water simulation or motion
68
+ blur: not implemented.
69
+
70
+ ## 4. Check before preview
71
+
72
+ - Audience: the vocabulary and the evidence match the named viewer.
73
+ - Content: mechanism, one sourced number and the stake are on screen.
74
+ - World: hero, environment, 2 related objects, light and depth are named.
75
+ - Camera: every beat has a move or a stated reason for stillness; something acts
76
+ inside the frame.
77
+ - Boundary: no object, place or effect is claimed that the engine cannot draw.
78
+
79
+ ## 5. Filled example: "how a heat pump heats a home" (45 s, homeowners)
80
+
81
+ | Field | Decision |
82
+ | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
83
+ | Audience | homeowner who knows radiators, not refrigerant; trusts bills and comfort, not COP tables |
84
+ | What changes | "it moves heat instead of making it" — they can explain it to a neighbour in one sentence |
85
+ | Content spine | promise "heat is moved" -> mechanism coil/compressor/coil -> evidence "more heat out than electricity in" (no figure, none supplied) -> stake "both seasons, lower bills" -> close |
86
+ | Hero | the loop itself: one diagram that recurs as circuit, then four verbs, then reversed for cooling |
87
+ | Environment | cream paper interior, a wall line, the outdoor unit outside the wall; daylight, soft key |
88
+ | Related objects | the wall, the outdoor unit, the indoor coil — three things that give the loop a place |
89
+ | Light / depth | flat ink with one soft cast shadow under the unit; no photographic texture; one brick accent |
90
+ | Camera / motion | slow push on the loop; static on statements; the circuit draws in node order; the four verbs swap |
91
+ | Sound | warm narrator, low bed ducked -5 dB; no effects (nothing on screen to make one) |
92
+ | Boundary | the house is a wall line, not a fake cutaway; no efficiency percentage (none supplied) |
93
+
94
+ Shot list: title (static) -> poster "even cold air holds heat" (push) -> flow
95
+ circuit (draw) -> callout "release" (static) -> kinetic four verbs (swap) ->
96
+ compare heating/cooling (wipe) -> outro (settle).
97
+
98
+ ## 6. Filled example: "rugged field camera" (30 s, product)
99
+
100
+ The brief names a specific product the engine cannot model. Choose honestly:
101
+
102
+ 1. Ask for 2–3 product photos and use `media-frame` (import them with
103
+ `mk assets import`) — the only route that shows the real object.
104
+ 2. Or build an abstract "field" world in `scene3d` (`stage: floor`, `light: sunset`,
105
+ `hdri: sunset`, `volumetric: soft`, `bokeh: strong`, `camera: tilt`) and say in
106
+ the outline that the film is a mood piece, not the product; never caption an
107
+ abstract body "the camera".
108
+ 3. Or a diagram of what makes it rugged (seals, shell, grip) with `icon-grid`/
109
+ `steps` if the brief supplies those facts.
110
+
111
+ A `scene3d` "plinth + gem" spotlight sold as the product is the failure this card
112
+ exists to prevent.