wizz-method 2.21.0 → 2.23.0
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/THIRD-PARTY-NOTICES.md +24 -0
- package/package.json +4 -2
- package/removals.txt +3 -0
- package/skills-registry.yaml +133 -4
- package/src/bmm-skills/1-analysis/research/wizz-market-research/steps/step-06-research-completion.md +27 -0
- package/src/bmm-skills/1-analysis/wizz-set-feature/SKILL.md +1 -1
- package/src/bmm-skills/4-implementation/wizz-code-review/SKILL.md +1 -1
- package/src/bmm-skills/4-implementation/wizz-create-story/SKILL.md +1 -1
- package/src/bmm-skills/4-implementation/wizz-dev-story/SKILL.md +8 -1
- package/src/bmm-skills/4-implementation/wizz-quick-dev/SKILL.md +2 -2
- package/src/bmm-skills/4-implementation/wizz-quick-dev/step-03-implement.md +2 -0
- package/src/bmm-skills/4-implementation/wizz-sprint-status/SKILL.md +1 -1
- package/src/core-skills/wizz-party-mode/customize.toml +3 -3
- package/src/modules/lowticket/README.md +2 -1
- package/src/modules/lowticket/module.yaml +1 -1
- package/src/modules/lowticket/skills/wizz-clone-do-expert/SKILL.md +86 -0
- package/src/modules/lowticket/skills/wizz-clone-do-expert/references/clone-prompt-template.md +21 -0
- package/src/modules/lowticket/skills/wizz-lowticket-trafego/references/reguas.md +2 -0
- package/src/modules/wizz/_shared/cerebro.md +1 -1
- package/src/modules/wizz/_shared/organizacao.md +2 -2
- package/src/modules/wizz/_shared/video-pipeline.md +2 -0
- package/src/modules/wizz/agents/wizz-copy/SKILL.md +1 -0
- package/src/modules/wizz/agents/wizz-copy/customize.toml +5 -0
- package/src/modules/wizz/agents/wizz-copy/knowledge/playbook.md +3 -2
- package/src/modules/wizz/agents/wizz-growth/customize.toml +7 -2
- package/src/modules/wizz/agents/wizz-growth/knowledge/playbook.md +3 -2
- package/src/modules/wizz/agents/wizz-social/knowledge/blueprint-roteiro-viral.md +14 -0
- package/src/modules/wizz/agents/wizz-social/knowledge/legenda-instagram.md +12 -0
- package/src/skills-lib/wizz-cerebro/SKILL.md +18 -5
- package/src/skills-lib/wizz-design-needs/SKILL.md +7 -0
- package/src/skills-lib/wizz-design-needs/references/design-state.md +34 -2
- package/src/skills-lib/wizz-design-needs/references/gap-analysis.md +1 -1
- package/src/skills-lib/wizz-design-needs/scripts/design_state.py +305 -0
- package/src/skills-lib/wizz-design-needs/scripts/tests/test_design_state.py +143 -0
- package/src/skills-lib/wizz-impeccable/references/design-rules.md +18 -0
- package/src/skills-lib/wizz-ios-build/SKILL.md +61 -0
- package/src/skills-lib/wizz-motion-3d-director/references/motion-paths.md +2 -0
- package/src/skills-lib/wizz-offer-forge/SKILL.md +2 -2
- package/src/skills-lib/wizz-paid-ads/SKILL.md +2 -1
- package/src/skills-lib/wizz-paywall-upgrade-cro/SKILL.md +1 -0
- package/src/skills-lib/{wizz-pesquisa-de-publico-do-piva → wizz-pesquisa-de-publico}/README.md +13 -13
- package/src/skills-lib/{wizz-pesquisa-de-publico-do-piva → wizz-pesquisa-de-publico}/SKILL.md +11 -7
- package/src/skills-lib/{wizz-pesquisa-de-publico-do-piva → wizz-pesquisa-de-publico}/assets/template.html +8 -21
- package/src/skills-lib/wizz-pesquisa-de-publico/references/interview-mode.md +69 -0
- package/src/skills-lib/wizz-premium-landing-ui-researcher/SKILL.md +6 -2
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/audit-protocol.md +7 -34
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/component-sources.md +25 -0
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/design-sources.yaml +325 -0
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/mandatory-process.md +1 -1
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/mining-rubric.md +123 -0
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/source-first-protocol.md +10 -4
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/web-access-and-evidence.md +1 -1
- package/src/skills-lib/wizz-premium-landing-ui-researcher/scripts/design_sources.py +221 -0
- package/src/skills-lib/wizz-premium-landing-ui-researcher/scripts/tests/test_design_sources.py +130 -0
- package/src/skills-lib/wizz-router/references/routing-table-flat.md +7 -1
- package/src/skills-lib/wizz-seo-audit/SKILL.md +4 -0
- package/src/skills-lib/wizz-seo-audit/references/gsc-regex-perguntas.md +64 -0
- package/src/skills-lib/wizz-signup-flow-cro/SKILL.md +1 -0
- package/src/skills-lib/wizz-signup-flow-cro/references/trial-abuse.md +40 -0
- package/src/skills-lib/wizz-taste-skill/references/anti-slop-tells.md +8 -0
- package/src/skills-lib/wizz-ui-component-curator/SKILL.md +8 -7
- package/src/skills-lib/wizz-ui-ux-pro-max/SKILL.md +1 -1
- package/src/skills-lib/wizz-ui-ux-pro-max/references/common-rules-checklist.md +11 -0
- package/src/skills-lib/wizz-video-effects/LICENSE-motionmaxxing.txt +202 -0
- package/src/skills-lib/wizz-video-effects/SKILL.md +7 -2
- package/src/skills-lib/wizz-video-effects/assets/chrome/collect_layout.js +113 -0
- package/src/skills-lib/wizz-video-effects/assets/effects.config.template.json +45 -0
- package/src/skills-lib/wizz-video-effects/references/data-contract.md +32 -1
- package/src/skills-lib/wizz-video-effects/references/gates.md +4 -1
- package/src/skills-lib/wizz-video-effects/references/one-take.md +41 -0
- package/src/skills-lib/wizz-video-effects/scripts/check_chrome.py +376 -0
- package/src/skills-lib/wizz-video-effects/scripts/check_dead_frames.py +193 -0
- package/src/skills-lib/wizz-video-effects/scripts/check_one_take.py +159 -0
- package/src/skills-lib/wizz-video-effects/scripts/config.py +13 -0
- package/src/skills-lib/wizz-video-effects/scripts/test_chrome.py +181 -0
- package/src/skills-lib/wizz-video-effects/scripts/test_dead_frames.py +171 -0
- package/src/skills-lib/wizz-video-effects/scripts/test_one_take.py +126 -0
- package/src/skills-lib/wizz-video-styles/LICENSE-lemo-opuscar.txt +21 -0
- package/src/skills-lib/wizz-video-styles/SKILL.md +16 -7
- package/src/skills-lib/wizz-video-styles/assets/film-styles/dark-keynote.html +78 -0
- package/src/skills-lib/wizz-video-styles/assets/film-styles/remotion/Riso.tsx +63 -0
- package/src/skills-lib/wizz-video-styles/assets/film-styles/risograph.html +69 -0
- package/src/skills-lib/wizz-video-styles/assets/film-styles/swiss-motion.html +84 -0
- package/src/skills-lib/wizz-video-styles/references/check-ins.md +25 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/DIRECTOR.md +139 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/archive-lighttable.md +109 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/art-deco.md +112 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/ascii-crt.md +115 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/backrooms.md +125 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/blueprint.md +120 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/brick-toy.md +114 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/briefing-board.md +122 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/caption-news.md +137 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/cel-anime-80s.md +119 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/city-symphony.md +142 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/countdown.md +132 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/crayon-book.md +109 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/dark-keynote.md +117 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/data-physical.md +119 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/dataviz.md +123 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/engraving.md +123 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/game-show.md +118 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/glass-product.md +110 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/halftone-dossier.md +122 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/hd-2d.md +111 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/hologram-hud.md +129 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/impasto.md +124 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/ink-wash.md +120 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/iso-infographic.md +117 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/kino-montage.md +151 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/lidar-survey.md +118 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/living-screencast.md +124 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/lowpoly-island.md +112 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/microgame.md +122 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/microscope.md +108 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/midcentury-toon.md +124 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/news-package.md +158 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/newsreel.md +136 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/one-line.md +114 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/paper-lantern.md +116 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/paper-popup.md +119 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/papercut-red.md +110 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/pictogram-motion.md +119 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/pixel-rpg.md +117 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/risograph.md +125 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/rubber-hose.md +112 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/satellite-briefing.md +116 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/scifi-toon.md +121 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/shadow-puppet.md +124 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/silent-film.md +109 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/silkscreen-poster.md +140 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/spy-titles.md +116 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/stained-glass.md +123 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/swiss-motion.md +115 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/teardown.md +127 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/telestrator.md +137 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/tilt-shift.md +107 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/ukiyoe.md +112 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/urban-sketch.md +126 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/visual-investigation.md +140 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/watercolor.md +113 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/white-model.md +115 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/whiteboard.md +118 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles/woodcut.md +122 -0
- package/src/skills-lib/wizz-video-styles/references/film-styles.md +140 -0
- package/src/skills-lib/wizz-video-styles/references/insert-recipes.md +33 -0
- package/src/skills-lib/wizz-video-styles/references/motion-laws.md +62 -0
- package/src/skills-lib/wizz-video-styles/references/styles/desafio-numero.md +1 -0
- package/src/skills-lib/wizz-video-styles/scripts/beat_grid.py +38 -6
- package/src/skills-lib/wizz-video-styles/scripts/blind_review.py +159 -0
- package/src/skills-lib/wizz-video-styles/scripts/taste.mjs +110 -0
- package/src/skills-lib/wizz-video-styles/scripts/test_blind_review.py +82 -0
- package/src/skills-lib/wizz-vsl/LICENSE +49 -0
- package/src/skills-lib/wizz-vsl/SKILL.md +122 -0
- package/src/skills-lib/wizz-vsl/references/assembly-qa.md +123 -0
- package/src/skills-lib/wizz-vsl/references/blocks-and-leads.md +149 -0
- package/src/skills-lib/wizz-vsl/references/diagnosis.md +95 -0
- package/src/skills-lib/wizz-vsl/references/intake.md +200 -0
- package/src/skills-lib/wizz-vsl/references/mechanisms.md +138 -0
- package/src/skills-lib/wizz-vsl/references/niches.md +40 -0
- package/src/skills-lib/wizz-vsl/references/offer.md +91 -0
- package/src/skills-lib/wizz-vsl/references/production.md +75 -0
- package/src/skills-lib/wizz-web-security/SKILL.md +2 -0
- package/tools/hooks/README.md +10 -9
- package/tools/hooks/wizz-arrumar.js +1 -0
- package/tools/hooks/wizz-artifact-guard.js +31 -5
- package/tools/hooks/wizz-cerebro-lib.js +36 -13
- package/tools/hooks/wizz-feature-lib.js +4 -1
- package/tools/hooks/wizz-feature.js +66 -76
- package/tools/hooks/wizz-sprint-archive-lib.js +311 -0
- package/tools/installer/core/hooks-settings.js +1 -0
- package/tools/installer/core/installer.js +6 -0
- package/tools/installer/guided/labels.js +16 -0
- package/tools/installer/install-text.js +2 -0
- package/tools/installer/modules/cli-config.js +3 -0
- package/tools/installer/modules/core-seed.js +72 -0
- package/tools/installer/modules/mcp-config.js +3 -0
- package/tools/installer/ui.js +22 -26
- /package/src/skills-lib/{wizz-pesquisa-de-publico-do-piva → wizz-pesquisa-de-publico}/prompts.md +0 -0
|
@@ -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.
|
|
@@ -39,6 +39,7 @@ Requires Python 3 (stdlib only) and ffmpeg/ffprobe.
|
|
|
39
39
|
|
|
40
40
|
## Per piece
|
|
41
41
|
|
|
42
|
+
0. **Taste.** Read `_wizz-output/video-styles/gosto.md` if it exists: what this user rejected is refused like an unknown event. After their review, append with `taste.mjs add` (`wizz-video-styles`).
|
|
42
43
|
1. **Timeline.** Write the piece's timeline JSON ([references/data-contract.md](references/data-contract.md)): `words[]` from wizz-ctc-align, `scenes[]`, `elements[]`, and the safe-zone profile (`ad` or `organic`).
|
|
43
44
|
2. **Events to sounds.** List what happens in the narration as semantic events with their times, from the words: a price appears, a verdict lands, a message arrives. Map them with `res = sound.map_requests([(5.4, "verdict"), (7.1, "element_in")], cfg)` from `scripts/sound.py`; it returns the shots (file and `vol` from the config) plus the refusals, with the reason. Write the accepted shots into `sfx[]` with their `event`. Events that trigger an effect (a `verdict` triggers `shake`): pass `sound.effect_candidates(res)` through `budget.select(...)` from `scripts/budget.py` and write the accepted ones into `shakes[]`; no other step writes them.
|
|
44
45
|
3. **Effects on breaths.** `python3 scripts/fill_breaths.py TIMELINE --narration NARRATION.mp3 --visual LAYOUT_RENDER.mp4 --write` anchors punches and flashes on real speech breaths, runs every candidate through the budget, and sets scene transitions and cut sounds by speech pace. Without `--write` it only reports.
|
|
@@ -46,9 +47,9 @@ Requires Python 3 (stdlib only) and ffmpeg/ffprobe.
|
|
|
46
47
|
- `--visual` must be a silent render **in the piece's final layout**. It decides punch vs flash by how close content sits to the safe-zone edge; measured on full-screen footage, every breath turns into a flash. Content inside a clipped card can take a punch.
|
|
47
48
|
- Cut sounds are added here, after step 2: if the report lists sounds that would no longer be accepted together, map everything again. `check_excess.py` checks all sounds together and blocks on collisions.
|
|
48
49
|
4. **Ducking.** `python3 scripts/sound.py duck TIMELINE --write` writes `ducking[]`; the Remotion volume callback is in the data contract.
|
|
49
|
-
5. **Before rendering.** `python3 scripts/check_excess.py TIMELINE` (blocks)
|
|
50
|
+
5. **Before rendering.** `python3 scripts/check_excess.py TIMELINE` (blocks), `python3 scripts/check_rhythm.py TIMELINE` (warns) and `python3 scripts/check_chrome.py --timeline TIMELINE` (blocks the slide look; for HyperFrames screens use `--snapshot` from `assets/chrome/collect_layout.js`).
|
|
50
51
|
6. **Render** in Remotion from the timeline: SFX at their `vol`, narration with the ducking callback. `assets/remotion/` holds a reference `EffectsLayer.tsx` that consumes the timeline (copy it into the project). For the Remotion API itself, invoke `wizz-remotion-best-practices`.
|
|
51
|
-
7. **Gate the final MP4.** Footage (an actor take, b-roll) edge to edge fails the safe zone by construction: the gate measures contrast, not text. Put footage in a frame inside the zone over a plain or darkened background. `check_safe_zone.py FINAL.mp4 --timeline TIMELINE` (the piece's profile; run with `--profile` for the other one if the piece also runs there), `measure_density.py FINAL.mp4 --timeline TIMELINE`, `check_loudness.py FINAL.mp4` (prints the ffmpeg command that fixes it when it fails, and warns when that fix will compress; a quiet narration is better raised before the render).
|
|
52
|
+
7. **Gate the final MP4.** Footage (an actor take, b-roll) edge to edge fails the safe zone by construction: the gate measures contrast, not text. Put footage in a frame inside the zone over a plain or darkened background. `check_safe_zone.py FINAL.mp4 --timeline TIMELINE` (the piece's profile; run with `--profile` for the other one if the piece also runs there), `measure_density.py FINAL.mp4 --timeline TIMELINE`, `check_dead_frames.py FINAL.mp4`, a piece meant as one take also runs `check_one_take.py FINAL.mp4 --timeline TIMELINE` ([references/one-take.md](references/one-take.md)), `check_loudness.py FINAL.mp4` (prints the ffmpeg command that fixes it when it fails, and warns when that fix will compress; a quiet narration is better raised before the render).
|
|
52
53
|
8. **Look.** Extract frames of the final file, including one of the CTA block, and read them.
|
|
53
54
|
|
|
54
55
|
Every script takes `--config PATH`; without it, `VIDEO_EFFECTS_CONFIG`, then `./effects.config.json`.
|
|
@@ -60,7 +61,10 @@ Every script takes `--config PATH`; without it, `VIDEO_EFFECTS_CONFIG`, then `./
|
|
|
60
61
|
| `check_excess.py` | yes (unless `--warn`) | an effect that always happens stops marking anything |
|
|
61
62
|
| `check_safe_zone.py` | yes | text under the platform UI is text nobody reads |
|
|
62
63
|
| `measure_density.py` | yes | an empty frame loses the scroll |
|
|
64
|
+
| `check_dead_frames.py` | yes on blank runs, warns on frozen picture | a blank gap reads as a broken video |
|
|
63
65
|
| `check_loudness.py` | yes | platforms normalise to about -14 LUFS; louder only distorts |
|
|
66
|
+
| `check_chrome.py` | yes | a corner label or a counter makes an ad read as a slide |
|
|
67
|
+
| `check_one_take.py` | yes, on one-take pieces | a passage that only swaps scenes breaks the one take |
|
|
64
68
|
| `check_rhythm.py` | **warns only** | its numbers come from weak sources |
|
|
65
69
|
|
|
66
70
|
Full table, what each gate cannot see, and escape hatches: [references/gates.md](references/gates.md).
|
|
@@ -74,6 +78,7 @@ Full table, what each gate cannot see, and escape hatches: [references/gates.md]
|
|
|
74
78
|
| [references/audio.md](references/audio.md) | which sound for which event, levels, ducking, loudness |
|
|
75
79
|
| [references/sfx-licensing.md](references/sfx-licensing.md) | what can run in a paid ad vs an organic post, per library |
|
|
76
80
|
| [references/editing-patterns.md](references/editing-patterns.md) | hook, rhythm, CTA, captions, safe zones, organic reach: what has a source and what does not |
|
|
81
|
+
| [references/one-take.md](references/one-take.md) | a piece with no change of scene: what each passage carries, camera, passages to build first, its gate |
|
|
77
82
|
| [references/gates.md](references/gates.md) | what each gate measures and what it misses |
|
|
78
83
|
| [references/data-contract.md](references/data-contract.md) | the timeline JSON the scripts read and write |
|
|
79
84
|
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
// collect_layout.js: layout snapshot of an HTML composition for check_chrome.py.
|
|
2
|
+
//
|
|
3
|
+
// Paste the whole file as the expression of a browser eval on the opened
|
|
4
|
+
// composition (HyperFrames preview, a plain HTML film, or Remotion Studio on
|
|
5
|
+
// the composition), e.g. with agent-browser:
|
|
6
|
+
// agent-browser open file:///.../index.html
|
|
7
|
+
// agent-browser eval "$(cat collect_layout.js)" > layout.json
|
|
8
|
+
// It seeks each sample time, waits two frames, and returns
|
|
9
|
+
// {width, height, samples: [{t, blocks, shapes}]} as JSON text.
|
|
10
|
+
//
|
|
11
|
+
// Times: window.__chromeTimes if set (array of seconds), else 12 evenly
|
|
12
|
+
// spaced plus each one again 0.1 s later (the pair tells a parked label from
|
|
13
|
+
// one flying through). Seek: window.__seek(t), else the paused GSAP
|
|
14
|
+
// timelines in window.__timelines (HyperFrames), else gsap.globalTimeline.
|
|
15
|
+
// Remotion Studio has none of these: set window.__seek yourself, or take one
|
|
16
|
+
// snapshot per frame with ?frame=N and merge.
|
|
17
|
+
//
|
|
18
|
+
// Roles: an element (or ancestor) with data-role="caption|legal|ui" is
|
|
19
|
+
// written with that role, so the lint skips it. Text in <canvas>, <img>,
|
|
20
|
+
// <video> or WebGL is invisible here.
|
|
21
|
+
//
|
|
22
|
+
// Rules ported from motionmaxxing (Apache-2.0); see THIRD-PARTY-NOTICES.md.
|
|
23
|
+
(async () => {
|
|
24
|
+
const root = document.querySelector('[data-composition-id="main"]') || document.body;
|
|
25
|
+
const rect = root.getBoundingClientRect();
|
|
26
|
+
const W = Number(root.dataset?.width) || rect.width || window.innerWidth;
|
|
27
|
+
const H = Number(root.dataset?.height) || rect.height || window.innerHeight;
|
|
28
|
+
const sx = W / (rect.width || W);
|
|
29
|
+
const sy = H / (rect.height || H);
|
|
30
|
+
const tls = window.__timelines && typeof window.__timelines === 'object' ? Object.values(window.__timelines) : [];
|
|
31
|
+
const duration =
|
|
32
|
+
Number(root.dataset?.duration) ||
|
|
33
|
+
(tls[0] && typeof tls[0].duration === 'function' ? tls[0].duration() : 0) ||
|
|
34
|
+
(window.gsap ? window.gsap.globalTimeline.duration() : 0);
|
|
35
|
+
|
|
36
|
+
const seek = async (t) => {
|
|
37
|
+
if (typeof window.__seek === 'function') await window.__seek(t);
|
|
38
|
+
else if (tls.length > 0) for (const tl of tls) tl.seek(t, false);
|
|
39
|
+
else if (window.gsap) window.gsap.globalTimeline.seek(t, false);
|
|
40
|
+
await new Promise((r) => requestAnimationFrame(() => requestAnimationFrame(r)));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
const box = (r) => [
|
|
44
|
+
Math.round((r.left - rect.left) * sx),
|
|
45
|
+
Math.round((r.top - rect.top) * sy),
|
|
46
|
+
Math.round((r.right - rect.left) * sx),
|
|
47
|
+
Math.round((r.bottom - rect.top) * sy),
|
|
48
|
+
];
|
|
49
|
+
const opacity = (el) => {
|
|
50
|
+
let o = 1;
|
|
51
|
+
for (let e = el; e && e !== document.documentElement; e = e.parentElement) o *= Number(getComputedStyle(e).opacity);
|
|
52
|
+
return o;
|
|
53
|
+
};
|
|
54
|
+
const roleOf = (el) => el.closest('[data-role]')?.dataset.role || '';
|
|
55
|
+
const visible = (el, r) => r.width >= 1 && r.height >= 1 && getComputedStyle(el).visibility !== 'hidden' && opacity(el) >= 0.05;
|
|
56
|
+
|
|
57
|
+
const textBlocks = () => {
|
|
58
|
+
const out = [];
|
|
59
|
+
for (const el of root.querySelectorAll('*')) {
|
|
60
|
+
const own = [...el.childNodes].filter((n) => n.nodeType === 3 && n.textContent.trim());
|
|
61
|
+
if (own.length === 0) continue;
|
|
62
|
+
const range = document.createRange();
|
|
63
|
+
range.selectNodeContents(el);
|
|
64
|
+
const r = range.getBoundingClientRect();
|
|
65
|
+
if (!visible(el, r)) continue;
|
|
66
|
+
const cs = getComputedStyle(el);
|
|
67
|
+
const fontPx = Number.parseFloat(cs.fontSize) * sy;
|
|
68
|
+
const spacing = cs.letterSpacing === 'normal' ? 0 : Number.parseFloat(cs.letterSpacing) / Number.parseFloat(cs.fontSize);
|
|
69
|
+
const lineH = Number.parseFloat(cs.lineHeight) || Number.parseFloat(cs.fontSize) * 1.2;
|
|
70
|
+
out.push({
|
|
71
|
+
text: el.textContent.trim().replaceAll(/\s+/g, ' ').slice(0, 120),
|
|
72
|
+
box: box(r),
|
|
73
|
+
font_px: Math.round(fontPx),
|
|
74
|
+
caps: cs.textTransform === 'uppercase',
|
|
75
|
+
tracking_em: Math.round(spacing * 100) / 100,
|
|
76
|
+
align: cs.textAlign,
|
|
77
|
+
lines: Math.max(1, Math.round(r.height / lineH)),
|
|
78
|
+
role: roleOf(el),
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
return out;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
const shapes = () => {
|
|
85
|
+
const out = [];
|
|
86
|
+
let i = 0;
|
|
87
|
+
for (const el of root.querySelectorAll('*')) {
|
|
88
|
+
i += 1;
|
|
89
|
+
const r = el.getBoundingClientRect();
|
|
90
|
+
if (!visible(el, r)) continue;
|
|
91
|
+
const tag = el.tagName.toLowerCase();
|
|
92
|
+
const cs = getComputedStyle(el);
|
|
93
|
+
const media = /^(img|video|canvas|svg|picture)$/.test(tag) || /url\(/.test(cs.backgroundImage);
|
|
94
|
+
const filled = !/rgba\(0, 0, 0, 0\)|transparent/.test(cs.backgroundColor);
|
|
95
|
+
const border = Number.parseFloat(cs.borderTopWidth) >= 1 || Number.parseFloat(cs.borderBottomWidth) >= 1;
|
|
96
|
+
if (!media && !filled && !border) continue;
|
|
97
|
+
const kind = media ? 'media' : roleOf(el) === 'ui' ? 'surface' : 'bar';
|
|
98
|
+
out.push({ id: el.id || `${tag}-${i}`, kind, box: box(r) });
|
|
99
|
+
}
|
|
100
|
+
return out;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
const base = Array.isArray(window.__chromeTimes)
|
|
104
|
+
? window.__chromeTimes
|
|
105
|
+
: Array.from({ length: 12 }, (_, k) => (duration * (k + 0.5)) / 12);
|
|
106
|
+
const times = Array.isArray(window.__chromeTimes) ? base : base.flatMap((t) => [t, t + 0.1]);
|
|
107
|
+
const samples = [];
|
|
108
|
+
for (const t of times) {
|
|
109
|
+
await seek(t);
|
|
110
|
+
samples.push({ t: Math.round(t * 1000) / 1000, blocks: textBlocks(), shapes: shapes() });
|
|
111
|
+
}
|
|
112
|
+
return JSON.stringify({ width: W, height: H, duration, samples });
|
|
113
|
+
})();
|
|
@@ -57,6 +57,51 @@
|
|
|
57
57
|
"_source": "min_filled 3 of 7 is a house rule of the source project, not an external benchmark."
|
|
58
58
|
},
|
|
59
59
|
|
|
60
|
+
"dead_frames": {
|
|
61
|
+
"analysis_width": 54,
|
|
62
|
+
"analysis_height": 96,
|
|
63
|
+
"flat_std": 1.5,
|
|
64
|
+
"flat_range": 8,
|
|
65
|
+
"flat_max_frames": 3,
|
|
66
|
+
"frozen_diff": 0.35,
|
|
67
|
+
"frozen_warn_s": 1.5,
|
|
68
|
+
"motion_band_reference": [4.4, 6.8, 9.8],
|
|
69
|
+
"_note": "check_dead_frames.py on the FINAL MP4. A flat frame is one uniform field (luma std-dev under flat_std AND range under flat_range on the analysis frame); a run of more than flat_max_frames blocks. A frozen frame differs from the previous one by less than frozen_diff (mean absolute luma, 0-255); a frozen run longer than frozen_warn_s only warns.",
|
|
70
|
+
"_source": "flat_std, flat_range and flat_max_frames are gate G2 of motionmaxxing (Apache-2.0, github.com/Tejashmakwana/motionmaxxing), measured on horizontal pro launch films at 96x54; the analysis frame here keeps the same pixel count in 9:16. frozen_diff is their hold epsilon; frozen_warn_s is the top of their 'designed breath' (0.6-1.5 s). motion_band_reference is their Q1, median and Q3 of mean frame-to-frame luma change over human-made horizontal brand films: printed as a question, never a gate, and never measured on vertical Reels."
|
|
71
|
+
},
|
|
72
|
+
|
|
73
|
+
"one_take": {
|
|
74
|
+
"analysis_width": 54,
|
|
75
|
+
"analysis_height": 96,
|
|
76
|
+
"cut_min_diff": 18,
|
|
77
|
+
"cut_ratio": 4,
|
|
78
|
+
"neighbour_frames": 3,
|
|
79
|
+
"_note": "check_one_take.py on the FINAL MP4 of a piece meant as one continuous shot. A frame is a hard cut when its mean absolute luma change to the previous frame (0-255, on the analysis frame) is above cut_min_diff AND cut_ratio times the median change of the neighbour_frames frames on each side: a whip or a fast push changes many frames in a row, a cut changes one.",
|
|
80
|
+
"_source": "House rule, not an external benchmark: cut_min_diff sits well above the motion band of dead_frames.motion_band_reference (median 6.8), cut_ratio and neighbour_frames are the smallest values that keep a fast whip from reading as a cut in the tests. Recalibrate on the first real one-take pieces."
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
"chrome_lint": {
|
|
84
|
+
"small_text": 0.04,
|
|
85
|
+
"corner_x": 0.2,
|
|
86
|
+
"corner_y": 0.14,
|
|
87
|
+
"edge_band": 0.07,
|
|
88
|
+
"caps_tracking_em": 0.05,
|
|
89
|
+
"caps_max_size": 0.045,
|
|
90
|
+
"counter_max_size": 0.06,
|
|
91
|
+
"headline_min_size": 0.05,
|
|
92
|
+
"kicker_ratio": 2.0,
|
|
93
|
+
"kicker_gap": 0.06,
|
|
94
|
+
"deck_left_x": 0.2,
|
|
95
|
+
"bar_min_width": 0.6,
|
|
96
|
+
"bar_max_height": 0.14,
|
|
97
|
+
"bar_band": 0.12,
|
|
98
|
+
"progress_min_growth": 0.08,
|
|
99
|
+
"held_s": 0.3,
|
|
100
|
+
"exempt_roles": ["caption", "legal", "ui"],
|
|
101
|
+
"_note": "check_chrome.py. Positions are fractions of the frame (0-1). Text sizes (font size) are fractions of the SHORT side of the frame (1080 px in 9:16), so they keep the pixel size of the horizontal source. held_s: a timeline text layer shorter than this is in flight, not a held label.",
|
|
102
|
+
"_source": "Rules C1-C4, C6, C7, D1 and P1 of motionmaxxing's lint.mjs (gate G5, Apache-2.0, github.com/Tejashmakwana/motionmaxxing), built from one user's verdicts on horizontal launch films. exempt_roles is a house decision: captions, legally required ad text and product UI are not chrome."
|
|
103
|
+
},
|
|
104
|
+
|
|
60
105
|
"budget": {
|
|
61
106
|
"_readme": "The anti-excess engine. An effect only enters if its curve section still has budget, it respects the minimum distance and it does not repeat too much. When two candidates collide, the higher narrative strength wins.",
|
|
62
107
|
"gap_min_global": 2.0,
|
|
@@ -18,7 +18,7 @@ Numbers that decide anything (gaps, ceilings, depths) are never in the timeline:
|
|
|
18
18
|
| `shakes[]` | list | same | planner | short shakes (`budget.per_effect.shake.max_dur_s`) |
|
|
19
19
|
| `flashes[]` | list | same | planner, `fill_breaths.py` | opacity flashes |
|
|
20
20
|
| `interrupts[]` | list | same | planner | pattern interrupts |
|
|
21
|
-
| `elements[]` | list | `check_rhythm.py` | planner | element entries (cards, labels) that count as visual change |
|
|
21
|
+
| `elements[]` | list | `check_rhythm.py`, `check_chrome.py` | planner | element entries (cards, labels) that count as visual change |
|
|
22
22
|
| `ducking[]` | list | renderer | `sound.py duck --write` | narration duck windows |
|
|
23
23
|
|
|
24
24
|
### `words[]` (ctc-align output, unchanged)
|
|
@@ -42,6 +42,7 @@ Only `start` and `end` are required. Breaths are the gaps between words at least
|
|
|
42
42
|
|
|
43
43
|
- `transition`: `cut`, `whip`, `zoom` or any name the renderer knows. Anything other than `""` or `cut` counts as a `transition` event in the budget. `fill_breaths.py` only fills scenes without a real transition (absent, `""` or `cut`); a transition the author declared is kept, and its `sfx` too when already set.
|
|
44
44
|
- `sfx` (optional): the cut sound, played at `start`. Same shape as an `sfx[]` entry without `at`.
|
|
45
|
+
- `carry` (optional, required on a one-take piece): one line saying what on screen survives the passage into this scene and what it becomes. Read by `check_one_take.py` ([one-take.md](one-take.md)).
|
|
45
46
|
|
|
46
47
|
### `sfx[]`
|
|
47
48
|
|
|
@@ -64,6 +65,20 @@ Each item is a number (the instant) or an object with `at`:
|
|
|
64
65
|
"elements": [{ "at": 0.6, "kind": "text" }]
|
|
65
66
|
```
|
|
66
67
|
|
|
68
|
+
Text layers and bars that `check_chrome.py` should read carry their geometry (pixels of the final frame) and stay on screen until `until` (default: the end):
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
"elements": [
|
|
72
|
+
{ "at": 0.6, "until": 4.0, "kind": "text", "text": "Pare de perder dinheiro", "box": [100, 760, 980, 860], "font_px": 96, "align": "center" },
|
|
73
|
+
{ "at": 1.0, "until": 3.0, "kind": "text", "text": "custa", "box": [400, 1300, 680, 1380], "font_px": 72, "role": "caption" },
|
|
74
|
+
{ "at": 0.0, "kind": "bar", "box": [0, 1880, 100, 1890], "box_end": [0, 1880, 1080, 1890] }
|
|
75
|
+
]
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
- `role`: `caption`, `legal` or `ui` (`chrome_lint.exempt_roles`) is not chrome. Optional `caps`, `tracking_em` (letter-spacing in em), `lines`.
|
|
79
|
+
- `box_end`: the bar's box at `until`; wider than `box` means a growing bar.
|
|
80
|
+
- Top-level `chrome_allow`: rules the chosen style measured on real videos (e.g. `["P1"]`), printed as allowed.
|
|
81
|
+
|
|
67
82
|
### `ducking[]`
|
|
68
83
|
|
|
69
84
|
Written by `python3 scripts/sound.py duck TIMELINE --write`. One window per group of SFX that sound over the **start of a spoken word**; nothing else ducks.
|
|
@@ -132,14 +147,30 @@ export const narrationVolume = (ducking: Duck[], fps: number, startFrame = 0) =>
|
|
|
132
147
|
}
|
|
133
148
|
```
|
|
134
149
|
|
|
150
|
+
## Layout snapshot (`check_chrome.py --snapshot`)
|
|
151
|
+
|
|
152
|
+
Written by `assets/chrome/collect_layout.js` from the opened HTML composition (instructions at the top of that file); not part of the timeline:
|
|
153
|
+
|
|
154
|
+
```json
|
|
155
|
+
{ "width": 1080, "height": 1920, "samples": [
|
|
156
|
+
{ "t": 1.0,
|
|
157
|
+
"blocks": [{ "text": "02 / 05", "box": [948, 40, 1040, 75], "font_px": 30, "caps": false, "tracking_em": 0, "align": "start", "lines": 1, "role": "" }],
|
|
158
|
+
"shapes": [{ "id": "bar", "kind": "bar", "box": [0, 1880, 1080, 1888] }] } ] }
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
`kind` is `bar` (any filled or bordered box), `media` (img, video, canvas, svg) or `surface` (inside `data-role="ui"`). Samples come in pairs 0.1 s apart, so a label flying through a corner is not taken for a parked one.
|
|
162
|
+
|
|
135
163
|
## Which script touches what
|
|
136
164
|
|
|
137
165
|
| Script | Reads | Writes | Exit codes |
|
|
138
166
|
| --- | --- | --- | --- |
|
|
139
167
|
| `fill_breaths.py TIMELINE [--narration F@OFF] [--visual MP4] [--write\|--out P]` | `words`, `scenes`, effects, `sfx`, `duration` | `scenes[].transition`, `scenes[].sfx`, `punches`, `flashes`, `sfx` | 0, 2 |
|
|
140
168
|
| `sound.py duck TIMELINE [--write]` | `sfx`, `scenes[].sfx`, `words`, `fps` | `ducking` | 0, 2 |
|
|
169
|
+
| `check_one_take.py FINAL.mp4 [--timeline T]` | `scenes[].carry`, `scenes[].transition` | nothing | 0 pass, 1 fail, 2 error |
|
|
141
170
|
| `check_excess.py TIMELINE... [--warn]` | effects, `scenes`, `duration` | nothing | 0 pass, 1 fail, 2 error |
|
|
142
171
|
| `check_rhythm.py TIMELINE...` | `scenes`, effects, `elements`, `duration` | nothing | always 0 (warn only) |
|
|
172
|
+
| `check_chrome.py --timeline T \| --snapshot LAYOUT [--allow R]` | `elements[]` text layers and bars, `chrome_allow` (or the snapshot) | nothing | 0, 1, 2 |
|
|
143
173
|
| `check_safe_zone.py MP4 [--timeline T]` | `safe_zone_profile` | nothing | 0, 1, 2 |
|
|
144
174
|
| `measure_density.py MP4 [--timeline T]` | `safe_zone_profile` | nothing | 0, 1, 2 |
|
|
175
|
+
| `check_dead_frames.py MP4` | the final file only | nothing | 0, 1, 2 |
|
|
145
176
|
| `check_loudness.py MP4` | the final file only | nothing | 0, 1, 2 |
|
|
@@ -13,11 +13,14 @@ Thresholds are cited by config key. Every script exits `0` pass, `1` fail, `2` i
|
|
|
13
13
|
| `normalize_audio.py --check` | SFX folder | every file at `sound.reference_level_db`, peak under `sound.max_peak_db` | yes | silent tails: it measures the whole file, so trim first |
|
|
14
14
|
| `check_excess.py` | timeline JSON | every sound together (`sfx[]` and scene cut sounds) against the three refusals: unknown event, collision, same sound in a row; per effect kind: ceiling per minute, smallest gap, longest run in a row (`budget.per_effect.*`); dominant effects of different kinds closer than `budget.gap_min_global`; always reports the densest 10 s cluster | yes (`--warn` only while calibrating) | effects drawn inside the screens themselves (HyperFrames timelines); only what the timeline declares |
|
|
15
15
|
| `check_rhythm.py` | timeline JSON | longest stretch with no visual change (`rhythm.max_static_s`), cut cadence in the hook (`rhythm.hook_s`, `rhythm.hook_cut_every_s`) and body (`rhythm.body_cut_every_s`), CTA tail excluded (`rhythm.cta_tail_s`). SFX never count as change | **no, warns only** | motion inside a screen; its numbers come from weak sources ([editing-patterns.md](editing-patterns.md)) |
|
|
16
|
+
| `check_chrome.py` | timeline text layers (`--timeline`) or a DOM snapshot of the screens (`--snapshot`, from `assets/chrome/collect_layout.js`) | page chrome and slide look, thresholds in `chrome_lint.*`: C1 small label parked in a corner or edge band, C2 small tracked caps, C3 counter ("02 / 05", "Parte 3"), C4 timecode or metadata, C6 wide bar or hairline in the top or bottom band, C7 kicker right above a headline, D1 left headline block with media on the right, a sub-line or 2+ lines (alone: warn), P1 thin bar that grows. Roles in `chrome_lint.exempt_roles` (caption, legal, ui) are skipped; a rule the style measured goes in `chrome_allow` or `--allow` and is printed | yes | text in canvas, images, video or burned into footage; Remotion text not declared in `elements[]`; whether the flagged thing is still the right call. Rules come from one user's verdicts on horizontal launch films (motionmaxxing G5) |
|
|
16
17
|
| `check_safe_zone.py` | **final MP4** | per row, local contrast (std-dev, `safe_zone_gate.dp_min`) on every frame; the highest and lowest content rows must sit inside the piece's profile (`safe_zones.<profile>` top and bottom) | yes | whether what invades is text, a card or background glow; left and right edges. Full-screen footage fails by construction: frame it inside the zone. On a fail, extract the frame and look |
|
|
17
18
|
| `measure_density.py` | **final MP4** | how many of `density.n_bands` bands across the active safe zone have content (`density.dp_min`), sampled every `density.step_s`; fails under `density.min_filled` | yes | whether the content makes sense there: a band full of noise counts like a band full of information |
|
|
19
|
+
| `check_dead_frames.py` | **final MP4**, every frame | runs of flat frames (one uniform field: `dead_frames.flat_std` and `dead_frames.flat_range` on a small luma copy); more than `dead_frames.flat_max_frames` in a row fails. Frozen picture (frame difference under `dead_frames.frozen_diff`) longer than `dead_frames.frozen_warn_s` only warns. Prints the mean motion against `dead_frames.motion_band_reference` as a question | yes for flat runs; frozen is a warning | a talking head is never flat and almost never frozen (noise, breathing, compression), so a dead shot on camera passes; grain or a looping background keeps a dead slide "moving"; a dark frame with one small line of text is not flat (that is density). Thresholds come from horizontal launch films (motionmaxxing G2), not from vertical Reels |
|
|
20
|
+
| `check_one_take.py` | timeline JSON (`--timeline`) + **final MP4**, every frame | only on a piece meant as one take: every scene after the first declares `carry` and is not a plain `cut`; a frame whose change is above `one_take.cut_min_diff` and `one_take.cut_ratio` times the median of its `one_take.neighbour_frames` neighbours is a hard cut ([one-take.md](one-take.md)) | yes | a dissolve between unrelated scenes (no spike); whether the declared carry is really on screen; a cut hidden under a flash or a blur. Thresholds are a house rule, not measured on real one-take pieces |
|
|
18
21
|
| `check_loudness.py` | **final MP4 or audio** | integrated loudness and true peak (ffmpeg `loudnorm`) against `loudness.*`; prints the two-pass fix and warns when the fix will switch loudnorm to dynamic compression | yes | the balance inside the mix (voice vs SFX); that is the level contract and the ear |
|
|
19
22
|
|
|
20
|
-
Order that matches the pipeline: config and coverage once per project; excess and
|
|
23
|
+
Order that matches the pipeline: config and coverage once per project; excess, rhythm and chrome on the timeline before the expensive render; safe zone, density, dead frames and loudness on the final file.
|
|
21
24
|
|
|
22
25
|
## Two profiles, measured separately
|
|
23
26
|
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# One take: a piece with no change of scene
|
|
2
|
+
|
|
3
|
+
A one-take piece is one continuous shot. Nothing replaces anything: every beat grows out of something already on screen, and a single camera carries the viewer from the hook to the CTA. It fits pieces drawn in code (HyperFrames): a product film, a UI walkthrough, an explainer. It does not fit footage that was shot in separate takes. Idea seen in onetake (github.com/feitangyuan/onetake, PolyForm Noncommercial); nothing here is copied from it. The onetake skill itself is installable as the optional CLI `onetake` (designer area), free only for personal or noncommercial work; client work or content that sells needs onetake Pro. This technique needs neither.
|
|
4
|
+
|
|
5
|
+
## The rule
|
|
6
|
+
|
|
7
|
+
**No passage is only a change of scene.** At every boundary, something on screen survives and becomes the next beat. Write it in the timeline as the scene's `carry` ([data-contract.md](data-contract.md)), in one line: what it is and what it turns into. If that line cannot be written, the passage is a cut, and the piece is not one take.
|
|
8
|
+
|
|
9
|
+
## Ways to carry
|
|
10
|
+
|
|
11
|
+
- **Grow into:** an element of this beat becomes the frame of the next one (a price chip opens into the checkout card; a search bar opens into the app window).
|
|
12
|
+
- **Push through:** the camera flies into an element (a card, a phone screen, a letter of the headline) until its inside is the next scene.
|
|
13
|
+
- **Pull back:** the camera opens from a detail to reveal it was part of a bigger picture (one cell of a table, one post in a feed).
|
|
14
|
+
- **Travel:** a line, a dot or a cursor leaves this beat and becomes the first stroke of the next one.
|
|
15
|
+
- **Gather:** the closing lockup collects the pieces seen along the way.
|
|
16
|
+
|
|
17
|
+
## Camera
|
|
18
|
+
|
|
19
|
+
- Lead the subject: the camera arrives where the next element will land a moment before it lands.
|
|
20
|
+
- Rest between moves. A hold of about a beat after each move is what makes the move read; a camera that never stops reads as a screensaver.
|
|
21
|
+
- Vary the length of the moves; equal lengths read as a template.
|
|
22
|
+
- Fast moves get motion blur; a sharp whip looks like a glitch.
|
|
23
|
+
- Build every move as a function of time (seek(t)), so every frame renders the same.
|
|
24
|
+
|
|
25
|
+
## Passages to build first (agency Reels)
|
|
26
|
+
|
|
27
|
+
From the pauta of effect names collected on 2026-10-25, the ones that are carries and serve agency Reels:
|
|
28
|
+
|
|
29
|
+
| Passage | Carry |
|
|
30
|
+
|---|---|
|
|
31
|
+
| Zoom Through Cut | push through an element into the next scene |
|
|
32
|
+
| Pullback Reveal | pull back from a detail to the whole |
|
|
33
|
+
| Phone Mockup | the screen of a phone grows out of the frame or the frame flies into it |
|
|
34
|
+
| Chart Grow | a number on screen becomes the bar or line of a chart |
|
|
35
|
+
| Headline Wall | a headline pulls back to reveal a wall of headlines |
|
|
36
|
+
|
|
37
|
+
Still only names, no recipe yet: Orbit, Couch Wall, UI World, Frame Break, Digital Zoom, Checklist, Greenscreen, Paper Cut, Doodle Boy, Vertigo, Cover Story, Glass Type.
|
|
38
|
+
|
|
39
|
+
## Gate
|
|
40
|
+
|
|
41
|
+
`scripts/check_one_take.py FINAL.mp4 --timeline TIMELINE` blocks a scene without `carry`, a `transition` that is a plain cut, and any hard cut measured in the file (`one_take.*` in the config). A dissolve between unrelated scenes passes the measurement: the `carry` line and the eye are what catch it. Extract the frames around each passage and look.
|