@litfamily/litclaude 1.0.37 → 1.0.39

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 (256) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/README.md +11 -8
  3. package/README_ko-KR.md +11 -8
  4. package/bin/litclaude-ai.js +3 -3
  5. package/docs/assets/readme/badge-version.svg +1 -1
  6. package/docs/assets/skills/lit-adhd.webp +0 -0
  7. package/docs/assets/skills/lit-hijack.webp +0 -0
  8. package/docs/assets/skills/lit-schematic.webp +0 -0
  9. package/docs/hooks.md +117 -26
  10. package/docs/workflow-compatibility-audit.md +1 -1
  11. package/package.json +1 -1
  12. package/plugins/litclaude/.claude-plugin/plugin.json +1 -1
  13. package/plugins/litclaude/agents/lit-executor.md +4 -2
  14. package/plugins/litclaude/bin/litclaude-ai +1 -0
  15. package/plugins/litclaude/bin/litclaude-hook.js +373 -53
  16. package/plugins/litclaude/bin/litclaude-mcp.js +1 -1
  17. package/plugins/litclaude/commands/lit-adhd.md +107 -0
  18. package/plugins/litclaude/commands/lit-hijack.md +102 -0
  19. package/plugins/litclaude/commands/lit-loop.md +4 -2
  20. package/plugins/litclaude/commands/lit-plan.md +5 -4
  21. package/plugins/litclaude/commands/lit-rewind.md +107 -0
  22. package/plugins/litclaude/commands/litgoal.md +5 -4
  23. package/plugins/litclaude/commands/start-work.md +25 -10
  24. package/plugins/litclaude/hooks/lit-mod.mjs +51 -5
  25. package/plugins/litclaude/lib/canonical-skill-catalog.mjs +3 -0
  26. package/plugins/litclaude/lib/canonical-skill-resources.mjs +205 -101
  27. package/plugins/litclaude/lib/lit-activation.mjs +24 -10
  28. package/plugins/litclaude/lib/mod/frame.mjs +235 -49
  29. package/plugins/litclaude/lib/mod/motion.mjs +21 -0
  30. package/plugins/litclaude/lib/mod/settings.mjs +4 -0
  31. package/plugins/litclaude/lib/mod/skills.mjs +3 -0
  32. package/plugins/litclaude/lib/mod/state.mjs +100 -7
  33. package/plugins/litclaude/lib/mod/svg-card.mjs +167 -25
  34. package/plugins/litclaude/lib/mod/timeline.mjs +28 -5
  35. package/plugins/litclaude/lib/mod/toasts.mjs +5 -2
  36. package/plugins/litclaude/lib/mod/view.mjs +240 -6
  37. package/plugins/litclaude/lib/mod/workflow.mjs +36 -7
  38. package/plugins/litclaude/lib/motion-render-gate.mjs +25 -7
  39. package/plugins/litclaude/lib/render_pages.py +29 -1
  40. package/plugins/litclaude/lib/rewind/brief.mjs +370 -0
  41. package/plugins/litclaude/lib/rewind/collect.mjs +413 -0
  42. package/plugins/litclaude/lib/rewind/gauge.mjs +87 -0
  43. package/plugins/litclaude/lib/rewind/next-step.mjs +89 -0
  44. package/plugins/litclaude/lib/rewind/redact.mjs +36 -0
  45. package/plugins/litclaude/lib/rewind/suggest.mjs +51 -0
  46. package/plugins/litclaude/lib/rewind/transcripts.mjs +259 -0
  47. package/plugins/litclaude/lib/start-work-lifecycle.mjs +403 -18
  48. package/plugins/litclaude/lib/workflow-stack.mjs +243 -0
  49. package/plugins/litclaude/lib/workflow-stage.mjs +127 -103
  50. package/plugins/litclaude/scripts/scaffold-plan.mjs +1 -1
  51. package/plugins/litclaude/skills/frontend-ui-ux/SKILL.md +18 -3
  52. package/plugins/litclaude/skills/frontend-ui-ux/kit/components.css +414 -0
  53. package/plugins/litclaude/skills/frontend-ui-ux/kit/fonts.json +22 -0
  54. package/plugins/litclaude/skills/frontend-ui-ux/kit/layouts/landing.html +164 -0
  55. package/plugins/litclaude/skills/frontend-ui-ux/kit/layouts/settings.html +114 -0
  56. package/plugins/litclaude/skills/frontend-ui-ux/kit/layouts/workspace.html +115 -0
  57. package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +227 -0
  58. package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/field-notes.json +205 -0
  59. package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/graphite.json +200 -0
  60. package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/meadow.json +199 -0
  61. package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +222 -0
  62. package/plugins/litclaude/skills/frontend-ui-ux/kit/ui.js +226 -0
  63. package/plugins/litclaude/skills/frontend-ui-ux/references/brand-and-imagery.md +1 -1
  64. package/plugins/litclaude/skills/frontend-ui-ux/references/complete-contract.md +1 -0
  65. package/plugins/litclaude/skills/frontend-ui-ux/references/craft-floor.md +9 -4
  66. package/plugins/litclaude/skills/frontend-ui-ux/references/default-editorial-pixel.json +6 -5
  67. package/plugins/litclaude/skills/frontend-ui-ux/references/house-styles.md +234 -0
  68. package/plugins/litclaude/skills/frontend-ui-ux/references/motion-guide.md +3 -3
  69. package/plugins/litclaude/skills/frontend-ui-ux/references/production-interview.md +1 -1
  70. package/plugins/litclaude/skills/frontend-ui-ux/references/slop-register.md +7 -7
  71. package/plugins/litclaude/skills/frontend-ui-ux/scripts/design-lock.mjs +400 -0
  72. package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-lock.mjs +196 -0
  73. package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +30 -9
  74. package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +19 -7
  75. package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +12 -2
  76. package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe.mjs +53 -6
  77. package/plugins/litclaude/skills/frontend-ui-ux/scripts/pixel-art.mjs +60 -0
  78. package/plugins/litclaude/skills/lit-adhd/SKILL.md +168 -0
  79. package/plugins/litclaude/skills/lit-adhd/references/card-examples.md +125 -0
  80. package/plugins/litclaude/skills/lit-adhd/references/status-taxonomy.md +43 -0
  81. package/plugins/litclaude/skills/lit-adhd/scripts/rewind.mjs +11 -0
  82. package/plugins/litclaude/skills/lit-diagram-drawer/SKILL.md +17 -5
  83. package/plugins/litclaude/skills/lit-diagram-drawer/references/style-guide.md +20 -11
  84. package/plugins/litclaude/skills/lit-diagram-drawer/references/type-architecture.md +3 -3
  85. package/plugins/litclaude/skills/lit-diagram-drawer/references/type-dependency.md +1 -1
  86. package/plugins/litclaude/skills/lit-diagram-drawer/references/type-tree.md +3 -3
  87. package/plugins/litclaude/skills/lit-diagram-drawer/references/type-wardley.md +1 -1
  88. package/plugins/litclaude/skills/lit-diagram-drawer/references/verifier-guide.md +1 -1
  89. package/plugins/litclaude/skills/lit-diagram-drawer/scripts/visual-quality.mjs +3 -3
  90. package/plugins/litclaude/skills/lit-docx/SKILL.md +6 -1
  91. package/plugins/litclaude/skills/lit-docx/references/direction-step.md +8 -4
  92. package/plugins/litclaude/skills/lit-handoff/SKILL.md +2 -1
  93. package/plugins/litclaude/skills/lit-hijack/SKILL.md +551 -0
  94. package/plugins/litclaude/skills/lit-hijack/references/capture-and-provenance.md +124 -0
  95. package/plugins/litclaude/skills/lit-hijack/references/clean-room-build.md +133 -0
  96. package/plugins/litclaude/skills/lit-hijack/references/distil-and-licence.md +128 -0
  97. package/plugins/litclaude/skills/lit-hijack/references/gap-and-port-design.md +152 -0
  98. package/plugins/litclaude/skills/lit-hijack/references/parity-and-report.md +131 -0
  99. package/plugins/litclaude/skills/lit-hijack/scripts/hijack.mjs +854 -0
  100. package/plugins/litclaude/skills/lit-loop/SKILL.md +4 -3
  101. package/plugins/litclaude/skills/lit-plan/SKILL.md +16 -10
  102. package/plugins/litclaude/skills/lit-pptx/SKILL.md +35 -15
  103. package/plugins/litclaude/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
  104. package/plugins/litclaude/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
  105. package/plugins/litclaude/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +93 -0
  106. package/plugins/litclaude/skills/lit-pptx/fonts/provenance.json +32 -1
  107. package/plugins/litclaude/skills/lit-pptx/references/agents/architect.md +1 -1
  108. package/plugins/litclaude/skills/lit-pptx/references/anti-slop-checklist.md +32 -11
  109. package/plugins/litclaude/skills/lit-pptx/references/authoring-guide.md +2 -2
  110. package/plugins/litclaude/skills/lit-pptx/references/data-display-cookbook.md +1 -1
  111. package/plugins/litclaude/skills/lit-pptx/references/density-and-fill.md +3 -4
  112. package/plugins/litclaude/skills/lit-pptx/references/direction-step.md +23 -4
  113. package/plugins/litclaude/skills/lit-pptx/references/examples/13-engineering-review-computational-brutalism-ko.md +173 -0
  114. package/plugins/litclaude/skills/lit-pptx/references/examples/14-launch-pitch-neo-brutalism-ko.md +154 -0
  115. package/plugins/litclaude/skills/lit-pptx/references/examples/15-design-lecture-bauhaus-ko.md +139 -0
  116. package/plugins/litclaude/skills/lit-pptx/references/examples/16-community-programme-riso-ko.md +158 -0
  117. package/plugins/litclaude/skills/lit-pptx/references/examples/17-public-data-briefing-newsroom-ko.md +179 -0
  118. package/plugins/litclaude/skills/lit-pptx/references/layout-families.md +22 -26
  119. package/plugins/litclaude/skills/lit-pptx/references/title-treatments.md +30 -26
  120. package/plugins/litclaude/skills/lit-pptx/references/tonalities/atlas.md +4 -4
  121. package/plugins/litclaude/skills/lit-pptx/references/tonalities/bauhaus.md +140 -0
  122. package/plugins/litclaude/skills/lit-pptx/references/tonalities/chalk.md +3 -3
  123. package/plugins/litclaude/skills/lit-pptx/references/tonalities/computational-brutalism.md +150 -0
  124. package/plugins/litclaude/skills/lit-pptx/references/tonalities/gazette.md +1 -1
  125. package/plugins/litclaude/skills/lit-pptx/references/tonalities/ledger.md +1 -1
  126. package/plugins/litclaude/skills/lit-pptx/references/tonalities/neo-brutalism.md +161 -0
  127. package/plugins/litclaude/skills/lit-pptx/references/tonalities/newsroom.md +144 -0
  128. package/plugins/litclaude/skills/lit-pptx/references/tonalities/night.md +1 -1
  129. package/plugins/litclaude/skills/lit-pptx/references/tonalities/paper.md +3 -3
  130. package/plugins/litclaude/skills/lit-pptx/references/tonalities/riso.md +137 -0
  131. package/plugins/litclaude/skills/lit-pptx/references/tonalities/signal.md +2 -2
  132. package/plugins/litclaude/skills/lit-pptx/references/tonalities/studio.md +6 -7
  133. package/plugins/litclaude/skills/lit-pptx/scripts/compile-deck.js +1 -1
  134. package/plugins/litclaude/skills/lit-pptx/scripts/craft_extras.py +135 -91
  135. package/plugins/litclaude/skills/lit-pptx/scripts/embed_fonts.py +13 -1
  136. package/plugins/litclaude/skills/lit-pptx/scripts/lib/grid-resolver.js +101 -110
  137. package/plugins/litclaude/skills/lit-pptx/scripts/lib/layout-resolver.js +9 -15
  138. package/plugins/litclaude/skills/lit-pptx/scripts/lib/render-pack.js +370 -563
  139. package/plugins/litclaude/skills/lit-pptx/scripts/lib/slide-grid.js +104 -0
  140. package/plugins/litclaude/skills/lit-pptx/scripts/lib/template-registry.js +57 -6
  141. package/plugins/litclaude/skills/lit-pptx/scripts/qa_deck.py +5 -5
  142. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +1 -1
  143. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +98 -0
  144. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +1 -1
  145. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +99 -0
  146. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +1 -1
  147. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +1 -1
  148. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +107 -0
  149. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +99 -0
  150. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/night/pack.yaml +1 -1
  151. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/paper/pack.yaml +1 -1
  152. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/riso/pack.yaml +99 -0
  153. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/signal/pack.yaml +2 -2
  154. package/plugins/litclaude/skills/lit-pptx/templates/tonalities/studio/pack.yaml +1 -1
  155. package/plugins/litclaude/skills/lit-recap/SKILL.md +4 -0
  156. package/plugins/litclaude/skills/lit-schematic/SKILL.md +123 -0
  157. package/plugins/litclaude/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +38 -0
  158. package/plugins/litclaude/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +133 -0
  159. package/plugins/litclaude/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +87 -0
  160. package/plugins/litclaude/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +85 -0
  161. package/plugins/litclaude/skills/lit-schematic/references/cutaway-outputs.md +70 -0
  162. package/plugins/litclaude/skills/lit-schematic/references/isometric-craft.md +101 -0
  163. package/plugins/litclaude/skills/lit-schematic/references/journal-figures.md +72 -0
  164. package/plugins/litclaude/skills/lit-schematic/references/kit-api.md +134 -0
  165. package/plugins/litclaude/skills/lit-schematic/references/pfd-and-layout.md +53 -0
  166. package/plugins/litclaude/skills/lit-schematic/references/pid-drafting.md +103 -0
  167. package/plugins/litclaude/skills/lit-schematic/references/pid-symbols.md +163 -0
  168. package/plugins/litclaude/skills/lit-schematic/references/verification.md +100 -0
  169. package/plugins/litclaude/skills/lit-schematic/scripts/doctor.mjs +57 -0
  170. package/plugins/litclaude/skills/lit-schematic/scripts/lib/figure.mjs +81 -0
  171. package/plugins/litclaude/skills/lit-schematic/scripts/lib/fonts.mjs +27 -0
  172. package/plugins/litclaude/skills/lit-schematic/scripts/lib/geom.mjs +113 -0
  173. package/plugins/litclaude/skills/lit-schematic/scripts/lib/interactive.mjs +292 -0
  174. package/plugins/litclaude/skills/lit-schematic/scripts/lib/isa.mjs +115 -0
  175. package/plugins/litclaude/skills/lit-schematic/scripts/lib/iso.mjs +719 -0
  176. package/plugins/litclaude/skills/lit-schematic/scripts/lib/legend-sheet.mjs +162 -0
  177. package/plugins/litclaude/skills/lit-schematic/scripts/lib/pid.mjs +937 -0
  178. package/plugins/litclaude/skills/lit-schematic/scripts/lib/png.mjs +132 -0
  179. package/plugins/litclaude/skills/lit-schematic/scripts/lib/qa-core.mjs +658 -0
  180. package/plugins/litclaude/skills/lit-schematic/scripts/lib/route.mjs +218 -0
  181. package/plugins/litclaude/skills/lit-schematic/scripts/lib/sheet.mjs +890 -0
  182. package/plugins/litclaude/skills/lit-schematic/scripts/lib/svg.mjs +82 -0
  183. package/plugins/litclaude/skills/lit-schematic/scripts/lib/theme.mjs +115 -0
  184. package/plugins/litclaude/skills/lit-schematic/scripts/motion.mjs +129 -0
  185. package/plugins/litclaude/skills/lit-schematic/scripts/qa.mjs +92 -0
  186. package/plugins/litclaude/skills/lit-schematic/scripts/render.mjs +233 -0
  187. package/plugins/litclaude/skills/lit-schematic/scripts/scaffold.mjs +60 -0
  188. package/plugins/litclaude/skills/lit-scientific-visualization/SKILL.md +14 -4
  189. package/plugins/litclaude/skills/lit-typographic-motion/SKILL.md +54 -45
  190. package/plugins/litclaude/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +11 -0
  191. package/plugins/litclaude/skills/lit-typographic-motion/engine/blender/runner.py +218 -0
  192. package/plugins/litclaude/skills/lit-typographic-motion/engine/core/presets.mjs +1 -1
  193. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/analysis.mjs +65 -1
  194. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/assets.mjs +208 -0
  195. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/blender.mjs +143 -0
  196. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/board.mjs +136 -0
  197. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/brief.mjs +7 -1
  198. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/chrome.mjs +6 -4
  199. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-assets.mjs +5 -3
  200. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-capture.mjs +4 -4
  201. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +37 -4
  202. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover.mjs +17 -5
  203. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/done.mjs +42 -3
  204. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/frame-worker.mjs +7 -5
  205. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/gallery.mjs +121 -0
  206. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/house.mjs +44 -0
  207. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/look.mjs +33 -19
  208. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/pipeline.mjs +18 -7
  209. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/scaffold.mjs +210 -0
  210. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/score.mjs +639 -0
  211. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/sound-cli.mjs +21 -4
  212. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/sound.mjs +126 -27
  213. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-capture.mjs +7 -6
  214. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-gate.mjs +59 -5
  215. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-qa.mjs +141 -9
  216. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-serve.mjs +28 -5
  217. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage.mjs +82 -14
  218. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/styles.mjs +213 -0
  219. package/plugins/litclaude/skills/lit-typographic-motion/engine/node/treatment.mjs +311 -10
  220. package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/cover-init.js +14 -2
  221. package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/init.js +11 -1
  222. package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/qa.js +6 -1
  223. package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/stage-kit.js +83 -0
  224. package/plugins/litclaude/skills/lit-typographic-motion/engine/vendor/three/LICENSE +21 -0
  225. package/plugins/litclaude/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +144 -0
  226. package/plugins/litclaude/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +155 -0
  227. package/plugins/litclaude/skills/lit-typographic-motion/engine/vendor/three/three.module.js +54571 -0
  228. package/plugins/litclaude/skills/lit-typographic-motion/recipes/hero-3d/expected.json +69 -0
  229. package/plugins/litclaude/skills/lit-typographic-motion/recipes/hero-3d/index.html +139 -0
  230. package/plugins/litclaude/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +2 -0
  231. package/plugins/litclaude/skills/lit-typographic-motion/recipes/painted-light/expected.json +2 -0
  232. package/plugins/litclaude/skills/lit-typographic-motion/recipes/weight-tide/expected.json +2 -0
  233. package/plugins/litclaude/skills/lit-typographic-motion/references/cover.md +67 -15
  234. package/plugins/litclaude/skills/lit-typographic-motion/references/craft-loop.md +3 -2
  235. package/plugins/litclaude/skills/lit-typographic-motion/references/depth.md +122 -0
  236. package/plugins/litclaude/skills/lit-typographic-motion/references/look.md +28 -13
  237. package/plugins/litclaude/skills/lit-typographic-motion/references/runtime.md +4 -3
  238. package/plugins/litclaude/skills/lit-typographic-motion/references/sound.md +92 -23
  239. package/plugins/litclaude/skills/lit-typographic-motion/references/stage.md +43 -22
  240. package/plugins/litclaude/skills/lit-typographic-motion/references/studio.md +245 -0
  241. package/plugins/litclaude/skills/lit-typographic-motion/references/style-bibles.md +30 -6
  242. package/plugins/litclaude/skills/lit-typographic-motion/references/treatment.md +108 -14
  243. package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion-doctor.mjs +16 -3
  244. package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion.mjs +47 -7
  245. package/plugins/litclaude/skills/lit-typographic-motion/styles/paper.json +41 -0
  246. package/plugins/litclaude/skills/lit-typographic-motion/styles/swiss-signal.json +41 -0
  247. package/plugins/litclaude/skills/lit-typographic-motion/styles/terminalcore.json +42 -0
  248. package/plugins/litclaude/skills/lit-typographic-motion/styles/tidal.json +41 -0
  249. package/plugins/litclaude/skills/litgoal/SKILL.md +3 -2
  250. package/plugins/litclaude/skills/litresearch/SKILL.md +5 -0
  251. package/plugins/litclaude/skills/readme-studio/SKILL.md +10 -0
  252. package/plugins/litclaude/skills/readme-studio/references/production-interview.md +2 -0
  253. package/plugins/litclaude/skills/readme-studio/templates/hyperframes-cover/package-lock.json +3 -3
  254. package/plugins/litclaude/skills/readme-studio/templates/remotion-cover/package-lock.json +3 -3
  255. package/plugins/litclaude/skills/start-work/SKILL.md +24 -11
  256. package/scripts/qa-cover-recipes.mjs +3 -3
