luckiest-co 1.0.40 → 1.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/package.json +1 -1
  4. package/skills/video-studio/ATTRIBUTION.md +3 -0
  5. package/skills/video-studio/CHANGELOG.md +9 -0
  6. package/skills/video-studio/LICENSE-motionmaxxing +202 -0
  7. package/skills/video-studio/SKILL.md +33 -7
  8. package/skills/video-studio/references/audio.md +15 -0
  9. package/skills/video-studio/references/step-2-plan.md +14 -6
  10. package/skills/video-studio/references/tones.md +5 -5
  11. package/skills/video-studio/scripts/qa.mjs +85 -1
  12. package/skills/video-studio/scripts/qa.test.mjs +37 -1
  13. package/skills/video-studio/scripts/storyboard.schema.json +3 -0
  14. package/skills/video-studio-art-director/ATTRIBUTION.md +3 -0
  15. package/skills/video-studio-art-director/CHANGELOG.md +7 -0
  16. package/skills/video-studio-art-director/LICENSE-motionmaxxing +202 -0
  17. package/skills/video-studio-art-director/SKILL.md +42 -7
  18. package/skills/video-studio-composition/ATTRIBUTION.md +3 -0
  19. package/skills/video-studio-composition/CHANGELOG.md +7 -0
  20. package/skills/video-studio-composition/LICENSE-motionmaxxing +202 -0
  21. package/skills/video-studio-composition/SKILL.md +17 -4
  22. package/skills/video-studio-director/ATTRIBUTION.md +3 -0
  23. package/skills/video-studio-director/CHANGELOG.md +8 -0
  24. package/skills/video-studio-director/LICENSE-motionmaxxing +202 -0
  25. package/skills/video-studio-director/SKILL.md +89 -7
  26. package/skills/video-studio-motion/ATTRIBUTION.md +3 -0
  27. package/skills/video-studio-motion/CHANGELOG.md +8 -0
  28. package/skills/video-studio-motion/LICENSE-motionmaxxing +202 -0
  29. package/skills/video-studio-motion/SKILL.md +98 -5
  30. package/skills/video-studio-motion/references/kinetic-type.md +89 -0
  31. package/skills/video-studio-motion/references/ui-demo.md +59 -0
  32. package/skills/video-studio-script/ATTRIBUTION.md +6 -0
  33. package/skills/video-studio-script/CHANGELOG.md +7 -0
  34. package/skills/video-studio-script/LICENSE-motionmaxxing +202 -0
  35. package/skills/video-studio-script/SKILL.md +28 -6
@@ -9,7 +9,7 @@
9
9
  "name": "luckiest",
10
10
  "source": "./",
11
11
  "description": "Plan, go, finish, plus bundled free Luckiest skills that work in Claude Code, web chat, and Cowork.",
12
- "version": "0.1.39",
12
+ "version": "0.1.40",
13
13
  "author": { "name": "Luckiest" }
14
14
  }
15
15
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "luckiest",
3
3
  "description": "Plan, go, finish. Guided planning, progress dashboards, and your luckiest.co tribe inside Claude Code.",
