@anvpx/motion 0.1.1 → 0.1.2

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.
package/README.md CHANGED
@@ -25,11 +25,11 @@ Optional voice needs Python 3.12 plus Kokoro/faster-whisper; `mk doctor` tells y
25
25
  ## Quickstart
26
26
 
27
27
  ```sh
28
- npx -y @anvpx/motion@0.1.1 doctor
28
+ npx -y @anvpx/motion@0.1.2 doctor
29
29
 
30
30
  # Optional: make the rest shorter
31
- alias mk="npx -y @anvpx/motion@0.1.1" # bash/zsh
32
- function mk { npx -y @anvpx/motion@0.1.1 @args } # PowerShell
31
+ alias mk="npx -y @anvpx/motion@0.1.2" # bash/zsh
32
+ function mk { npx -y @anvpx/motion@0.1.2 @args } # PowerShell
33
33
 
34
34
  # Optional template-assisted example, after deciding the visual direction:
35
35
  mk template list --for "how our pricing works"
Binary file
@@ -0,0 +1,68 @@
1
+ {
2
+ "version": 1,
3
+ "licence": "CC0-1.0",
4
+ "note": "Synthesized for motion-kit from oscillators and noise; no sampled recording.",
5
+ "loopSec": 32.0,
6
+ "beds": [
7
+ {
8
+ "id": "ambient-calm",
9
+ "file": "ambient-calm.wav",
10
+ "mood": "calm",
11
+ "energy": "low",
12
+ "bpm": 60,
13
+ "key": "D major",
14
+ "loopSec": 32.0,
15
+ "useWhen": "Reflective, human, quiet explanations; leave room for narration."
16
+ },
17
+ {
18
+ "id": "cinematic-deep",
19
+ "file": "cinematic-deep.wav",
20
+ "mood": "cinematic",
21
+ "energy": "medium",
22
+ "bpm": 60,
23
+ "key": "D minor",
24
+ "loopSec": 32.0,
25
+ "useWhen": "A serious opening, product reveal or documentary turn."
26
+ },
27
+ {
28
+ "id": "warm-human",
29
+ "file": "warm-human.wav",
30
+ "mood": "warm",
31
+ "energy": "low-medium",
32
+ "bpm": 60,
33
+ "key": "C major",
34
+ "loopSec": 32.0,
35
+ "useWhen": "Brand stories, human services, invitations and warm explainers."
36
+ },
37
+ {
38
+ "id": "tech-pulse",
39
+ "file": "tech-pulse.wav",
40
+ "mood": "tech",
41
+ "energy": "high",
42
+ "bpm": 120,
43
+ "key": "A minor",
44
+ "loopSec": 32.0,
45
+ "useWhen": "Data, product, engineering and fast technical stories."
46
+ },
47
+ {
48
+ "id": "playful-light",
49
+ "file": "playful-light.wav",
50
+ "mood": "playful",
51
+ "energy": "medium-high",
52
+ "bpm": 120,
53
+ "key": "F major",
54
+ "loopSec": 32.0,
55
+ "useWhen": "Friendly social clips, workshops and practical community stories."
56
+ },
57
+ {
58
+ "id": "documentary-reflective",
59
+ "file": "documentary-reflective.wav",
60
+ "mood": "reflective",
61
+ "energy": "low",
62
+ "bpm": 60,
63
+ "key": "G major",
64
+ "loopSec": 32.0,
65
+ "useWhen": "Long-form documentary, history, science and considered editorial."
66
+ }
67
+ ]
68
+ }
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvpx/motion",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
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",
@@ -39,6 +39,7 @@
39
39
  "luts/*.cube",
40
40
  "luts/LICENSE-CC0.txt",
41
41
  "music/*.wav",
42
+ "music/catalog.json",
42
43
  "music/LICENSE-CC0.txt",
43
44
  "packs/**/*",
44
45
  "assets.json",
@@ -55,14 +56,14 @@
55
56
  "@fontsource/jetbrains-mono": "5.3.0",
56
57
  "@fontsource/source-serif-4": "5.3.1",
57
58
  "@fontsource/space-grotesk": "5.3.0",
58
- "@anvpx/motion-assets": "0.1.1",
59
- "@anvpx/motion-audio": "0.1.1",
60
- "@anvpx/motion-build": "0.1.1",
61
- "@anvpx/motion-cli": "0.1.1",
62
- "@anvpx/motion-scenes": "0.1.1",
63
- "@anvpx/motion-schema": "0.1.1",
64
- "@anvpx/motion-templates": "0.1.1",
65
- "@anvpx/motion-themes": "0.1.1",
59
+ "@anvpx/motion-assets": "0.1.2",
60
+ "@anvpx/motion-audio": "0.1.2",
61
+ "@anvpx/motion-build": "0.1.2",
62
+ "@anvpx/motion-cli": "0.1.2",
63
+ "@anvpx/motion-scenes": "0.1.2",
64
+ "@anvpx/motion-schema": "0.1.2",
65
+ "@anvpx/motion-templates": "0.1.2",
66
+ "@anvpx/motion-themes": "0.1.2",
66
67
  "hyperframes": "0.8.212",
67
68
  "postprocessing": "6.39.5",
68
69
  "three": "0.186.0",
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "description": "Brief-to-approved video via the pinned motion-kit CLI: storyboard, preview, gated render.",
3
3
  "name": "motion-kit",
4
- "version": "0.1.1"
4
+ "version": "0.1.2"
5
5
  }
@@ -2,14 +2,14 @@
2
2
 
3
3
  Plugin root: `plugins/motion-kit/` (chosen over a top-level `motion-kit-plugin/`
4
4
  folder name used by the plugin packaging convention;
5
- `npx -y @anvpx/motion@0.1.1 plugin install` copies this exact folder).
5
+ `npx -y @anvpx/motion@0.1.2 plugin install` copies this exact folder).
6
6
 
7
7
  ## Layout
8
8
 
9
9
  - `.claude-plugin/plugin.json` — manifest (`name`, `version`, `description` only;
10
10
  version tracks `@anvpx/motion`).
11
11
  - `commands/mk-new.md`, `mk-draft.md`, `mk-render.md` — thin wrappers. Every step
12
- calls `npx -y @anvpx/motion@0.1.1` (pinned; never unpinned `npx`).
12
+ calls `npx -y @anvpx/motion@0.1.2` (pinned; never unpinned `npx`).
13
13
  Surface as `/motion-kit:mk-new`, `/motion-kit:mk-draft`, `/motion-kit:mk-render`.
14
14
  - `skills/motion-kit/SKILL.md` — generated from the canonical skill by the
15
15
  scaffold; do not edit it here.
@@ -26,7 +26,7 @@ generates the core package's `skills/` and `plugins/` trees.
26
26
  ## Install
27
27
 
28
28
  ```bash