@@ -0,0 +1,69 @@
1
+ {
2
+ "schema": "litclaude.motion-cover-recipe/v1",
3
+ "note": "The decoded gate row this recipe reached when it shipped (scripts/qa-cover-recipes.mjs re-renders it and fails when median d or moving leave +-15 %, seamLocal leaves TARGET or bytes pass 2 MiB). Measured 2026-10-25 on headless Chrome's GPU rung (ANGLE Metal, Apple M5 Pro) with three.js r170 and libwebp; 20 fps keeps every frame on the 50 ms gate grid.",
4
+ "row": {
5
+ "medianD": 0.002485,
6
+ "movingFrac": 1,
7
+ "longestStillSec": 0.05,
8
+ "spike": 3.684,
9
+ "seamLocal": 1.199,
10
+ "bytes": 1060856
11
+ },
12
+ "settings": {
13
+ "size": [
14
+ 1000,
15
+ 500
16
+ ],
17
+ "fps": 20,
18
+ "frames": 160,
19
+ "encode": {
20
+ "q": 94,
21
+ "edgeQ": 97,
22
+ "edgeFrames": 15,
23
+ "method": 4
24
+ }
25
+ },
26
+ "treatment": {
27
+ "mode": "cover",
28
+ "request": "A README motion cover for LitClaude with a product object that opens.",
29
+ "idea": "A case turns once and opens on its beat to show the lit core inside, beside a still name.",
30
+ "recipe": "hero-3d",
31
+ "recipeReason": "One object acting once per loop says what the project holds better than a type pattern.",
32
+ "hero": "A rounded case with a hinged lid and a lit core.",
33
+ "beat": "The lid opens, the core rises and settles, and the lid closes.",
34
+ "brandWord": "LITCLAUDE",
35
+ "motto": {
36
+ "text": "KEEP THE WORK LIT.",
37
+ "source": "project",
38
+ "from": "README.md"
39
+ },
40
+ "aspect": "2:1",
41
+ "loopSec": 8,
42
+ "fps": 20,
43
+ "layers": {
44
+ "slow": "The case turns exactly once per loop.",
45
+ "mid": "The camera breathes twice per loop.",
46
+ "beat": "The lid opens on the core and a ring runs out across the floor."
47
+ },
48
+ "system": {
49
+ "rule": "One hinge rule and one turn rule on one object.",
50
+ "copies": "One case, one core, one ring.",
51
+ "offset": "The ring trails the lid by a tenth of the loop."
52
+ },
53
+ "title": {
54
+ "box": [
55
+ 0.05,
56
+ 0.36,
57
+ 0.43,
58
+ 0.14
59
+ ],
60
+ "kind": "live"
61
+ },
62
+ "encode": {
63
+ "q": 94,
64
+ "edgeQ": 97,
65
+ "edgeFrames": 15
66
+ },
67
+ "ambition": "The object reads as a product in a studio and its beat lands once per loop."
68
+ }
69
+ }
@@ -0,0 +1,139 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <!-- Recipe D, hero 3D: one product object, lit in a small studio, acting its beat once per loop. A
6
+ worked example: a rounded case turns exactly once per loop (slow layer), the camera breathes twice
7
+ (mid layer), and once per loop the lid opens, a lit core rises and settles back and the lid closes,
8
+ while a ring runs out across the floor (the beat). The word sits still on the left. Drawn with the
9
+ pinned three.js build on the GPU rung (software when the GPU is missing). Replace the word, the
10
+ motto and the HERO block with the project's own object. -->
11
+ <link rel="stylesheet" href="/lit/fonts.css">
12
+ <script src="/lit/loop-kit.js"></script>
13
+ <script type="importmap">{ "imports": { "three": "/lit/three/three.module.js", "three/addons/": "/lit/three/addons/" } }</script>
14
+ <style>
15
+ html, body { margin: 0; width: 1200px; height: 600px; overflow: hidden; background: #0b0f16; }
16
+ canvas { position: absolute; left: 0; top: 0; width: 1200px; height: 600px; display: block; }
17
+ </style>
18
+ </head>
19
+ <body>
20
+ <canvas id="world"></canvas>
21
+ <canvas id="type" width="2400" height="1200"></canvas>
22
+ <script type="module">
23
+ import * as THREE from "three";
24
+ import { RoomEnvironment } from "three/addons/environments/RoomEnvironment.js";
25
+ import { RoundedBoxGeometry } from "three/addons/geometries/RoundedBoxGeometry.js";
26
+
27
+ const { TAU, clamp, fract, ease } = LitLoop;
28
+ const span = (a, b, t) => clamp((t - a) / (b - a));
29
+ const C = { bg: "#0b0f16", ivory: "#f2efdf", dim: "#8b8f8f", orange: "#ff6337", shell: "#d9d4c4", inner: "#1a2230" };
30
+ const W = 1200, H = 600;
31
+ const AIM = { x: 860, y: 318 };
32
+
33
+ // ---- the world: renderer, studio light, floor ----
34
+ const glCanvas = document.getElementById("world");
35
+ const renderer = new THREE.WebGLRenderer({ canvas: glCanvas, antialias: true, alpha: true, preserveDrawingBuffer: true });
36
+ renderer.setPixelRatio(window.devicePixelRatio);
37
+ renderer.setSize(W, H, false);
38
+ renderer.setClearColor(0x000000, 0);
39
+ renderer.outputColorSpace = THREE.SRGBColorSpace;
40
+ renderer.toneMapping = THREE.ACESFilmicToneMapping;
41
+ renderer.shadowMap.enabled = true;
42
+ renderer.shadowMap.type = THREE.PCFSoftShadowMap;
43
+ const scene = new THREE.Scene();
44
+ scene.environment = new THREE.PMREMGenerator(renderer).fromScene(new RoomEnvironment(), 0.04).texture;
45
+ scene.environmentIntensity = 0.55;
46
+ const cam = new THREE.PerspectiveCamera(30, W / H, 0.1, 60);
47
+ cam.setViewOffset(W, H, W / 2 - AIM.x, H / 2 - AIM.y, W, H);
48
+ const key = new THREE.DirectionalLight(0xffffff, 2.4);
49
+ key.position.set(-3, 6, 4);
50
+ key.castShadow = true;
51
+ key.shadow.mapSize.set(2048, 2048);
52
+ key.shadow.radius = 5;
53
+ key.shadow.bias = -0.0004;
54
+ key.shadow.normalBias = 0.03;
55
+ key.shadow.camera.left = -4; key.shadow.camera.right = 4; key.shadow.camera.top = 4; key.shadow.camera.bottom = -4;
56
+ const rim = new THREE.DirectionalLight(0xffb08f, 1.1);
57
+ rim.position.set(4, 2.5, -5);
58
+ scene.add(key, rim);
59
+ const floor = new THREE.Mesh(new THREE.PlaneGeometry(30, 30), new THREE.ShadowMaterial({ opacity: 0.35 }));
60
+ floor.rotation.x = -Math.PI / 2;
61
+ floor.receiveShadow = true;
62
+ scene.add(floor);
63
+ const ring = new THREE.Mesh(new THREE.RingGeometry(0.98, 1, 128), new THREE.MeshBasicMaterial({ color: C.orange, transparent: true, opacity: 0 }));
64
+ ring.rotation.x = -Math.PI / 2;
65
+ ring.position.y = 0.002;
66
+ scene.add(ring);
67
+
68
+ // ---- HERO: the product object (a case with a hinged lid and a lit core) ----
69
+ const shell = new THREE.MeshPhysicalMaterial({ color: C.shell, roughness: 0.32, metalness: 0.05, clearcoat: 0.6, clearcoatRoughness: 0.2 });
70
+ const inner = new THREE.MeshStandardMaterial({ color: C.inner, roughness: 0.8 });
71
+ const HERO = new THREE.Group();
72
+ const base = new THREE.Mesh(new RoundedBoxGeometry(1.6, 0.62, 1.1, 6, 0.12), shell);
73
+ base.position.y = 0.31;
74
+ const well = new THREE.Mesh(new RoundedBoxGeometry(1.38, 0.5, 0.88, 4, 0.08), inner);
75
+ well.position.y = 0.4;
76
+ const hinge = new THREE.Group();
77
+ hinge.position.set(0, 0.64, -0.55);
78
+ const lid = new THREE.Mesh(new RoundedBoxGeometry(1.6, 0.16, 1.1, 6, 0.07), shell);
79
+ lid.position.set(0, 0.08, 0.55);
80
+ hinge.add(lid);
81
+ const coreMat = new THREE.MeshStandardMaterial({ color: C.orange, emissive: C.orange, emissiveIntensity: 0, roughness: 0.35 });
82
+ const core = new THREE.Mesh(new THREE.IcosahedronGeometry(0.24, 3), coreMat);
83
+ const glow = new THREE.PointLight(C.orange, 0, 4, 2);
84
+ core.add(glow);
85
+ for (const m of [base, lid, core]) m.castShadow = true;
86
+ base.receiveShadow = true;
87
+ HERO.add(base, well, hinge, core);
88
+ scene.add(HERO);
89
+
90
+ // The beat: open 0.28-0.44, hold, close 0.62-0.78; zero at both ends, so the loop closes.
91
+ const openAt = (t) => ease.smooth(span(0.28, 0.44, t)) * (1 - ease.smooth(span(0.62, 0.78, t)));
92
+
93
+ function drawWorld(t) {
94
+ HERO.rotation.y = -0.5 + TAU * t;
95
+ const open = openAt(t);
96
+ hinge.rotation.x = -1.45 * open;
97
+ const rise = ease.outBack(span(0.36, 0.5, t)) * (1 - ease.smooth(span(0.58, 0.7, t)));
98
+ core.position.y = 0.42 + 0.6 * rise;
99
+ core.rotation.y = TAU * 2 * t;
100
+ coreMat.emissiveIntensity = 1.1 * open;
101
+ glow.intensity = 3 * open;
102
+ const wave = ease.outCubic(span(0.38, 0.72, t));
103
+ ring.scale.setScalar(0.9 + 1.3 * wave);
104
+ ring.material.opacity = 0.55 * open * (1 - wave);
105
+ const breathe = Math.sin(TAU * 2 * t);
106
+ cam.position.set(5.8 * Math.sin(0.35), 2.3 + 0.12 * breathe, 5.8 * Math.cos(0.35));
107
+ cam.lookAt(0, 0.62 + 0.04 * breathe, 0);
108
+ renderer.render(scene, cam);
109
+ }
110
+
111
+ // ---- the word, set once ----
112
+ const ctx = document.getElementById("type").getContext("2d");
113
+ ctx.scale(2, 2);
114
+ function drawType(mask) {
115
+ ctx.clearRect(0, 0, W, H);
116
+ if (mask) { ctx.fillStyle = "#000"; ctx.fillRect(0, 0, W, H); }
117
+ ctx.textBaseline = "alphabetic";
118
+ ctx.fillStyle = mask ? "#fff" : C.ivory;
119
+ ctx.font = '800 84px "JetBrains Mono"';
120
+ ctx.fillText("LITCLAUDE", 70, 292);
121
+ if (mask) return;
122
+ ctx.font = '500 18px "JetBrains Mono"';
123
+ ctx.fillStyle = C.dim;
124
+ let mx = 74;
125
+ for (const ch of "KEEP THE WORK ") { ctx.fillText(ch, mx, 338); mx += 19.6; }
126
+ ctx.fillStyle = C.orange;
127
+ ctx.font = '700 18px "JetBrains Mono"';
128
+ for (const ch of "LIT.") { ctx.fillText(ch, mx, 338); mx += 19.6; }
129
+ }
130
+
131
+ window.renderFrame = (t, o = {}) => {
132
+ glCanvas.style.visibility = o.mask ? "hidden" : "visible";
133
+ if (!o.mask) drawWorld(fract(t));
134
+ drawType(Boolean(o.mask));
135
+ };
136
+ document.fonts.load('800 84px "JetBrains Mono"').then(() => document.fonts.load('500 18px "JetBrains Mono"')).then(() => { window.renderFrame(0); window.ready = true; });
137
+ </script>
138
+ </body>
139
+ </html>
@@ -29,6 +29,8 @@
29
29
  "idea": "Dots lap three rings and every crossing at the gate lights the next cell of a ledger under the name.",
30
30
  "recipe": "orbit-loop",
31
31
  "recipeReason": "A small system beside a still name shows checking without words.",
32
+ "hero": "The dots lapping three rings.",
33
+ "beat": "Each crossing at the gate lights the next ledger cell.",
32
34
  "brandWord": "LITCLAUDE",
33
35
  "motto": {
34
36
  "text": "KEEP THE WORK LIT.",
@@ -50,6 +50,8 @@
50
50
  "idea": "A window of work light walks the sleeping bays while the lead robot breathes and a comet laps its frame.",
51
51
  "recipe": "painted-light",
52
52
  "recipeReason": "The painting already carries the brand, so the loop relights it instead of drawing over it.",
53
+ "hero": "The painting the user supplied.",
54
+ "beat": "A light edge sweeps across the painting once per loop.",
53
55
  "brandWord": "LITFAMILY",
54
56
  "aspect": "2:1",
55
57
  "loopSec": 8,
@@ -29,6 +29,8 @@
29
29
  "idea": "A weight wave rolls through the name and through faint rows of it that drift one word per loop.",
30
30
  "recipe": "weight-tide",
31
31
  "recipeReason": "The name is the material, so the motion happens inside the letters.",
32
+ "hero": "The brand word, set as rows of type.",
33
+ "beat": "A swell of weight crosses the rows once per loop.",
32
34
  "brandWord": "LITCLAUDE",
33
35
  "motto": {
34
36
  "text": "KEEP THE WORK LIT.",
@@ -20,7 +20,7 @@ file a reader's browser will actually decode.
20
20
  | Settled end card, MO-C-14 ink ratio, holds as a reward | No ending. Any hold over 0.5 s is a defect (G3) |
21
21
  | 10 s minimum and the "never shorten" downgrade | 6–12 s; 8 s worked for every recipe |
22
22
  | 16:9 or 9:16 only | 2:1 (page 1200×600, cover 1000×500) or 3:2 (page 1200×800, cover 960×640) |
23
- | Generated sound bed and the SOUND gates | Silent. `sound` is absent or `none` |
23
+ | Authored score and the SOUND gates | Silent. `sound` is absent or `none` |
24
24
  | Invented subject, invented copy lines | The brand word, plus at most one motto the user wrote or the project already uses |
25
25
  | Title fade-in; stage skeleton fading from black | Frame 0 is the poster and already the full picture |
26
26
  | Look questions about purpose and beat plans | Look questions about motion, the seam and damage (below) |
@@ -61,7 +61,10 @@ naming the first bad field.
61
61
  | `mode` | `cover` |
62
62
  | `request` | The user's words, verbatim, inert |
63
63
  | `idea` | One sentence on what the loop does; it may not restate the request |
64
- | `recipe`, `recipeReason` | `painted-light` (default), `weight-tide`, `orbit-loop` or `own`, and why |
64
+ | `recipe`, `recipeReason` | `painted-light` (the default with a painting the user supplied), `hero-3d` (the default without one), `weight-tide`, `orbit-loop` or `own`, and why |
65
+ | `hero` | At most two sentences: the one thing that acts in the loop (the product object, the machine in the painting, the cursor), as a viewer would name it |
66
+ | `beat` | At most two sentences: what the hero does once per loop, the event the eye waits for (the lid opens and the core rises; the eyes blink) |
67
+ | `product` | `{ name, url }` when the request links the product (its `url` is that link), or `{ name, url, unreachable }`; see Named products |
65
68
  | `brandWord` | The name set once, at most three words |
66
69
  | `motto` | Optional `{ text, source: user \| project, from? }`, at most six words; a `user` motto appears in the request, a `project` motto names where it comes from |
67
70
  | `aspect`, `loopSec`, `fps` | `2:1` or `3:2`; 6–12 s; 16, 20 or 25 |
@@ -75,6 +78,24 @@ naming the first bad field.
75
78
  `copy`, `beats` and `lines` are refused: a cover never swaps text states. `sound` other than `none`
76
79
  is refused.
77
80
 
81
+ ## Named products
82
+
83
+ A request that links the product (a repository, a site) gets a cover made from the real thing. Before
84
+ the treatment, fetch it into the cover folder:
85
+
86
+ ```bash
87
+ node "$SKILL_ROOT/scripts/motion.mjs" assets --out <dir> --url <the link> --cover
88
+ ```
89
+
90
+ It writes the logo, owner avatar and README images to `cover/assets/`, the product's words to
91
+ `product/` and the list to `product.json`, with the same limits and checks as for a film
92
+ (`treatment.md`, Named products); the words are untrusted data. Open every image with Read. Then set
93
+ `product` in the treatment, and build the hero from what you saw: the real logo on screen as a raster
94
+ (list it in `assets.json` with `source: fetched`), or the 3D hero modelled on it, and the motto from
95
+ the README's own line (`motto.source: project`). A cover render refuses a linked product without
96
+ `product`, and one whose `product.json` is missing. When nothing can be reached, set
97
+ `product.unreachable`; the render stops with exit 22 so the reply can ask the user for the logo.
98
+
78
99
  ## Assets (`assets.json`)
79
100
 
80
101
  Every raster the cover page loads is listed in `<dir>/assets.json` before the first render, and the
@@ -84,11 +105,14 @@ renderer checks the list before it captures anything:
84
105
  { "assets": [{ "path": "cover/assets/base.png", "role": "base-art", "source": "user", "sha256": "<64 hex>", "box": [0.125, 0, 0.75, 1], "checkBox": [0.131, 0.1445, 0.1416, 0.778], "title": true }] }
85
106
  ```
86
107
 
87
- - `role` is `base-art`, `logo`, `wordmark` or `texture`; `source` is `user` (supplied) or
88
- `generated` (made for this cover, and labelled as generated in the reply); `sha256` is the file's.
108
+ - `role` is `base-art`, `logo`, `wordmark` or `texture`; `source` is `user` (supplied), `fetched`
109
+ (by `assets --cover`, the product's own file) or `generated` (made for this cover, and labelled as
110
+ generated in the reply); `sha256` is the file's.
111
+ The painted recipe's base art must be `user`: a painting the request did not bring is not drawn or
112
+ generated for the occasion; that cover takes `hero-3d` (or `weight-tide`, `orbit-loop`) instead.
89
113
  - A listed file that is missing stops the run with exit 22 `BLOCKED_ASSET_MISSING` and writes no
90
- frame. Ask for the art or generate it; never draw a stand-in in its place. The `painted-light`
91
- recipe needs a `base-art` entry. A raster in `cover/` that the list does not name, or a listed
114
+ frame. Ask for the art; never draw a stand-in in its place. The `painted-light` recipe needs a
115
+ `base-art` entry with `source: user`, or the render exits 22 and names the recipes to take instead. A raster in `cover/` that the list does not name, or a listed
92
116
  file whose hash no longer matches, is exit 17.
93
117
  - `box` is where the base art sits on the cover (fractions). After the render, frame 0 must show the
94
118
  art: the SSIM of `checkBox` (default: the whole box) in decoded frame 0 against the same region of
@@ -102,6 +126,11 @@ renderer checks the list before it captures anything:
102
126
 
103
127
  ## Craft rules, ranked
104
128
 
129
+ A cover is maximal by default, like a film: layered depth, the product's real parts with their names,
130
+ several accents by role, full 3D (`hero-3d`) where the subject has a back and an inside. It is minimal
131
+ only when the request asks for a calm, quiet or minimal cover. Density never breaks the rules below: it
132
+ is many copies of one rule, in three speed layers, around a brand word that never leaves.
133
+
105
134
  1. **The encoder is part of the design.** Lossy animated WebP treats a pixel as unchanged when it
106
135
  moves less than about `31(1 - sqrt(q/100)) + sqrt(q/100)` levels from the previous frame: about
107
136
  6 levels at q72 and 3 at q90. Slow fades and slow breathing below that are dropped, go stale,
@@ -141,18 +170,39 @@ renderer checks the list before it captures anything:
141
170
  Raise the quality of frame 0 and the last second (`edgeQ`, `edgeFrames`) and keep the default
142
171
  keyframes. Periodic keyframes (`-kmin 15 -kmax 16`) spread the snap into visible pops, and a
143
172
  small `-kmax` (4–8) made a 2.5–5 Hz shimmer.
144
- 13. **16 fps for slow painted covers, 25 for a system with fast dots.** 20 fps cost 18 % more and
145
- dropped the median step below 0.0015 on the painted cover. At 16 fps img2webp writes 63 ms
146
- frames, so an 8 s loop is 8.064 s; that is fine.
173
+ 13. **16 fps for slow painted covers, 20 for a 3D hero, 25 for a system with fast dots.** 20 fps
174
+ cost 18 % more and dropped the median step below 0.0015 on the painted cover. At 16 fps img2webp
175
+ writes 63 ms frames, so an 8 s loop is 8.064 s; that is fine. The gate measures on a 50 ms grid,
176
+ and a smooth 3D turn at 25 fps lands one grid step on two frames at the seam (seamLocal 2.35,
177
+ FLOOR only, while the raw frames were smooth); at 20 fps every grid step is one frame and the
178
+ same page reached TARGET (1.2).
179
+ 14. **A lit 3D object needs a clean shadow and a high `q`.** Shadow acne on a turning object flickers
180
+ and reads as flashes on the sheet: set the key light's `shadow.bias` (about -0.0004) and
181
+ `shadow.normalBias` (about 0.03). Smooth white surfaces blotch in lossy WebP at q86; the 3D hero
182
+ recipe encodes at q94 (edge 97 over 15 frames).
147
183
 
148
184
  ## Recipes
149
185
 
150
186
  Each recipe ships as a worked page in `recipes/<name>/index.html`. Copy it into `cover/`, then
151
187
  replace the brand word, the motto and, for the painted recipe, the `ART` block. The pages are
152
- examples; the rules above are what transfers.
153
-
154
- - **Painted base + travelling light (`painted-light`, the default).** A finished painting (user
155
- supplied, or generated and labelled as generated) is the whole picture; the page relights it.
188
+ examples; the rules above are what transfers. Every recipe has a hero and a beat: the treatment
189
+ names them, and look question 9 checks the beat on the stills.
190
+
191
+ - **3D hero (`hero-3d`, the default without a supplied painting).** One product object, lit in a
192
+ small studio, drawn with the vendored three.js on the GPU rung (`depth.md`). Slow: the object turns
193
+ exactly once per loop. Mid: the camera breathes twice. Beat: once per loop the lid opens
194
+ (0.28-0.44 of the loop), a lit core rises and settles back, a ring runs out across the floor, and
195
+ the lid closes (0.62-0.78), so every value is back at its start by `t = 1`. The brand word and the
196
+ motto sit still on the left in a 2D canvas over the GL canvas; the mask pass hides the GL canvas.
197
+ `AIM` is the pixel the object's origin lands on (`setViewOffset`), so the word keeps its side of
198
+ the frame. Replace the `HERO` group with the project's own object (its real logo as a texture or an
199
+ extruded shape is the usual start), keep the turn slow and the open eased, and keep 20 fps
200
+ and q94. On this machine it reaches TARGET (median d 0.0025, moving 1.0, seamLocal 1.2). If the GPU
201
+ is unavailable it renders on the software rung, slower, and the report says so.
202
+
203
+ - **Painted base + travelling light (`painted-light`, the default when the user supplies a painting).**
204
+ A finished painting the user supplied is the whole picture; the page relights it. With no painting,
205
+ `hero-3d` is the default.
156
206
  The painting keeps its own coordinates and is scaled, never cropped; at 2:1 a 3:2 painting is
157
207
  pillarboxed and the wings stay quiet (a static spill and a few motes). Macro: a light window
158
208
  with a 24 px feather walks the dim bays once per loop. Mid: a scan band per bay at two passes per
@@ -267,7 +317,7 @@ Every cover render writes, from the DECODED file:
267
317
  The gate cannot see damage. The pilot's two worst defects were found only by eye on the sheet: a
268
318
  colour-dodge glint that turned a letter into a red block, and a wing glow that read as a dark disc.
269
319
 
270
- Answer all eight every round, each naming a frame from the stills set and what you saw there:
320
+ Answer all nine every round, each naming a frame from the stills set and what you saw there:
271
321
 
272
322
  1. Is something moving in every half-second window (the plot never lies flat on the dashes)?
273
323
  2. Does the seam disappear in the decoded file (`seam.png`, the right end of the plot)?
@@ -278,8 +328,10 @@ Answer all eight every round, each naming a frame from the stills set and what y
278
328
  place instead of travelling as an edge?
279
329
  7. Is any glyph, glint or glow damaged: a colour block, a dark disc, a visible box?
280
330
  8. Name one thing a skilled motion designer would add or remove, or `none`.
331
+ 9. Does the hero act its beat once per loop, as the treatment's `beat` says, and is it the thing the
332
+ eye follows?
281
333
 
282
- A `no` on 1–5, a `yes` on 6 or 7, or a `named` 8 asks for another round. Record the round with
334
+ A `no` on 1–5 or 9, a `yes` on 6 or 7, or a `named` 8 asks for another round. Record the round with
283
335
  `look --out <dir> --round <N> --answers <file>`; the answers file has the film's shape (`viewed`,
284
336
  `answers` with `q`, `verdict`, `frame`, `observed`, `aids`) without `weakestBeat`, and round 1
285
337
  names the `change` you make before round 2.
@@ -5,8 +5,9 @@
5
5
  Rounds share one counter (1-3) with the look rounds in `look.md`.
6
6
 
7
7
  1. `make brief.json --out <dir> --round N --stills-only`: treatment check, pre-flight gate (fonts,
8
- glyph coverage, timeline), the beat stills, one transition strip per cut and the contact sheet in
9
- `<dir>/stills/`. Nothing is encoded yet.
8
+ glyph coverage, timeline), the beat stills, one transition strip per cut, the contact sheet and the
9
+ storyboard `board.png` in `<dir>/stills/`. Nothing is encoded yet. The brief carries no `style`: the
10
+ treatment's style decides the preset.
10
11
  2. **Look.** Open every file the stills index lists with the Read tool and answer the look questions
11
12
  in `look.md`: nothing clipped at the edges, no empty frame at a cut, type legible at its size, the
12
13
  preset's palette and nothing else, the accent at most once, no working title or index on screen.
@@ -0,0 +1,122 @@
1
+ # Depth: the 3D route
2
+
3
+ Read this when the treatment's subject is a `depth3d` device (`depth: "3d"`), or when a cover takes
4
+ the `hero-3d` recipe. A drawn 3D object is the right subject when the film is about a thing that has
5
+ a back and an inside: a product that turns, opens, unfolds or is assembled. A flat diagram, a chart or
6
+ type does not need it; keep those on the 2D page.
7
+
8
+ ## What the renderer gives you
9
+
10
+ - **A pinned three.js.** The skill ships three.js r170 (npm `three@0.170.0`, MIT) in
11
+ `engine/vendor/three/`: the unminified `three.module.js` plus two addons,
12
+ `environments/RoomEnvironment.js` and `geometries/RoundedBoxGeometry.js`. The renderer serves them at
13
+ `/lit/three/`; a page imports them through an import map:
14
+
15
+ ```html
16
+ <script type="importmap">{ "imports": { "three": "/lit/three/three.module.js", "three/addons/": "/lit/three/addons/" } }</script>
17
+ <script type="module">
18
+ import * as THREE from "three";
19
+ import { RoomEnvironment } from "three/addons/environments/RoomEnvironment.js";
20
+ </script>
21
+ ```
22
+
23
+ Any other path under `/lit/three/` is refused as a missing file, and the network rules still hold:
24
+ never load three.js, a model or a texture from a CDN. The file hashes and the licence are in
25
+ `engine/THIRD_PARTY_NOTICES`.
26
+ - **The GPU rung.** A `depth: 3d` film and a `hero-3d` cover start Chrome on the platform's GPU rung
27
+ (ANGLE on Metal on macOS, GL on Linux, D3D11 on Windows), with GPU rasterization of the page
28
+ itself still off. The renderer records the WebGL renderer string, and the gate's WebGL line names
29
+ the rung and the renderer. The same determinism replay runs as on the software rung: a fresh
30
+ browser on the same rung must reproduce the sampled frames pixel for pixel, or the render stops with
31
+ exit 18. On an Apple M-series Mac the 3D test page and the `hero-3d` cover replayed identically.
32
+ - **A labelled fallback.** When the GPU rung cannot start, or starts without WebGL, the render
33
+ reopens on the software rung (SwiftShader), adds a warning to the report and the manifest naming
34
+ the reason, and records `rung: "software"`. The film still renders, more slowly. Say in the reply
35
+ that it rendered without the GPU. Only when neither rung has WebGL is it exit 11.
36
+
37
+ The rung is chosen from the treatment (`depth`) or the cover recipe, never by the page.
38
+
39
+ ## The scaffold's world
40
+
41
+ `motion.mjs scaffold` on a `depth: 3d` treatment adds, on top of the 2D shots:
42
+
43
+ - `<canvas id="world">` behind every shot's section, so the type stays DOM text the QA can read;
44
+ - one renderer for the whole film (alpha, `preserveDrawingBuffer`, pixel ratio 1, ACES tone mapping,
45
+ soft shadows), a `RoomEnvironment` for reflections, a key light with a biased shadow, a hemisphere
46
+ light in the style's colours and a shadow-only floor;
47
+ - `HERO`, a group that holds the protagonist from the first frame to the last;
48
+ - `aim(layout)`, which offsets the camera so the world origin lands on the centre of the shot's subject
49
+ zone; a `hero` layout shot therefore fills the frame and a `split` shot keeps the object on its side;
50
+ - `WORLD[i](s, hero, cam, t)`, one function per shot that poses the hero, the camera and anything else
51
+ as a function of the shot (`s.p`, `s.local`, `s.enter(...)`).
52
+
53
+ Build the protagonist once, in `HERO`, and only pose it per shot: that is what makes it the same
54
+ object across the film. For a named product, start from its real logo and screens: a fetched logo or
55
+ screenshot goes on a plane or a face of the object as a texture (`TextureLoader` on the file under
56
+ `stage/assets/`); a simple logo shape can be traced into a `THREE.Shape` and given depth with
57
+ `ExtrudeGeometry`.
58
+
59
+ ## Craft and the gate
60
+
61
+ - **Turn slowly.** A full turn takes the loop (a cover) or a whole shot (a film). Fast spins, a flicker
62
+ of specular highlights and shadow acne all read as flashes and fail MO-C-03.
63
+ - **Bias the shadow.** On a turning object set `shadow.bias` about -0.0004 and `shadow.normalBias`
64
+ about 0.03; without them the self-shadow flickers frame to frame.
65
+ - **Ease every open and close.** A lid, a drawer or an exploded view eases in and out (`ease.smooth`),
66
+ holds, and returns; the move is the beat, so it happens once, where the treatment's story puts it.
67
+ - **Keep the type in the DOM.** Copy stays in the shot's type zone as HTML text over the canvas;
68
+ text drawn inside the 3D scene is invisible to the QA unless registered with `LitStage.text`.
69
+ - **Mind the dead air.** A small object on a large empty ground is `DEAD-AIR`; frame it with the
70
+ `hero` layout or move the camera in.
71
+ - **Covers at 20 fps.** The cover gate measures on a 50 ms grid; at 25 fps a smooth turn lands two
72
+ frames on one step at the seam (FLOOR), at 20 fps every step is one frame (TARGET). Encode at q94:
73
+ smooth light surfaces blotch at the default q86.
74
+
75
+ ## Camera moves and the flash audit
76
+
77
+ A rich film moves its camera in at least half its shots, and the flash audit stays exactly as it is.
78
+ When a move fails MO-C-03, keep the move and change what it passes over: slow the light change (a
79
+ highlight that sweeps over 0.5 s or more, not a frame), lower the contrast of the detail behind the
80
+ move, add motion blur (the Blender rung renders it; on the GPU rung average 4-8 sub-frame poses), or cut
81
+ instead of whipping. Removing the camera move is a downgrade.
82
+
83
+ ## The Blender rung (`render3d: "blender"`)
84
+
85
+ For path-traced light (bevels that catch it, soft global illumination, depth of field, motion blur) a
86
+ 3D film can render its world in Blender with Cycles. The page then shows the rendered plate and keeps
87
+ its type, labels and 2D layers in the DOM over it.
88
+
89
+ Take this rung when the request asks for high-quality, cinematic or photoreal 3D (고퀄리티, 고품질,
90
+ 시네마틱, 실사, cinematic, photoreal, high-quality, Blender) and Blender is installed: `scaffold` prints
91
+ `BLENDER:` with the path when both hold. On an Apple M-series GPU a full hero scene rendered at 8-10 s
92
+ per 1080p frame at 160 samples, so a 13 s plate (390 frames) takes about an hour. Settle the scene on
93
+ the preview stills first, since a fix after the final means rendering the plate again, and build the
94
+ page's panels while it renders.
95
+
96
+ 1. Set `depth: 3d`, a `depth3d` subject and `render3d: "blender"`.
97
+ 2. Write `stage/scene.py`, a Blender Python scene. It runs inside the bundled runner with `bpy`,
98
+ `math`, `Vector` and `lit` in scope; times are film seconds and the plate starts at frame 1:
99
+ `lit.camera(location, target, lens, dof=(distance, fstop))`, `lit.area_light(name, location, target,
100
+ power, size, color)`, `lit.world(color, strength)`, `lit.material(name, color, roughness, metallic,
101
+ emission, strength)`, `lit.rounded_box(name, size, radius, segments, material, location)`,
102
+ `lit.image_card(name, path, width, location)` (a fetched product image as a card) and
103
+ `lit.key(obj, prop, t, value)`. The scene must set a camera. The command line sets size, samples,
104
+ device, fps and frames; the scene sets everything else.
105
+ 3. `motion.mjs blender --out <dir>` renders preview stills at the beat midpoints (50 %, 40 samples) into
106
+ `stage/plate-preview/`. Open them, compare them with any reference frames the user gave, and fix
107
+ `scene.py` before the final.
108
+ 4. `motion.mjs blender --out <dir> --final` renders the plate (full size, 160 samples, motion blur,
109
+ 30 fps, `stage/plate/000001.png ...`) detached with a progress file; it can take most of an hour.
110
+ It writes `plate.json`, which lists every frame by name and size with the Blender version, device and
111
+ samples. Listed plate frames are not counted as page rasters; any other frame sequence is still a
112
+ flipbook (exit 17).
113
+ 5. On the page, `const show = LitStage.plate({ parent, count, fps: 30 })` returns `show(t)`; call it from
114
+ `render(t)`. The page renders on the software rung, and the stage refuses to start (exit 17) when the
115
+ plate is missing or does not cover the film.
116
+
117
+ Blender is found from `LITCLAUDE_BLENDER` (used only if it exists), the macOS app
118
+ (`/Applications/Blender.app/Contents/MacOS/Blender`) or `blender` on PATH, and runs as `blender -b
119
+ --factory-startup -P runner.py -- ...`, on Metal on Apple silicon, another GPU backend next, the CPU
120
+ last; the receipt says which. Without Blender the command renders nothing and prints `FALLBACK`: set
121
+ `render3d` to `three`, build the world in three.js on the GPU rung, and say so in the reply. The report
122
+ and manifest name the plate (Blender version, Cycles device, samples).
@@ -2,7 +2,7 @@
2
2
 
3
3
  A gate PASS says the film is safe and legible. It does not say the film is good. The look rounds are
4
4
  where you judge the pixels against the treatment, and the done-check will not accept a film nobody
5
- looked at. A cover loop has its own eight questions, its own stills (the decoded contact sheet with
5
+ looked at. A cover loop has its own nine questions, its own stills (the decoded contact sheet with
6
6
  its frame-difference plot, the poster and the seam pair) and its own done; see `cover.md`.
7
7
 
8
8
  ## Viewing pixels
@@ -11,6 +11,8 @@ Only files you open with the Read tool count as viewed. OCR, pixel statistics an
11
11
  be written down as `aids`, but they never count as looking. Every render (stills-only or full)
12
12
  writes the stills set into `<dir>/stills/`, listed in `stills/index.json`:
13
13
 
14
+ - `board.png`: the storyboard, one keyframe per shot with its time, layout, hand-off and hero move
15
+ (`studio.md`); on the stage path it carries the board check's verdict;
14
16
  - `beat-NN.png`: the frame at each beat's midpoint, full size;
15
17
  - `strip-NN.png`: one transition strip per cut, the frames 6 before, at and 6 after the cut;
16
18
  - `sheet.png`: a 12-frame contact sheet across the film;
@@ -22,21 +24,28 @@ viewed the frames.
22
24
 
23
25
  ## Questions
24
26
 
25
- Answer all nine every round. Each answer names the frame it is about and what you saw there.
27
+ Answer all ten every round. Each answer names the frame it is about and what you saw there.
26
28
 
27
29
  1. A stranger would say this film is for: `<…>`. Ask a fresh subagent (the Agent tool) with only the
28
30
  contact sheet and the beat stills, never the request or the treatment, and record its sentence
29
31
  verbatim with `by: blind`. If no subagent can run, answer it yourself with `by: self`.
30
32
  2. Does every beat show its `onScreen` plan?
31
- 3. Is the craft at the level `ambition` asks for (transitions, rhythm, depth, hierarchy)?
33
+ 3. Is it rich enough? Put the contact sheet beside the user's reference frames (none given: a studio
34
+ launch film of a product). Does each shot carry as much labelled detail, layered depth, camera
35
+ movement and accent colour as they do, with one hero move leading it and the style's hand-offs?
36
+ A minimal film answers for its restraint instead.
32
37
  4. Is any request text, meta label, placeholder, file name or internal term on screen?
33
38
  5. Does the ending land?
34
- 6. Does the sound follow the cuts? Answer it from `sound-cues.json`.
39
+ 6. Does the sound follow the cuts and the events? Answer it from `sound-cues.json` and the stills:
40
+ each event cue's frame should show what its `on` says.
35
41
  7. Name one thing a skilled motion designer, given only the request, would have shown that this film
36
- does not. If you can name one, revise.
42
+ does not: a part, a label, a layer, a camera move, a sound. If you can name one, add it and revise.
37
43
  8. Is any element on screen without a job in its beat?
38
44
  9. Could every copy line be pasted unchanged into a film about a different subject? If yes, rewrite
39
45
  the copy from `subject.specifics`.
46
+ 10. Does the turn land? Answer it on the turn shot's still, `stills/beat-NN.png` for `story.beat`
47
+ (`look` refuses any other frame): is `story.turn` visibly happening there, to the protagonist, as
48
+ the film's largest change? A turn that only a caption announces is a `no`.
40
49
 
41
50
  ## Answers file
42
51
 
@@ -58,19 +67,24 @@ The values below are placeholders; `look` refuses them.
58
67
  ```
59
68
 
60
69
  - `viewed` lists every stills file you opened with Read this round, paths relative to `<dir>`.
61
- - `verdict` is `yes` or `no` for questions 1–6, 8 and 9, and `none` or `named` for question 7.
70
+ - `verdict` is `yes` or `no` for questions 1–6 and 8–10, and `none` or `named` for question 7.
62
71
  - `observed` is at least one sentence naming a concrete visible detail in `frame`; a bare yes or no
63
72
  is refused, and so is the same sentence used for two answers.
64
73
  - `look` refuses a frame that is not in the latest stills set, and stamps the round with the SHA-256
65
74
  of `stills/index.json` and of every listed frame.
75
+ - `defects` (optional, at most three, worst first) name what the eye found:
76
+ `{ "t": <seconds>, "region": [x, y, w, h], "frame": "<a still>", "observed": "...", "cause": "...", "fix": "..." }`,
77
+ `t` inside the film and `region` inside the frame in pixels. Fix those seconds and render the board
78
+ again before the full render.
66
79
 
67
80
  ## Rounds
68
81
 
69
82
  Rounds share one counter with the renders, 1 to 3.
70
83
 
71
- - **Round 1** is always a stills round: render with `--stills-only`, look, and record `weakestBeat`
72
- and `change`, then make that change before the full render.
73
- - A `no` on questions 1, 2, 3, 5 or 6, a `yes` on 4, 8 or 9, or a `named` question 7 needs another
84
+ - **Round 1** is always the board round: render with `--stills-only`, fix any board-check failure,
85
+ look at the board and the stills, and record `weakestBeat` and `change`, then make that change before
86
+ the full render. A preview (`preview: true`) is done here.
87
+ - A `no` on questions 1, 2, 3, 5, 6 or 10, a `yes` on 4, 8 or 9, or a `named` question 7 needs another
74
88
  round: fix it, render again, look again.
75
89
  - There are at most 3 rounds. After round 3, deliver with the open items stated plainly.
76
90
 
@@ -83,8 +97,8 @@ Done needs all of:
83
97
  - at least 2 look rounds: round 1 on a stills-only render with a `change`, then a last round;
84
98
  - the last round stamped with the stills manifest of the final full render (`look` after the render,
85
99
  never before);
86
- - the last round's `viewed` covering the poster, the contact sheet, every beat still and every
87
- transition strip, each of them opened with the Read tool in this session;
100
+ - the last round's `viewed` covering the board, the poster, the contact sheet, every beat still and
101
+ every transition strip, each of them opened with the Read tool in this session;
88
102
  - the last round free of revise answers, or round 3 with its open items said in the reply.
89
103
 
90
104
  The Stop hook checks every item and holds the turn with a named reason. A missing, unreadable or
@@ -103,5 +117,6 @@ became `none` without a user request, or the path moved from stage to type. The
103
117
 
104
118
  Keep the activation line where it is; below it there is no second banner and no emoji. Plain words,
105
119
  no internal names: one line on the defaults chosen; a label on every invention and on generated
106
- sound; one plain line on what was checked (flash safety, legibility, the frames looked at); where the
107
- copy lives and the one command that re-renders it; and any downgraded item or open look item.
120
+ sound; one plain line on what was checked (flash safety, legibility, the style, the frames looked at); where
121
+ the storyboard and the copy live and the one command that re-renders it; and any downgraded item or
122
+ open look item.
@@ -23,10 +23,11 @@ there the explicit command is the pre-warm. A render session only reads the cach
23
23
  npm, pip or a download, because a sandboxed session usually has no network or no write access
24
24
  outside the workspace, and a half-finished install would look like a broken engine.
25
25
 
26
- `litclaude-ai doctor` (and `npm run doctor` in a checkout) prints the six probes: Chrome,
26
+ `litclaude-ai doctor` (and `npm run doctor` in a checkout) prints the seven probes: Chrome,
27
27
  ffmpeg with the preview encoder rung, the WebGL2 renderer from a real headless probe, the software-GL
28
- or unknown-renderer warning, the pre-warm state naming anything missing and the fix command, and
29
- the cover encoder (img2webp and dwebp, or the gifski fallback) that cover mode needs.
28
+ or unknown-renderer warning, the pre-warm state naming anything missing and the fix command,
29
+ the cover encoder (img2webp and dwebp, or the gifski fallback) that cover mode needs, and the
30
+ house styles (each one valid, the default named).
30
31
  `litclaude-ai motion-runtime status` prints the pre-warm state alone.
31
32
 
32
33
  ## Exit codes