@automovie/template 0.1.0 → 0.3.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.
Files changed (784) hide show
  1. package/README.md +14 -18
  2. package/generated/pnpm-workspace.json +54 -0
  3. package/generated/skills/3d-modeling/conditioning.md +87 -0
  4. package/generated/skills/3d-modeling/crafting/SKILL.md +16 -0
  5. package/generated/skills/3d-modeling/crafting/construction.md +63 -0
  6. package/generated/skills/3d-modeling/crafting/lofting.md +75 -0
  7. package/generated/skills/3d-modeling/crafting/recovery.md +25 -0
  8. package/generated/skills/3d-modeling/diffusion/image-hints.md +30 -0
  9. package/generated/skills/3d-modeling/diffusion/models.md +43 -0
  10. package/generated/skills/3d-modeling/diffusion/prompts.md +9 -0
  11. package/generated/skills/3d-modeling/diffusion/request.md +18 -0
  12. package/generated/skills/3d-modeling/diffusion/shape-hints.md +33 -0
  13. package/generated/skills/3d-modeling/inspection.md +57 -0
  14. package/generated/skills/3d-modeling/modularization.md +25 -0
  15. package/generated/skills/3d-modeling/rigging.md +100 -0
  16. package/generated/skills/3d-modeling/sources.md +29 -0
  17. package/generated/skills/contracts/development/common.md +13 -0
  18. package/generated/skills/contracts/development/design.md +27 -0
  19. package/generated/skills/contracts/development/implementation.md +49 -0
  20. package/generated/skills/contracts/development/testing.md +27 -0
  21. package/generated/skills/development/repair.md +11 -0
  22. package/generated/skills/documentation/SKILL.md +19 -0
  23. package/generated/skills/documentation/writing.md +85 -0
  24. package/generated/skills/motion/laws/authoring.md +45 -0
  25. package/generated/skills/motion/laws/contacts.md +41 -0
  26. package/generated/skills/motion/laws/declaration.md +25 -0
  27. package/generated/skills/motion/laws/transitions.md +39 -0
  28. package/generated/skills/motion/laws/variation.md +23 -0
  29. package/generated/skills/motion/laws/verification.md +32 -0
  30. package/generated/skills/prompting/SKILL.md +100 -0
  31. package/generated/skills/visual-debugging/capture.md +64 -0
  32. package/{lib → generated}/skills/visual-debugging/comparison.md +7 -9
  33. package/generated/skills/visual-debugging/correction-rounds.md +25 -0
  34. package/generated/skills/visual-debugging/passes.md +29 -0
  35. package/generated/skills/visual-debugging/rendering-cost.md +5 -0
  36. package/lib/IAutoMovieScaffoldProps.d.ts +14 -6
  37. package/lib/assertScaffoldProjectName.d.ts +1 -1
  38. package/lib/assertScaffoldProjectName.js +1 -1
  39. package/lib/createAutoMovieScaffold.d.ts +27 -0
  40. package/lib/createAutoMovieScaffold.js +127 -0
  41. package/lib/createAutoMovieScaffold.js.map +1 -0
  42. package/lib/index.d.ts +2 -45
  43. package/lib/index.js +2 -45
  44. package/lib/index.js.map +1 -1
  45. package/lib/listAutoMovieScaffoldFiles.d.ts +2 -2
  46. package/lib/listAutoMovieScaffoldFiles.js +2 -2
  47. package/lib/renderAutoMovieWorkspace.d.ts +22 -0
  48. package/lib/renderAutoMovieWorkspace.js +141 -0
  49. package/lib/renderAutoMovieWorkspace.js.map +1 -0
  50. package/package.json +9 -12
  51. package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +22 -18
  52. package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +8 -10
  53. package/scaffold/instructions/.agents/skills/3d-modeling/diffusion/SKILL.md +24 -0
  54. package/scaffold/instructions/.agents/skills/audio/SKILL.md +11 -22
  55. package/scaffold/instructions/.agents/skills/audio/acquisition.md +22 -12
  56. package/scaffold/instructions/.agents/skills/audio/diffusion/SKILL.md +18 -0
  57. package/scaffold/instructions/.agents/skills/audio/diffusion/cloning.md +25 -0
  58. package/scaffold/instructions/.agents/skills/audio/diffusion/models.md +59 -0
  59. package/scaffold/instructions/.agents/skills/audio/diffusion/prompts.md +45 -0
  60. package/scaffold/instructions/.agents/skills/audio/film-sound.md +27 -0
  61. package/scaffold/instructions/.agents/skills/audio/generated-sound.md +17 -0
  62. package/scaffold/instructions/.agents/skills/audio/listening.md +13 -0
  63. package/scaffold/instructions/.agents/skills/audio/sound-effects.md +11 -17
  64. package/scaffold/instructions/.agents/skills/audio/soundtrack.md +7 -0
  65. package/scaffold/instructions/.agents/skills/automovie/SKILL.md +32 -0
  66. package/scaffold/instructions/.agents/skills/contracts/SKILL.md +6 -35
  67. package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +13 -13
  68. package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +20 -11
  69. package/scaffold/instructions/.agents/skills/contracts/development/composition.md +17 -10
  70. package/scaffold/instructions/.agents/skills/contracts/development/entities.md +10 -10
  71. package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +24 -26
  72. package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +19 -19
  73. package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +18 -18
  74. package/scaffold/instructions/.agents/skills/contracts/items.md +26 -0
  75. package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +36 -26
  76. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +3 -3
  77. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +3 -3
  78. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/narratives.md +2 -2
  79. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/screenplay.md +2 -2
  80. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +2 -2
  81. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/settings.md +1 -1
  82. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/treatments.md +2 -2
  83. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +7 -7
  84. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +3 -3
  85. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +4 -4
  86. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +3 -3
  87. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +4 -4
  88. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +3 -3
  89. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +3 -3
  90. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +3 -7
  91. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +3 -7
  92. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +5 -5
  93. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +5 -5
  94. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +4 -4
  95. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +5 -5
  96. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +3 -7
  97. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +5 -5
  98. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +2 -6
  99. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/common.md +2 -6
  100. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +2 -6
  101. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +5 -5
  102. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +3 -7
  103. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +5 -5
  104. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/review.md +5 -5
  105. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +5 -9
  106. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +3 -7
  107. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +2 -6
  108. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +5 -5
  109. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +4 -9
  110. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +9 -11
  111. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +2 -4
  112. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +3 -6
  113. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +4 -6
  114. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +5 -9
  115. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +3 -5
  116. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +38 -48
  117. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +7 -10
  118. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +4 -6
  119. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +5 -10
  120. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +12 -13
  121. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +4 -7
  122. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +13 -13
  123. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +15 -17
  124. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +6 -6
  125. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +16 -18
  126. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +16 -22
  127. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +8 -13
  128. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +7 -10
  129. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +29 -24
  130. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +13 -17
  131. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +9 -19
  132. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +4 -9
  133. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +7 -8
  134. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +30 -28
  135. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +10 -11
  136. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +18 -20
  137. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +14 -28
  138. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +40 -47
  139. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +18 -20
  140. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +8 -26
  141. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +12 -19
  142. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +7 -10
  143. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +4 -7
  144. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +3 -6
  145. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +3 -3
  146. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +3 -3
  147. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/treatments.md +3 -3
  148. package/scaffold/instructions/.agents/skills/development/SKILL.md +14 -26
  149. package/scaffold/instructions/.agents/skills/development/entities.md +25 -21
  150. package/scaffold/instructions/.agents/skills/development/modules.md +31 -0
  151. package/scaffold/instructions/.agents/skills/development/source-layout.md +65 -41
  152. package/scaffold/instructions/.agents/skills/development/testing.md +12 -10
  153. package/scaffold/instructions/.agents/skills/evidence/SKILL.md +7 -7
  154. package/scaffold/instructions/.agents/skills/evidence/adoption.md +4 -4
  155. package/scaffold/instructions/.agents/skills/evidence/answering.md +3 -5
  156. package/scaffold/instructions/.agents/skills/evidence/configuration.md +8 -8
  157. package/scaffold/instructions/.agents/skills/image/SKILL.md +9 -62
  158. package/scaffold/instructions/.agents/skills/image/canon-references.md +37 -0
  159. package/scaffold/instructions/.agents/skills/image/diffusion/SKILL.md +23 -0
  160. package/scaffold/instructions/.agents/skills/image/diffusion/conditioning.md +29 -0
  161. package/scaffold/instructions/.agents/skills/image/diffusion/consistency.md +25 -0
  162. package/scaffold/instructions/.agents/skills/image/diffusion/editing.md +15 -0
  163. package/scaffold/instructions/.agents/skills/image/diffusion/finishing.md +11 -0
  164. package/scaffold/instructions/.agents/skills/image/diffusion/models.md +35 -0
  165. package/scaffold/instructions/.agents/skills/image/diffusion/prompting.md +27 -0
  166. package/scaffold/instructions/.agents/skills/image/turnaround-views.md +17 -0
  167. package/scaffold/instructions/.agents/skills/motion/SKILL.md +15 -48
  168. package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +25 -5
  169. package/scaffold/instructions/.agents/skills/motion/compose/composition.md +66 -0
  170. package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +15 -0
  171. package/scaffold/instructions/.agents/skills/motion/control-channels.md +25 -9
  172. package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +28 -0
  173. package/scaffold/instructions/.agents/skills/motion/diffusion/clips.md +31 -0
  174. package/scaffold/instructions/.agents/skills/motion/diffusion/hints.md +49 -0
  175. package/scaffold/instructions/.agents/skills/motion/diffusion/models.md +32 -0
  176. package/scaffold/instructions/.agents/skills/motion/diffusion/tracing.md +59 -0
  177. package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +9 -13
  178. package/scaffold/instructions/.agents/skills/motion/judgment.md +37 -0
  179. package/scaffold/instructions/.agents/skills/motion/laws/$verification.md +0 -0
  180. package/scaffold/instructions/.agents/skills/motion/laws/SKILL.md +19 -0
  181. package/scaffold/instructions/.agents/skills/motion/laws/extension.md +39 -0
  182. package/scaffold/instructions/.agents/skills/motion/laws/method-references.md +51 -0
  183. package/scaffold/instructions/.agents/skills/motion/performance.md +11 -0
  184. package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +15 -15
  185. package/scaffold/instructions/.agents/skills/motion/retargeting.md +9 -11
  186. package/scaffold/instructions/.agents/skills/motion/segment-review.md +7 -7
  187. package/scaffold/instructions/.agents/skills/motion/staging.md +24 -14
  188. package/scaffold/instructions/.agents/skills/production/SKILL.md +11 -38
  189. package/scaffold/instructions/.agents/skills/production/assembly.md +19 -11
  190. package/scaffold/instructions/.agents/skills/production/captions.md +15 -0
  191. package/scaffold/instructions/.agents/skills/production/director.md +17 -0
  192. package/scaffold/instructions/.agents/skills/production/media-records.md +38 -15
  193. package/scaffold/instructions/.agents/skills/production/project-context.md +77 -14
  194. package/scaffold/instructions/.agents/skills/production/reorganization.md +13 -0
  195. package/scaffold/instructions/.agents/skills/production/stage-caches.md +9 -13
  196. package/scaffold/instructions/.agents/skills/production/sustained-runs.md +10 -10
  197. package/scaffold/instructions/.agents/skills/production/workflow.md +45 -0
  198. package/scaffold/instructions/.agents/skills/review/SKILL.md +10 -17
  199. package/scaffold/instructions/.agents/skills/review/delivery-review.md +50 -33
  200. package/scaffold/instructions/.agents/skills/review/estimation.md +35 -16
  201. package/scaffold/instructions/.agents/skills/review/independent-reading.md +12 -18
  202. package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +10 -36
  203. package/scaffold/instructions/.agents/skills/review/source-review.md +7 -23
  204. package/scaffold/instructions/.agents/skills/story/SKILL.md +10 -13
  205. package/scaffold/instructions/.agents/skills/story/answers.md +27 -0
  206. package/scaffold/instructions/.agents/skills/story/correction/inspection.md +10 -16
  207. package/scaffold/instructions/.agents/skills/story/correction/repair.md +18 -16
  208. package/scaffold/instructions/.agents/skills/story/document-layout.md +33 -21
  209. package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +12 -9
  210. package/scaffold/instructions/.agents/skills/story/layers/brief.md +5 -21
  211. package/scaffold/instructions/.agents/skills/story/layers/notation.md +27 -16
  212. package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +31 -7
  213. package/scaffold/instructions/.agents/skills/story/layers/scripts.md +5 -5
  214. package/scaffold/instructions/.agents/skills/story/layers/settings.md +28 -17
  215. package/scaffold/instructions/.agents/skills/story/layers/shots.md +27 -0
  216. package/scaffold/instructions/.agents/skills/story/layers/treatments.md +4 -4
  217. package/scaffold/instructions/.agents/skills/story/planning/SKILL.md +7 -7
  218. package/scaffold/instructions/.agents/skills/story/planning/direction.md +5 -5
  219. package/scaffold/instructions/.agents/skills/story/planning/discovery.md +13 -10
  220. package/scaffold/instructions/.agents/skills/story/planning/requirements.md +13 -11
  221. package/scaffold/instructions/.agents/skills/story/planning/research.md +21 -11
  222. package/scaffold/instructions/.agents/skills/story/workflow/SKILL.md +15 -0
  223. package/scaffold/instructions/.agents/skills/story/workflow/long.md +42 -0
  224. package/scaffold/instructions/.agents/skills/story/workflow/routes.md +46 -0
  225. package/scaffold/instructions/.agents/skills/story/workflow/short.md +41 -0
  226. package/scaffold/instructions/.agents/skills/video/SKILL.md +9 -23
  227. package/scaffold/instructions/.agents/skills/video/diffusion/SKILL.md +21 -0
  228. package/scaffold/instructions/.agents/skills/video/diffusion/continuity.md +21 -0
  229. package/scaffold/instructions/.agents/skills/video/diffusion/hints.md +31 -0
  230. package/scaffold/instructions/.agents/skills/video/diffusion/models.md +47 -0
  231. package/scaffold/instructions/.agents/skills/video/diffusion/prompts.md +53 -0
  232. package/scaffold/instructions/.agents/skills/video/direct-film.md +53 -0
  233. package/scaffold/instructions/.agents/skills/video/finishing.md +46 -0
  234. package/scaffold/instructions/.agents/skills/video/generated-film.md +24 -0
  235. package/scaffold/instructions/.agents/skills/video/generation.md +32 -13
  236. package/scaffold/instructions/.agents/skills/video/requests.md +46 -0
  237. package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +19 -18
  238. package/scaffold/instructions/AGENTS.md +44 -70
  239. package/scaffold/production/PROJECT.md +1 -1
  240. package/scaffold/production/README.md +44 -99
  241. package/scaffold/production/_gitignore +1 -2
  242. package/scaffold/production/index.html +4 -8
  243. package/scaffold/production/lint.config.ts +1 -1
  244. package/scaffold/production/package.json +31 -31
  245. package/scaffold/production/src/IFilm.ts +3 -3
  246. package/scaffold/production/src/IFilmProduction.ts +21 -6
  247. package/scaffold/production/src/composition/films/index.ts +3 -2
  248. package/scaffold/production/src/composition/films/starter.ts +2 -2
  249. package/scaffold/production/src/executable/physics.ts +8 -4
  250. package/scaffold/production/src/executable/recovery/node/artifact/archiveAutoMovieRecoveryModel.ts +4 -4
  251. package/scaffold/production/src/executable/recovery/node/artifact/createAutoMovieRecoveryArtifact.ts +5 -3
  252. package/scaffold/production/src/executable/recovery/node/artifact/writeAutoMovieRecoveryArtifact.ts +7 -7
  253. package/scaffold/production/src/executable/recovery/node/internal/readRecoveryCameraImages.ts +4 -2
  254. package/scaffold/production/src/executable/recovery/node/internal/recovery.ts +3 -3
  255. package/scaffold/production/src/executable/recovery/node/internal/recoveryImages.ts +3 -3
  256. package/scaffold/production/src/executable/recovery/node/internal/recoveryLocal.ts +4 -2
  257. package/scaffold/production/src/executable/recovery/node/internal/recoveryOpen.ts +2 -2
  258. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryContourFileMesh.ts +17 -18
  259. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryMeshSpool.ts +17 -18
  260. package/scaffold/production/src/executable/recovery/node/mesh/readAutoMovieRecoveryMeshFrontier.ts +4 -4
  261. package/scaffold/production/src/executable/recovery/node/publishAutoMovieRecoveryArtifact.ts +37 -21
  262. package/scaffold/production/src/executable/recovery/node/reconstruction/reconstructAutoMovieRecoveryLocal.ts +25 -15
  263. package/scaffold/production/src/executable/recovery/node/runAutoMovieRecoveryCommand.ts +1 -1
  264. package/scaffold/production/src/main.ts +9 -195
  265. package/scaffold/production/src/markFilmProduction.ts +43 -0
  266. package/scaffold/production/src/selectFilm.ts +3 -5
  267. package/scaffold/production/src/subjects.ts +65 -0
  268. package/scaffold/production/test/features/test_recovery_publication_cancellation.ts +129 -0
  269. package/scaffold/production/tsconfig.json +1 -2
  270. package/scaffold/production/vite.config.ts +16 -2
  271. package/scaffold/workspace/README.md +6 -8
  272. package/scaffold/workspace/package.json +1 -1
  273. package/src/IAutoMovieScaffoldProps.ts +15 -6
  274. package/src/assertScaffoldProjectName.ts +1 -1
  275. package/src/createAutoMovieScaffold.ts +115 -0
  276. package/src/index.ts +2 -46
  277. package/src/listAutoMovieScaffoldFiles.ts +2 -2
  278. package/src/renderAutoMovieWorkspace.ts +157 -0
  279. package/build/resolveTemplateVersions.ts +0 -92
  280. package/build/syncScaffoldInstructions.ts +0 -28
  281. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.d.ts +0 -14
  282. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js +0 -52
  283. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js.map +0 -1
  284. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.d.ts +0 -2
  285. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js +0 -42
  286. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js.map +0 -1
  287. package/lib/AutoMovieScaffoldLayer.d.ts +0 -15
  288. package/lib/AutoMovieScaffoldLayer.js +0 -3
  289. package/lib/AutoMovieScaffoldLayer.js.map +0 -1
  290. package/lib/FILE_ATTRIBUTE_DIRECTORY.d.ts +0 -2
  291. package/lib/FILE_ATTRIBUTE_DIRECTORY.js +0 -6
  292. package/lib/FILE_ATTRIBUTE_DIRECTORY.js.map +0 -1
  293. package/lib/IAutoMovieCatalogVersionProps.d.ts +0 -16
  294. package/lib/IAutoMovieCatalogVersionProps.js +0 -3
  295. package/lib/IAutoMovieCatalogVersionProps.js.map +0 -1
  296. package/lib/IAutoMovieScaffoldSourceEntry.d.ts +0 -18
  297. package/lib/IAutoMovieScaffoldSourceEntry.js +0 -3
  298. package/lib/IAutoMovieScaffoldSourceEntry.js.map +0 -1
  299. package/lib/IAutoMovieTemplateDependencyVersionsProps.d.ts +0 -17
  300. package/lib/IAutoMovieTemplateDependencyVersionsProps.js +0 -3
  301. package/lib/IAutoMovieTemplateDependencyVersionsProps.js.map +0 -1
  302. package/lib/IAutoMovieWorkspacePackageVersions.d.ts +0 -34
  303. package/lib/IAutoMovieWorkspacePackageVersions.js +0 -3
  304. package/lib/IAutoMovieWorkspacePackageVersions.js.map +0 -1
  305. package/lib/IBoundChild.d.ts +0 -71
  306. package/lib/IBoundChild.js +0 -3
  307. package/lib/IBoundChild.js.map +0 -1
  308. package/lib/IBoundChildStatus.d.ts +0 -20
  309. package/lib/IBoundChildStatus.js +0 -3
  310. package/lib/IBoundChildStatus.js.map +0 -1
  311. package/lib/IBoundParent.d.ts +0 -61
  312. package/lib/IBoundParent.js +0 -3
  313. package/lib/IBoundParent.js.map +0 -1
  314. package/lib/IBoundParentStatus.d.ts +0 -14
  315. package/lib/IBoundParentStatus.js +0 -3
  316. package/lib/IBoundParentStatus.js.map +0 -1
  317. package/lib/ICreateResult.d.ts +0 -27
  318. package/lib/ICreateResult.js +0 -3
  319. package/lib/ICreateResult.js.map +0 -1
  320. package/lib/IScaffoldCompletedFilePublicationOutcome.d.ts +0 -16
  321. package/lib/IScaffoldCompletedFilePublicationOutcome.js +0 -3
  322. package/lib/IScaffoldCompletedFilePublicationOutcome.js.map +0 -1
  323. package/lib/IScaffoldCompletedPublication.d.ts +0 -15
  324. package/lib/IScaffoldCompletedPublication.js +0 -3
  325. package/lib/IScaffoldCompletedPublication.js.map +0 -1
  326. package/lib/IScaffoldFileSnapshot.d.ts +0 -24
  327. package/lib/IScaffoldFileSnapshot.js +0 -3
  328. package/lib/IScaffoldFileSnapshot.js.map +0 -1
  329. package/lib/IScaffoldParentPublicationRequest.d.ts +0 -26
  330. package/lib/IScaffoldParentPublicationRequest.js +0 -3
  331. package/lib/IScaffoldParentPublicationRequest.js.map +0 -1
  332. package/lib/IScaffoldPartialFilePublicationOutcome.d.ts +0 -22
  333. package/lib/IScaffoldPartialFilePublicationOutcome.js +0 -3
  334. package/lib/IScaffoldPartialFilePublicationOutcome.js.map +0 -1
  335. package/lib/IScaffoldPhysicalDirectory.d.ts +0 -20
  336. package/lib/IScaffoldPhysicalDirectory.js +0 -3
  337. package/lib/IScaffoldPhysicalDirectory.js.map +0 -1
  338. package/lib/IScaffoldPosixConstants.d.ts +0 -24
  339. package/lib/IScaffoldPosixConstants.js +0 -3
  340. package/lib/IScaffoldPosixConstants.js.map +0 -1
  341. package/lib/IScaffoldPublicationEntry.d.ts +0 -20
  342. package/lib/IScaffoldPublicationEntry.js +0 -3
  343. package/lib/IScaffoldPublicationEntry.js.map +0 -1
  344. package/lib/IScaffoldPublicationFailure.d.ts +0 -18
  345. package/lib/IScaffoldPublicationFailure.js +0 -3
  346. package/lib/IScaffoldPublicationFailure.js.map +0 -1
  347. package/lib/IScaffoldPublicationOptions.d.ts +0 -17
  348. package/lib/IScaffoldPublicationOptions.js +0 -3
  349. package/lib/IScaffoldPublicationOptions.js.map +0 -1
  350. package/lib/IScaffoldPublicationReceipt.d.ts +0 -25
  351. package/lib/IScaffoldPublicationReceipt.js +0 -3
  352. package/lib/IScaffoldPublicationReceipt.js.map +0 -1
  353. package/lib/IScaffoldRefusedFilePublicationOutcome.d.ts +0 -18
  354. package/lib/IScaffoldRefusedFilePublicationOutcome.js +0 -3
  355. package/lib/IScaffoldRefusedFilePublicationOutcome.js.map +0 -1
  356. package/lib/IScaffoldSyncPlan.d.ts +0 -25
  357. package/lib/IScaffoldSyncPlan.js +0 -3
  358. package/lib/IScaffoldSyncPlan.js.map +0 -1
  359. package/lib/IScaffoldSyncProps.d.ts +0 -16
  360. package/lib/IScaffoldSyncProps.js +0 -3
  361. package/lib/IScaffoldSyncProps.js.map +0 -1
  362. package/lib/IWindowsFileInformation.d.ts +0 -20
  363. package/lib/IWindowsFileInformation.js +0 -3
  364. package/lib/IWindowsFileInformation.js.map +0 -1
  365. package/lib/IWindowsLibrary.d.ts +0 -127
  366. package/lib/IWindowsLibrary.js +0 -3
  367. package/lib/IWindowsLibrary.js.map +0 -1
  368. package/lib/SCAFFOLD_SYNC_STATE_FILE.d.ts +0 -4
  369. package/lib/SCAFFOLD_SYNC_STATE_FILE.js +0 -8
  370. package/lib/SCAFFOLD_SYNC_STATE_FILE.js.map +0 -1
  371. package/lib/ScaffoldFilePublicationOutcome.d.ts +0 -14
  372. package/lib/ScaffoldFilePublicationOutcome.js +0 -3
  373. package/lib/ScaffoldFilePublicationOutcome.js.map +0 -1
  374. package/lib/ScaffoldParentChangedError.d.ts +0 -11
  375. package/lib/ScaffoldParentChangedError.js +0 -19
  376. package/lib/ScaffoldParentChangedError.js.map +0 -1
  377. package/lib/ScaffoldPublicationError.d.ts +0 -17
  378. package/lib/ScaffoldPublicationError.js +0 -46
  379. package/lib/ScaffoldPublicationError.js.map +0 -1
  380. package/lib/assertOrdinaryFile.d.ts +0 -13
  381. package/lib/assertOrdinaryFile.js +0 -20
  382. package/lib/assertOrdinaryFile.js.map +0 -1
  383. package/lib/assertOrdinarySingleLinkFile.d.ts +0 -13
  384. package/lib/assertOrdinarySingleLinkFile.js +0 -22
  385. package/lib/assertOrdinarySingleLinkFile.js.map +0 -1
  386. package/lib/assertScaffoldOwnership.d.ts +0 -13
  387. package/lib/assertScaffoldOwnership.js +0 -24
  388. package/lib/assertScaffoldOwnership.js.map +0 -1
  389. package/lib/assertScaffoldPhysicalDirectory.d.ts +0 -16
  390. package/lib/assertScaffoldPhysicalDirectory.js +0 -26
  391. package/lib/assertScaffoldPhysicalDirectory.js.map +0 -1
  392. package/lib/attachScaffoldSyncState.d.ts +0 -18
  393. package/lib/attachScaffoldSyncState.js +0 -30
  394. package/lib/attachScaffoldSyncState.js.map +0 -1
  395. package/lib/captureEmptyScaffoldPhysicalDirectory.d.ts +0 -13
  396. package/lib/captureEmptyScaffoldPhysicalDirectory.js +0 -69
  397. package/lib/captureEmptyScaffoldPhysicalDirectory.js.map +0 -1
  398. package/lib/captureScaffoldFile.d.ts +0 -13
  399. package/lib/captureScaffoldFile.js +0 -67
  400. package/lib/captureScaffoldFile.js.map +0 -1
  401. package/lib/captureScaffoldPhysicalDirectory.d.ts +0 -13
  402. package/lib/captureScaffoldPhysicalDirectory.js +0 -63
  403. package/lib/captureScaffoldPhysicalDirectory.js.map +0 -1
  404. package/lib/combineScaffoldFailures.d.ts +0 -19
  405. package/lib/combineScaffoldFailures.js +0 -32
  406. package/lib/combineScaffoldFailures.js.map +0 -1
  407. package/lib/createAutoMovieCatalogVersionResolver.d.ts +0 -17
  408. package/lib/createAutoMovieCatalogVersionResolver.js +0 -64
  409. package/lib/createAutoMovieCatalogVersionResolver.js.map +0 -1
  410. package/lib/createScaffoldSyncState.d.ts +0 -12
  411. package/lib/createScaffoldSyncState.js +0 -26
  412. package/lib/createScaffoldSyncState.js.map +0 -1
  413. package/lib/createScaffoldVariables.d.ts +0 -25
  414. package/lib/createScaffoldVariables.js +0 -41
  415. package/lib/createScaffoldVariables.js.map +0 -1
  416. package/lib/ensureScaffoldBaseDirectory.d.ts +0 -19
  417. package/lib/ensureScaffoldBaseDirectory.js +0 -89
  418. package/lib/ensureScaffoldBaseDirectory.js.map +0 -1
  419. package/lib/ensureScaffoldFileDirectory.d.ts +0 -25
  420. package/lib/ensureScaffoldFileDirectory.js +0 -103
  421. package/lib/ensureScaffoldFileDirectory.js.map +0 -1
  422. package/lib/inside.d.ts +0 -12
  423. package/lib/inside.js +0 -57
  424. package/lib/inside.js.map +0 -1
  425. package/lib/isScaffoldInstruction.d.ts +0 -12
  426. package/lib/isScaffoldInstruction.js +0 -29
  427. package/lib/isScaffoldInstruction.js.map +0 -1
  428. package/lib/loadWindowsLibrary.d.ts +0 -13
  429. package/lib/loadWindowsLibrary.js +0 -180
  430. package/lib/loadWindowsLibrary.js.map +0 -1
  431. package/lib/mergeScaffoldFiles.d.ts +0 -18
  432. package/lib/mergeScaffoldFiles.js +0 -37
  433. package/lib/mergeScaffoldFiles.js.map +0 -1
  434. package/lib/missingPath.d.ts +0 -12
  435. package/lib/missingPath.js +0 -18
  436. package/lib/missingPath.js.map +0 -1
  437. package/lib/nativeError.d.ts +0 -12
  438. package/lib/nativeError.js +0 -17
  439. package/lib/nativeError.js.map +0 -1
  440. package/lib/openPosixParent.d.ts +0 -13
  441. package/lib/openPosixParent.js +0 -135
  442. package/lib/openPosixParent.js.map +0 -1
  443. package/lib/openWindowsParent.d.ts +0 -13
  444. package/lib/openWindowsParent.js +0 -224
  445. package/lib/openWindowsParent.js.map +0 -1
  446. package/lib/overwriteScaffoldFile.d.ts +0 -22
  447. package/lib/overwriteScaffoldFile.js +0 -214
  448. package/lib/overwriteScaffoldFile.js.map +0 -1
  449. package/lib/physicalDirectoryIdentity.d.ts +0 -15
  450. package/lib/physicalDirectoryIdentity.js +0 -65
  451. package/lib/physicalDirectoryIdentity.js.map +0 -1
  452. package/lib/physicalVersion.d.ts +0 -13
  453. package/lib/physicalVersion.js +0 -18
  454. package/lib/physicalVersion.js.map +0 -1
  455. package/lib/planScaffoldPublication.d.ts +0 -22
  456. package/lib/planScaffoldPublication.js +0 -100
  457. package/lib/planScaffoldPublication.js.map +0 -1
  458. package/lib/planScaffoldSync.d.ts +0 -14
  459. package/lib/planScaffoldSync.js +0 -102
  460. package/lib/planScaffoldSync.js.map +0 -1
  461. package/lib/publishFiles.d.ts +0 -23
  462. package/lib/publishFiles.js +0 -124
  463. package/lib/publishFiles.js.map +0 -1
  464. package/lib/publishNativeScaffoldFile.d.ts +0 -21
  465. package/lib/publishNativeScaffoldFile.js +0 -211
  466. package/lib/publishNativeScaffoldFile.js.map +0 -1
  467. package/lib/publishScaffoldCandidate.d.ts +0 -24
  468. package/lib/publishScaffoldCandidate.js +0 -70
  469. package/lib/publishScaffoldCandidate.js.map +0 -1
  470. package/lib/readAutoMovieScaffoldSources.d.ts +0 -20
  471. package/lib/readAutoMovieScaffoldSources.js +0 -103
  472. package/lib/readAutoMovieScaffoldSources.js.map +0 -1
  473. package/lib/readScaffoldSyncFile.d.ts +0 -16
  474. package/lib/readScaffoldSyncFile.js +0 -64
  475. package/lib/readScaffoldSyncFile.js.map +0 -1
  476. package/lib/renderScaffold.d.ts +0 -19
  477. package/lib/renderScaffold.js +0 -33
  478. package/lib/renderScaffold.js.map +0 -1
  479. package/lib/renderScaffoldEntries.d.ts +0 -20
  480. package/lib/renderScaffoldEntries.js +0 -106
  481. package/lib/renderScaffoldEntries.js.map +0 -1
  482. package/lib/renderScaffoldInstructions.d.ts +0 -17
  483. package/lib/renderScaffoldInstructions.js +0 -23
  484. package/lib/renderScaffoldInstructions.js.map +0 -1
  485. package/lib/renderScaffoldLayer.d.ts +0 -20
  486. package/lib/renderScaffoldLayer.js +0 -28
  487. package/lib/renderScaffoldLayer.js.map +0 -1
  488. package/lib/renderTemplate.d.ts +0 -19
  489. package/lib/renderTemplate.js +0 -56
  490. package/lib/renderTemplate.js.map +0 -1
  491. package/lib/renderWorkspaceProductionScaffold.d.ts +0 -19
  492. package/lib/renderWorkspaceProductionScaffold.js +0 -30
  493. package/lib/renderWorkspaceProductionScaffold.js.map +0 -1
  494. package/lib/renderWorkspaceScaffold.d.ts +0 -19
  495. package/lib/renderWorkspaceScaffold.js +0 -33
  496. package/lib/renderWorkspaceScaffold.js.map +0 -1
  497. package/lib/replaceSharedScaffoldFile.d.ts +0 -30
  498. package/lib/replaceSharedScaffoldFile.js +0 -106
  499. package/lib/replaceSharedScaffoldFile.js.map +0 -1
  500. package/lib/resolveAutoMovieCatalogVersion.d.ts +0 -19
  501. package/lib/resolveAutoMovieCatalogVersion.js +0 -24
  502. package/lib/resolveAutoMovieCatalogVersion.js.map +0 -1
  503. package/lib/resolveAutoMovieTemplateDependencyVersions.d.ts +0 -19
  504. package/lib/resolveAutoMovieTemplateDependencyVersions.js +0 -62
  505. package/lib/resolveAutoMovieTemplateDependencyVersions.js.map +0 -1
  506. package/lib/resolveScaffoldPosixConstants.d.ts +0 -13
  507. package/lib/resolveScaffoldPosixConstants.js +0 -44
  508. package/lib/resolveScaffoldPosixConstants.js.map +0 -1
  509. package/lib/scaffoldAssetDirectory.d.ts +0 -19
  510. package/lib/scaffoldAssetDirectory.js +0 -63
  511. package/lib/scaffoldAssetDirectory.js.map +0 -1
  512. package/lib/scaffoldPhysicalIdentity.d.ts +0 -18
  513. package/lib/scaffoldPhysicalIdentity.js +0 -22
  514. package/lib/scaffoldPhysicalIdentity.js.map +0 -1
  515. package/lib/scaffoldSharedSkillDirectory.d.ts +0 -17
  516. package/lib/scaffoldSharedSkillDirectory.js +0 -62
  517. package/lib/scaffoldSharedSkillDirectory.js.map +0 -1
  518. package/lib/skills/3d-modeling/conditioning.md +0 -82
  519. package/lib/skills/3d-modeling/crafting.md +0 -82
  520. package/lib/skills/3d-modeling/diffusion.md +0 -34
  521. package/lib/skills/3d-modeling/inspection.md +0 -54
  522. package/lib/skills/3d-modeling/lofting.md +0 -43
  523. package/lib/skills/3d-modeling/modularization.md +0 -31
  524. package/lib/skills/3d-modeling/recovery.md +0 -29
  525. package/lib/skills/3d-modeling/rigging.md +0 -97
  526. package/lib/skills/3d-modeling/sources.md +0 -29
  527. package/lib/skills/contracts/development/common.md +0 -13
  528. package/lib/skills/contracts/development/design.md +0 -28
  529. package/lib/skills/contracts/development/implementation.md +0 -49
  530. package/lib/skills/contracts/development/testing.md +0 -27
  531. package/lib/skills/development/repair.md +0 -13
  532. package/lib/skills/documentation/SKILL.md +0 -25
  533. package/lib/skills/documentation/writing.md +0 -51
  534. package/lib/skills/motion/authoring.md +0 -51
  535. package/lib/skills/motion/contacts.md +0 -39
  536. package/lib/skills/motion/laws.md +0 -23
  537. package/lib/skills/motion/layers.md +0 -7
  538. package/lib/skills/motion/transitions.md +0 -27
  539. package/lib/skills/motion/variation.md +0 -23
  540. package/lib/skills/motion/verification.md +0 -36
  541. package/lib/skills/prompting/SKILL.md +0 -80
  542. package/lib/skills/visual-debugging/capture.md +0 -60
  543. package/lib/skills/visual-debugging/correction-rounds.md +0 -34
  544. package/lib/skills/visual-debugging/passes.md +0 -29
  545. package/lib/skills/visual-debugging/rendering-cost.md +0 -5
  546. package/lib/syncScaffold.d.ts +0 -19
  547. package/lib/syncScaffold.js +0 -28
  548. package/lib/syncScaffold.js.map +0 -1
  549. package/lib/writeFiles.d.ts +0 -20
  550. package/lib/writeFiles.js +0 -33
  551. package/lib/writeFiles.js.map +0 -1
  552. package/lib/writeScaffoldFile.d.ts +0 -35
  553. package/lib/writeScaffoldFile.js +0 -107
  554. package/lib/writeScaffoldFile.js.map +0 -1
  555. package/lib/writtenVersion.d.ts +0 -13
  556. package/lib/writtenVersion.js +0 -18
  557. package/lib/writtenVersion.js.map +0 -1
  558. package/scaffold/instructions/.agents/skills/audio/local-speech.md +0 -11
  559. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/screenplay.md +0 -9
  560. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/screenplay.md +0 -13
  561. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/screenplay.md +0 -11
  562. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/screenplay.md +0 -25
  563. package/scaffold/instructions/.agents/skills/development/reuse.md +0 -47
  564. package/scaffold/instructions/.agents/skills/motion/method-references.md +0 -23
  565. package/scaffold/instructions/.agents/skills/production/sync-and-reorganization.md +0 -21
  566. package/scaffold/instructions/.agents/skills/story/correction/SKILL.md +0 -13
  567. package/scaffold/instructions/.agents/skills/story/evidence/SKILL.md +0 -13
  568. package/scaffold/instructions/.agents/skills/story/evidence/answer-placement.md +0 -13
  569. package/scaffold/instructions/.agents/skills/story/evidence/answer-writing.md +0 -23
  570. package/scaffold/instructions/.agents/skills/story/naturalness/SKILL.md +0 -13
  571. package/scaffold/instructions/.agents/skills/story/naturalness/rewriting.md +0 -17
  572. package/scaffold/instructions/.agents/skills/story/naturalness/transfer.md +0 -11
  573. package/scaffold/instructions/.agents/skills/story/workflow.md +0 -61
  574. package/scaffold/instructions/.agents/skills/video/diffusion.md +0 -33
  575. package/scaffold/instructions/.agents/skills/video/prompts.md +0 -51
  576. package/scaffold/production/evidence.config.ts +0 -12
  577. package/scaffold/production/src/executable/capture.ts +0 -489
  578. package/scaffold/production/src/executable/planCaptureStills.ts +0 -65
  579. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureError.ts +0 -1
  580. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureErrorCode.ts +0 -1
  581. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessWaitUntil.ts +0 -1
  582. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureOptions.ts +0 -79
  583. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureSession.ts +0 -39
  584. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessFrameWriter.ts +0 -20
  585. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessLocator.ts +0 -1
  586. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessPage.ts +0 -1
  587. package/scaffold/production/src/executable/render/headlessCapture/createHeadlessCaptureAdapter.ts +0 -92
  588. package/scaffold/production/src/executable/render/headlessCapture/index.ts +0 -9
  589. package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoOptions.ts +0 -128
  590. package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoResult.ts +0 -43
  591. package/scaffold/production/src/executable/render/node/IProductionRenditionClip.ts +0 -44
  592. package/scaffold/production/src/executable/render/node/acquireViewerBrowser.ts +0 -24
  593. package/scaffold/production/src/executable/render/node/addProductionMp4Sample.ts +0 -89
  594. package/scaffold/production/src/executable/render/node/appendLosslessVideoClip.ts +0 -62
  595. package/scaffold/production/src/executable/render/node/assembleProductionChunkVideoMp4.ts +0 -167
  596. package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionClips.ts +0 -184
  597. package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionVideo.ts +0 -127
  598. package/scaffold/production/src/executable/render/node/assertProductionRenditionClipDelivery.ts +0 -102
  599. package/scaffold/production/src/executable/render/node/cache/IAutoMovieDirectoryArtifactStore.ts +0 -59
  600. package/scaffold/production/src/executable/render/node/cache/IAutoMovieViewerFrameCacheReport.ts +0 -30
  601. package/scaffold/production/src/executable/render/node/cache/cacheViewerCaptureSession.ts +0 -187
  602. package/scaffold/production/src/executable/render/node/cache/composeViewerFrameKeys.ts +0 -55
  603. package/scaffold/production/src/executable/render/node/cache/createAutoMovieArtifactMiddleware.ts +0 -107
  604. package/scaffold/production/src/executable/render/node/cache/createAutoMovieDirectoryArtifactStore.ts +0 -203
  605. package/scaffold/production/src/executable/render/node/cache/digestAutoMovieSourceTree.ts +0 -66
  606. package/scaffold/production/src/executable/render/node/cache/readViewerFrameStates.ts +0 -95
  607. package/scaffold/production/src/executable/render/node/capture/DEFAULT_CHROME_EXECUTABLE.ts +0 -11
  608. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageOperationFailure.ts +0 -13
  609. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeArtifact.ts +0 -30
  610. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeOptions.ts +0 -51
  611. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceMetadata.ts +0 -27
  612. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderArtifact.ts +0 -44
  613. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderOptions.ts +0 -43
  614. package/scaffold/production/src/executable/render/node/capture/IAutoMovieSequenceDissolvePixelCheck.ts +0 -39
  615. package/scaffold/production/src/executable/render/node/capture/captureRenderAndSee.ts +0 -233
  616. package/scaffold/production/src/executable/render/node/capture/captureSequenceRenderAndSee.ts +0 -377
  617. package/scaffold/production/src/executable/render/node/capture/index.ts +0 -14
  618. package/scaffold/production/src/executable/render/node/capture/preserveCleanupFailure.ts +0 -34
  619. package/scaffold/production/src/executable/render/node/capture/renderAndSeeCommand.ts +0 -169
  620. package/scaffold/production/src/executable/render/node/capture/renderSequenceAndSeeCommand.ts +0 -165
  621. package/scaffold/production/src/executable/render/node/capture/verifySequenceDissolvePixels.ts +0 -179
  622. package/scaffold/production/src/executable/render/node/conformProductionRenditionVideoMp4.ts +0 -86
  623. package/scaffold/production/src/executable/render/node/conformProductionVisualDeliveryVideoMp4.ts +0 -230
  624. package/scaffold/production/src/executable/render/node/decodeAutoMovieDelivery.ts +0 -253
  625. package/scaffold/production/src/executable/render/node/equalRational.ts +0 -36
  626. package/scaffold/production/src/executable/render/node/exactProductionClockProduct.ts +0 -26
  627. package/scaffold/production/src/executable/render/node/exportModelToGLB.ts +0 -267
  628. package/scaffold/production/src/executable/render/node/index.ts +0 -27
  629. package/scaffold/production/src/executable/render/node/loadModelGltfCore.ts +0 -18
  630. package/scaffold/production/src/executable/render/node/mixAutoMovieAudioCues.ts +0 -74
  631. package/scaffold/production/src/executable/render/node/muxProductionFeatureMp4.ts +0 -170
  632. package/scaffold/production/src/executable/render/node/neutralTrackPresentation.ts +0 -59
  633. package/scaffold/production/src/executable/render/node/normalizeProductionH264Mp4.ts +0 -110
  634. package/scaffold/production/src/executable/render/node/openLosslessVideoTrack.ts +0 -81
  635. package/scaffold/production/src/executable/render/node/parseMp4.ts +0 -46
  636. package/scaffold/production/src/executable/render/node/parseProductionMp4Output.ts +0 -70
  637. package/scaffold/production/src/executable/render/node/parseProductionRenditionClip.ts +0 -92
  638. package/scaffold/production/src/executable/render/node/planViewerVideo.ts +0 -140
  639. package/scaffold/production/src/executable/render/node/probeParsedProductionVideoMp4.ts +0 -48
  640. package/scaffold/production/src/executable/render/node/probeProductionPngPicture.ts +0 -223
  641. package/scaffold/production/src/executable/render/node/probeProductionRenderedMedia.ts +0 -355
  642. package/scaffold/production/src/executable/render/node/probeProductionVideoMp4.ts +0 -27
  643. package/scaffold/production/src/executable/render/node/probeVideoTrack.ts +0 -220
  644. package/scaffold/production/src/executable/render/node/productionRenditionVideoPlan.ts +0 -149
  645. package/scaffold/production/src/executable/render/node/recordViewerPlayback.ts +0 -137
  646. package/scaffold/production/src/executable/render/node/renderViewerFrames.ts +0 -139
  647. package/scaffold/production/src/executable/render/node/renderViewerVideo.ts +0 -301
  648. package/scaffold/production/src/executable/render/node/renderViewerVideoSession.ts +0 -75
  649. package/scaffold/production/src/executable/render/node/residentMp4Box.ts +0 -36
  650. package/scaffold/production/src/executable/render/node/residentPngJs.ts +0 -26
  651. package/scaffold/production/src/executable/render/node/runViewerVideoEncoder.ts +0 -58
  652. package/scaffold/production/src/executable/render/node/sameSampleDescription.ts +0 -43
  653. package/scaffold/production/src/executable/render/node/sameSampleFlags.ts +0 -28
  654. package/scaffold/production/src/executable/render/node/sampleBytes.ts +0 -46
  655. package/scaffold/production/src/executable/render/node/sampleDescription.ts +0 -40
  656. package/scaffold/production/src/executable/render/node/sampleOptions.ts +0 -37
  657. package/scaffold/production/src/executable/render/node/serializeDescriptionBox.ts +0 -29
  658. package/scaffold/production/src/executable/render/node/trimProductionAudioPresentation.ts +0 -115
  659. package/scaffold/production/src/executable/render/node/verifySampleStorage.ts +0 -86
  660. package/scaffold/production/src/executable/render/node/writeViewerFrameSheet.ts +0 -101
  661. package/scaffold/production/src/executable/render.ts +0 -92
  662. package/scaffold/production/src/executable/review.ts +0 -54
  663. package/scaffold/production/src/executable/viewer/inspection/createViewerDiskSource.ts +0 -119
  664. package/scaffold/production/src/executable/viewer/inspection/readViewerMaintainedSourceFiles.ts +0 -64
  665. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureError.ts +0 -41
  666. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureErrorCode.ts +0 -22
  667. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessWaitUntil.ts +0 -18
  668. package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessLocator.ts +0 -32
  669. package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessPage.ts +0 -130
  670. package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureOptions.ts +0 -38
  671. package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureSession.ts +0 -41
  672. package/scaffold/production/src/executable/viewer/node/capture/createViewerCaptureSession.ts +0 -154
  673. package/scaffold/production/src/executable/viewer/node/capture/index.ts +0 -8
  674. package/scaffold/production/src/executable/viewer/node/index.ts +0 -2
  675. package/scaffold/production/src/executable/viewer/process/ProcessOwnership.ts +0 -102
  676. package/scaffold/production/src/executable/viewer/process/internal/IProcessChildObservation.ts +0 -18
  677. package/scaffold/production/src/executable/viewer/process/internal/IProcessOwnershipHost.ts +0 -70
  678. package/scaffold/production/src/executable/viewer/process/internal/ProcessOwnershipController.ts +0 -125
  679. package/scaffold/production/src/executable/viewer/process/internal/WindowsProcessOwnershipPrograms.ts +0 -52
  680. package/scaffold/production/src/executable/viewer/process/internal/createNodeProcessOwnershipHost.ts +0 -41
  681. package/scaffold/production/src/executable/viewer/process/internal/decodeLinuxProcessIdentity.ts +0 -22
  682. package/scaffold/production/src/executable/viewer/process/internal/decodePosixProcessIdentity.ts +0 -24
  683. package/scaffold/production/src/executable/viewer/process/internal/decodeWindowsProcessResult.ts +0 -24
  684. package/scaffold/production/src/executable/viewer/process/internal/readNativeProcessIdentity.ts +0 -45
  685. package/scaffold/production/src/executable/viewer/process/internal/requireProcessId.ts +0 -15
  686. package/scaffold/production/src/executable/viewer/process/internal/resolveProcessIdentityReadError.ts +0 -15
  687. package/scaffold/production/src/executable/viewer/process/internal/runWindowsProcessOperation.ts +0 -41
  688. package/scaffold/production/src/executable/viewer/process/internal/selectProcessOwnershipTree.ts +0 -68
  689. package/scaffold/production/test/features/executable/test_plan_capture_stills.ts +0 -75
  690. package/scaffold/workspace/pnpm-workspace.yaml +0 -46
  691. package/src/AUTOMOVIE_TEMPLATE_CATALOGS.ts +0 -48
  692. package/src/AUTOMOVIE_TEMPLATE_VERSIONS.ts +0 -39
  693. package/src/AutoMovieScaffoldLayer.ts +0 -18
  694. package/src/FILE_ATTRIBUTE_DIRECTORY.ts +0 -2
  695. package/src/IAutoMovieCatalogVersionProps.ts +0 -18
  696. package/src/IAutoMovieScaffoldSourceEntry.ts +0 -19
  697. package/src/IAutoMovieTemplateDependencyVersionsProps.ts +0 -19
  698. package/src/IAutoMovieWorkspacePackageVersions.ts +0 -44
  699. package/src/IBoundChild.ts +0 -86
  700. package/src/IBoundChildStatus.ts +0 -24
  701. package/src/IBoundParent.ts +0 -65
  702. package/src/IBoundParentStatus.ts +0 -15
  703. package/src/ICreateResult.ts +0 -35
  704. package/src/IScaffoldCompletedFilePublicationOutcome.ts +0 -17
  705. package/src/IScaffoldCompletedPublication.ts +0 -17
  706. package/src/IScaffoldFileSnapshot.ts +0 -28
  707. package/src/IScaffoldParentPublicationRequest.ts +0 -29
  708. package/src/IScaffoldPartialFilePublicationOutcome.ts +0 -25
  709. package/src/IScaffoldPhysicalDirectory.ts +0 -22
  710. package/src/IScaffoldPosixConstants.ts +0 -30
  711. package/src/IScaffoldPublicationEntry.ts +0 -22
  712. package/src/IScaffoldPublicationFailure.ts +0 -18
  713. package/src/IScaffoldPublicationOptions.ts +0 -19
  714. package/src/IScaffoldPublicationReceipt.ts +0 -29
  715. package/src/IScaffoldRefusedFilePublicationOutcome.ts +0 -20
  716. package/src/IScaffoldSyncPlan.ts +0 -26
  717. package/src/IScaffoldSyncProps.ts +0 -16
  718. package/src/IWindowsFileInformation.ts +0 -24
  719. package/src/IWindowsLibrary.ts +0 -148
  720. package/src/SCAFFOLD_SYNC_STATE_FILE.ts +0 -5
  721. package/src/ScaffoldFilePublicationOutcome.ts +0 -18
  722. package/src/ScaffoldParentChangedError.ts +0 -14
  723. package/src/ScaffoldPublicationError.ts +0 -58
  724. package/src/assertOrdinaryFile.ts +0 -20
  725. package/src/assertOrdinarySingleLinkFile.ts +0 -26
  726. package/src/assertScaffoldOwnership.ts +0 -29
  727. package/src/assertScaffoldPhysicalDirectory.ts +0 -29
  728. package/src/attachScaffoldSyncState.ts +0 -30
  729. package/src/captureEmptyScaffoldPhysicalDirectory.ts +0 -45
  730. package/src/captureScaffoldFile.ts +0 -34
  731. package/src/captureScaffoldPhysicalDirectory.ts +0 -34
  732. package/src/combineScaffoldFailures.ts +0 -35
  733. package/src/createAutoMovieCatalogVersionResolver.ts +0 -117
  734. package/src/createScaffoldSyncState.ts +0 -33
  735. package/src/createScaffoldVariables.ts +0 -50
  736. package/src/ensureScaffoldBaseDirectory.ts +0 -55
  737. package/src/ensureScaffoldFileDirectory.ts +0 -75
  738. package/src/inside.ts +0 -25
  739. package/src/isScaffoldInstruction.ts +0 -29
  740. package/src/loadWindowsLibrary.ts +0 -277
  741. package/src/mergeScaffoldFiles.ts +0 -39
  742. package/src/missingPath.ts +0 -16
  743. package/src/nativeError.ts +0 -15
  744. package/src/openPosixParent.ts +0 -155
  745. package/src/openWindowsParent.ts +0 -305
  746. package/src/overwriteScaffoldFile.ts +0 -262
  747. package/src/physicalDirectoryIdentity.ts +0 -33
  748. package/src/physicalVersion.ts +0 -18
  749. package/src/planScaffoldPublication.ts +0 -100
  750. package/src/planScaffoldSync.ts +0 -122
  751. package/src/publishFiles.ts +0 -120
  752. package/src/publishNativeScaffoldFile.ts +0 -287
  753. package/src/publishScaffoldCandidate.ts +0 -94
  754. package/src/readAutoMovieScaffoldSources.ts +0 -82
  755. package/src/readScaffoldSyncFile.ts +0 -66
  756. package/src/renderScaffold.ts +0 -43
  757. package/src/renderScaffoldEntries.ts +0 -110
  758. package/src/renderScaffoldInstructions.ts +0 -22
  759. package/src/renderScaffoldLayer.ts +0 -38
  760. package/src/renderTemplate.ts +0 -62
  761. package/src/renderWorkspaceProductionScaffold.ts +0 -35
  762. package/src/renderWorkspaceScaffold.ts +0 -43
  763. package/src/replaceSharedScaffoldFile.ts +0 -88
  764. package/src/resolveAutoMovieCatalogVersion.ts +0 -27
  765. package/src/resolveAutoMovieTemplateDependencyVersions.ts +0 -70
  766. package/src/resolveScaffoldPosixConstants.ts +0 -50
  767. package/src/scaffoldAssetDirectory.ts +0 -30
  768. package/src/scaffoldPhysicalIdentity.ts +0 -21
  769. package/src/scaffoldSharedSkillDirectory.ts +0 -25
  770. package/src/syncScaffold.ts +0 -38
  771. package/src/writeFiles.ts +0 -48
  772. package/src/writeScaffoldFile.ts +0 -88
  773. package/src/writtenVersion.ts +0 -19
  774. /package/scaffold/instructions/.agents/skills/3d-modeling/{$crafting.md → $crafting} +0 -0
  775. /package/scaffold/instructions/.agents/skills/3d-modeling/{$diffusion.md → diffusion/$image-hints.md} +0 -0
  776. /package/scaffold/instructions/.agents/skills/3d-modeling/{$lofting.md → diffusion/$models.md} +0 -0
  777. /package/scaffold/instructions/.agents/skills/3d-modeling/{$recovery.md → diffusion/$prompts.md} +0 -0
  778. /package/scaffold/instructions/.agents/skills/{motion/$authoring.md → 3d-modeling/diffusion/$request.md} +0 -0
  779. /package/scaffold/instructions/.agents/skills/{motion/$contacts.md → 3d-modeling/diffusion/$shape-hints.md} +0 -0
  780. /package/scaffold/instructions/.agents/skills/motion/{$laws.md → laws/$authoring.md} +0 -0
  781. /package/scaffold/instructions/.agents/skills/motion/{$layers.md → laws/$contacts.md} +0 -0
  782. /package/scaffold/instructions/.agents/skills/motion/{$transitions.md → laws/$declaration.md} +0 -0
  783. /package/scaffold/instructions/.agents/skills/motion/{$variation.md → laws/$transitions.md} +0 -0
  784. /package/scaffold/instructions/.agents/skills/motion/{$verification.md → laws/$variation.md} +0 -0