29
- npx -y @anvpx/motion@0.1.1 plugin install --out ./motion-kit-plugin
29
+ npx -y @anvpx/motion@0.1.2 plugin install --out ./motion-kit-plugin
30
30
  ```
31
31
 
32
32
  Verifies `skills/motion-kit/SKILL.md` sha256 matches after copy.
@@ -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.1 preview storyboard.json
9
- npx -y @anvpx/motion@0.1.1 approve storyboard.json --note "<user words>"
8
+ npx -y @anvpx/motion@0.1.2 preview storyboard.json
9
+ npx -y @anvpx/motion@0.1.2 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.1 template list --for "<one-line brief>"
9
- npx -y @anvpx/motion@0.1.1 template show <template>/<blueprint>
10
- npx -y @anvpx/motion@0.1.1 new <template>/<blueprint> --set k=v ... --out storyboard.json
11
- npx -y @anvpx/motion@0.1.1 validate storyboard.json
8
+ npx -y @anvpx/motion@0.1.2 template list --for "<one-line brief>"
9
+ npx -y @anvpx/motion@0.1.2 template show <template>/<blueprint>
10
+ npx -y @anvpx/motion@0.1.2 new <template>/<blueprint> --set k=v ... --out storyboard.json
11
+ npx -y @anvpx/motion@0.1.2 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.1 render storyboard.json --gated --verify
9
- npx -y @anvpx/motion@0.1.1 verify out/final.mp4 --storyboard storyboard.json
8
+ npx -y @anvpx/motion@0.1.2 render storyboard.json --gated --verify
9
+ npx -y @anvpx/motion@0.1.2 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,7 +6,7 @@ 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.1`; alias it once per shell, or use the npx prefix in its place. 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.2`; alias it once per shell, or use the npx prefix in its place. 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
 
@@ -14,7 +14,7 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
14
14
  2. Extract supplied facts and constraints; ask only material gaps (max 3, with defaults). A complete brief is not a questionnaire (`references/intake.md`).
15
15
  3. `brief.md`: <= 8 facts, every number sourced. Design `direction.md` before choosing scenes (`references/direction.md`); resolve one craft question at a time (`references/knowledge-routing.md`). Send a <= 200-word outline and wait for "go" (`references/outline.md`).
16
16
  4. Pick a route (below), instantiate, then `mk validate` until 0 errors. If `meta.theme` is not built-in (`default`, `dark`, `tech-dark`, `calm-dark`) and `themes/<name>.json` is absent, preview before calling this done. Storyboard-only request: stop here.
17
- 5. `mk preview`; open the printed `pack .../contact.png`; ask. On yes only: `mk approve ...`, then `mk render ... --gated --verify`.
17
+ 5. `mk preview --full` (add `--audio`/music when sound is in scope); open the printed `pack .../contact.png` and watch the full clip; ask. On yes only: `mk approve ...`, then `mk render ... --gated --verify`.
18
18
 
19
19
  ## Read when
20
20
 
@@ -23,6 +23,7 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
23
23
  | `references/direction.md` | invent the visual argument before choosing a realization route |
24
24
  | `references/knowledge-routing.md` | one unresolved craft or technical decision; lazy craft-card index |
25
25
  | `references/content-pack.md` | organize creative intent, beats, asset rights, audio and sourced facts |
26
+ | `references/longform.md` | a 3–5 minute film, acts, beat budget, recurring motif, long-form sound |
26
27
  | `references/themes.md` | theme or 3D look |
27
28
  | `references/worked-example.md` | first build; the complete loop and output shapes |
28
29
  | `references/free-storyboard.md` | direct route: shape and write the board |
@@ -35,7 +36,7 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
35
36
  ## Rules
36
37
 
37
38
  1. Never render without the user's explicit yes. Silence or "looks fine" is not a yes. Always pass `--gated`; exit 4 means "ask", not "error".
38
- 2. Show `contact.png` to the user (open it or give the path), give the `clip.mp4` path, and say what is not previewed. Derive it from `preview.json`: `totalSec`, `clip.sec`, and scenes with no still.
39
+ 2. Show `contact.png` to the user (open it or give the path), give the `clip.mp4` path, and say what is not previewed. Derive it from `preview.json`: `totalSec`, `clip.sec`, `continuity`, and scenes with no still. A `continuity: warn` is a flash/pop risk: fix the cut or bridge before asking.
39
40
  3. Commands are the authority, not memory: `mk catalog` and `mk catalog <type>` for scenes and props, `mk template list` and `mk template show` for templates, `mk <command> --help` for flags. Never invent a type, prop, flag, theme, duration or number.
40
41
  4. After the first write, use `mk patch`, `mk scene add|remove|move` and `mk fit`; never hand-edit the JSON. Any edit re-arms approval: preview and ask again.
41
42
  5. Props, slots and 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 instead of promising them.
@@ -52,7 +53,7 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
52
53
  | 4 | Outline | <= 200 words (`references/outline.md`); stop for "go" unless "just do it" | user confirms |
53
54
  | 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 |
54
55
  | 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 |
55
- | 7 | Preview | `mk preview` (<= 90 s; add `--assets d --ledger f` when used); read stdout + `preview.json`; `references/quality-bar.md` | pack exists |
56
+ | 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` |
56
57
  | 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 |
57
58
  | 9 | Patch | smallest change; back to 6-7; max 3 rounds, then offer options | approval matches file |
58
59
  | 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 |
