@anvpx/motion 0.1.56 → 0.1.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CATALOG.md +38 -14
- package/README.md +30 -18
- package/mcpb/motion-kit-0.1.95.mcpb +0 -0
- package/package.json +9 -9
- package/plugins/motion-kit/.claude-plugin/plugin.json +1 -1
- package/plugins/motion-kit/README.md +3 -3
- package/plugins/motion-kit/commands/mk-draft.md +7 -3
- package/plugins/motion-kit/commands/mk-new.md +4 -4
- package/plugins/motion-kit/commands/mk-render.md +5 -3
- package/plugins/motion-kit/skills/motion-kit/SKILL.md +56 -54
- package/plugins/motion-kit/skills/motion-kit/references/amplify.md +280 -258
- package/plugins/motion-kit/skills/motion-kit/references/authoring-scene.md +60 -9
- package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +68 -67
- package/plugins/motion-kit/skills/motion-kit/references/craft-color.md +17 -4
- package/plugins/motion-kit/skills/motion-kit/references/craft-composition.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/craft-critique.md +9 -1
- package/plugins/motion-kit/skills/motion-kit/references/craft-motion.md +45 -2
- package/plugins/motion-kit/skills/motion-kit/references/craft-narrative.md +7 -0
- package/plugins/motion-kit/skills/motion-kit/references/craft-sound.md +98 -22
- package/plugins/motion-kit/skills/motion-kit/references/craft-type.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/critique-repair.md +42 -6
- package/plugins/motion-kit/skills/motion-kit/references/design-taste.md +119 -0
- package/plugins/motion-kit/skills/motion-kit/references/direction.md +93 -39
- package/plugins/motion-kit/skills/motion-kit/references/free-storyboard.md +6 -6
- package/plugins/motion-kit/skills/motion-kit/references/index.md +19 -5
- package/plugins/motion-kit/skills/motion-kit/references/intake.md +73 -17
- package/plugins/motion-kit/skills/motion-kit/references/knowledge-routing.md +10 -4
- package/plugins/motion-kit/skills/motion-kit/references/longform.md +2 -2
- package/plugins/motion-kit/skills/motion-kit/references/patching.md +1 -0
- package/plugins/motion-kit/skills/motion-kit/references/patterns.md +4 -4
- package/plugins/motion-kit/skills/motion-kit/references/quality-bar.md +110 -13
- package/plugins/motion-kit/skills/motion-kit/references/review.md +17 -17
- package/plugins/motion-kit/skills/motion-kit/references/scene-recipes.md +168 -111
- package/plugins/motion-kit/skills/motion-kit/references/slop.md +46 -46
- package/plugins/motion-kit/skills/motion-kit/references/storyboard-json.md +26 -26
- package/plugins/motion-kit/skills/motion-kit/references/themes.md +21 -12
- package/plugins/motion-kit/skills/motion-kit/references/troubleshooting.md +81 -81
- package/plugins/motion-kit/skills/motion-kit/references/visual-forms.md +88 -0
- package/plugins/motion-kit/skills/motion-kit/references/voice.md +66 -40
- package/plugins/motion-kit/skills/motion-kit/references/worked-decisions.md +88 -1
- package/plugins/motion-kit/skills/motion-kit/references/world-design.md +145 -0
- package/shared/themes/bold-dark.json +18 -1
- package/shared/themes/bold-light.json +18 -1
- package/shared/themes/calm-dark.json +19 -2
- package/shared/themes/calm-light.json +19 -2
- package/shared/themes/successors/README.md +17 -0
- package/shared/themes/successors/bold-dark-v2.json +293 -0
- package/shared/themes/successors/bold-light-v2.json +386 -0
- package/shared/themes/successors/calm-dark-v2.json +293 -0
- package/shared/themes/successors/calm-light-v2.json +386 -0
- package/shared/themes/successors/data-dark-v2.json +264 -0
- package/shared/themes/successors/data-light-v2.json +357 -0
- package/shared/themes/successors/editorial-dark-v2.json +293 -0
- package/shared/themes/successors/editorial-light-v2.json +387 -0
- package/shared/themes/successors/fjord-dark-v2.json +293 -0
- package/shared/themes/successors/fjord-light-v2.json +386 -0
- package/shared/themes/successors/playful-dark-v2.json +293 -0
- package/shared/themes/successors/playful-light-v2.json +386 -0
- package/shared/themes/successors/pop-dark-v2.json +273 -0
- package/shared/themes/successors/pop-light-v2.json +366 -0
- package/shared/themes/successors/tech-dark-v2.json +288 -0
- package/shared/themes/successors/tech-light-v2.json +381 -0
- package/shared/themes/successors/warm-dark-v2.json +293 -0
- package/shared/themes/successors/warm-light-v2.json +386 -0
- package/shared/themes/tech-dark.json +19 -9
- package/shared/themes/tech-light.json +19 -9
- package/skills/motion-kit/SKILL.md +56 -54
- package/skills/motion-kit/references/amplify.md +280 -258
- package/skills/motion-kit/references/authoring-scene.md +60 -9
- package/skills/motion-kit/references/common-mistakes.md +68 -67
- package/skills/motion-kit/references/craft-color.md +17 -4
- package/skills/motion-kit/references/craft-composition.md +1 -1
- package/skills/motion-kit/references/craft-critique.md +9 -1
- package/skills/motion-kit/references/craft-motion.md +45 -2
- package/skills/motion-kit/references/craft-narrative.md +7 -0
- package/skills/motion-kit/references/craft-sound.md +98 -22
- package/skills/motion-kit/references/craft-type.md +4 -0
- package/skills/motion-kit/references/critique-repair.md +42 -6
- package/skills/motion-kit/references/design-taste.md +119 -0
- package/skills/motion-kit/references/direction.md +93 -39
- package/skills/motion-kit/references/free-storyboard.md +6 -6
- package/skills/motion-kit/references/index.md +19 -5
- package/skills/motion-kit/references/intake.md +73 -17
- package/skills/motion-kit/references/knowledge-routing.md +10 -4
- package/skills/motion-kit/references/longform.md +2 -2
- package/skills/motion-kit/references/patching.md +1 -0
- package/skills/motion-kit/references/patterns.md +4 -4
- package/skills/motion-kit/references/quality-bar.md +110 -13
- package/skills/motion-kit/references/review.md +17 -17
- package/skills/motion-kit/references/scene-recipes.md +168 -111
- package/skills/motion-kit/references/slop.md +46 -46
- package/skills/motion-kit/references/storyboard-json.md +26 -26
- package/skills/motion-kit/references/themes.md +21 -12
- package/skills/motion-kit/references/troubleshooting.md +81 -81
- package/skills/motion-kit/references/visual-forms.md +88 -0
- package/skills/motion-kit/references/voice.md +66 -40
- package/skills/motion-kit/references/worked-decisions.md +88 -1
- package/skills/motion-kit/references/world-design.md +145 -0
- package/templates/compare/blueprints/versus.json +40 -35
- package/templates/compare/copy.md +4 -2
- package/templates/compare/previews/versus.png +0 -0
- package/templates/compare/styles/punchy.json +1 -1
- package/templates/datastory/blueprints/data-story.json +32 -8
- package/templates/datastory/blueprints/infographic.json +12 -34
- package/templates/datastory/blueprints/trend.json +31 -7
- package/templates/datastory/copy.md +4 -2
- package/templates/datastory/pacing.json +3 -0
- package/templates/datastory/previews/data-story.png +0 -0
- package/templates/datastory/previews/infographic.png +0 -0
- package/templates/datastory/previews/trend.png +0 -0
- package/templates/datastory/styles/clear.json +1 -1
- package/templates/datastory/styles/pop.json +1 -2
- package/templates/datastory/template.json +2 -2
- package/templates/event/blueprints/promo.json +18 -10
- package/templates/event/blueprints/save-the-date.json +14 -8
- package/templates/event/copy.md +2 -1
- package/templates/event/pacing.json +1 -0
- package/templates/event/previews/promo.png +0 -0
- package/templates/event/previews/save-the-date.png +0 -0
- package/templates/event/template.json +3 -3
- package/templates/explain/blueprints/architecture.json +43 -3
- package/templates/explain/blueprints/concept.json +50 -32
- package/templates/explain/blueprints/howto.json +3 -1
- package/templates/explain/blueprints/overview.json +11 -1
- package/templates/explain/copy.md +3 -1
- package/templates/explain/pacing.json +2 -1
- package/templates/explain/previews/architecture.png +0 -0
- package/templates/explain/previews/concept.png +0 -0
- package/templates/explain/previews/howto.png +0 -0
- package/templates/explain/previews/overview.png +0 -0
- package/templates/explain/styles/crisp.json +1 -1
- package/templates/explain/template.json +1 -0
- package/templates/guide/blueprints/lesson.json +47 -15
- package/templates/guide/blueprints/onboarding.json +27 -2
- package/templates/guide/blueprints/tutorial.json +6 -1
- package/templates/guide/copy.md +3 -0
- package/templates/guide/pacing.json +5 -0
- package/templates/guide/previews/lesson.png +0 -0
- package/templates/guide/previews/onboarding.png +0 -0
- package/templates/guide/previews/tutorial.png +0 -0
- package/templates/guide/styles/friendly.json +1 -1
- package/templates/guide/styles/techdark.json +2 -2
- package/templates/guide/template.json +13 -2
- package/templates/pitch/blueprints/feature.json +1 -1
- package/templates/pitch/blueprints/launch.json +3 -6
- package/templates/pitch/blueprints/pricing.json +24 -1
- package/templates/pitch/copy.md +2 -1
- package/templates/pitch/previews/feature.png +0 -0
- package/templates/pitch/previews/launch.png +0 -0
- package/templates/pitch/previews/pricing.png +0 -0
- package/templates/pitch/styles/teaser.json +1 -1
- package/templates/recap/blueprints/news-recap.json +44 -10
- package/templates/recap/blueprints/timeline-story.json +15 -5
- package/templates/recap/copy.md +2 -1
- package/templates/recap/previews/news-recap.png +0 -0
- package/templates/recap/previews/timeline-story.png +0 -0
- package/templates/report/blueprints/kpi-review.json +13 -2
- package/templates/report/blueprints/status.json +18 -8
- package/templates/report/copy.md +1 -1
- package/templates/report/previews/kpi-review.png +0 -0
- package/templates/report/previews/status.png +0 -0
- package/templates/report/styles/exec.json +1 -1
- package/templates/report/styles/memo.json +1 -1
- package/templates/social/blueprints/announce.json +22 -7
- package/templates/social/blueprints/listicle.json +19 -7
- package/templates/social/blueprints/tip.json +3 -0
- package/templates/social/copy.md +1 -0
- package/templates/social/previews/announce.png +0 -0
- package/templates/social/previews/listicle.png +0 -0
- package/templates/social/previews/tip.png +0 -0
- package/templates/social/styles/hook-first.json +1 -1
- package/templates/social/styles/techcut.json +1 -1
- package/templates/social/template.json +1 -1
- package/templates/update/blueprints/announcement.json +64 -36
- package/templates/update/blueprints/changelog.json +4 -0
- package/templates/update/blueprints/release-notes.json +5 -1
- package/templates/update/blueprints/weekly-update.json +76 -56
- package/templates/update/copy.md +3 -1
- package/templates/update/previews/announcement.png +0 -0
- package/templates/update/previews/changelog.png +0 -0
- package/templates/update/previews/release-notes.png +0 -0
- package/templates/update/previews/weekly-update.png +0 -0
- package/templates/update/styles/techdark.json +1 -1
- package/templates/update/template.json +2 -0
- package/templates/vista/blueprints/spotlight.json +56 -19
- package/templates/vista/blueprints/tour.json +65 -32
- package/templates/vista/copy.md +2 -1
- package/templates/vista/pacing.json +2 -1
- package/templates/vista/previews/spotlight.png +0 -0
- package/templates/vista/previews/tour.png +0 -0
- package/templates/vista/styles/bright.json +1 -1
- package/templates/vista/styles/cinematic.json +1 -1
- package/templates/vista/template.json +5 -5
- package/templates/walkthrough/blueprints/product-tour.json +48 -67
- package/templates/walkthrough/copy.md +4 -1
- package/templates/walkthrough/pacing.json +1 -0
- package/templates/walkthrough/previews/product-tour.png +0 -0
- package/templates/walkthrough/template.json +2 -2
- package/mcpb/motion-kit-0.1.56.mcpb +0 -0
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# Authoring a scene (type: custom)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Arbitrary or subject-specific subject? Use this route.** A brief naming a specific object the catalog cannot model (a phone, a desk with a UI, a device teardown) is authored as `type: custom`, not forced into catalog `scene3d`'s five primitives — those are correct only for generic settings.
|
|
4
|
+
|
|
5
|
+
Worked pointer — phone teardown: a four-layer phone (glass, display, silicon, power) was authored with `mk scene new`, a bare vendored `three` import and a pure `seek(t)`, and rendered end-to-end through the real pipeline (film sha `1dcab7ac…`, scene lint 0 errors / 0 warnings). The route shape and its measured limits are in the `2026-11-23-authoring-capability-baseline.md` audit — read the idea, do not copy code or assets. Bare `three`/`postprocessing` imports are vendored; `mk scene new <id> --world` scaffolds renderer, camera, lights and objects; `seek(t)` stays pure seconds; textures must be procedural and a no-WebGL fallback is hand-authored (ADR-0011).
|
|
6
|
+
|
|
7
|
+
The authored world route is the default for original composition and motion when the brief does not ask for slides or a deck. Start from the visual argument in `direction.md`, then use code when it expresses that idea well. Keep authored scenes to at most two per film for the ADR-0011 evidence bar; catalog `world` scenes carry the remaining beats and their object populations. The CLI does not refuse a scene for its count. Native and authored scenes can share a storyboard. Review the emitted files and test deterministic seek; do not promise a supported mechanism until its actual contract is checked.
|
|
4
8
|
|
|
5
9
|
## Files
|
|
6
10
|
|
|
@@ -45,15 +49,62 @@ A CSS animation runs on the browser clock, not `seek(t)`.
|
|
|
45
49
|
|
|
46
50
|
## Framing
|
|
47
51
|
|
|
48
|
-
The
|
|
49
|
-
|
|
50
|
-
|
|
52
|
+
The authored root is already full-frame — `position: absolute; inset: 0`, the theme's type and
|
|
53
|
+
colour, and frame containment — with no forced padding and no flex centering. Composition is
|
|
54
|
+
yours: an `inset: 0` layer reaches the frame edge, and a full-bleed picture needs no negative
|
|
55
|
+
inset. Two answers, both supported:
|
|
56
|
+
|
|
57
|
+
- **Bleed by default.** Paint to the edge; that is the authored route's advantage, and the
|
|
58
|
+
pipeline will not add a margin for you.
|
|
59
|
+
- **Margin on purpose.** When type must clear the delivery crop, set your own box (for example
|
|
60
|
+
`padding: 5%` or `inset: 5%`). The native scenes' 5 % safe margin is not applied to the
|
|
61
|
+
authored root, so check the busiest beat at phone width and at 4k, not only 1080p.
|
|
62
|
+
|
|
63
|
+
## Depth-order invariant for a moving subject
|
|
64
|
+
|
|
65
|
+
When a mover crosses a named landmark in an authored scene, declare a z-order invariant: the landmark must paint in front of the mover at the crossing beat, or the mover must be clipped at the landmark's silhouette. Scope this to the named landmark only — a foreground object may legitimately pass in front of unrelated shapes — so it generalizes beyond any one crossing. Derive the crossing from the declared depth order rather than a hardcoded position. Verify the crossing beat explicitly in preview at t=0, mid, end and camera/pan extremes.
|
|
66
|
+
|
|
67
|
+
## Land/waterline invariant
|
|
68
|
+
|
|
69
|
+
Any headland or landmass silhouette in an authored coastal scene must terminate at the horizon/waterline: its lowest point sits at or below the waterline in every seek and camera state — t=0, mid, end and pan extremes. No land shape may float detached above the water. This is concrete spatial geometry, checked in stills at the named moments, not a subjective quality judgment.
|
|
70
|
+
|
|
71
|
+
## Shared object binder: handoff and facing
|
|
72
|
+
|
|
73
|
+
These are authoring rules for scenes that draw the shared object population
|
|
74
|
+
(`layoutObjects` + `createObjectMeshes`); they are not renderer, schema or storyboard changes.
|
|
75
|
+
|
|
76
|
+
- **Hand normalized instances over unchanged.** The binder owns the mapping from normalized
|
|
77
|
+
layout coordinates to stage space, exactly as the scaffold does. Do not pre-scale `x`/`z`
|
|
78
|
+
into world units with a `.map(...)` first: that normalizes twice and puts the population
|
|
79
|
+
outside the visible stage. Pass the raw `.instances` array.
|
|
80
|
+
- **Build geometry facing the direction of travel.** Orient a moving subject's local geometry
|
|
81
|
+
so its front points along its motion. Do not compensate backwards geometry with a constant
|
|
82
|
+
group yaw (`rotation.y = Math.PI`); the carrier otherwise reads as trailing its load.
|
|
83
|
+
|
|
84
|
+
`harness/authored-scene-contract.test.mjs` checks both rules by walking every authored
|
|
85
|
+
`scene.js` under the film scenes tree. It proves the contract signatures in source, not visual
|
|
86
|
+
correctness or rendered output.
|
|
87
|
+
|
|
88
|
+
## Declared finish vocabulary
|
|
89
|
+
|
|
90
|
+
For authored 3D scenes that set literal `roughness`/`metalness` on standard or physical
|
|
91
|
+
materials, keep the values in the film's declared finish manifest (`finishes.json` beside the
|
|
92
|
+
storyboard). The vocabulary is catalogue-wide: the same rule applies to `scene.js` and to its
|
|
93
|
+
local helpers (`lib/*.js`), whichever family draws the surface.
|
|
94
|
+
|
|
95
|
+
- A literal finish value that is absent from the manifest fails the source check; do not add
|
|
96
|
+
ad-hoc numbers for one scene. Distinct values are allowed only when the manifest declares
|
|
97
|
+
them, so intentional per-family variation is expressed by declared entries, not exemptions.
|
|
98
|
+
- The numeric literal after a `??` default is the effective finish value and is checked like
|
|
99
|
+
any other literal. A default that cannot be resolved is undecidable and fails closed — never
|
|
100
|
+
a silent pass.
|
|
101
|
+
- `harness/authored-finish-vocabulary.test.mjs` walks every authored `.js` under the film
|
|
102
|
+
scenes tree, cross-checks the storyboard's `type: custom` `props.dir`, and reports the file
|
|
103
|
+
and line of any undeclared value.
|
|
51
104
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
(`position: absolute; inset: -4.5% -5.3%`) and keep type inside the box. The padding is a
|
|
56
|
-
percentage, so check 4k as well as 1080p in preview.
|
|
105
|
+
This is source-text verification only: a green run proves that literal finish values match a
|
|
106
|
+
manifest. It does not prove that a frame is beautiful, realistic or better, and it invokes no
|
|
107
|
+
renderer. It is a general authoring contract, not a fix for any single report.
|
|
57
108
|
|
|
58
109
|
## Loop
|
|
59
110
|
|
|
@@ -4,84 +4,85 @@ These are the failures that waste the most time. Each row is wrong -> right -> w
|
|
|
4
4
|
|
|
5
5
|
## Workflow
|
|
6
6
|
|
|
7
|
-
| Wrong
|
|
8
|
-
|
|
|
9
|
-
| `mk render` after "looks good"
|
|
10
|
-
| "They said yes earlier"
|
|
11
|
-
| Hand-edit the JSON after the first write
|
|
12
|
-
| Approve on the user's silence
|
|
13
|
-
| Skip preview because the board "looks fine" | Preview every board before asking
|
|
14
|
-
| Write a second board as "backup"
|
|
15
|
-
| Promise a feature the engine does not have
|
|
7
|
+
| Wrong | Right | Why |
|
|
8
|
+
| ------------------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------- |
|
|
9
|
+
| `mk render` after "looks good" | `mk preview`, show `contact.png`, hear an explicit yes, then `mk approve` | The gate exists so the user sees the film before paying for it |
|
|
10
|
+
| "They said yes earlier" | Ask again for the current preview | Any edit re-arms approval; an old yes is for an old board |
|
|
11
|
+
| Hand-edit the JSON after the first write | `mk patch`, `mk scene`, `mk fit` | The approval and preview bind to the exact bytes and structure |
|
|
12
|
+
| Approve on the user's silence | Ask again with the contact path | Silence is not consent |
|
|
13
|
+
| Skip preview because the board "looks fine" | Preview every board before asking | JSON is not a frame; lint is not composition |
|
|
14
|
+
| Write a second board as "backup" | Patch the one board | Two files diverge and the approval points at neither |
|
|
15
|
+
| Promise a feature the engine does not have | Name the unsupported effect and choose a native route | The user will see the gap at preview |
|
|
16
16
|
|
|
17
17
|
## Schema and props
|
|
18
18
|
|
|
19
|
-
| Wrong
|
|
20
|
-
|
|
|
21
|
-
| `"version": 2` or a migration step
|
|
22
|
-
| `"meta": { "aspect": "9:16" }`
|
|
23
|
-
| Adding a helpful key such as `"note"` or `"layoutHint"` | Only keys from `mk catalog <type>`
|
|
24
|
-
| `"id": "Intro Scene"`
|
|
25
|
-
| Overlay without `over`
|
|
26
|
-
| Overlay with `transition`
|
|
27
|
-
| `over`/`offset` on a base scene
|
|
28
|
-
| `meta.theme: "calm-light"` on a hand-written board
|
|
29
|
-
| Copying only `storyboard.json` to a new folder
|
|
30
|
-
| Summing durations to predict the total
|
|
31
|
-
| `code.highlight: 1`
|
|
32
|
-
| `media-frame.image` is a URL
|
|
33
|
-
| `"image": "assets/x.png"` while `--assets assets`
|
|
34
|
-
| An icon name invented from memory
|
|
19
|
+
| Wrong | Right | Why |
|
|
20
|
+
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
|
|
21
|
+
| `"version": 2` or a migration step | `"version": 1`; no migration command exists | There is one live schema discriminator, not a version history |
|
|
22
|
+
| `"meta": { "aspect": "9:16" }` | `"width": 1080, "height": 1920` | The frame is pixels; there is no `aspect` key |
|
|
23
|
+
| Adding a helpful key such as `"note"` or `"layoutHint"` | Only keys from `mk catalog <type>` | Props are strict; unlisted keys are rejected |
|
|
24
|
+
| `"id": "Intro Scene"` | `"id": "intro-scene"` | Ids must be lowercase slugs |
|
|
25
|
+
| Overlay without `over` | `"layer": "overlay", "over": "intro", "duration": 3` | An overlay must know which base scene it covers |
|
|
26
|
+
| Overlay with `transition` | Remove `transition` | Overlays fade themselves; the schema rejects it |
|
|
27
|
+
| `over`/`offset` on a base scene | Put them only on `layer: "overlay"` scenes | Base scenes advance the timeline |
|
|
28
|
+
| `meta.theme: "calm-light"` on a hand-written board | Use a built-in theme or vendor the theme into `themes/` | `mk validate` does not resolve themes; preview does |
|
|
29
|
+
| Copying only `storyboard.json` to a new folder | Copy `themes/` and `.mk/` beside it | Themes and template provenance resolve beside the board |
|
|
30
|
+
| Summing durations to predict the total | Read `preview.json` `totalSec`, or the `mk patch`/`mk fit`/`mk scene add`/`mk preview` line | Transitions overlap; `mk validate` reports errors, not duration |
|
|
31
|
+
| `code.highlight: 1` | `"highlight": [1]` (array of line numbers) | The prop is a list, not a scalar |
|
|
32
|
+
| `media-frame.image` is a URL | A local path plus an `assets.json` ledger row | Remote assets fail closed |
|
|
33
|
+
| `"image": "assets/x.png"` while `--assets assets` | `"image": "x.png"`; ledger `assets.json` | Asset refs are relative to the assets dir, not the project |
|
|
34
|
+
| An icon name invented from memory | `mk icon search <word>` | Icon names are a finite set |
|
|
35
35
|
|
|
36
36
|
## CLI
|
|
37
37
|
|
|
38
|
-
| Wrong
|
|
39
|
-
|
|
|
40
|
-
| `mk new ... --set items=["A","B"]`
|
|
41
|
-
| `mk new ... --set title.text=...`
|
|
42
|
-
| `mk scene add caption ...` with no `--over`
|
|
43
|
-
| `mk fit --seconds 50` on a 25 s board
|
|
44
|
-
| `mk approve` with different flags than `mk preview`
|
|
45
|
-
| Following the printed `approve:` hint after `preview --out`
|
|
46
|
-
| `mk approve` before `mk preview`
|
|
47
|
-
| `mk preview` on a long board without `--full`
|
|
48
|
-
| `preview.json` `continuity: warn`
|
|
49
|
-
| Lint: `icon-grid content (est. …) exceeds …`
|
|
50
|
-
| Caption band covers base text (`text_occluded`)
|
|
51
|
-
| `mk preview` on a narrated board with no `--audio`
|
|
52
|
-
| `
|
|
53
|
-
| `mk
|
|
54
|
-
| `mk
|
|
55
|
-
| `mk
|
|
56
|
-
| `mk
|
|
57
|
-
| `
|
|
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
|
+
| Lint: `icon-grid content (est. …) exceeds …` | Split the scene, shorten the title, or use 4 cards; re-preview | A 5-card two-row grid plus a two-line title clips the frame |
|
|
50
|
+
| Caption band covers base text (`text_occluded`) | Move/remove the base content; run `hyperframes check` at caption times | A readable caption that hides the banner is still a broken frame |
|
|
51
|
+
| `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 |
|
|
52
|
+
| Assuming `--music` needs `--audio` | Pass `--music <bed.wav>` alone for music-only; keep `--audio` for narration | The two routes are independent; a music-only bed ends with a short fade |
|
|
53
|
+
| `mk render --verify --format webm` | Verify the mp4 master, then convert | `--verify` is mp4-only |
|
|
54
|
+
| `mk captions manifest.json --out ops.json` with no storyboard | Add `--storyboard storyboard.json` | Ops need scene-relative paths |
|
|
55
|
+
| `mk assets import logo.png --dir assets` | Add `--licence MIT --source-url <url>` | Every imported asset needs provenance |
|
|
56
|
+
| `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 |
|
|
57
|
+
| `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 |
|
|
58
|
+
| `npx -y @anvpx/motion@0.1.95` resolves a different build than the pin | re-run with the exact pin from `SKILL.md`; report the version you ran | do not silently fall back to an unpinned npx |
|
|
58
59
|
|
|
59
60
|
## Windows
|
|
60
61
|
|
|
61
|
-
| Wrong
|
|
62
|
-
|
|
|
63
|
-
| `mk patch board.json --op` with inline JSON containing quotes | Put the op in `fixes.json` and use `--ops fixes.json` | Shell quoting mangles nested JSON
|
|
64
|
-
| `mk new --slots <(echo ...)`
|
|
65
|
-
| `$json = @'...'@; mk patch --op $json`
|
|
62
|
+
| Wrong | Right | Why |
|
|
63
|
+
| ------------------------------------------------------------- | ----------------------------------------------------- | -------------------------------------------- |
|
|
64
|
+
| `mk patch board.json --op` with inline JSON containing quotes | Put the op in `fixes.json` and use `--ops fixes.json` | Shell quoting mangles nested JSON |
|
|
65
|
+
| `mk new --slots <(echo ...)` | Write `slots.json` and pass `--slots slots.json` | Process substitution is not PowerShell |
|
|
66
|
+
| `$json = @'...'@; mk patch --op $json` | Same file route | Multi-line quoted JSON breaks on some shells |
|
|
66
67
|
|
|
67
68
|
## Quality
|
|
68
69
|
|
|
69
|
-
| Wrong
|
|
70
|
-
|
|
|
71
|
-
| Three static scenes in a row
|
|
72
|
-
| Thin ask treated as tiny brief / "clip" defaulted to 20-45 s | Run `amplify.md`, write full card in `direction.md` (## Amplification)
|
|
73
|
-
| 3D/world effects invented as props
|
|
74
|
-
| A paragraph on one slide
|
|
75
|
-
| All text the same size
|
|
76
|
-
| Decoration to fill space
|
|
77
|
-
| Claiming "premium" or "AAA" from a contact sheet
|
|
78
|
-
| Ignoring a lint warning because exit is 0
|
|
79
|
-
| Invented facts untagged
|
|
80
|
-
| Subject under one third of frame height
|
|
81
|
-
| Subtitle over the subject
|
|
82
|
-
| Template for a concrete visual subject
|
|
83
|
-
| Filling every amplify slot
|
|
84
|
-
| `Divergence: no recent work available`
|
|
70
|
+
| Wrong | Right | Why |
|
|
71
|
+
| ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
|
|
72
|
+
| Three static scenes in a row | Give base scenes a `move`, or vary the shot | Lint flags `flat-motion`; the film reads as slides |
|
|
73
|
+
| Thin ask treated as tiny brief / "clip" defaulted to 20-45 s | Run `amplify.md`, write the full card in `direction.md` (## Amplification); supplied length wins, else 60 s (30 s explicit short/social, 180 s explicit long-form) | Outline must stay <=200 words; do not paste full card |
|
|
74
|
+
| 3D/world effects invented as props | Run `mk catalog scene3d` (or type used), map world/light/camera/material to real props, name unsupported effects as `!` drops with replacements | Never invent prop names, model imports, or engine capabilities |
|
|
75
|
+
| A paragraph on one slide | One idea, at most six words per line | Viewers read the headline, not the paragraph |
|
|
76
|
+
| All text the same size | One clear hierarchy: headline, support, one hero number | Equal weight means no entry point |
|
|
77
|
+
| Decoration to fill space | Remove an element, enlarge the type, or split the beat | Empty space is not a defect; clutter is |
|
|
78
|
+
| Claiming "premium" or "AAA" from a contact sheet | Describe what the preview proves and what it does not | A still cannot prove motion, voice or the full render |
|
|
79
|
+
| Ignoring a lint warning because exit is 0 | Read every warning; fix or record a deliberate waiver | Warnings are the engine's cheapest review |
|
|
80
|
+
| Invented facts untagged | Tag every fact user/derived/invented; never render an invented fact | Untagged invented stats ship as evidence |
|
|
81
|
+
| Subject under one third of frame height | Enlarge the subject or pull the camera back | Small subjects read as missing in product demos |
|
|
82
|
+
| Subtitle over the subject | Move the subject or the caption band | Covered action is an unreadable frame |
|
|
83
|
+
| Template for a concrete visual subject | Direct route with a scene3d/kinetic scene, named camera and light | Templates show words about nouns; only staged scenes show the noun |
|
|
84
|
+
| Filling every amplify slot | Fill the slots, then delete two; name the two left thin (e.g. no blueprint grid, no callout arrows, no glow) | A full card was never edited; the quantity branch lost a point when full |
|
|
85
|
+
| `Divergence: no recent work available` | State the assumed look plus `Assumed/unresolved`; `unavailable` alone is a dodge | An unstated default is a template, not a decision |
|
|
85
86
|
|
|
86
87
|
When the same error appears twice, stop changing flags. Run `mk catalog <type>`, compare the scene to its example, and rewrite that one scene through `mk patch`. Three rounds is the budget; then show the user the options.
|
|
87
88
|
|
|
@@ -89,4 +90,4 @@ When the same error appears twice, stop changing flags. Run `mk catalog <type>`,
|
|
|
89
90
|
|
|
90
91
|
**Applicability:** a command refuses, a flag/field is in doubt, or output looks wrong. **Counterexample:** a warning can be a deliberate waiver recorded in the plan; a flag may be correct in a different context; a row's fix is the common fix, not the only fix. **Provenance:** motion-kit synthesis from observed failures on the current CLI surface, not an exhaustive or vendor-verified list.
|
|
91
92
|
|
|
92
|
-
**Check:** the chosen row's symptom matches the exact first `E` line or observed behavior; the fix was verified against `mk <command> --help` or `mk catalog <type>` before applying. If the fix changes nothing after one try, stop and switch rows.
|
|
93
|
+
**Check:** the chosen row's symptom matches the exact first `E` line or observed behavior; the fix was verified against `mk <command> --help` or `mk catalog <type>` before applying. If the fix changes nothing after one try, stop and switch rows.
|
|
@@ -11,7 +11,11 @@ jobs; a shared color can connect evidence across shots. Test without color so a
|
|
|
11
11
|
distinction does not depend only on hue. Several accents may be useful when the
|
|
12
12
|
data needs categories; justify and label them instead of enforcing one accent
|
|
13
13
|
as an aesthetic law. Inspect contrast over the actual background, including its
|
|
14
|
-
brightest and darkest moving regions.
|
|
14
|
+
brightest and darkest moving regions. When the brief names one signal element,
|
|
15
|
+
declare its colour role in `direction.md` and verify on an already-rendered hero
|
|
16
|
+
still that the signal region is chromatically distinct from its adjacent field
|
|
17
|
+
*even where their mean luminance is close*, via a pure RGB ROI probe; no new
|
|
18
|
+
render, no new board field and no quality threshold is implied.
|
|
15
19
|
|
|
16
20
|
Example: a warm signal moving through a cool network marks causality. Recoloring
|
|
17
21
|
every node on every shot erases that meaning. Next action: label each color's
|
|
@@ -22,9 +26,15 @@ job; remove or merge roles the viewer cannot explain.
|
|
|
22
26
|
Sketch the opening, turning point and ending as simple value/color fields.
|
|
23
27
|
Keep continuity where the argument continues; change the field when a shift
|
|
24
28
|
has meaning. Light can isolate form, reveal surface or connect spaces. Choose
|
|
25
|
-
direction, contrast and softness for that purpose;
|
|
26
|
-
not create renderer support. Map to actual
|
|
27
|
-
|
|
29
|
+
direction, contrast and softness for that purpose;
|
|
30
|
+
naming a cinematic light does not create renderer support. Map to actual
|
|
31
|
+
catalog/custom capabilities and test. For the focal subject, direction may
|
|
32
|
+
declare the intended key:fill separation in stops or ratio as authoring intent
|
|
33
|
+
(one stop = 2:1; 4:1 is about two stops), then verify it on a hero still with
|
|
34
|
+
the bounded ROI/stops check in `harness/key-fill-stops.mjs`. A declared number
|
|
35
|
+
records intent; it does not add a light rig to the renderer or a new
|
|
36
|
+
`mk validate` rule. Flat graphic work can have a strong light/value structure
|
|
37
|
+
without simulating 3D.
|
|
28
38
|
|
|
29
39
|
Example: evidence gradually occupies a quiet field until the final relationship
|
|
30
40
|
is visible. A dramatic dark-to-light change is one possible argument, not an
|
|
@@ -35,6 +45,9 @@ ending every film should repeat. Compare those three frames without copy.
|
|
|
35
45
|
Choose paper, grain, glass, metal, a clean field or another surface because it
|
|
36
46
|
supports subject and tone. Test at final scale and during motion; fine texture
|
|
37
47
|
can shimmer or interfere with type. Add surface only after hierarchy works.
|
|
48
|
+
|
|
49
|
+
**Process-faithful surface.** Degrade marks after layout (controlled blur/noise/threshold), not by choosing a "vintage" font; re-check legibility at final size. Size registration offset, grain and minimum stroke width in output pixels and hold them constant across frames — a mark that vanishes at delivery is a defect, not patina. Dither a required smooth gradient instead of accepting banding; inspect at output resolution.
|
|
50
|
+
|
|
38
51
|
Record rights/provenance for actual texture assets; a descriptive reference is
|
|
39
52
|
not permission to ship its pixels. A theme sets tokens; original composition,
|
|
40
53
|
light and material behavior belong in native or authored scene realization.
|
|
@@ -68,7 +68,7 @@ A hero object in a built world, not a model on a void. These are checkable in a
|
|
|
68
68
|
Each earns its keep; remove any that does not change the read.
|
|
69
69
|
- Volumetric spotlights (raymarched) for motivated light shafts; planar reflections with
|
|
70
70
|
roughness blur for ground contact; GPU-baked procedural textures for surface detail.
|
|
71
|
-
- Choreographed camera:
|
|
71
|
+
- Choreographed camera: a move with a reason and an end state (orbit/dolly/crane/
|
|
72
72
|
push); the move reveals something the start frame withholds.
|
|
73
73
|
- Related objects in the environment (not just the subject): scale cues, a ground that
|
|
74
74
|
receives the subject, a distance field that moves differently from the near field.
|
|
@@ -23,7 +23,7 @@ describes differences, not the quality or originality of their execution.
|
|
|
23
23
|
| Is hierarchy/readability working? | full-size and phone-width busiest/emptiest stills |
|
|
24
24
|
| Do action and transitions communicate? | normal-speed motion + start/middle/settle samples |
|
|
25
25
|
| Does sound support the argument? | actual audible output and reviewed time ranges |
|
|
26
|
-
| Does implementation reproduce state? | deterministic seek/build checks, separate from visual judgment |
|
|
26
|
+
| Does implementation reproduce state? | deterministic seek/build checks, separate from visual judgment; null triplet is the precondition for any numeric comparison row |
|
|
27
27
|
|
|
28
28
|
A still cannot prove motion. A short clip cannot prove unseen scenes or the
|
|
29
29
|
full mix. Use `preview.json` for coverage and record unreviewed ranges. Review
|
|
@@ -91,3 +91,11 @@ Subject rules:
|
|
|
91
91
|
- No subtitle bounding box intersects the subject bounding box.
|
|
92
92
|
|
|
93
93
|
Fail if any checklist item is missing, any item is unlabelled, or a forbidden item ships.
|
|
94
|
+
|
|
95
|
+
## Authored-scene spatial invariants (reviewer checklist)
|
|
96
|
+
|
|
97
|
+
Add these three pass/fail checks to the preview review when the brief names a mechanism or a coastal scene with a mover. They are concrete, falsifiable in a still/strip, and scored by a non-author reviewer; none is a taste claim.
|
|
98
|
+
|
|
99
|
+
- **Named-subject depiction gate:** every link the brief names is visibly depicted by a beat; a captioned scene, labelled marker or text card standing in for a link is a failure, not a depiction. Any unshown link must have been named in the preview ask.
|
|
100
|
+
- **Depth-order invariant:** where a mover crosses a named landmark, the authored scene declares a z-order and the landmark paints in front of the mover (or the mover is clipped at its silhouette) at the crossing beat — check t=0, mid, end and pan extremes.
|
|
101
|
+
- **Land/waterline invariant:** every landmass silhouette terminates at the horizon/waterline at t=0, mid, end and pan extremes; a shape floating detached above the water is a failure.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# Craft card: motion as explanation
|
|
2
2
|
|
|
3
|
-
Load when every object enters the same way, motion feels weightless
|
|
4
|
-
misses the important change. Read one
|
|
3
|
+
Load when every object enters the same way, motion feels weightless, the viewer
|
|
4
|
+
misses the important change or a hold reads as dead. Read one section or card,
|
|
5
|
+
then test the hard beat.
|
|
5
6
|
|
|
6
7
|
## Define the action before its curve
|
|
7
8
|
|
|
@@ -44,12 +45,54 @@ animated state on every seek, including before onset and after settle. Use
|
|
|
44
45
|
`authoring-scene.md` for the actual helper contract. Check A -> B -> A: returning
|
|
45
46
|
to A must reproduce its state; a pleasing forward playback cannot prove this.
|
|
46
47
|
|
|
48
|
+
## Two cards for the symptoms above
|
|
49
|
+
|
|
50
|
+
Read the card that matches what you saw, not the whole file. Shape: symptom ->
|
|
51
|
+
causal decision -> native or authored realization -> smallest repair ->
|
|
52
|
+
counterexample.
|
|
53
|
+
|
|
54
|
+
### Motion with no job
|
|
55
|
+
|
|
56
|
+
**Symptom:** every element enters the same way, or the camera moves while nothing
|
|
57
|
+
in the frame changes; the viewer cannot say what the move showed.
|
|
58
|
+
**Causal decision:** a move exists to orient, reveal a cause, compare states or
|
|
59
|
+
protect reading. A camera move needs a reason in the event, and `static` is a
|
|
60
|
+
supported camera decision. Motion that only proves the renderer runs is empty.
|
|
61
|
+
**Realization:** one dominant action per beat with a named start state, end state
|
|
62
|
+
and purpose. Native: the base scene's `move`, or `camera` where that scene has
|
|
63
|
+
one. Authored: one `seek(t)` progress value driving the change
|
|
64
|
+
(`authoring-scene.md`).
|
|
65
|
+
**Smallest repair:** delete the decorative move and let the subject's own action
|
|
66
|
+
carry the beat; if nothing acts, compose the beat as a still picture instead.
|
|
67
|
+
**Counterexample:** a kinetic-type or social clip may move type continuously —
|
|
68
|
+
there the type is the subject and its rhythm is the argument.
|
|
69
|
+
|
|
70
|
+
### Rest is not a dead frame
|
|
71
|
+
|
|
72
|
+
**Symptom:** "too static" is answered by adding movement everywhere until the
|
|
73
|
+
film reads busy; or a hold shows a frozen frame with no stated reason.
|
|
74
|
+
**Causal decision:** rest is part of the argument when it lets the viewer read or
|
|
75
|
+
infer. A held frame still keeps one living thing, and a designed breath of roughly
|
|
76
|
+
0.6-1.5 s before a payoff carries a stated reason.
|
|
77
|
+
**Realization:** hold the composition and let one motivated element live (a drift,
|
|
78
|
+
a caret, changing light, a breath of sound), or hold everything still and let a
|
|
79
|
+
declared stillness be the event.
|
|
80
|
+
**Smallest repair:** name the reason for the hold in the direction, or give the
|
|
81
|
+
held frame one job; if neither is true, shorten it.
|
|
82
|
+
**Counterexample:** a closing card in a sober report can hold longer than that
|
|
83
|
+
range because it is the ending, not because movement failed.
|
|
84
|
+
|
|
47
85
|
## Measured laws (pro motion, 53 moments; conditions in references)
|
|
48
86
|
|
|
49
87
|
Numbers, not adjectives. Use as starting targets; test on the hardest beat.
|
|
50
88
|
|
|
51
89
|
- Median move ~10 f (0.33 s at 30 fps). Entries put most travel in the first 4-8 frames
|
|
52
90
|
then a long tail; exits ease in and leave or shrink. No bounce unless the material earns it.
|
|
91
|
+
- Across scenes, shot length and within-shot change trade off: short beats (≈2-3 s) tend to
|
|
92
|
+
carry more optical change, long beats (≈8-10 s) less — allocate moves to the short beats,
|
|
93
|
+
not to every long hold: a long hold keeps one living detail, not continuous travel.
|
|
94
|
+
This is a descriptive cinemetrics correlation — not a quality guarantee: a pattern to test
|
|
95
|
+
on the hardest beat, never a threshold to enforce.
|
|
53
96
|
- One visible spring per film at most. Land decelerates; leave accelerates.
|
|
54
97
|
- Almost nothing fades (calm brands and privacy dissolves are the exceptions). Things arrive
|
|
55
98
|
by moving, cutting, unmasking or focusing; fades are for single objects, not between scenes.
|
|
@@ -36,6 +36,13 @@ Budget orientation, change, recognition and a rest in which the result can be
|
|
|
36
36
|
read. Dense evidence may need a held frame; a simple transformation may carry
|
|
37
37
|
several beats inside one authored scene. Use narration or music as a clock only
|
|
38
38
|
when it serves the intended emphasis. Every beat need not have the same length.
|
|
39
|
+
A base-scene boundary placed only because a narration clause ended is the
|
|
40
|
+
spoken-clause version of "the scene preset ends" is not a narrative reason: when
|
|
41
|
+
the picture's dominant action changes before the sentence does, split the clause
|
|
42
|
+
across two scenes and cut on that action, keeping one shot long at the declared
|
|
43
|
+
payoff (small-channel retention report (T1), [INFERENCE], not a measured
|
|
44
|
+
film-grammar law); this is a cut-placement hint, not a duration cap or a new mk
|
|
45
|
+
validate rule.
|
|
39
46
|
|
|
40
47
|
Check: write a small beat table with intended emphasis, change onset, readable
|
|
41
48
|
settle and exit. Preview the fastest and densest sections. Explain why a cut
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
# Craft card: sound and the mix arc
|
|
2
2
|
|
|
3
|
-
Load when audio is an afterthought, every cut gets a whoosh
|
|
4
|
-
message. Choose sound's narrative job before
|
|
3
|
+
Load when audio is an afterthought, every cut gets a whoosh, a bed masks the
|
|
4
|
+
message or a promised channel is missing. Choose sound's narrative job before
|
|
5
|
+
choosing files or volume.
|
|
5
6
|
|
|
6
7
|
## Decide what should be heard
|
|
7
8
|
|
|
8
|
-
Write a cue plan: time/beat, narrative purpose, voice/
|
|
9
|
-
and what should occupy the foreground. Silence can make a reveal or let a
|
|
10
|
-
idea settle. Sound can establish place, connect shots, prepare a change or
|
|
11
|
-
an observed event. Repeating a transition effect without meaning makes timing
|
|
9
|
+
Write a cue plan: time/beat, narrative purpose, voice/bed/supplied effect/silence,
|
|
10
|
+
source and what should occupy the foreground. Silence can make a reveal or let a
|
|
11
|
+
dense idea settle. Sound can establish place, connect shots, prepare a change or
|
|
12
|
+
mark an observed event. Repeating a transition effect without meaning makes timing
|
|
12
13
|
predictable and competes with evidence. Keep sources local with actual rights.
|
|
13
14
|
|
|
14
15
|
Example: let a mechanical pulse become irregular as a process jams; remove it
|
|
@@ -16,40 +17,115 @@ when the bottleneck clears. This can explain a state change. A generic impact
|
|
|
16
17
|
at every title cannot. Next action: describe what each cue tells the viewer
|
|
17
18
|
that the picture or narration does not already make clear.
|
|
18
19
|
|
|
20
|
+
Record the channel before files or volume: narration plus bed, text-led,
|
|
21
|
+
intentional silence with its reason, music-only intent, or supplied audio.
|
|
22
|
+
Silence is a decision, not a failure; a treatment that agreed a channel and
|
|
23
|
+
ships without it is a defect. Never add sound to complete a style.
|
|
24
|
+
|
|
25
|
+
## Choose from what exists
|
|
26
|
+
|
|
27
|
+
The current surface is one voice preset and one bed per film. Voice:
|
|
28
|
+
`mk voice storyboard.json --preset <id>` (eight presets, US/British English and
|
|
29
|
+
Japanese, with their alignment limits in `voice.md`). Bed: `--music <bed.wav>`,
|
|
30
|
+
`--music-volume <n>` and `--music-license <file>` on preview, approve and render;
|
|
31
|
+
the bed works under narration or alone (`--music` without `--audio`), runs to the
|
|
32
|
+
picture end and fades over its last 0.1 s. There is no sound-effects or ambience
|
|
33
|
+
API, no second bed, no cue automation and no mood-driven music generation; a mood
|
|
34
|
+
word is a catalog label, not a composer. Ask for those as a named limit instead.
|
|
35
|
+
|
|
36
|
+
Pick the bed from `<package root>/music/catalog.json` by energy against the
|
|
37
|
+
script's density, then by arc: one loop from first frame to picture end, one
|
|
38
|
+
level, fixed ducking under voice. A bed needing a mid-film entrance, crossfade
|
|
39
|
+
or build the loop cannot carry is the wrong bed.
|
|
40
|
+
|
|
41
|
+
## Two cards for the channel decision
|
|
42
|
+
|
|
43
|
+
Read the card that matches your situation. Shape: symptom -> causal decision ->
|
|
44
|
+
native or authored realization -> smallest repair -> counterexample.
|
|
45
|
+
|
|
46
|
+
### The agreed channel is missing
|
|
47
|
+
|
|
48
|
+
**Symptom:** the outline promised narration and a restrained bed; the preview is
|
|
49
|
+
silent, or the bed nobody agreed appears, or a silent approval later gains music.
|
|
50
|
+
**Causal decision:** the channel is recorded before files or volume, and a
|
|
51
|
+
treatment that agreed one and ships without it is a defect, not a style. Missing
|
|
52
|
+
tooling or rights is an unresolved item, never permission to promise sound.
|
|
53
|
+
**Realization:** one voice preset plus one bed: `mk voice --preset <id>`, then
|
|
54
|
+
`--audio` with `--music`/`--music-volume`/`--music-license` passed identically to
|
|
55
|
+
preview, approve and render. No venv: agree to ship silent (`setup.md`).
|
|
56
|
+
**Smallest repair:** add the missing element with the same flags, or reopen the
|
|
57
|
+
channel decision with the user and record the change in the outline.
|
|
58
|
+
**Counterexample:** a file with no audio stream is correct when the agreed channel
|
|
59
|
+
was text-led; then the defect is the outline that disagreed, not the file.
|
|
60
|
+
|
|
61
|
+
### Silence and text-led cuts are decisions
|
|
62
|
+
|
|
63
|
+
**Symptom:** the film carries no narration and no bed and a review calls that
|
|
64
|
+
missing sound; or a cue is added to a beat that reads better silent.
|
|
65
|
+
**Causal decision:** a stated intent for silence, text-led, supplied audio or
|
|
66
|
+
music-only wins. The defect is an unrecorded channel, not the absence of audio.
|
|
67
|
+
Music-only is supported: pass `--music` without `--audio`; the bed runs to picture
|
|
68
|
+
end and fades over its last 0.1 s (clamped to half the picture).
|
|
69
|
+
**Realization:** for music-only, pass `--music <bed.wav>` and no `--audio`; for
|
|
70
|
+
silence, ship with no audio flags; carry the reason in the outline and direction,
|
|
71
|
+
and let captions or type do the reading. A board with `narration` needs `--audio`
|
|
72
|
+
or an explicit `--allow-silent`. `mk draft` still requires `--audio` for a bed;
|
|
73
|
+
use preview/render for a music-only cut.
|
|
74
|
+
**Smallest repair:** if the silence was never decided, restore the agreed channel
|
|
75
|
+
or record the new decision and re-preview; do not slip a last-second cue in.
|
|
76
|
+
**Counterexample:** silence is wrong for a channel that needs speech — a narrated
|
|
77
|
+
explainer for a commuter audience has a missing voice, and "quiet" is no defence.
|
|
78
|
+
|
|
19
79
|
## Edit picture and music deliberately
|
|
20
80
|
|
|
21
81
|
Identify phrases, rests, changes of energy and useful accents in the actual
|
|
22
82
|
track. A cut may land on, prepare or resist an accent; do not force every visual
|
|
23
83
|
event onto a beat. Plan the energy arc with the argument, and leave room for
|
|
24
84
|
voice consonants and reading. If the track or script changes, revisit timing.
|
|
25
|
-
Use the existing audio contract
|
|
26
|
-
this card does not imply a new
|
|
85
|
+
Use the existing audio contract: a licensed local bed enters through `--music`
|
|
86
|
+
and the same approved receipt, not around it; this card does not imply a new
|
|
87
|
+
per-cue sound-effects API or automatic music editor.
|
|
27
88
|
|
|
28
|
-
|
|
89
|
+
Before synthesis, read the approved words aloud and shape the written
|
|
90
|
+
`narration` for delivery: mark breath points with punctuation and short
|
|
91
|
+
clauses, put a deliberate pause before the reveal beat, and prefer a
|
|
92
|
+
restrained "serve the story" read over filling the beat. Keep the existing
|
|
93
|
+
ASCII/digit-free and silence-gate constraints in `voice.md`: a mark that
|
|
94
|
+
strands a word in silence or breaks the fit preflight is refused, not
|
|
95
|
+
rewarded. After synthesis,
|
|
29
96
|
compare script and audio for omissions/pronunciation, then time captions and
|
|
30
97
|
picture to what is actually spoken. An ASR match cannot prove pleasant delivery;
|
|
31
|
-
listening alone cannot reliably prove every word is present.
|
|
98
|
+
listening alone cannot reliably prove every word is present. These sources
|
|
99
|
+
describe human performers; whether Kokoro renders a marked comma as a longer
|
|
100
|
+
inter-word gap is [INFERENCE] until measured. `harness/delivery-gaps.mjs`
|
|
101
|
+
provides a bounded, pure gap check from voice-manifest word timings: a
|
|
102
|
+
measurement aid, not a gate, a renderer change or a quality claim. The
|
|
103
|
+
pre-registered blind A/B that could test the claim is NOT_RUN.
|
|
32
104
|
|
|
33
105
|
## Review the final combination
|
|
34
106
|
|
|
35
|
-
Listen to
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
the
|
|
40
|
-
|
|
107
|
+
Listen to the narration wavs and the audible preview. The CLI exports no stems,
|
|
108
|
+
so audition a licensed bed file directly if you need its texture. Check
|
|
109
|
+
entrances, loop seams, foreground clarity, level jumps and intentional rests on
|
|
110
|
+
small speakers. `mk verify <file> --loudness` measures LUFS and true peak
|
|
111
|
+
against the platform policy; `mk qc` checks the voice manifest and track.
|
|
112
|
+
Measurements cannot prove the mix tells the story. Record which ranges and
|
|
113
|
+
outputs were heard; if nobody listened, record NOT_RUN, not PASS.
|
|
41
114
|
|
|
42
115
|
Repeat the same audio/bed/volume/license inputs at preview, approve and render
|
|
43
116
|
(`voice.md`). A silent or narration-only approval does not authorize added music.
|
|
44
|
-
Check: play
|
|
45
|
-
state the narrative fact it adds beyond picture and narration, or
|
|
117
|
+
Check: play the narration wavs and the combined preview at normal speed; for
|
|
118
|
+
each cue state the narrative fact it adds beyond picture and narration, or
|
|
119
|
+
remove it.
|
|
46
120
|
|
|
47
121
|
## Applicability, counterexample and provenance
|
|
48
122
|
|
|
49
123
|
Loudness measurement as distinct from peaks draws on
|
|
50
124
|
[EBU R128](https://tech.ebu.ch/publications/r128), verified 2026-11-06.
|
|
51
125
|
It is a broadcast recommendation, not a universal target for all channels;
|
|
52
|
-
use the actual delivery requirement and engine QC contract. Cue purpose
|
|
53
|
-
arc are motion-kit synthesis
|
|
54
|
-
|
|
55
|
-
|
|
126
|
+
use the actual delivery requirement and engine QC contract. Cue purpose, mix
|
|
127
|
+
arc and bed selection are motion-kit synthesis; the catalog's energy/bpm/key
|
|
128
|
+
labels describe the shipped files, not a guarantee of fit. An abstract music
|
|
129
|
+
video may organize image around sound rather than explanation; critique that
|
|
130
|
+
intention. No bed is preferable to an unlicensed, distracting or poorly
|
|
131
|
+
reviewed one.
|
|
@@ -25,6 +25,10 @@ a measured count may accumulate. Keep the reading order clear and allow a
|
|
|
25
25
|
settled interval. Stagger semantic groups, not automatically every character.
|
|
26
26
|
Camera movement plus moving words plus changing copy can exceed attention;
|
|
27
27
|
choose the primary action and subordinate the others.
|
|
28
|
+
Derive the film's own base-beat length from its base-scene `duration` values
|
|
29
|
+
(median), never from the words, and treat a text-role base scene shorter than
|
|
30
|
+
that beat as a structural retime candidate to inspect on preview; the check
|
|
31
|
+
reads only `type`/`duration`/`layer`.
|
|
28
32
|
|
|
29
33
|
Example: reveal "less waiting" only after a queue shortens, so copy names an
|
|
30
34
|
observed result. Flying each letter in before the queue changes reverses that
|