4
- "version": "0.1.39",
4
+ "version": "0.1.40",
5
5
  "author": { "name": "Luckiest" }
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "luckiest-co",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Luckiest for Claude Code: plan, go, finish. Your luckiest.co skills and tribe, inside Claude.",
5
5
  "bin": {
6
6
  "luckiest-co": "./bin/install.js"
@@ -12,6 +12,7 @@ projects. Upstream license texts are kept beside this file.
12
12
  | **skills** by Emil Kowalski (`emilkowalski/skills`) | MIT | Motion and taste rules, the review posture, and the motion vocabulary, rewritten for video in the `luckiest-video-studio-motion` sub-skill | `luckiest-video-studio-motion/LICENSE-emil` |
13
13
  | **HyperFrames student kit** by Nate Herk and contributors (`hyperframes-student-kit`) | MIT for the original kit; the Student Kit Use Permission for its pipeline skills, style library, templates, and editing tools | Rewritten rules and ported scripts in the `luckiest-video-studio-cuts`, `-talk`, and `-reel` sub-skills | `LICENSE-student-kit`, `LICENSE-student-kit-pipeline` |
14
14
  | **Motion OS** by Jason Lee (`jasonlee-breadcrumb/motion-os`) | MIT | The review player in the `luckiest-video-studio-review` sub-skill (`editor/index.html`, `editor/serve.mjs`) and the `reel.json` format; see that sub-skill's `ATTRIBUTION.md` | `luckiest-video-studio-review/LICENSE-motion-os` |
15
+ | **motionmaxxing** by Tejas Makwana (`Tejashmakwana/motionmaxxing`, FinalMotion, finalmotion.video), commit 8c8ec0f2 | Apache-2.0 | The beat contract, render-gate posture and `NOTE.md` review note, the `endhold`, `blankframes` and `hud` gate thresholds in `scripts/qa.mjs`, the no-crossfade transition table, and the sound-arc numbers in `references/audio.md`. Rewritten in our own words; no code, runtime, media, studies or `library/` rows are copied | `LICENSE-motionmaxxing` |
15
16
 
16
17
  Studied, not copied:
17
18
 
@@ -62,3 +63,5 @@ Used at runtime, not bundled:
62
63
  - From the same kit's style library: the `luckiest-video-studio-cards` card packs,
63
64
  renamed and rebranded (S39 to S47), and QA gates written from the checks its
64
65
  storytelling rules describe but did not ship (`scripts/qa.mjs`).
66
+
67
+ motionmaxxing NOTICE: "motionmaxxing: looksmaxxing for motion graphics. Made by Tejas Makwana (x.com/makwanatejas170), github.com/Tejashmakwana/motionmaxxing. Licensed under the Apache License, Version 2.0." Changes: ideas and measured numbers restated for HyperFrames and GSAP runs; its GSAP runtime, scripts, showcase media and precedent library are not included.
@@ -1,5 +1,14 @@
1
1
  # Changelog — luckiest-video-studio
2
2
 
3
+ ## 1.15.0 — 2026-10-12
4
+
5
+ - Three new QA gates in `scripts/qa.mjs`, each with a failing and a passing test: `endhold` (end card held over 1.4 s, or a final shot over a quarter of the film), `blankframes` (more than 3 empty swatch frames in a row) and `hud` (HUD counters, timecodes, BPM/FPS, greetings, "label · $value"; text in `data-ui` product UI is exempt, tracked caps only warn).
6
+ - `NOTE.md` is now required before showing a cut: the idea, the belief each scene creates, real vs generated, gate numbers, one sentence per contact-sheet frame (written before reading the gates), and what is left to improve.
7
+ - Storyboard scenes take optional `belief`, `importance` and `pictureOnly` fields; the plan template asks for them plus a handoff per cut.
8
+ - Transition tables no longer recommend crossfades, which the `crossfade` gate fails; cut on motion and blur-matched cuts replace them. Headlines are no longer typed letter by letter.
9
+ - `references/audio.md`: the sound arc across a film (1 to 3 hero hits, silence before the hit, dips while reading, ducking under voice).
10
+ - Ideas and numbers from Tejas Makwana's motionmaxxing (Apache-2.0), in our own words; no code copied. Description trimmed under 1024 characters.
11
+
3
12
  ## 1.14.1 — 2026-10-10
4
13
  - Security: `scripts/pyproject.toml` floors raised to the locked, advisory-free numpy 2.4.6 and scipy 1.17.1 (SkillSpector SC4). urllib3, pulled in through librosa's pooch download helper, constrained to 2.8.0 or later and relocked from 2.7.0, fixing GHSA-8988-9cw3-xx77, GHSA-gh4c-6fx4-qh6g and GHSA-vxq7-64xx-v4gw. OSV reports 0 of 31 locked packages vulnerable.
5
14
 
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: video-studio
3
- description: "Make product launch videos, product demos with motion design between the demo shots, and logo motion showcases of a design portfolio, and keep every one editable after it is rendered. Starts with a short context interview, plans a scripted storyboard the user approves scene by scene in a review player before anything renders, builds motion scenes with HyperFrames, records or places demo footage, renders each scene as its own clip, then hands back an MP4 plus the editable pieces: a storyboard.json that re-renders one scene at a time, a review player to edit copy, pin notes on the frame, and send changes back in one prompt (Concat, OpenScreen, or Diffusion Studio on request), and optional After Effects compositions. Use for 'make a launch video', 'product demo video', 'demo with motion graphics', 'logo animation', 'logo reveal', 'motion showcase of my work', 'portfolio reel', 'animate my logos', 'brand reel', 'turn my talking-head recording into a reel', 'add graphics over me talking', 'turn this into a video', 'change scene 3 of the video', or 'let me edit the video after'. For AI-generated footage, avatars, and text-to-video models use luckiest-video. For what to post and when use luckiest-social."
3
+ description: "Make product launch videos, product demos with motion design between demo shots, and logo showcases, all editable after render. Starts with a short context interview, plans a scripted storyboard the user approves scene by scene in a review player before anything renders, builds motion scenes with HyperFrames, records or places demo footage, renders each scene as its own clip, then hands back an MP4 plus a storyboard.json that re-renders one scene at a time, a review player for edits and notes (Concat, OpenScreen, or Diffusion Studio on request), and optional After Effects compositions. Use for 'make a launch video', 'product demo video', 'demo with motion graphics', 'logo animation', 'logo reveal', 'portfolio reel', 'animate my logos', 'brand reel', 'turn my talking-head recording into a reel', 'add graphics over me talking', or 'change scene 3 of the video'. For AI-generated footage, avatars, and text-to-video models use luckiest-video. For what to post and when use luckiest-social."
4
4
  license: See ATTRIBUTION.md
5
5
  allowed-tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion
6
6
  metadata:
7
- version: "1.14.1"
7
+ version: "1.15.0"
8
8
  listing_id: luckiest-video-studio
9
9
  author: luckiest
10
10
  ---
@@ -19,13 +19,13 @@ an MP4.
19
19
  ## Staying current
20
20
 
21
21
  On activation, call the Luckiest MCP `check_updates` tool with
22
- `{ listingId: "aff888e4-9ee9-4f73-af08-74d5d09d3c10", installedSemver: "1.14.1" }`. If it returns
22
+ `{ listingId: "aff888e4-9ee9-4f73-af08-74d5d09d3c10", installedSemver: "1.15.0" }`. If it returns
23
23
  `upToDate: false`, surface the `notice` to the user once, then continue. Do nothing
24
24
  further if `upToDate: true`. Never block on this check; if the tool is unavailable,
25
25
  proceed.
26
26
 
27
27
  When the skill's work is done, call the Luckiest MCP `report_usage` tool once with
28
- `{ listing_id: "luckiest-video-studio", skill_version: "1.14.1", matched: true, success: <true if the skill completed, false otherwise> }`.
28
+ `{ listing_id: "luckiest-video-studio", skill_version: "1.15.0", matched: true, success: <true if the skill completed, false otherwise> }`.
29
29
  Metadata only, never prompt text. Never block on it; if the tool is unavailable,
30
30
  skip silently.
31
31
 
@@ -104,6 +104,7 @@ video-studio-output/
104
104
  final.mp4 all clips joined, poster baked as frame 0
105
105
  poster.jpg
106
106
  TIMING.md every scene with its in/out time and the line it covers
107
+ NOTE.md the idea, the belief each scene creates, real vs generated, gate numbers, one line per contact-sheet frame
107
108
  reel.json what the review player reads (default editor), rewritten on every render
108
109
  qa/review-notes.json your own notes, pinned in the review player before the user opens it
109
110
  concat/ the Concat project (with --editor concat); project.concat.txt holds its path
@@ -307,8 +308,16 @@ node <skill-dir>/scripts/qa.mjs avsync <output-dir>/final.mp4 --expect <hero
307
308
  node <skill-dir>/scripts/qa.mjs facts <output-dir> # on-screen numbers not in storyboard facts, em dashes on screen
308
309
  node <skill-dir>/scripts/qa.mjs loop <output-dir>/final.mp4 # only for looping pieces: last frame matches the first
309
310
  node <skill-dir>/scripts/qa.mjs safe <output-dir> # text or logo edges in each format's platform-covered margins
311
+ node <skill-dir>/scripts/qa.mjs endhold <output-dir>/final.mp4 # end card held over 1.4 s, final shot over a quarter of the film
312
+ node <skill-dir>/scripts/qa.mjs blankframes <output-dir>/final.mp4 # more than 3 frames of empty swatch in a row
313
+ node <skill-dir>/scripts/qa.mjs hud <output-dir>/composition # HUD counters, timecodes, BPM/FPS, greetings, "label · $value"
310
314
  ```
311
315
 
316
+ `hud` skips text inside elements marked `data-ui` (real product UI) and only
317
+ warns on tracked uppercase labels. Do not run it on reel runs: the reel's
318
+ labelled chapters are its style. A failing `endhold`, `blankframes` or `hud` gate is
319
+ fixed, never explained away.
320
+
312
321
  Skip `avsync` only with `--no-music --no-sfx`. Pass the hero hit times from
313
322
  `TIMING.md` to `--expect`. A hit more than one frame off means its audio element's
314
323
  `data-start` or the cue time is wrong.
@@ -358,10 +367,27 @@ reverts to the old one. Each new version must fix one of the two biggest
358
367
  differences the judge named. Stop at v3, when a version loses, or when only
359
368
  changes too small to see are left.
360
369
 
370
+ **Write `NOTE.md`** in the run folder before showing the user the cut:
371
+
372
+ 1. The one idea and why it belongs to this brand.
373
+ 2. The belief each scene creates ("the viewer ...").
374
+ 3. What is real (captured UI, real copy and numbers) and what is illustrative or
375
+ generated.
376
+ 4. The gate results, quoted from the `qa.mjs` JSON (numbers, not "passed"), with
377
+ any gate skipped and why in one line.
378
+ 5. One sentence per contact-sheet frame: what is on screen, what the hero is, and
379
+ whether it would pass as a slide.
380
+ 6. What you would still improve.
381
+
382
+ Write part 5 from the contact sheet before reading any gate result, so the
383
+ numbers do not decide what you see. Describe what was checked. Never call the
384
+ film verified, clean or good.
385
+
361
386
  **Gate:** `final.mp4` plays end to end, every scene in `storyboard.json` has a
362
- clip, the seven gates pass or each failure is explained in `TIMING.md`, no scene is
363
- left blocked in `qa/motion-review.md`, and
364
- every judge verdict from v2 on is recorded there.
387
+ clip, every gate that applies passes or each failure is explained in `TIMING.md`, no scene is
388
+ left blocked in `qa/motion-review.md`,
389
+ every judge verdict from v2 on is recorded there, and `NOTE.md` exists with all
390
+ six parts.
365
391
 
366
392
  ## Step 5: Hand off for editing
367
393
 
@@ -217,6 +217,21 @@ The bundled library has no whooshes or risers. Source them with HyperFrames
217
217
  - **Staggered elements:** usually accent the first, final, or strongest beat;
218
218
  only score every item when that rhythm is intentional and still feels clean.
219
219
 
220
+ ### The sound arc across the film
221
+
222
+ - **1 to 3 hero hits per film**, placed by hand, drawn from 3 to 5 kinds of
223
+ sound. Everything else is detail under them.
224
+ - **Silence before the hit.** Clear the music 8 to 15 dB for 0.2 to 0.5 seconds
225
+ right before the biggest move, so the hit lands in space.
226
+ - **Dip while the viewer reads.** Pull the music down 6 to 10 dB while a line of
227
+ text holds on screen.
228
+ - **Duck under the voice.** With narration, the music sits about 9 dB lower while
229
+ a line plays (80 ms down, 300 ms back up).
230
+ - **Normalize SFX to a -3 dBFS peak** before the gain ladder, so gains mean the
231
+ same thing for every file.
232
+ - **Grid at 30fps:** 120 BPM is exactly 15 frames per beat, so cuts land on whole
233
+ frames.
234
+
220
235
  Composition notation:
221
236
  ```
222
237
  Scene 2 — Reveal — 3s
@@ -82,11 +82,14 @@ approved (`step-4-deliver.md`, "Other formats (last)").
82
82
 
83
83
  ### Scene 1 — [name] — [duration]s
84
84
  [What's on screen. What text appears. What product material must be referenced.]
85
+ Belief: [the viewer ... ; one belief, no "and"; importance 1, 2 or 3]
86
+ Picture only: [what the picture shows with the text covered; "a card on a flat colour" is not an answer]
85
87
  Sequential/interaction: [yes — describe what appears one by one or what interaction is simulated, e.g. "3 stat cards arrive one by one" or "cursor clicks the match button"; or none]
86
88
  Audio intent: [what the sound should do emotionally]
87
89
  Audio-coupled idea: [typed text, beat-aligned reveal, counter ticks, card-by-card sequence, simulated tap/swipe/type — or none]
88
90
  Music: [mood, or "none" only if disabled / missing / intentionally silent]
89
91
  Transition mood: [clean / hard / dramatic / soft / chaotic] → Scene 2
92
+ Handoff: [what carries into Scene 2, or "cut on motion"; Scene 2 opens already moving]
90
93
 
91
94
  ### Scene 2 — [name] — [duration]s
92
95
  [...]
@@ -182,7 +185,7 @@ These are among the most effective moments in a video — they make the product
182
185
  If a scene has either of these, commit to it explicitly in the scene description:
183
186
  - Good: "3 horse profiles slide in one by one, each with a card sound"
184
187
  - Good: "Simulate a right-swipe on Thunder's profile card"
185
- - Good: "The hook line types out character by character with keyboard sounds"
188
+ - Good: "The query types into the product's own search field with keyboard sounds" (type only into a real input field, never a headline)
186
189
  - Avoid: leaving it vague and hoping Hyperframes adds rhythm on its own
187
190
 
188
191
  Hyperframes can implement both patterns well — but only if the plan specifies what's appearing, in what order, and that interaction is being simulated. The plan is the contract.
@@ -253,16 +256,21 @@ If SFX are enabled, note likely sound opportunities but leave exact filenames to
253
256
 
254
257
  ## Transition vocabulary
255
258
 
256
- Match transitions to tone:
259
+ Match transitions to tone. Never crossfade whole scenes: the `crossfade` gate fails
260
+ an opacity tween on a full-frame layer. Cut on motion instead: scene A speeds up
261
+ over its last 3 to 8 frames, scene B opens already moving. For a softer join, use
262
+ a blur-matched cut (A blurs out to about 18px, B starts at about 80px and resolves
263
+ in about 8 frames). Fades are for single objects, not scenes. Handoff recipes are
264
+ in `luckiest-video-studio-motion`.
257
265
 
258
266
  | Tone | Preferred transitions |
259
267
  |---|---|
260
- | `default` | Crossfade, clean wipe |
261
- | `polished` | Soft crossfade, slide |
268
+ | `default` | Cut on motion, clean wipe |
269
+ | `polished` | Blur-matched cut, slide |
262
270
  | `yc-parody` | Hard cut, minimal |
263
271
  | `chaotic` | Hard cut, flash, zoom |
264
- | `deadpan` | Slow crossfade, long hold |
265
- | `cinematic` | Dramatic wipe, crossfade |
272
+ | `deadpan` | Hard cut after a long hold |
273
+ | `cinematic` | Dramatic wipe, blur-matched cut |
266
274
  | `app-store` | Slide, smooth wipe |
267
275
 
268
276
  ## Storyboard stills
@@ -31,7 +31,7 @@ Horse Tinder.
31
31
  Find your perfect stablemate.
32
32
  ```
33
33
 
34
- **Transitions:** Crossfade or clean slide.
34
+ **Transitions:** Cut on motion or clean slide.
35
35
 
36
36
  **When to use:** Most absurd consumer apps. Projects that have personality without trying too hard.
37
37
 
@@ -57,7 +57,7 @@ upon completion.
57
57
 
58
58
  **Outro style:** Product name. Tagline. Silence.
59
59
 
60
- **Transitions:** Slow crossfade (0.6-0.8s).
60
+ **Transitions:** Blur-matched cut (out to 18px, in from 80px, about 8 frames).
61
61
 
62
62
  **When to use:** Projects that aren't jokes. Products that want to feel premium. Anytime the user says "clean" or "elegant."
63
63
 
@@ -92,7 +92,7 @@ The ride-hailing app for ride-hailing assets.
92
92
  taxifortaxis.com
93
93
  ```
94
94
 
95
- **Transitions:** Hard cut or minimal crossfade (0.2s).
95
+ **Transitions:** Hard cut, landing mid-move.
96
96
 
97
97
  **When to use:** Any recursive or absurd concept that benefits from being played straight. "Psychologists for Chatbots", "Taxi for Taxis", "Briefcase for Baby."
98
98
 
@@ -157,7 +157,7 @@ Now I fear birds, weather, and gravity.
157
157
  Fish Flight School.
158
158
  ```
159
159
 
160
- **Transitions:** Very slow crossfade (0.8-1.0s). Or long hold before the next scene.
160
+ **Transitions:** Long hold, then a hard cut. A held frame keeps one living thing (a slow drift or a caret).
161
161
 
162
162
  **When to use:** Projects that have a quote as the strongest thing on the site. "Psychologists for Chatbots" testimonial-forward approach. Anything where restraint makes the joke land harder.
163
163
 
@@ -192,7 +192,7 @@ FISH FLIGHT SCHOOL
192
192
  The sky was never the limit.
193
193
  ```
194
194
 
195
- **Transitions:** Dramatic wipe or slow crossfade with scale (scene enters at 0.95, reaches 1.0).
195
+ **Transitions:** Dramatic wipe, or a blur-matched cut with scale (scene enters at 0.95, reaches 1.0).
196
196
 
197
197
  **When to use:** Anything with natural epic quality. "Fish Flight School" maps perfectly. Anything involving scale, nature, or grand claims.
198
198
 
@@ -14,6 +14,9 @@
14
14
  // node qa.mjs face <run-dir> [--max 18] cards covering the speaker's face (scene faceRect)
15
15
  // node qa.mjs avsync <video> [--expect 1.5,4.2] [--duration 20] audio present, length right, hits within one frame
16
16
  // node qa.mjs loop <video> [--max 6] last frame must match the first, so the piece loops
17
+ // node qa.mjs endhold <video> [--max 1.4] [--share 0.25] end card held too long, final shot too long
18
+ // node qa.mjs blankframes <video> [--run 3] runs of empty swatch frames
19
+ // node qa.mjs hud <composition-dir> counters, timecodes, BPM/FPS, greetings, "label · $value", tracked caps
17
20
  // node qa.mjs facts <run-dir> on-screen numbers not in storyboard facts, em dashes on screen
18
21
  // node qa.mjs safe <run-dir> [--max 0.004] [--stills] text or logo edges in the margins each format's platforms cover
19
22
  // node qa.mjs judge <new.mp4> <old.mp4> [--out dir] [--cmd "claude -p --model sonnet"] [--verdicts A,B]
@@ -292,6 +295,80 @@ export function loopCheck(video, { max = 6 } = {}) {
292
295
  return { ok: diff <= max, diff: Number(diff.toFixed(2)), frames: frames.length };
293
296
  }
294
297
 
298
+ // ---------- end hold and final shot ----------
299
+
300
+ // The picture must not sit unchanged at the end for more than `max` s, and the last shot
301
+ // (last hard cut to the end) must be at most `share` of the film. A film with no cuts skips the share check.
302
+ export function endHold(video, { max = 1.4, share = 0.25, still = 0.35 } = {}) {
303
+ const { fps } = probe(video), frames = grayFrames(video, 96, 54);
304
+ let n = 0;
305
+ for (let i = frames.length - 1; i > 0 && meanDiff(frames[i], frames[i - 1]) < still; i--) n++;
306
+ const duration = frames.length / fps, hold = Number((n / fps).toFixed(2));
307
+ const cuts = cutTimes(grayFrames(video), fps), last = cuts.at(-1);
308
+ const finalShare = last == null ? null : Number(((duration - last) / duration).toFixed(3));
309
+ return { ok: hold <= max && (finalShare == null || finalShare <= share), hold, finalShare,
310
+ note: hold < 0.6 ? "ends mid-motion (fine if intended)" : undefined };
311
+ }
312
+
313
+ // ---------- flat frames ----------
314
+
315
+ // A flat frame is an empty swatch: luma std under 1.5 and range under 8 at 96x54. Fails on a run longer than `run` frames.
316
+ export function blankRuns(video, { run = 3, std = 1.5, range = 8 } = {}) {
317
+ const { fps } = probe(video), runs = [];
318
+ let start = -1;
319
+ const frames = grayFrames(video, 96, 54);
320
+ frames.forEach((f, i) => {
321
+ let lo = 255, hi = 0, sum = 0;
322
+ for (const v of f) { lo = Math.min(lo, v); hi = Math.max(hi, v); sum += v; }
323
+ const mean = sum / f.length;
324
+ let sq = 0; for (const v of f) sq += (v - mean) ** 2;
325
+ const flat = Math.sqrt(sq / f.length) < std && hi - lo < range;
326
+ if (flat && start < 0) start = i;
327
+ if ((!flat || i === frames.length - 1) && start >= 0) {
328
+ const end = flat ? i + 1 : i;
329
+ if (end - start > run) runs.push({ start: Number((start / fps).toFixed(2)), frames: end - start });
330
+ start = -1;
331
+ }
332
+ });
333
+ return { ok: runs.length === 0, runs };
334
+ }
335
+
336
+ // ---------- HUD and page chrome ----------
337
+
338
+ // Drop elements marked data-ui (real product UI) before scanning: a clock or a "1/3" inside the product is fine.
339
+ export function stripUi(html) {
340
+ let out = "", depth = 0, last = 0;
341
+ for (const m of html.matchAll(/<(\/?)([a-z][\w-]*)\b[^>]*?(\/?)>/gi)) {
342
+ const [tag, close, , selfClose] = m, opens = !close && !selfClose && !/^(br|img|input|meta|link|hr|source|path|circle|rect|line|polyline|polygon|use)$/i.test(m[2]);
343
+ if (depth === 0) out += html.slice(last, m.index);
344
+ if (depth > 0) { if (close) depth--; else if (opens) depth++; }
345
+ else if (!close && /\bdata-ui\b/.test(tag)) { if (opens) depth = 1; }
346
+ else out += tag;
347
+ last = m.index + tag.length;
348
+ }
349
+ return depth === 0 ? out + html.slice(last) : out;
350
+ }
351
+
352
+ const CHROME = [
353
+ ["counter", /\b0\d\s*(?:\/\s*(?:\d{1,2}|[A-Z]{2,})|[-\u2013]\s*[A-Z]{2,})\b|\b\d{1,2}\s*\/\s*[A-Z]{2,}\b/g],
354
+ ["timecode", /\b\d{1,2}:\d{2}(?::\d{2})?(?:[:.]\d{2})?\b/g],
355
+ ["metadata", /\b\d+(?:\.\d+)?\s?(?:BPM|FPS|fps)\b/g],
356
+ ["greeting", /\bGood (?:morning|afternoon|evening)\b/gi],
357
+ ["label-value", /[A-Za-z]+\s*[\u00b7\u2022]\s*[$\u20ac\u00a3]\s?\d/g],
358
+ ];
359
+
360
+ // Page chrome and HUD text that reads as a deck or an AI default. Text inside [data-ui] is exempt.
361
+ // ponytail: tracked caps is a warning only, the card packs use it for kickers and source lines; promote it if packs change.
362
+ export function scanHud(html) {
363
+ const src = stripUi(html), text = visibleText(src), found = [];
364
+ for (const [rule, re] of CHROME) for (const m of text.matchAll(re)) found.push({ rule, token: m[0].trim() });
365
+ for (const m of src.matchAll(/([^{}<>]+)\{([^{}]*)\}/g)) {
366
+ const body = m[2], ls = body.match(/letter-spacing\s*:\s*([\d.]+)(em|px)/);
367
+ if (/text-transform\s*:\s*uppercase/.test(body) && ls && (ls[2] === "em" ? +ls[1] >= 0.05 : +ls[1] >= 2)) found.push({ rule: "tracked-caps", warn: true, token: m[1].trim().split("\n").pop().trim() });
368
+ }
369
+ return found;
370
+ }
371
+
295
372
  // ---------- facts ----------
296
373
 
297
374
  const ENTITIES = { amp: "&", nbsp: " ", mdash: "\u2014", ndash: "\u2013", lt: "<", gt: ">", quot: '"', "#39": "'", "#8212": "\u2014" };
@@ -447,7 +524,7 @@ if (process.argv[1] && resolve(process.argv[1]) === fileURLToPath(import.meta.ur
447
524
  if (gate === "judge" && rest[0] && !rest[0].startsWith("--")) rest.unshift("--old", rest.shift());
448
525
  const opt = (n, d) => { const i = rest.indexOf(n); return i >= 0 ? rest[i + 1] : d; };
449
526
  const num = (n, d) => Number(opt(n, d));
450
- if (!gate || !target) { console.error("Usage: qa.mjs <tokens|crossfade|motion|legibility|pops|deadframes|presence|beatsync|beatgrid|face|avsync|loop|facts|safe|judge> <path> [options]"); process.exit(1); }
527
+ if (!gate || !target) { console.error("Usage: qa.mjs <tokens|crossfade|motion|legibility|pops|deadframes|presence|beatsync|beatgrid|face|avsync|loop|endhold|blankframes|hud|facts|safe|judge> <path> [options]"); process.exit(1); }
451
528
  let result;
452
529
  if (gate === "tokens") {
453
530
  const tokens = opt("--tokens") ? JSON.parse(readFileSync(opt("--tokens"), "utf8")) : DEFAULT_TOKENS;
@@ -482,6 +559,13 @@ if (process.argv[1] && resolve(process.argv[1]) === fileURLToPath(import.meta.ur
482
559
  const expect = (opt("--expect", "") || "").split(",").filter(Boolean).map(Number);
483
560
  result = avSync(target, { expect, duration: opt("--duration") != null ? num("--duration") : undefined });
484
561
  } else if (gate === "loop") result = loopCheck(target, { max: num("--max", 6) });
562
+ else if (gate === "endhold") result = endHold(target, { max: num("--max", 1.4), share: num("--share", 0.25) });
563
+ else if (gate === "blankframes") result = blankRuns(target, { run: num("--run", 3) });
564
+ else if (gate === "hud") {
565
+ const files = statSync(target).isDirectory() ? htmlFiles(target) : [target];
566
+ const found = files.flatMap((f) => scanHud(readFileSync(f, "utf8")).map((v) => ({ file: f, ...v })));
567
+ result = { ok: found.every((v) => v.warn), found };
568
+ }
485
569
  else if (gate === "safe") result = safeAreas(target, { max: num("--max", 0.004), stills: rest.includes("--stills") });
486
570
  else if (gate === "facts") {
487
571
  const sb = JSON.parse(readFileSync(join(target, "storyboard.json"), "utf8"));
@@ -10,7 +10,7 @@ import {
10
10
  scanTokens, scanCrossfades, scanMotion, legibility, findPops, deadFrames, presence,
11
11
  beatSync, findAnchor, cutTimes, beatGrid, grayFrames, probe,
12
12
  faceCover, pairVerdict, parseWinner, audioOnsets, avSync, visibleText, scanFacts, loopCheck,
13
- fullFrameSelectors, safeAreas,
13
+ fullFrameSelectors, safeAreas, endHold, blankRuns, scanHud,
14
14
  } from "./qa.mjs";
15
15
 
16
16
  const dir = mkdtempSync(join(tmpdir(), "qa-gates-"));
@@ -209,6 +209,42 @@ test("loop: last frame matching the first passes, a different end frame fails",
209
209
  assert.equal(cli("loop", ends).status, 1);
210
210
  });
211
211
 
212
+ test("endhold: a 2 s static end card fails, a short resolved hold and a one-shot film pass", () => {
213
+ const long = video("endhold-long.mp4", [["testsrc", 2], ["0x202020", 2]]);
214
+ const r = endHold(long);
215
+ assert.equal(r.ok, false);
216
+ assert.ok(r.hold >= 1.9 && r.finalShare > 0.25, JSON.stringify(r));
217
+ assert.equal(cli("endhold", long).status, 1);
218
+ const short = video("endhold-short.mp4", [["testsrc", 3.5], ["0x202020", 0.8]]);
219
+ assert.equal(endHold(short).ok, true, JSON.stringify(endHold(short)));
220
+ const oneShot = video("endhold-oneshot.mp4", [["testsrc", 3]]);
221
+ assert.deepEqual([endHold(oneShot).ok, endHold(oneShot).finalShare], [true, null]);
222
+ });
223
+
224
+ test("blankframes: half a second of empty swatch fails, a 3-frame dip passes", () => {
225
+ const empty = video("flat-empty.mp4", [["testsrc", 1], ["0x335577", 0.5], ["testsrc", 1]]);
226
+ const r = blankRuns(empty);
227
+ assert.equal(r.ok, false);
228
+ assert.equal(r.runs[0].frames, 15);
229
+ assert.equal(cli("blankframes", empty).status, 1);
230
+ const dip = video("flat-dip.mp4", [["testsrc", 1], ["0x335577", 0.1], ["testsrc", 1]]);
231
+ assert.equal(blankRuns(dip).ok, true, JSON.stringify(blankRuns(dip)));
232
+ });
233
+
234
+ test("hud: HUD counters, timecodes, BPM, greetings and label-value fail; product UI and plain copy pass", () => {
235
+ const bad = `<p>02 / SPEAK</p><p>01 - THE WAIT</p><p>00:14</p><p>120 BPM</p><p>Good morning, Sam</p><p>Revenue · $4,200</p>`;
236
+ assert.deepEqual(scanHud(bad).map((v) => v.rule), ["counter", "counter", "timecode", "metadata", "greeting", "label-value"]);
237
+ const good = `<h1>Rent the name before you buy it</h1><p>3 / 10 founders</p><div data-ui class="phone"><span>9:41</span><p>Good morning</p></div>`;
238
+ assert.deepEqual(scanHud(good), []);
239
+ const caps = scanHud(`<style>.k{text-transform:uppercase;letter-spacing:0.12em}</style><p class="k">source</p>`);
240
+ assert.deepEqual(caps.map((v) => [v.rule, v.warn]), [["tracked-caps", true]]);
241
+ const comp = join(dir, "chrome-comp"); mkdirSync(comp, { recursive: true });
242
+ writeFileSync(join(comp, "a.html"), bad);
243
+ assert.equal(cli("hud", comp).status, 1);
244
+ writeFileSync(join(comp, "a.html"), good);
245
+ assert.equal(cli("hud", comp).status, 0);
246
+ });
247
+
212
248
  test("crossfade: a full-frame layer is found at the composition's own size, not only 1920x1080", () => {
213
249
  const html = `<div data-composition-id="m" data-width="1080" data-height="1920"></div><style>.bg{width:1080px;height:1920px}.v{width:var(--w);height:var(--h)}.wide{width:1920px;height:1080px}</style>`;
214
250
  assert.deepEqual([...fullFrameSelectors(html)], [".bg", ".v"]);