@@ -63,11 +64,16 @@ Design first, then choose template (`mk template list` -> `mk new`), direct (`re
63
64
 
64
65
  ## How long should it be
65
66
 
66
- Use the user's length, else propose 45 s. Budget orientation, meaningful change and readable rest against real copy/narration; scene count follows the argument. `mk fit --seconds N` adjusts timing, not narrative depth. Add or reshape beats with `mk scene add` when stretching would create dead time.
67
+ For a professional film, explainer, product story or documentary segment, the
68
+ default is **3–5 minutes**; read `references/longform.md` and plan acts, a turn
69
+ and a recurring motif. A 20–75 s short is an explicit choice, not the default.
70
+ Use the user's length when given. `mk fit --seconds N` adjusts timing, not
71
+ narrative depth: add or reshape beats with `mk scene add` when stretching would
72
+ create dead time.
67
73
 
68
74
  ## Voice, music and captions (opt-in)
69
75
 
70
- `mk voice` -> `mk captions` -> `mk patch --ops`; same `--audio` for preview, approve and render. Write numbers as words (`01` -> "zero one"). Music is opt-in; use `music/bed-full.wav`, not the silent `music/bed.wav`. Details: `references/voice.md`.
76
+ `mk voice --preset <id>` -> `mk captions` -> `mk patch --ops`; same `--audio` for preview, approve and render. Write numbers as words (`01` -> "zero one"). Music is opt-in; choose a mood/energy bed from `music/catalog.json` (ambient, cinematic, warm, tech, playful, reflective), never `bed-full.wav` by default. Details: `references/voice.md`.
71
77
 
72
78
  ## Failures
73
79
 
@@ -35,21 +35,24 @@ These are the failures that waste the most time. Each row is wrong -> right -> w
35
35
 
36
36
  ## CLI
37
37
 
38
- | Wrong | Right | Why |
39
- | ------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
40
- | `mk new ... --set items=["A","B"]` | Put arrays and objects in `--slots slots.json`; `--set` lists are pipe-separated | `mk new` does not parse a JSON array in `--set`; `mk scene add` does |
41
- | `mk new ... --set title.text=...` | `mk patch` after `mk new` | `--set` is top-level only |
42
- | `mk scene add caption ...` with no `--over` | `--over intro` and `--offset 0` | Overlay types require their base scene |
43
- | `mk fit --seconds 50` on a 25 s board | Add scenes first, then fit | Fit moves about 1.4x and refuses outside the range; it never distorts |
44
- | `mk approve` with different flags than `mk preview` | Use the identical `--out`, `--assets`, `--ledger`, `--audio`, `--music` | Approve infers the pack inputs; a mismatch exits 2 |
45
- | Following the printed `approve:` hint after `preview --out` | Repeat the same `--out` and asset/audio flags | The hint may omit `--out`; approve then looks in the default folder |
46
- | `mk approve` before `mk preview` | Preview first | There is no pack for the current inputs |
47
- | `mk render --verify --format webm` | Verify the mp4 master, then convert | `--verify` is mp4-only |
48
- | `mk captions manifest.json --out ops.json` with no storyboard | Add `--storyboard storyboard.json` | Ops need scene-relative paths |
49
- | `mk assets import logo.png --dir assets` | Add `--licence MIT --source-url <url>` | Every imported asset needs provenance |
50
- | `mk voice` on a machine with no venv | `mk doctor`; install Python 3.12 + the voice extras, or ship silent | Voice is opt-in and fails closed |
51
- | `mk patch` path into a missing parent | Add the parent first, or target an existing path | Patch stops at the first op that cannot apply |
52
- | `npx -y @anvpx/motion@0.1.1` returns 404 | stop: the pinned package is unpublished; use a local checkout/tarball only if the user has one | no working bootstrap exists until release |
38
+ | Wrong | Right | Why |
39
+ | ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
40
+ | `mk new ... --set items=["A","B"]` | Put arrays and objects in `--slots slots.json`; `--set` lists are pipe-separated | `mk new` does not parse a JSON array in `--set`; `mk scene add` does |
41
+ | `mk new ... --set title.text=...` | `mk patch` after `mk new` | `--set` is top-level only |
42
+ | `mk scene add caption ...` with no `--over` | `--over intro` and `--offset 0` | Overlay types require their base scene |
43
+ | `mk fit --seconds 50` on a 25 s board | Add scenes first, then fit | Fit moves about 1.4x and refuses outside the range; it never distorts |
44
+ | `mk approve` with different flags than `mk preview` | Use the identical `--out`, `--assets`, `--ledger`, `--audio`, `--music` | Approve infers the pack inputs; a mismatch exits 2 |
45
+ | Following the printed `approve:` hint after `preview --out` | Repeat the same `--out` and asset/audio flags | The hint may omit `--out`; approve then looks in the default folder |
46
+ | `mk approve` before `mk preview` | Preview first | There is no pack for the current inputs |
47
+ | `mk preview` on a long board without `--full` | `mk preview --full`; the default clip is a 2 s/scene, 30 s-max trailer | A trailer samples entrances and can flash/pop; it is not the film |
48
+ | `preview.json` `continuity: warn` | Fix the cut (crossfade/match/bridge); re-preview | A luma jump >70 is a flash/pop, not an effect |
49
+ | `mk preview` on a narrated board with no `--audio` | `mk voice --preset <id>`, then `mk preview --full --audio <manifest>` | Silent narration is an unrendered film; `--allow-silent` is explicit |
50
+ | `mk render --verify --format webm` | Verify the mp4 master, then convert | `--verify` is mp4-only |
51
+ | `mk captions manifest.json --out ops.json` with no storyboard | Add `--storyboard storyboard.json` | Ops need scene-relative paths |
52
+ | `mk assets import logo.png --dir assets` | Add `--licence MIT --source-url <url>` | Every imported asset needs provenance |
53
+ | `mk voice` on a machine with no venv | `mk doctor`; install Python 3.12 + the voice extras, or ship silent | Voice is opt-in and fails closed |
54
+ | `mk patch` path into a missing parent | Add the parent first, or target an existing path | Patch stops at the first op that cannot apply |
55
+ | `npx -y @anvpx/motion@0.1.2` returns 404 | stop; verify the exact release on npm, or use a local checkout/tarball only if the user has one | do not silently fall back to an unpinned npx |
53
56
 
54
57
  ## Windows
55
58
 
@@ -3,14 +3,14 @@
3
3
  Extract first. Read the request and record what it already supplies; never ask
4
4
  for supplied information again. A complete brief is not a questionnaire.
5
5
 
6
- | Need | Read from the request | Only if genuinely absent |
7
- | -------- | -------------------------------------------------- | ----------------------------------------------------------- |
8
- | Topic | the one thing to explain, show or change | ask; required |
9
- | Audience | who watches, their knowledge and setting | ask once; default "general viewers" |
10
- | Length | stated seconds, "short", "long" or an implied slot | default "45 s"; short ~20 s, long ~75 s |
11
- | Channel | 16:9, 9:16, square or a still | default "16:9, 1920x1080"; honour a supplied vertical/still |
12
- | Brand | colours, logo, existing system or reference | default "none: build the direction's own system" |
13
- | Tone | stated feel, genre or reference | derive from topic/channel and state the two-word proposal |
6
+ | Need | Read from the request | Only if genuinely absent |
7
+ | -------- | -------------------------------------------------- | ------------------------------------------------------------------- |
8
+ | Topic | the one thing to explain, show or change | ask; required |
9
+ | Audience | who watches, their knowledge and setting | ask once; default "general viewers" |
10
+ | Length | stated seconds, "short", "long" or an implied slot | professional default 180–300 s; short-form ~20–75 s only when asked |
11
+ | Channel | 16:9, 9:16, square or a still | default "16:9, 1920x1080"; honour a supplied vertical/still |
12
+ | Brand | colours, logo, existing system or reference | default "none: build the direction's own system" |
13
+ | Tone | stated feel, genre or reference | derive from topic/channel and state the two-word proposal |
14
14
 
15
15
  Ask at most 3 questions in total, only for missing information that materially
16
16
  changes the result; give each a default. Do not ask again for length, audience,
@@ -0,0 +1,65 @@
1
+ # Long-form: 3–5 minutes
2
+
3
+ Use this when the brief is a professional film, explainer, product story or
4
+ documentary segment. Short-form (20–75 s) is an explicit choice, not the default.
5
+
6
+ ## Length budget
7
+
8
+ | Target | Narration at ~2.6 words/s | Beat count at 5–8 s |
9
+ | ------ | ------------------------- | ------------------- |
10
+ | 3 min | 430–500 words | 24–36 beats |
11
+ | 4 min | 580–680 words | 32–48 beats |
12
+ | 5 min | 720–850 words | 40–60 beats |
13
+
14
+ Scene count follows the argument, not the clock. Never stretch a 30 s board with
15
+ `mk fit`; add evidence, example, demonstration, counterpoint or recap.
16
+
17
+ ## Structure
18
+
19
+ 1. **Cold open (10–20 s):** one concrete image or question that earns attention.
20
+ 2. **Orientation (15–30 s):** who/what/why; the promise of the film.
21
+ 3. **Acts 1–3 (or 4) (40–70 s each):** each act has one question, one answer and
22
+ one visual system. Name the act in the outline; chapter cards are optional.
23
+ 4. **Turn (20–40 s):** the complication, comparison or consequence that stops the
24
+ film from being a list.
25
+ 5. **Resolution (20–40 s):** the answer, the decision or the change; land it.
26
+ 6. **Close (10–20 s):** one line, one image, no new information.
27
+
28
+ A long film needs **recurring motifs**: a returning object, diagram, colour,
29
+ camera move or type treatment that accumulates meaning. Do not repeat the same
30
+ card with new copy.
31
+
32
+ ## Storyboard
33
+
34
+ - One idea per beat; 5–12 s is a typical beat, but let the hardest proof take 15 s.
35
+ - Alternate explanation, evidence and rest. A long film cannot sustain the same
36
+ energy for five minutes.
37
+ - Use chapter/act structure in the scene ids (`act1-...`, `act2-...`) so the board
38
+ is reviewable at a glance.
39
+ - Keep the visual system fixed across acts; change composition and evidence, not
40
+ the whole skin every 20 s.
41
+ - Plan the final two shots before building: the close must resolve the cold open.
42
+
43
+ ## Sound
44
+
45
+ - Narration: 140–160 words per minute for a measured documentary voice; write for
46
+ the ear, not the page.
47
+ - Music: plan an intro, a body and a resolved ending; leave space under narration.
48
+ A single looped bed is not a score.
49
+ - Silence is a tool: use it before the turn and before the close.
50
+
51
+ ## Quality gate before preview
52
+
53
+ - Runtime is inside 180–300 s (or the user's explicit target).
54
+ - The cold open and close answer each other.
55
+ - At least three acts or movements with distinct questions.
56
+ - At least one recurring motif that changes meaning.
57
+ - No act is a list of equal cards; no scene is only a title restating the last.
58
+ - Every number is sourced; every invented programme detail is marked as an
59
+ assumption.
60
+ - Full preview (`mk preview --full`); never judge a 4-minute film from a trailer.
61
+
62
+ ## Common failure
63
+
64
+ A 3–5 minute film made by stretching 8 scenes to 30 s each is a slideshow. Add
65
+ narrative depth first; use `mk scene add`/`mk patch` to build the new beats.
@@ -13,6 +13,15 @@ The engine proves structure: schema, props, timing, lint, hashes. It cannot prov
13
13
 
14
14
  If you cannot see images, say so. Read `preview.json`, ask the user to open the pack, and do not claim you inspected it.
15
15
 
16
+ ## Picture continuity
17
+
18
+ `preview.json.continuity` scans the clip for near-white/near-black frames and
19
+ abrupt luminance jumps. `warn` means the cut is a visible flash/pop risk — a
20
+ bright card cutting to a dark stage, or a one-frame blank. Do not ask for
21
+ approval while it warns. Use a crossfade, match cut or shared anchor, or add a
22
+ bridge beat; re-preview until it is `ok`. A deliberate hard cut needs a stated
23
+ reason and a visual bridge, not silence.
24
+
16
25
  ## Ten checks
17
26
 
18
27
  | # | Check | Pass looks like |
@@ -12,26 +12,42 @@ Needs Python 3.12, espeak-ng and the voice extras; see `references/setup.md`. `m
12
12
  2. **Write numbers as words.** The aligner matches letters; a token with no letters (`01`, `$480`, `1,200`) cannot be aligned and `mk voice` refuses before synthesis. Say "zero one", "four hundred eighty", "twelve hundred". The visual copy can keep digits.
13
13
  3. The manifest is a non-overlapping speech sequence. The film keeps each scene's authored duration and places the wav at that scene's start; a scene that ends in silence is normal. Voice never compresses the authored picture.
14
14
  4. Keep the words final before synthesis: `mk voice` needs the final script, and a later text edit invalidates the timing.
15
- 5. `mk voice storyboard.json --voice <id>` writes a voice TimingManifest; the stdout line names it. Use a voice the user approved; do not hardcode one silently.
15
+ 5. `mk voice storyboard.json --preset <id>` writes a voice TimingManifest; the stdout line names it. Choose a preset that fits the film; do not silently reuse one voice for every brief. `--speed 0.5-2.0` overrides the preset; `--voice <id>` remains for an approved raw Kokoro id.
16
+ | Preset | Voice | Style |
17
+ | ------------------- | ------------ | -------------------------- |
18
+ | `documentary-calm` | `af_heart` | calm, measured, warm |
19
+ | `warm-narrator` | `am_michael` | warm, conversational |
20
+ | `bright-explainer` | `af_bella` | bright, clear, energetic |
21
+ | `friendly-social` | `af_nicole` | friendly, practical |
22
+ | `authoritative` | `bm_george` | composed, precise, British |
23
+ | `deep-cinematic` | `am_fenrir` | deep, slow, cinematic |
24
+ | `british-editorial` | `bf_emma` | editorial, intimate |
25
+ | `japanese-calm` | `jf_alpha` | Japanese, calm |
16
26
  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.
17
27
  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.
18
28
 
19
29
  ## Music
20
30
 
21
- Music is opt-in; without `--music` the film is narration-only or silent. The installed package ships:
31
+ Music is opt-in; without `--music` the film is narration-only or silent. The installed package ships a catalog of synthesized CC0 beds at `music/catalog.json`; choose by mood and energy instead of reusing one file.
22
32
 
23
- - `music/bed-full.wav` — a 32 s stereo CC0 ambient bed (use this one).
24
- - `music/bed.wav` — a 1 s procedural silence placeholder; `--music` rejects it as silent.
33
+ | Bed | Mood / energy | Use when |
34
+ | ------------------------ | --------------------- | ----------------------------------------- |
35
+ | `ambient-calm` | calm / low | reflective, human, quiet explanation |
36
+ | `cinematic-deep` | cinematic / medium | serious opening, reveal, documentary turn |
37
+ | `warm-human` | warm / low-medium | brand, human services, invitation |
38
+ | `tech-pulse` | tech / high | data, product, engineering |
39
+ | `playful-light` | playful / medium-high | friendly social, workshop, community |
40
+ | `documentary-reflective` | reflective / low | long-form documentary, history, science |
25
41
 
26
- Pass the identical bed, volume and licence to `mk preview`, `mk approve` and `mk render`:
42
+ 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`:
27
43
 
28
44
  ```sh
29
- mk preview storyboard.json --audio .mk/<name>/voice-manifest.json \
30
- --music node_modules/@anvpx/motion/music/bed-full.wav --music-volume 0.35 \
45
+ mk preview storyboard.json --audio .mk/<name>/voice-manifest.json --full \
46
+ --music node_modules/@anvpx/motion/music/cinematic-deep.wav --music-volume 0.35 \
31
47
  --music-license node_modules/@anvpx/motion/music/LICENSE-CC0.txt
32
48
  ```
33
49
 
34
- The bed loops to the narration length and ducks under the voice. Approval binds the bed bytes, volume and licence receipt; any drift exits 4. A visual-only receipt never authorises music.
50
+ 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.
35
51
 
36
52
  ## Captions
37
53
 
@@ -6,7 +6,7 @@ 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.1`; alias it once per shell, or use the npx prefix in its place. 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.2`; alias it once per shell, or use the npx prefix in its place. 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
 
@@ -14,7 +14,7 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
14
14
  2. Extract supplied facts and constraints; ask only material gaps (max 3, with defaults). A complete brief is not a questionnaire (`references/intake.md`).
15
15
  3. `brief.md`: <= 8 facts, every number sourced. Design `direction.md` before choosing scenes (`references/direction.md`); resolve one craft question at a time (`references/knowledge-routing.md`). Send a <= 200-word outline and wait for "go" (`references/outline.md`).
16
16
  4. Pick a route (below), instantiate, then `mk validate` until 0 errors. If `meta.theme` is not built-in (`default`, `dark`, `tech-dark`, `calm-dark`) and `themes/<name>.json` is absent, preview before calling this done. Storyboard-only request: stop here.
17
- 5. `mk preview`; open the printed `pack .../contact.png`; ask. On yes only: `mk approve ...`, then `mk render ... --gated --verify`.
17
+ 5. `mk preview --full` (add `--audio`/music when sound is in scope); open the printed `pack .../contact.png` and watch the full clip; ask. On yes only: `mk approve ...`, then `mk render ... --gated --verify`.
18
18
 
19
19
  ## Read when
20
20
 
@@ -23,6 +23,7 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
23
23
  | `references/direction.md` | invent the visual argument before choosing a realization route |
24
24
  | `references/knowledge-routing.md` | one unresolved craft or technical decision; lazy craft-card index |
25
25
  | `references/content-pack.md` | organize creative intent, beats, asset rights, audio and sourced facts |
26
+ | `references/longform.md` | a 3–5 minute film, acts, beat budget, recurring motif, long-form sound |
26
27
  | `references/themes.md` | theme or 3D look |
27
28
  | `references/worked-example.md` | first build; the complete loop and output shapes |
28
29
  | `references/free-storyboard.md` | direct route: shape and write the board |
@@ -35,7 +36,7 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
35
36
  ## Rules
36
37
 
37
38
  1. Never render without the user's explicit yes. Silence or "looks fine" is not a yes. Always pass `--gated`; exit 4 means "ask", not "error".
38
- 2. Show `contact.png` to the user (open it or give the path), give the `clip.mp4` path, and say what is not previewed. Derive it from `preview.json`: `totalSec`, `clip.sec`, and scenes with no still.
39
+ 2. Show `contact.png` to the user (open it or give the path), give the `clip.mp4` path, and say what is not previewed. Derive it from `preview.json`: `totalSec`, `clip.sec`, `continuity`, and scenes with no still. A `continuity: warn` is a flash/pop risk: fix the cut or bridge before asking.
39
40
  3. Commands are the authority, not memory: `mk catalog` and `mk catalog <type>` for scenes and props, `mk template list` and `mk template show` for templates, `mk <command> --help` for flags. Never invent a type, prop, flag, theme, duration or number.
40
41
  4. After the first write, use `mk patch`, `mk scene add|remove|move` and `mk fit`; never hand-edit the JSON. Any edit re-arms approval: preview and ask again.
41
42
  5. Props, slots and 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 instead of promising them.
@@ -52,7 +53,7 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
52
53
  | 4 | Outline | <= 200 words (`references/outline.md`); stop for "go" unless "just do it" | user confirms |
53
54
  | 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 |
54
55
  | 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 |
55
- | 7 | Preview | `mk preview` (<= 90 s; add `--assets d --ledger f` when used); read stdout + `preview.json`; `references/quality-bar.md` | pack exists |
56
+ | 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` |
56
57
  | 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 |
57
58
  | 9 | Patch | smallest change; back to 6-7; max 3 rounds, then offer options | approval matches file |
58
59
  | 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 |
@@ -63,11 +64,16 @@ Design first, then choose template (`mk template list` -> `mk new`), direct (`re
63
64
 
64
65
  ## How long should it be
65
66
 
66
- Use the user's length, else propose 45 s. Budget orientation, meaningful change and readable rest against real copy/narration; scene count follows the argument. `mk fit --seconds N` adjusts timing, not narrative depth. Add or reshape beats with `mk scene add` when stretching would create dead time.
67
+ For a professional film, explainer, product story or documentary segment, the
68
+ default is **3–5 minutes**; read `references/longform.md` and plan acts, a turn
69
+ and a recurring motif. A 20–75 s short is an explicit choice, not the default.
70
+ Use the user's length when given. `mk fit --seconds N` adjusts timing, not
71
+ narrative depth: add or reshape beats with `mk scene add` when stretching would
72
+ create dead time.
67
73
 
68
74
  ## Voice, music and captions (opt-in)
69
75
 
70
- `mk voice` -> `mk captions` -> `mk patch --ops`; same `--audio` for preview, approve and render. Write numbers as words (`01` -> "zero one"). Music is opt-in; use `music/bed-full.wav`, not the silent `music/bed.wav`. Details: `references/voice.md`.
76
+ `mk voice --preset <id>` -> `mk captions` -> `mk patch --ops`; same `--audio` for preview, approve and render. Write numbers as words (`01` -> "zero one"). Music is opt-in; choose a mood/energy bed from `music/catalog.json` (ambient, cinematic, warm, tech, playful, reflective), never `bed-full.wav` by default. Details: `references/voice.md`.
71
77
 
72
78
  ## Failures
73
79
 
@@ -35,21 +35,24 @@ These are the failures that waste the most time. Each row is wrong -> right -> w
35
35
 
36
36
  ## CLI
37
37
 
38
- | Wrong | Right | Why |
39
- | ------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
40
- | `mk new ... --set items=["A","B"]` | Put arrays and objects in `--slots slots.json`; `--set` lists are pipe-separated | `mk new` does not parse a JSON array in `--set`; `mk scene add` does |
41
- | `mk new ... --set title.text=...` | `mk patch` after `mk new` | `--set` is top-level only |
42
- | `mk scene add caption ...` with no `--over` | `--over intro` and `--offset 0` | Overlay types require their base scene |
43
- | `mk fit --seconds 50` on a 25 s board | Add scenes first, then fit | Fit moves about 1.4x and refuses outside the range; it never distorts |
44
- | `mk approve` with different flags than `mk preview` | Use the identical `--out`, `--assets`, `--ledger`, `--audio`, `--music` | Approve infers the pack inputs; a mismatch exits 2 |
45
- | Following the printed `approve:` hint after `preview --out` | Repeat the same `--out` and asset/audio flags | The hint may omit `--out`; approve then looks in the default folder |
46
- | `mk approve` before `mk preview` | Preview first | There is no pack for the current inputs |
47
- | `mk render --verify --format webm` | Verify the mp4 master, then convert | `--verify` is mp4-only |
48
- | `mk captions manifest.json --out ops.json` with no storyboard | Add `--storyboard storyboard.json` | Ops need scene-relative paths |
49
- | `mk assets import logo.png --dir assets` | Add `--licence MIT --source-url <url>` | Every imported asset needs provenance |
50
- | `mk voice` on a machine with no venv | `mk doctor`; install Python 3.12 + the voice extras, or ship silent | Voice is opt-in and fails closed |
51
- | `mk patch` path into a missing parent | Add the parent first, or target an existing path | Patch stops at the first op that cannot apply |
52
- | `npx -y @anvpx/motion@0.1.1` returns 404 | stop: the pinned package is unpublished; use a local checkout/tarball only if the user has one | no working bootstrap exists until release |
38
+ | Wrong | Right | Why |
39
+ | ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
40
+ | `mk new ... --set items=["A","B"]` | Put arrays and objects in `--slots slots.json`; `--set` lists are pipe-separated | `mk new` does not parse a JSON array in `--set`; `mk scene add` does |
41
+ | `mk new ... --set title.text=...` | `mk patch` after `mk new` | `--set` is top-level only |
42
+ | `mk scene add caption ...` with no `--over` | `--over intro` and `--offset 0` | Overlay types require their base scene |
43
+ | `mk fit --seconds 50` on a 25 s board | Add scenes first, then fit | Fit moves about 1.4x and refuses outside the range; it never distorts |
44
+ | `mk approve` with different flags than `mk preview` | Use the identical `--out`, `--assets`, `--ledger`, `--audio`, `--music` | Approve infers the pack inputs; a mismatch exits 2 |
45
+ | Following the printed `approve:` hint after `preview --out` | Repeat the same `--out` and asset/audio flags | The hint may omit `--out`; approve then looks in the default folder |
46
+ | `mk approve` before `mk preview` | Preview first | There is no pack for the current inputs |
47
+ | `mk preview` on a long board without `--full` | `mk preview --full`; the default clip is a 2 s/scene, 30 s-max trailer | A trailer samples entrances and can flash/pop; it is not the film |
48
+ | `preview.json` `continuity: warn` | Fix the cut (crossfade/match/bridge); re-preview | A luma jump >70 is a flash/pop, not an effect |
49
+ | `mk preview` on a narrated board with no `--audio` | `mk voice --preset <id>`, then `mk preview --full --audio <manifest>` | Silent narration is an unrendered film; `--allow-silent` is explicit |
50
+ | `mk render --verify --format webm` | Verify the mp4 master, then convert | `--verify` is mp4-only |
51
+ | `mk captions manifest.json --out ops.json` with no storyboard | Add `--storyboard storyboard.json` | Ops need scene-relative paths |
52
+ | `mk assets import logo.png --dir assets` | Add `--licence MIT --source-url <url>` | Every imported asset needs provenance |
53
+ | `mk voice` on a machine with no venv | `mk doctor`; install Python 3.12 + the voice extras, or ship silent | Voice is opt-in and fails closed |
54
+ | `mk patch` path into a missing parent | Add the parent first, or target an existing path | Patch stops at the first op that cannot apply |
55
+ | `npx -y @anvpx/motion@0.1.2` returns 404 | stop; verify the exact release on npm, or use a local checkout/tarball only if the user has one | do not silently fall back to an unpinned npx |
53
56
 
54
57
  ## Windows
55
58
 
@@ -3,14 +3,14 @@
3
3
  Extract first. Read the request and record what it already supplies; never ask
4
4
  for supplied information again. A complete brief is not a questionnaire.
5
5
 
6
- | Need | Read from the request | Only if genuinely absent |
7
- | -------- | -------------------------------------------------- | ----------------------------------------------------------- |
8
- | Topic | the one thing to explain, show or change | ask; required |
9
- | Audience | who watches, their knowledge and setting | ask once; default "general viewers" |
10
- | Length | stated seconds, "short", "long" or an implied slot | default "45 s"; short ~20 s, long ~75 s |
11
- | Channel | 16:9, 9:16, square or a still | default "16:9, 1920x1080"; honour a supplied vertical/still |
12
- | Brand | colours, logo, existing system or reference | default "none: build the direction's own system" |
13
- | Tone | stated feel, genre or reference | derive from topic/channel and state the two-word proposal |
6
+ | Need | Read from the request | Only if genuinely absent |
7
+ | -------- | -------------------------------------------------- | ------------------------------------------------------------------- |
8
+ | Topic | the one thing to explain, show or change | ask; required |
9
+ | Audience | who watches, their knowledge and setting | ask once; default "general viewers" |
10
+ | Length | stated seconds, "short", "long" or an implied slot | professional default 180–300 s; short-form ~20–75 s only when asked |
11
+ | Channel | 16:9, 9:16, square or a still | default "16:9, 1920x1080"; honour a supplied vertical/still |
12
+ | Brand | colours, logo, existing system or reference | default "none: build the direction's own system" |
13
+ | Tone | stated feel, genre or reference | derive from topic/channel and state the two-word proposal |
14
14
 
15
15
  Ask at most 3 questions in total, only for missing information that materially
16
16
  changes the result; give each a default. Do not ask again for length, audience,
@@ -0,0 +1,65 @@
1
+ # Long-form: 3–5 minutes
2
+
3
+ Use this when the brief is a professional film, explainer, product story or
4
+ documentary segment. Short-form (20–75 s) is an explicit choice, not the default.
5
+
6
+ ## Length budget
7
+
8
+ | Target | Narration at ~2.6 words/s | Beat count at 5–8 s |
9
+ | ------ | ------------------------- | ------------------- |
10
+ | 3 min | 430–500 words | 24–36 beats |
11
+ | 4 min | 580–680 words | 32–48 beats |
12
+ | 5 min | 720–850 words | 40–60 beats |
13
+
14
+ Scene count follows the argument, not the clock. Never stretch a 30 s board with
15
+ `mk fit`; add evidence, example, demonstration, counterpoint or recap.
16
+
17
+ ## Structure
18
+
19
+ 1. **Cold open (10–20 s):** one concrete image or question that earns attention.
20
+ 2. **Orientation (15–30 s):** who/what/why; the promise of the film.
21
+ 3. **Acts 1–3 (or 4) (40–70 s each):** each act has one question, one answer and
22
+ one visual system. Name the act in the outline; chapter cards are optional.
23
+ 4. **Turn (20–40 s):** the complication, comparison or consequence that stops the
24
+ film from being a list.
25
+ 5. **Resolution (20–40 s):** the answer, the decision or the change; land it.
26
+ 6. **Close (10–20 s):** one line, one image, no new information.
27
+
28
+ A long film needs **recurring motifs**: a returning object, diagram, colour,
29
+ camera move or type treatment that accumulates meaning. Do not repeat the same
30
+ card with new copy.
31
+
32
+ ## Storyboard
33
+
34
+ - One idea per beat; 5–12 s is a typical beat, but let the hardest proof take 15 s.
35
+ - Alternate explanation, evidence and rest. A long film cannot sustain the same
36
+ energy for five minutes.
37
+ - Use chapter/act structure in the scene ids (`act1-...`, `act2-...`) so the board
38
+ is reviewable at a glance.
39
+ - Keep the visual system fixed across acts; change composition and evidence, not
40
+ the whole skin every 20 s.
41
+ - Plan the final two shots before building: the close must resolve the cold open.
42
+
43
+ ## Sound
44
+
45
+ - Narration: 140–160 words per minute for a measured documentary voice; write for
46
+ the ear, not the page.
47
+ - Music: plan an intro, a body and a resolved ending; leave space under narration.
48
+ A single looped bed is not a score.
49
+ - Silence is a tool: use it before the turn and before the close.
50
+
51
+ ## Quality gate before preview
52
+
53
+ - Runtime is inside 180–300 s (or the user's explicit target).
54
+ - The cold open and close answer each other.
55
+ - At least three acts or movements with distinct questions.
56
+ - At least one recurring motif that changes meaning.
57
+ - No act is a list of equal cards; no scene is only a title restating the last.
58
+ - Every number is sourced; every invented programme detail is marked as an
59
+ assumption.
60
+ - Full preview (`mk preview --full`); never judge a 4-minute film from a trailer.
61
+
62
+ ## Common failure
63
+
64
+ A 3–5 minute film made by stretching 8 scenes to 30 s each is a slideshow. Add
65
+ narrative depth first; use `mk scene add`/`mk patch` to build the new beats.
@@ -13,6 +13,15 @@ The engine proves structure: schema, props, timing, lint, hashes. It cannot prov
13
13
 
14
14
  If you cannot see images, say so. Read `preview.json`, ask the user to open the pack, and do not claim you inspected it.
15
15
 
16
+ ## Picture continuity
17
+
18
+ `preview.json.continuity` scans the clip for near-white/near-black frames and
19
+ abrupt luminance jumps. `warn` means the cut is a visible flash/pop risk — a
20
+ bright card cutting to a dark stage, or a one-frame blank. Do not ask for
21
+ approval while it warns. Use a crossfade, match cut or shared anchor, or add a
22
+ bridge beat; re-preview until it is `ok`. A deliberate hard cut needs a stated
23
+ reason and a visual bridge, not silence.
24
+
16
25
  ## Ten checks
17
26
 
18
27
  | # | Check | Pass looks like |
@@ -12,26 +12,42 @@ Needs Python 3.12, espeak-ng and the voice extras; see `references/setup.md`. `m
12
12
  2. **Write numbers as words.** The aligner matches letters; a token with no letters (`01`, `$480`, `1,200`) cannot be aligned and `mk voice` refuses before synthesis. Say "zero one", "four hundred eighty", "twelve hundred". The visual copy can keep digits.
13
13
  3. The manifest is a non-overlapping speech sequence. The film keeps each scene's authored duration and places the wav at that scene's start; a scene that ends in silence is normal. Voice never compresses the authored picture.
14
14
  4. Keep the words final before synthesis: `mk voice` needs the final script, and a later text edit invalidates the timing.
15
- 5. `mk voice storyboard.json --voice <id>` writes a voice TimingManifest; the stdout line names it. Use a voice the user approved; do not hardcode one silently.
15
+ 5. `mk voice storyboard.json --preset <id>` writes a voice TimingManifest; the stdout line names it. Choose a preset that fits the film; do not silently reuse one voice for every brief. `--speed 0.5-2.0` overrides the preset; `--voice <id>` remains for an approved raw Kokoro id.
16
+ | Preset | Voice | Style |
17
+ | ------------------- | ------------ | -------------------------- |
18
+ | `documentary-calm` | `af_heart` | calm, measured, warm |
19
+ | `warm-narrator` | `am_michael` | warm, conversational |
20
+ | `bright-explainer` | `af_bella` | bright, clear, energetic |
21
+ | `friendly-social` | `af_nicole` | friendly, practical |
22
+ | `authoritative` | `bm_george` | composed, precise, British |
23
+ | `deep-cinematic` | `am_fenrir` | deep, slow, cinematic |
24
+ | `british-editorial` | `bf_emma` | editorial, intimate |
25
+ | `japanese-calm` | `jf_alpha` | Japanese, calm |
16
26
  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.
17
27
  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.
18
28
 
19
29
  ## Music
20
30
 
21
- Music is opt-in; without `--music` the film is narration-only or silent. The installed package ships:
31
+ Music is opt-in; without `--music` the film is narration-only or silent. The installed package ships a catalog of synthesized CC0 beds at `music/catalog.json`; choose by mood and energy instead of reusing one file.
22
32
 
23
- - `music/bed-full.wav` — a 32 s stereo CC0 ambient bed (use this one).
24
- - `music/bed.wav` — a 1 s procedural silence placeholder; `--music` rejects it as silent.
33
+ | Bed | Mood / energy | Use when |
34
+ | ------------------------ | --------------------- | ----------------------------------------- |
35
+ | `ambient-calm` | calm / low | reflective, human, quiet explanation |
36
+ | `cinematic-deep` | cinematic / medium | serious opening, reveal, documentary turn |
37
+ | `warm-human` | warm / low-medium | brand, human services, invitation |
38
+ | `tech-pulse` | tech / high | data, product, engineering |
39
+ | `playful-light` | playful / medium-high | friendly social, workshop, community |
40
+ | `documentary-reflective` | reflective / low | long-form documentary, history, science |
25
41
 
26
- Pass the identical bed, volume and licence to `mk preview`, `mk approve` and `mk render`:
42
+ 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`:
27
43
 
28
44
  ```sh
29
- mk preview storyboard.json --audio .mk/<name>/voice-manifest.json \
30
- --music node_modules/@anvpx/motion/music/bed-full.wav --music-volume 0.35 \
45
+ mk preview storyboard.json --audio .mk/<name>/voice-manifest.json --full \
46
+ --music node_modules/@anvpx/motion/music/cinematic-deep.wav --music-volume 0.35 \
31
47
  --music-license node_modules/@anvpx/motion/music/LICENSE-CC0.txt
32
48
  ```
33
49
 
34
- The bed loops to the narration length and ducks under the voice. Approval binds the bed bytes, volume and licence receipt; any drift exits 4. A visual-only receipt never authorises music.
50
+ 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.
35
51
 
36
52
  ## Captions
37
53