@@ -0,0 +1,100 @@
1
+ # Rigging
2
+
3
+ Define the rig's rest state, joints, weights, attachments and limits. Verify them in the poses the asset uses. [Motion](../motion/SKILL.md) owns time-dependent behavior.
4
+
5
+ Read the required use, retained source and package contracts for import, model, skinning and viewing. Accept a generated rig after its consumer deforms it correctly.
6
+
7
+ ## Rig choice
8
+
9
+ | The asset | Rig |
10
+ | --- | --- |
11
+ | Rigid parts on pivots | One node per part on its real pivot |
12
+ | A humanoid | A skin bound to the humanoid joint set the installed packages' motion performs on |
13
+ | Other deforming body | Skin bound to the joints its motion drives |
14
+
15
+ Add no joint that nothing drives.
16
+
17
+ Align added detail to the accepted skeleton's rest pose and joints. Changing the character's proportions requires the user's choice and retargeting.
18
+
19
+ ## Characterization
20
+
21
+ ### Fixed inputs
22
+
23
+ Freeze mesh, skeleton, textures, source pose and transforms. Record units, handedness, up and forward axes, local and world transforms, rest and bind poses, hierarchy, joint IDs, pivots and attachment owners. Verify what pose the importer displays at rest.
24
+
25
+ Inspect the required bones and every used influence, rigid accessories included.
26
+
27
+ ### Binding
28
+
29
+ Map each deforming vertex to the joint palette and bind interpretation in use, and validate influence indices, finite weights, admitted sums and influence counts, parent relationships and coordinate conversion through the supported APIs.
30
+
31
+ Give a rigid prop a transform or attachment, not a skin. Keep unknown joints and extra influences; a deliberate reduction is a new derivative whose error is measured and rendered at the required poses.
32
+
33
+ ## Weight sources
34
+
35
+ Bind the reduced mesh in rest pose with limbs apart. Join loose deforming pieces or make them rigid attachments. Use the first applicable weight source below. For crafted forms, evaluate weights on the [generating definition](crafting/construction.md#generating-definition).
36
+
37
+ Prove one representative export, import and deformation path before rigging many assets the same way.
38
+
39
+ ### Rig carried by the source
40
+
41
+ Reuse a source rig when its joints map to the target. Request the nearest standard skeleton from a service. Check joint names, rest pose, extra joints and units.
42
+
43
+ ### Transfer from a rigged body
44
+
45
+ Transfer weights from a rigged body of the same kind and pose where the nearest surface matches in position and normal. Fill remaining weights by smoothing from the transferred vertices.
46
+
47
+ ### Automatic weights
48
+
49
+ Compute the weights automatically from the skeleton and the surface when the surface is one closed piece. Watch for weights crossing between touching surfaces, and for failure on open or disconnected geometry.
50
+
51
+ ### Learned rigging model
52
+
53
+ Use learned rigging when no existing skeleton fits. Map its joints and retarget its motion.
54
+
55
+ ## Deformation proof
56
+
57
+ ### Poses to inspect
58
+
59
+ Check the rest result first, then each required control alone, then combined poses and the shot sequence, in the rounds the [correction rounds](../visual-debugging/correction-rounds.md) page sets.
60
+
61
+ Choose coverage, such as shoulder and hip bends, twisting, hands and face, attachments and returns to rest, from the asset's anatomy, promised use, silhouettes, junctions and screen scale.
62
+
63
+ | Seen | Usual cause |
64
+ | --- | --- |
65
+ | The mesh displaced or scattered at rest | A bind pose not matching the skeleton, or a unit or axis converted twice |
66
+ | One limb dragging another, or the torso following an arm | Weights that crossed between surfaces touching at bind |
67
+ | A joint pinching flat when it twists or bends far | The limit of linear blending, not a binding error |
68
+ | A piece left behind or torn off | A loose piece with no weights |
69
+
70
+ Attach a loose piece to one joint. For a joint that pinches flat, add a twist joint or compare the other skinning method.
71
+
72
+ Look also for clothing or accessories passing through the body, and for normals or materials that change with the pose.
73
+
74
+ ### Skinning method and variants
75
+
76
+ Check the API's linear and dual-quaternion skinning support and scale limits. Compare them in the actual consumer where the asset needs a choice.
77
+
78
+ Keep proportions and control identities stable across detail variants, and recheck weights, rig assumptions and attachments when topology or proportions change.
79
+
80
+ ### What survives export
81
+
82
+ Record which DCC operations produce the required deformation and which channels the exporter, ingest profile and runtime preserve. Check the ingest profile's subset of the interchange format.
83
+
84
+ Where needed, bake evaluated results into kept channels or a supported fixed representation, preserving the original and the conversion's identity. Report required behavior the path cannot carry instead of exporting only the rest mesh.
85
+
86
+ Compare evaluated source and imported deformation at matched times and views. Cover required corrective or facial states, attachments and nonuniform scale where used. Judge visible error at the promised scale and verify the retained channels.
87
+
88
+ ## Handoff
89
+
90
+ Hand accepted skeleton interpretation, controls, inputs and unresolved limits to the motion owner. Repair rig defects in the rig.
91
+
92
+ ## References
93
+
94
+ These primary sources are options, not installed features, and a learned model's code, weights and data carry separate licenses to check at adoption.
95
+
96
+ The [glTF skinning tutorial](https://github.com/KhronosGroup/glTF-Tutorials/blob/main/gltfTutorial/gltfTutorial_020_Skins.md) and [specification](https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html) show how scene hierarchy, joint palette, inverse binds and current transforms differ. The [Blender armature modifier](https://docs.blender.org/manual/en/latest/modeling/modifiers/deform/armature.html) documents that tool's deformation choices and preserve-volume behavior.
97
+
98
+ [Robust Skin Weights Transfer via Weight Inpainting](https://github.com/rin-23/RobustSkinWeightsTransferCode) transfers weights between bodies of different shape.
99
+
100
+ [UniRig](https://github.com/VAST-AI-Research/UniRig) predicts a learned skeleton, then a skin from it, so correct the skeleton before taking the skin. [Puppeteer](https://github.com/Seed3D/Puppeteer) and [RigAnything](https://arxiv.org/abs/2502.09615) predict skeleton and weights for bodies no template fits.
@@ -0,0 +1,29 @@
1
+ # Sources
2
+
3
+ Adopt an existing asset when the shot needs it or the user requests it. Follow [Conditioning](conditioning.md).
4
+
5
+ ## Channels
6
+
7
+ ### Poly Haven
8
+
9
+ [Poly Haven](https://polyhaven.com/license) offers photoreal models, HDRIs and textures under CC0, with a [public API](https://api.polyhaven.com) for scripted fetching. Its HDRIs suit environment light; its models are fewer, so expect common props and furniture rather than a specific subject.
10
+
11
+ ### ambientCG
12
+
13
+ [ambientCG](https://docs.ambientcg.com/license/) offers PBR materials and HDRIs under CC0, for surfaces on crafted or recovered geometry rather than meshes.
14
+
15
+ ### Kenney
16
+
17
+ [Kenney](https://kenney.nl/assets/category:3D) offers consistent low-poly kits and characters under CC0, whose coarse, uniform style fits identifiable stand-ins and fast blocking.
18
+
19
+ ### codepawl GLB repacks
20
+
21
+ [codepawl](https://huggingface.co/datasets/codepawl/abo-glb) repacks Amazon Berkeley Objects (`abo-glb`), Google Scanned Objects (`scanned-objects-glb`) and NVIDIA SimReady (`simready-glb`) as real-scale GLB files. For CC BY 4.0 attribution, credit the original creator.
22
+
23
+ ### Quixel Megascans
24
+
25
+ [Quixel Megascans](https://www.fab.com/sellers/Quixel%20Megascans) offers photoscanned assets, surfaces and vegetation with a Fab account. The [Fab Standard License](https://www.fab.com/eula) allows commercial use and modification. Keep source scans out of public commits and simplify where detail is unnecessary.
26
+
27
+ ### 100STYLE
28
+
29
+ [100STYLE](https://www.ianxmason.com/100style/) offers stylized locomotion motion capture in BVH under CC BY 4.0, as a gait or style reference to retarget or recover, with its credit.
@@ -0,0 +1,13 @@
1
+ # Common
2
+
3
+ Every exported declaration answers this item alongside its design, implementation or testing items.
4
+
5
+ ## Meaningful documentation
6
+
7
+ Document each public declaration and member's purpose and non-obvious input, output and effect contracts. Include ownership, units, frames, timebases, defaults, optional values and failure effects where relevant. For each test, document its cases and expected behavior.
8
+
9
+ In implementation comments, explain the premises, derivation, units, frames and use of non-obvious calculations. Cite the origin of fitted or conventional coefficients and distinguish them from measurements.
10
+
11
+ Write it to the documentation skill's rules, with a blank comment line between prose and tags and a blank line between documented properties.
12
+
13
+ State which facts the documentation gives.
@@ -0,0 +1,27 @@
1
+ # Design
2
+
3
+ Each exported type, interface, type alias and class answers this checklist and [common](common.md) in its doc comment. Use evidence from the declaration and its consumers.
4
+
5
+ ## Principled representation
6
+
7
+ Represent the domain's quantities with their units, frames and timebases. Encode invariants in the type where the language can enforce them.
8
+
9
+ State the concept represented, its units, frames, timebases and invariants, which invalid states the type rules out, and which remain for runtime validation.
10
+
11
+ ## Minimal and owned surface
12
+
13
+ Expose only what current consumers use. Import existing types from their owner. Represent the variants current consumers use as data.
14
+
15
+ State the owner, the consumers the surface serves, and why any non-obvious member, parameter or layer exists.
16
+
17
+ ## Prohibited design shortcuts
18
+
19
+ Do not:
20
+
21
+ - shape a type around one consumer, fixture or scene when the concept it names serves others;
22
+ - restrict a concept to one case when current consumers need others;
23
+ - encode alternatives as optional fields that combine into meaningless states, where a discriminated union separates them;
24
+ - widen to `any`, `unknown` or a cast to hide a mismatch between a value and its declared shape;
25
+ - add members only a test reads.
26
+
27
+ State any such shape present and its basis, or the violation that remains.
@@ -0,0 +1,49 @@
1
+ # Implementation
2
+
3
+ Each exported function and class method answers this checklist and [common](common.md) in its doc comment. Use evidence from its body, callees and callers. Its input and result types answer [design](design.md).
4
+
5
+ ## Principled implementation
6
+
7
+ Ground the method in the problem's semantics, documented behavior, a recognized algorithm or cited practice evidence.
8
+
9
+ State the method, why its premises hold for the actual inputs and any limits. Include relevant units, frames, timebases, invariants, precision and degeneracies.
10
+
11
+ ## Clear and simple structure
12
+
13
+ Keep decisions with the responsibilities that own them. Add only layers and options current requirements use. Put behavior used by multiple consumers in one package or shared module.
14
+
15
+ State how the decomposition exposes that responsibility and why any non-obvious layer or separation is needed.
16
+
17
+ ## Prohibited implementation shortcuts
18
+
19
+ Do not:
20
+
21
+ - tune a constant until one case or check passes;
22
+ - special-case a consumer, scene, fixture, expected answer, or measurement;
23
+ - replay a baked or fitted result in place of the computation it stands for;
24
+ - use a tolerance that admits a result outside the requirement;
25
+ - replace foreign methods, globals, or internals;
26
+ - add production behavior only to pass a test;
27
+ - keep a disproven assumption under wrappers, retries, or exceptions.
28
+
29
+ Take each value from the requirement, a cited source, a measurement, or a named parameter that states its origin. Contract-defined constants and paths for a real supported difference are allowed.
30
+
31
+ State any such special case or compensation present and its basis, or the violation that remains.
32
+
33
+ ## Efficient algorithms
34
+
35
+ Include helper costs when choosing the most efficient correct algorithm for the supported workload. Avoid needless traversal and allocation.
36
+
37
+ State the input dimensions that drive time and space, the dominant cost, and why any full scan or rebuild is needed. Do not claim unmeasured speedups.
38
+
39
+ ## Reuse equivalent work
40
+
41
+ Reuse completed or in-flight work only when the inputs and dependencies are equivalent and the contract permits sharing its effects.
42
+
43
+ State what is shared, which inputs, dependencies, and effects decide equivalence, and how identity and invalidation keep it valid.
44
+
45
+ ## Bound retention and release resources
46
+
47
+ For an operation that owns retained state, handles, or running tasks, hold them only as long as the owner needs, and release them on completion, failure, cancellation, and transfer.
48
+
49
+ State the owner, the acquisition and release points, and what grows the retained population and its bound, keeping handles, bytes, and tasks distinct. If no bound exists, say so.
@@ -0,0 +1,27 @@
1
+ # Testing
2
+
3
+ Each exported test function answers this checklist and [common](common.md) from its assertions and execution path, including cases registered by a shared harness.
4
+
5
+ ## Behavioral verification
6
+
7
+ Exercise the behavior and assert its observable result. Delete checks of repository layout or source text and checks that repeat tuned constants, fitted results or implementation output.
8
+
9
+ State the operation exercised, the defect the assertions catch, and the valid behavior they allow.
10
+
11
+ ## Independent expectations
12
+
13
+ Derive expected values and tolerances from the supported contract, a specification, a physical requirement, a study of the real practice, or another independent reference, never from the implementation under test or a snapshot of its output.
14
+
15
+ State that basis, how the assertion would catch a wrong implementation, and any oracle limitation.
16
+
17
+ ## Distinguishing cases
18
+
19
+ Cover positive, adjacent negative and boundary cases. Identify the input that must change, the meaning to preserve, and any empty, singleton, limit, malformed or failure case the decision requires. Keep the assertions and cases when optimizing runtime.
20
+
21
+ State this test's contribution and the cases another test owns.
22
+
23
+ ## Execution ownership
24
+
25
+ A unit test exercises portable behavior with explicit in-memory inputs. Installation, native builds and real hosts belong to other checks. Playback, renders and listening belong to review. Classify a test by what it runs.
26
+
27
+ State the layer, the discoverable entry, and who owns dynamically registered cases.
@@ -0,0 +1,11 @@
1
+ # Repair
2
+
3
+ ## Before editing
4
+
5
+ Read the implementation, callers, contracts and tests to identify the invariants it owns. Group findings by cause. Trace each cause and fix through consumers, failure and recovery paths, caches, determinism and supported platforms.
6
+
7
+ ## The fix
8
+
9
+ Fix each cause at its owner and delete the compensations the fix makes unnecessary. Put non-obvious invariants in nearby comments.
10
+
11
+ Use the development checks to verify the corrected and preserved behavior for every affected case.
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: documentation
3
+ description: Sets how any document is written and what a README holds.
4
+ ---
5
+
6
+ # Documentation
7
+
8
+ Follow [Writing](writing.md). The project's development skill owns doc comment requirements.
9
+
10
+ ## READMEs
11
+
12
+ Write a README for the people who use the project or package. Include:
13
+
14
+ - what it is and when to use it;
15
+ - how to install and start it;
16
+ - the few entry points;
17
+ - where the detail lives.
18
+
19
+ Leave API details with the source and its types. Verify names and commands. Run every example.
@@ -0,0 +1,85 @@
1
+ # Writing
2
+
3
+ Keep what the reader needs to understand or act. State each rule or fact once.
4
+
5
+ ## Wording
6
+
7
+ ### Content and sentences
8
+
9
+ - Keep the action, its conditions and the evidence needed to verify it. Cut qualifications, examples and summaries that add none of these.
10
+ - Make one point per sentence.
11
+ - Give the reason when it is not obvious.
12
+ - Say what to do rather than what to avoid, and name the concrete pattern when a prohibition is needed.
13
+ - Use plain language, without emphasis capitals, bold, em-dashes, emoji in prose, promotional adjectives or hedging.
14
+
15
+ ### Terms
16
+
17
+ Use one term per concept, with the same meaning throughout.
18
+
19
+ Use established terms or plain language. Define unfamiliar terms on first use or link to their definitions.
20
+
21
+ Use a metaphor at most once to explain a concept. Use the concept's actual name in headings, labels and later references.
22
+
23
+ ### Careless text
24
+
25
+ Avoid stock phrases, repeated openers and outlines that impose a structure the content does not need.
26
+
27
+ ## Structure
28
+
29
+ Measure source lines by counting a link's text and omitting its address.
30
+
31
+ ### Headings
32
+
33
+ Use short, sentence-case topic headings. Put questions, claims and instructions in the body.
34
+
35
+ Group related topics under one second-level heading.
36
+
37
+ Use distinct headings so their anchors are unique.
38
+
39
+ Use heading slugs. Add an explicit anchor only if the address must survive renames and the renderer supports it.
40
+
41
+ ### Links
42
+
43
+ Routers link to their resources. A resource links to the next task or the section that owns a rule. Refer to parent pages, other consumers and sections of the current page by name.
44
+
45
+ ### Paragraphs
46
+
47
+ Give each paragraph one topic and one source line. Lead with its point. Check paragraphs over about five sentences for a second topic.
48
+
49
+ ### Lists
50
+
51
+ Use lists for short parallel items or steps whose order matters. Keep each item to about 120 characters on one source line.
52
+
53
+ Introduce each list. Use parallel grammar and at least two items. End sentences and the last fragment with a period. End other fragments with semicolons.
54
+
55
+ Keep items to one paragraph and distinguish nested list markers.
56
+
57
+ Under a descriptive checklist heading, omit the introduction. Each item may be as long as its assertion and exceptions require.
58
+
59
+ ### Tables
60
+
61
+ Use two columns by default for short mappings. Keep rows to about 120 characters on one source line.
62
+
63
+ Put the subject or page link in the first column and its description in the second.
64
+
65
+ Use task order where it exists, otherwise alphabetize by the first column.
66
+
67
+ A condition, reason or example that does not fit its cell goes in a sentence after the table.
68
+
69
+ ### Form by content
70
+
71
+ Choose the form that fits the content:
72
+
73
+ | Content | Form |
74
+ | --- | --- |
75
+ | Several topics | A subsection each, written as prose |
76
+ | Steps that need explanation | A numbered subsection each, such as `### 1. Plan` |
77
+ | An argument whose parts depend on each other | Prose, with no list |
78
+ | A repeated mapping of short values | A table |
79
+ | An exact command | A code block |
80
+
81
+ ## Revising
82
+
83
+ Rewrite the affected section in the reader's order.
84
+
85
+ Remove unused material. Move shared rules to their owner. Reread the result as its reader.
@@ -0,0 +1,45 @@
1
+ # Effector goals
2
+
3
+ Define the action's interaction through time-bounded effector goals. Fit them with the owning package's primitives, using analytic two-bone IK for a limb when its assumptions hold. Plan coupled fits under [pose by time](transitions.md#pose-by-time).
4
+
5
+ ## Writing a goal
6
+
7
+ | Part | Names |
8
+ | --- | --- |
9
+ | End effector | A measured point on the body, such as the palm center or the seat bones |
10
+ | Target | A declared region or socket, a prop's grip or surface, a point in the set or an aim point |
11
+ | Approach | The direction and orientation the act needs |
12
+ | Window | When the goal holds, such as from grip to release |
13
+ | Tracking | Whether the target is frozen at the window's start or tracked through it |
14
+
15
+ Measure distances from the body and target. Cite provisional values. Take key poses, timing and windows from primary studies. Specify joint angles only where goals leave them open.
16
+
17
+ A goal on a body attaches to the bone under its target, so a layered sway carries it along. Read a tracked target one reaction time late, with the delay from the study, or the limb cannot be dodged, feinted or made to miss.
18
+
19
+ ## The path in time
20
+
21
+ Use measured phase timing and endpoint velocities. A minimum-jerk curve models an unconstrained point-to-point reach with settled endpoints (Flash and Hogan 1985). An action that makes contact at speed needs its own boundary velocities and segment timing (Putnam 1993).
22
+
23
+ When the root travels during a stroke, express the effector path in the moving shoulder or hip frame.
24
+
25
+ ## Out of reach
26
+
27
+ Check root-to-target distance before posing. Outside the limb's reach, report its reachable range or use a declared alternative that reaches. Let the caller approve any change to the [outcome](declaration.md#outcome-as-input).
28
+
29
+ Document and implement the reach rule. Reject a goal that would require moving the contact by clamping.
30
+
31
+ ## The root
32
+
33
+ Plan the root from contacts, reaches and studied postural compensation. Evaluate balance only for an explicit request or a physical response that needs it, over the active interval. If lowering, leaning or stepping is needed, fit the affected limbs against the same supports.
34
+
35
+ Place bearing joints at their contact heights.
36
+
37
+ ## Fit order
38
+
39
+ Fit supports, including hands on a held bar, before reaching limbs. Recheck previous contacts after each fit.
40
+
41
+ Check that each elbow and knee bends to the side its hint asks, since the solver's range-of-motion cost may prefer the other. Without a hint, keep the side the pose already bends to.
42
+
43
+ Fit limbs resting on one another in dependency order.
44
+
45
+ A fit that searches measures each trial after the joint limits apply, or it settles on a pose the body cannot take.
@@ -0,0 +1,41 @@
1
+ # Contacts and supports
2
+
3
+ A contact can be a touch event or a constraint held over a window.
4
+
5
+ ## Windows and support frames
6
+
7
+ Declare which surfaces may touch and when, including approach, first touch and release where they matter. Anchor a retained contact to the body or carrier that owns the surface so it follows that surface in motion. Measure slip and penetration in its frame from the displayed transforms.
8
+
9
+ Transfer weight to the next support before releasing the current one.
10
+
11
+ ## Feet
12
+
13
+ Plant the foot at the contact points the phase uses, such as ball, heel or both.
14
+
15
+ A heel lift rotates the foot about the metatarsophalangeal axis with the ball fixed in the support frame, the forefoot rocker of Perry's Gait Analysis. Measure swing clearance at the lowest point of the toe and sole.
16
+
17
+ Plan travel in whole steps. Use about 0.41 of stature for a normal step (Murray, Drought and Kory 1964; Grieve and Gear 1966). Shorten the first and last steps.
18
+
19
+ ## Held objects
20
+
21
+ At grip closure, store inverse(hand) · object and keep that offset until release. For placement, derive the hand goal from the object's target pose and the stored offset.
22
+
23
+ To verify a held tool's pose, read back its working point and a second point along its length after fitting. Refuse or choose another pose if either misses.
24
+
25
+ A held object stays held across actions until an action takes that hand over to put it down, hand it on or use it. Until then the hand travels with the body and keeps its grip. Refuse an action that would use a holding hand for something else.
26
+
27
+ At a handover, the object stays held throughout:
28
+
29
+ - both hands hold through a shared window while the object's world pose blends from the giver to the receiver;
30
+ - the giver opens only after the receiver's grip has closed;
31
+ - keep a hand on the object through any outcome that retains it, until set-down.
32
+
33
+ ## Contact between performers
34
+
35
+ Compute one shared contact target from both bodies' reach and give it to both performers.
36
+
37
+ Resolve contact stops against both performers' displayed paths during preparation. A stop that changes a path changes all subsequent contact candidates involving that path.
38
+
39
+ Preserve action duration, events and decisive instant when applying a contact stop. Resolve stops in time order so each sees earlier ones.
40
+
41
+ Measure penetration against each part's own collider, not against one radius shared by a whole limb.
@@ -0,0 +1,25 @@
1
+ # Law design
2
+
3
+ An action law takes a body, parameters, skill, entry state and targets.
4
+
5
+ ## Plan and time
6
+
7
+ Follow [pose by time](transitions.md#pose-by-time) to plan from bound inputs and sample the result.
8
+
9
+ ## Entry state
10
+
11
+ Start from displayed pose and velocity, planted feet and held objects. Plan root, supports and effectors from that state. Use [the transition](transitions.md#changing-action) for joint offsets the law cannot plan.
12
+
13
+ ## Events and the decisive instant
14
+
15
+ Name phase boundaries, contact starts and ends, and the decisive instant if any. Resolve them on the action clock at their actual times. Use those events for cuts, partners, sound and review.
16
+
17
+ ## Outcome as input
18
+
19
+ Take the outcome as input before resolving geometry and forces. The caller supplies it or selects a declared rule over participants' intents.
20
+
21
+ Check realized geometry and forces against the selected outcome. Refuse infeasible outcomes and report the feasible range.
22
+
23
+ ## Time scale
24
+
25
+ Derive duration and speed from body size. Express pace as Froude number v²/(g·l), with l the leg length (Alexander 1984).
@@ -0,0 +1,39 @@
1
+ # Time, transitions and layers
2
+
3
+ ## Pose by time
4
+
5
+ Prepare the path, events, active constraints and required physical response once. Carry resolved entry state through cuts and layers. Sample poses as `f(plan, t)` in any order using time curves, carrier-relative transforms and any direct fit needed at that instant. Share the evaluated pose across consumers.
6
+
7
+ Use closed-form paths and fits where they satisfy the constraints. Limit coupled search to the interval and degrees of freedom that need it and resolve it during preparation. Retain event states, curves or solver trajectories that preserve the checked result between events.
8
+
9
+ ## Transitions
10
+
11
+ ### Declared cuts
12
+
13
+ Declare each cut's target action, legal window, target entry and transition kind. Reject undeclared cuts when building the plan.
14
+
15
+ Inertialize action changes. Redirect target changes within a movement family. Join cyclic movements at the matching foot event.
16
+
17
+ Declare the state each cut preserves. Plan the target action from that entry state.
18
+
19
+ If the vocabulary runs transitions, the law declares its cuts and delegates blending.
20
+
21
+ ### Changing action
22
+
23
+ At a cut into a different action, inertialize: carry the difference in pose and velocity at the cut and let it decay (Bollo 2018, "Inertialization: High-Performance Animation Transitions in Gears of War").
24
+
25
+ Derive each channel's pose offset x0 and velocity offset v0 at the cut. Decay both with Bollo's quintic. If their signs differ, limit the decay time to t1 ≤ −5·x0/v0.
26
+
27
+ Prepare the transition so planted feet and gripping hands retain their goals and only the free joints retain the decay. Use the displayed state on each side of the cut for verification.
28
+
29
+ Blend unwrapped angles on the shortest arc ((b − a + 180) mod 360 − 180), or use quaternions.
30
+
31
+ ### Changing target within an action
32
+
33
+ When a reach target changes, one studied model adds a minimum-jerk submovement from the old target to the new target (Flash and Hogan 1985; Flash and Henis 1991). Keep the ongoing path and the correction on the same clock, then fit the summed goal within the action's reach and contact rules.
34
+
35
+ ## Layers
36
+
37
+ Add gaze, breathing and expression as pose layers. Preserve the action's timing, transitions and contact goals. Use free joints or small trunk offsets that [contact fits](authoring.md#fit-order) absorb.
38
+
39
+ Blend from the layer's current state when it starts, ends or changes target. Take timing and amplitude from its study and vary them by [skill and seed](variation.md).
@@ -0,0 +1,23 @@
1
+ # Variation
2
+
3
+ Parameters, skill and seed vary takes while keeping each take reproducible.
4
+
5
+ ## One law, many performances
6
+
7
+ Vary one law through parameters, skill and seed. Add a parameter with a study-based bound when the law cannot express a variation.
8
+
9
+ ## Skill
10
+
11
+ Interpolate each measured quantity between novice and expert using studies of that action family. Mark unsupported quantities provisional.
12
+
13
+ Skill changes how well the same action is done. It never widens a range of motion and never changes an outcome.
14
+
15
+ ## Variability across tasks
16
+
17
+ Model interval variance as a constant motor term plus a term growing with interval (Wing and Kristofferson 1973). Scale endpoint scatter up with distance and down with movement time (Schmidt et al. 1979). Motor noise grows with command magnitude (Harris and Wolpert 1998).
18
+
19
+ ## Independent draws
20
+
21
+ Key each random draw by seed, performer, action, instance and quantity. Preserve other draws when action order or membership changes.
22
+
23
+ Vary motion within studied bounds. Take outcomes and affected counts from the caller, deriving a count from a supplied studied rate if needed. Use the seed to select members.
@@ -0,0 +1,32 @@
1
+ # Motion verification
2
+
3
+ Test each isolated action's own goal with bounded assertions in unit tests or capture checks. Unit tests answer the [testing contract](../../contracts/development/testing.md). Check:
4
+
5
+ - the distance from effector to target;
6
+ - penetration;
7
+ - slip of every planted or held contact;
8
+ - range-of-motion overshoot;
9
+ - balance for a staged physical outcome or on request, using extrapolated center of mass against the support (Hof 2005);
10
+ - continuity of every displayed channel and of its velocity at every cut and at each end of a simulated window.
11
+
12
+ ## Checks that can fail
13
+
14
+ A check states the bound it tests and tests exactly that bound. A value reported with no bound is a measurement, not a pass.
15
+
16
+ Measure the displayed result, never the plan's own output. A check that compares two outputs of the same plan, or reads back the target the plan reached, cannot catch the plan being wrong.
17
+
18
+ Check phase boundaries, the shortest contact and between-frame extrema. Use a supported swept query where a fast crossing can slip through discrete checks. State the resolution and any unproven interval.
19
+
20
+ Take every bound from the requirement or its study, never widening one until a case passes.
21
+
22
+ Cover statures, proportions, partners and props with independent expectations and relations such as symmetry or body scaling. Check branch boundaries, cuts within declared windows and moving tracked targets. Compare sequential, repeated and out-of-order samples at the same times when evaluation changes.
23
+
24
+ When changing cost, compare preparation and new-time sampling separately on the same bodies, events and output times. Report the complete measured workload, including simulated duration, cases, actors and sampled poses. Keep playback, capture and encoding costs separate from planning and sampling.
25
+
26
+ ## Frame review
27
+
28
+ Review time-ordered stills from several named views. Show every held prop at every frame and add `joint` marks where supported. Sample under [capture](../../visual-debugging/capture.md#times).
29
+
30
+ ## Rounds
31
+
32
+ Keep each round's capture as [capture](../../visual-debugging/capture.md#rounds) sets, and keep a round only as [correction rounds](../../visual-debugging/correction-rounds.md#comparing-again) allow.