@automovie/template 0.0.0-stage → 0.1.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 (742) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +37 -2
  3. package/build/resolveTemplateVersions.ts +92 -0
  4. package/build/syncScaffoldInstructions.ts +28 -0
  5. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.d.ts +14 -0
  6. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js +52 -0
  7. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js.map +1 -0
  8. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.d.ts +2 -0
  9. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js +42 -0
  10. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js.map +1 -0
  11. package/lib/AutoMovieScaffoldLayer.d.ts +15 -0
  12. package/lib/AutoMovieScaffoldLayer.js +3 -0
  13. package/lib/AutoMovieScaffoldLayer.js.map +1 -0
  14. package/lib/FILE_ATTRIBUTE_DIRECTORY.d.ts +2 -0
  15. package/lib/FILE_ATTRIBUTE_DIRECTORY.js +6 -0
  16. package/lib/FILE_ATTRIBUTE_DIRECTORY.js.map +1 -0
  17. package/lib/IAutoMovieCatalogVersionProps.d.ts +16 -0
  18. package/lib/IAutoMovieCatalogVersionProps.js +3 -0
  19. package/lib/IAutoMovieCatalogVersionProps.js.map +1 -0
  20. package/lib/IAutoMovieScaffoldProps.d.ts +14 -0
  21. package/lib/IAutoMovieScaffoldProps.js +3 -0
  22. package/lib/IAutoMovieScaffoldProps.js.map +1 -0
  23. package/lib/IAutoMovieScaffoldSourceEntry.d.ts +18 -0
  24. package/lib/IAutoMovieScaffoldSourceEntry.js +3 -0
  25. package/lib/IAutoMovieScaffoldSourceEntry.js.map +1 -0
  26. package/lib/IAutoMovieTemplateDependencyVersionsProps.d.ts +17 -0
  27. package/lib/IAutoMovieTemplateDependencyVersionsProps.js +3 -0
  28. package/lib/IAutoMovieTemplateDependencyVersionsProps.js.map +1 -0
  29. package/lib/IAutoMovieWorkspacePackageVersions.d.ts +34 -0
  30. package/lib/IAutoMovieWorkspacePackageVersions.js +3 -0
  31. package/lib/IAutoMovieWorkspacePackageVersions.js.map +1 -0
  32. package/lib/IBoundChild.d.ts +71 -0
  33. package/lib/IBoundChild.js +3 -0
  34. package/lib/IBoundChild.js.map +1 -0
  35. package/lib/IBoundChildStatus.d.ts +20 -0
  36. package/lib/IBoundChildStatus.js +3 -0
  37. package/lib/IBoundChildStatus.js.map +1 -0
  38. package/lib/IBoundParent.d.ts +61 -0
  39. package/lib/IBoundParent.js +3 -0
  40. package/lib/IBoundParent.js.map +1 -0
  41. package/lib/IBoundParentStatus.d.ts +14 -0
  42. package/lib/IBoundParentStatus.js +3 -0
  43. package/lib/IBoundParentStatus.js.map +1 -0
  44. package/lib/ICreateResult.d.ts +27 -0
  45. package/lib/ICreateResult.js +3 -0
  46. package/lib/ICreateResult.js.map +1 -0
  47. package/lib/IScaffoldCompletedFilePublicationOutcome.d.ts +16 -0
  48. package/lib/IScaffoldCompletedFilePublicationOutcome.js +3 -0
  49. package/lib/IScaffoldCompletedFilePublicationOutcome.js.map +1 -0
  50. package/lib/IScaffoldCompletedPublication.d.ts +15 -0
  51. package/lib/IScaffoldCompletedPublication.js +3 -0
  52. package/lib/IScaffoldCompletedPublication.js.map +1 -0
  53. package/lib/IScaffoldFileSnapshot.d.ts +24 -0
  54. package/lib/IScaffoldFileSnapshot.js +3 -0
  55. package/lib/IScaffoldFileSnapshot.js.map +1 -0
  56. package/lib/IScaffoldParentPublicationRequest.d.ts +26 -0
  57. package/lib/IScaffoldParentPublicationRequest.js +3 -0
  58. package/lib/IScaffoldParentPublicationRequest.js.map +1 -0
  59. package/lib/IScaffoldPartialFilePublicationOutcome.d.ts +22 -0
  60. package/lib/IScaffoldPartialFilePublicationOutcome.js +3 -0
  61. package/lib/IScaffoldPartialFilePublicationOutcome.js.map +1 -0
  62. package/lib/IScaffoldPhysicalDirectory.d.ts +20 -0
  63. package/lib/IScaffoldPhysicalDirectory.js +3 -0
  64. package/lib/IScaffoldPhysicalDirectory.js.map +1 -0
  65. package/lib/IScaffoldPosixConstants.d.ts +24 -0
  66. package/lib/IScaffoldPosixConstants.js +3 -0
  67. package/lib/IScaffoldPosixConstants.js.map +1 -0
  68. package/lib/IScaffoldPublicationEntry.d.ts +20 -0
  69. package/lib/IScaffoldPublicationEntry.js +3 -0
  70. package/lib/IScaffoldPublicationEntry.js.map +1 -0
  71. package/lib/IScaffoldPublicationFailure.d.ts +18 -0
  72. package/lib/IScaffoldPublicationFailure.js +3 -0
  73. package/lib/IScaffoldPublicationFailure.js.map +1 -0
  74. package/lib/IScaffoldPublicationOptions.d.ts +17 -0
  75. package/lib/IScaffoldPublicationOptions.js +3 -0
  76. package/lib/IScaffoldPublicationOptions.js.map +1 -0
  77. package/lib/IScaffoldPublicationReceipt.d.ts +25 -0
  78. package/lib/IScaffoldPublicationReceipt.js +3 -0
  79. package/lib/IScaffoldPublicationReceipt.js.map +1 -0
  80. package/lib/IScaffoldRefusedFilePublicationOutcome.d.ts +18 -0
  81. package/lib/IScaffoldRefusedFilePublicationOutcome.js +3 -0
  82. package/lib/IScaffoldRefusedFilePublicationOutcome.js.map +1 -0
  83. package/lib/IScaffoldSyncPlan.d.ts +25 -0
  84. package/lib/IScaffoldSyncPlan.js +3 -0
  85. package/lib/IScaffoldSyncPlan.js.map +1 -0
  86. package/lib/IScaffoldSyncProps.d.ts +16 -0
  87. package/lib/IScaffoldSyncProps.js +3 -0
  88. package/lib/IScaffoldSyncProps.js.map +1 -0
  89. package/lib/IWindowsFileInformation.d.ts +20 -0
  90. package/lib/IWindowsFileInformation.js +3 -0
  91. package/lib/IWindowsFileInformation.js.map +1 -0
  92. package/lib/IWindowsLibrary.d.ts +127 -0
  93. package/lib/IWindowsLibrary.js +3 -0
  94. package/lib/IWindowsLibrary.js.map +1 -0
  95. package/lib/SCAFFOLD_SYNC_STATE_FILE.d.ts +4 -0
  96. package/lib/SCAFFOLD_SYNC_STATE_FILE.js +8 -0
  97. package/lib/SCAFFOLD_SYNC_STATE_FILE.js.map +1 -0
  98. package/lib/ScaffoldFilePublicationOutcome.d.ts +14 -0
  99. package/lib/ScaffoldFilePublicationOutcome.js +3 -0
  100. package/lib/ScaffoldFilePublicationOutcome.js.map +1 -0
  101. package/lib/ScaffoldParentChangedError.d.ts +11 -0
  102. package/lib/ScaffoldParentChangedError.js +19 -0
  103. package/lib/ScaffoldParentChangedError.js.map +1 -0
  104. package/lib/ScaffoldPublicationError.d.ts +17 -0
  105. package/lib/ScaffoldPublicationError.js +46 -0
  106. package/lib/ScaffoldPublicationError.js.map +1 -0
  107. package/lib/assertOrdinaryFile.d.ts +13 -0
  108. package/lib/assertOrdinaryFile.js +20 -0
  109. package/lib/assertOrdinaryFile.js.map +1 -0
  110. package/lib/assertOrdinarySingleLinkFile.d.ts +13 -0
  111. package/lib/assertOrdinarySingleLinkFile.js +22 -0
  112. package/lib/assertOrdinarySingleLinkFile.js.map +1 -0
  113. package/lib/assertScaffoldOwnership.d.ts +13 -0
  114. package/lib/assertScaffoldOwnership.js +24 -0
  115. package/lib/assertScaffoldOwnership.js.map +1 -0
  116. package/lib/assertScaffoldPhysicalDirectory.d.ts +16 -0
  117. package/lib/assertScaffoldPhysicalDirectory.js +26 -0
  118. package/lib/assertScaffoldPhysicalDirectory.js.map +1 -0
  119. package/lib/assertScaffoldProjectName.d.ts +18 -0
  120. package/lib/assertScaffoldProjectName.js +34 -0
  121. package/lib/assertScaffoldProjectName.js.map +1 -0
  122. package/lib/attachScaffoldSyncState.d.ts +18 -0
  123. package/lib/attachScaffoldSyncState.js +30 -0
  124. package/lib/attachScaffoldSyncState.js.map +1 -0
  125. package/lib/captureEmptyScaffoldPhysicalDirectory.d.ts +13 -0
  126. package/lib/captureEmptyScaffoldPhysicalDirectory.js +69 -0
  127. package/lib/captureEmptyScaffoldPhysicalDirectory.js.map +1 -0
  128. package/lib/captureScaffoldFile.d.ts +13 -0
  129. package/lib/captureScaffoldFile.js +67 -0
  130. package/lib/captureScaffoldFile.js.map +1 -0
  131. package/lib/captureScaffoldPhysicalDirectory.d.ts +13 -0
  132. package/lib/captureScaffoldPhysicalDirectory.js +63 -0
  133. package/lib/captureScaffoldPhysicalDirectory.js.map +1 -0
  134. package/lib/combineScaffoldFailures.d.ts +19 -0
  135. package/lib/combineScaffoldFailures.js +32 -0
  136. package/lib/combineScaffoldFailures.js.map +1 -0
  137. package/lib/createAutoMovieCatalogVersionResolver.d.ts +17 -0
  138. package/lib/createAutoMovieCatalogVersionResolver.js +64 -0
  139. package/lib/createAutoMovieCatalogVersionResolver.js.map +1 -0
  140. package/lib/createScaffoldSyncState.d.ts +12 -0
  141. package/lib/createScaffoldSyncState.js +26 -0
  142. package/lib/createScaffoldSyncState.js.map +1 -0
  143. package/lib/createScaffoldVariables.d.ts +25 -0
  144. package/lib/createScaffoldVariables.js +41 -0
  145. package/lib/createScaffoldVariables.js.map +1 -0
  146. package/lib/ensureScaffoldBaseDirectory.d.ts +19 -0
  147. package/lib/ensureScaffoldBaseDirectory.js +89 -0
  148. package/lib/ensureScaffoldBaseDirectory.js.map +1 -0
  149. package/lib/ensureScaffoldFileDirectory.d.ts +25 -0
  150. package/lib/ensureScaffoldFileDirectory.js +103 -0
  151. package/lib/ensureScaffoldFileDirectory.js.map +1 -0
  152. package/lib/index.d.ts +47 -0
  153. package/lib/index.js +64 -0
  154. package/lib/index.js.map +1 -0
  155. package/lib/inside.d.ts +12 -0
  156. package/lib/inside.js +57 -0
  157. package/lib/inside.js.map +1 -0
  158. package/lib/isScaffoldInstruction.d.ts +12 -0
  159. package/lib/isScaffoldInstruction.js +29 -0
  160. package/lib/isScaffoldInstruction.js.map +1 -0
  161. package/lib/listAutoMovieScaffoldFiles.d.ts +17 -0
  162. package/lib/listAutoMovieScaffoldFiles.js +87 -0
  163. package/lib/listAutoMovieScaffoldFiles.js.map +1 -0
  164. package/lib/loadWindowsLibrary.d.ts +13 -0
  165. package/lib/loadWindowsLibrary.js +180 -0
  166. package/lib/loadWindowsLibrary.js.map +1 -0
  167. package/lib/mergeScaffoldFiles.d.ts +18 -0
  168. package/lib/mergeScaffoldFiles.js +37 -0
  169. package/lib/mergeScaffoldFiles.js.map +1 -0
  170. package/lib/missingPath.d.ts +12 -0
  171. package/lib/missingPath.js +18 -0
  172. package/lib/missingPath.js.map +1 -0
  173. package/lib/nativeError.d.ts +12 -0
  174. package/lib/nativeError.js +17 -0
  175. package/lib/nativeError.js.map +1 -0
  176. package/lib/openPosixParent.d.ts +13 -0
  177. package/lib/openPosixParent.js +135 -0
  178. package/lib/openPosixParent.js.map +1 -0
  179. package/lib/openWindowsParent.d.ts +13 -0
  180. package/lib/openWindowsParent.js +224 -0
  181. package/lib/openWindowsParent.js.map +1 -0
  182. package/lib/overwriteScaffoldFile.d.ts +22 -0
  183. package/lib/overwriteScaffoldFile.js +214 -0
  184. package/lib/overwriteScaffoldFile.js.map +1 -0
  185. package/lib/physicalDirectoryIdentity.d.ts +15 -0
  186. package/lib/physicalDirectoryIdentity.js +65 -0
  187. package/lib/physicalDirectoryIdentity.js.map +1 -0
  188. package/lib/physicalVersion.d.ts +13 -0
  189. package/lib/physicalVersion.js +18 -0
  190. package/lib/physicalVersion.js.map +1 -0
  191. package/lib/planScaffoldPublication.d.ts +22 -0
  192. package/lib/planScaffoldPublication.js +100 -0
  193. package/lib/planScaffoldPublication.js.map +1 -0
  194. package/lib/planScaffoldSync.d.ts +14 -0
  195. package/lib/planScaffoldSync.js +102 -0
  196. package/lib/planScaffoldSync.js.map +1 -0
  197. package/lib/publishFiles.d.ts +23 -0
  198. package/lib/publishFiles.js +124 -0
  199. package/lib/publishFiles.js.map +1 -0
  200. package/lib/publishNativeScaffoldFile.d.ts +21 -0
  201. package/lib/publishNativeScaffoldFile.js +211 -0
  202. package/lib/publishNativeScaffoldFile.js.map +1 -0
  203. package/lib/publishScaffoldCandidate.d.ts +24 -0
  204. package/lib/publishScaffoldCandidate.js +70 -0
  205. package/lib/publishScaffoldCandidate.js.map +1 -0
  206. package/lib/readAutoMovieScaffoldSources.d.ts +20 -0
  207. package/lib/readAutoMovieScaffoldSources.js +103 -0
  208. package/lib/readAutoMovieScaffoldSources.js.map +1 -0
  209. package/lib/readScaffoldSyncFile.d.ts +16 -0
  210. package/lib/readScaffoldSyncFile.js +64 -0
  211. package/lib/readScaffoldSyncFile.js.map +1 -0
  212. package/lib/renderScaffold.d.ts +19 -0
  213. package/lib/renderScaffold.js +33 -0
  214. package/lib/renderScaffold.js.map +1 -0
  215. package/lib/renderScaffoldEntries.d.ts +20 -0
  216. package/lib/renderScaffoldEntries.js +106 -0
  217. package/lib/renderScaffoldEntries.js.map +1 -0
  218. package/lib/renderScaffoldInstructions.d.ts +17 -0
  219. package/lib/renderScaffoldInstructions.js +23 -0
  220. package/lib/renderScaffoldInstructions.js.map +1 -0
  221. package/lib/renderScaffoldLayer.d.ts +20 -0
  222. package/lib/renderScaffoldLayer.js +28 -0
  223. package/lib/renderScaffoldLayer.js.map +1 -0
  224. package/lib/renderTemplate.d.ts +19 -0
  225. package/lib/renderTemplate.js +56 -0
  226. package/lib/renderTemplate.js.map +1 -0
  227. package/lib/renderWorkspaceProductionScaffold.d.ts +19 -0
  228. package/lib/renderWorkspaceProductionScaffold.js +30 -0
  229. package/lib/renderWorkspaceProductionScaffold.js.map +1 -0
  230. package/lib/renderWorkspaceScaffold.d.ts +19 -0
  231. package/lib/renderWorkspaceScaffold.js +33 -0
  232. package/lib/renderWorkspaceScaffold.js.map +1 -0
  233. package/lib/replaceSharedScaffoldFile.d.ts +30 -0
  234. package/lib/replaceSharedScaffoldFile.js +106 -0
  235. package/lib/replaceSharedScaffoldFile.js.map +1 -0
  236. package/lib/resolveAutoMovieCatalogVersion.d.ts +19 -0
  237. package/lib/resolveAutoMovieCatalogVersion.js +24 -0
  238. package/lib/resolveAutoMovieCatalogVersion.js.map +1 -0
  239. package/lib/resolveAutoMovieTemplateDependencyVersions.d.ts +19 -0
  240. package/lib/resolveAutoMovieTemplateDependencyVersions.js +62 -0
  241. package/lib/resolveAutoMovieTemplateDependencyVersions.js.map +1 -0
  242. package/lib/resolveScaffoldPosixConstants.d.ts +13 -0
  243. package/lib/resolveScaffoldPosixConstants.js +44 -0
  244. package/lib/resolveScaffoldPosixConstants.js.map +1 -0
  245. package/lib/scaffoldAssetDirectory.d.ts +19 -0
  246. package/lib/scaffoldAssetDirectory.js +63 -0
  247. package/lib/scaffoldAssetDirectory.js.map +1 -0
  248. package/lib/scaffoldPhysicalIdentity.d.ts +18 -0
  249. package/lib/scaffoldPhysicalIdentity.js +22 -0
  250. package/lib/scaffoldPhysicalIdentity.js.map +1 -0
  251. package/lib/scaffoldSharedSkillDirectory.d.ts +17 -0
  252. package/lib/scaffoldSharedSkillDirectory.js +62 -0
  253. package/lib/scaffoldSharedSkillDirectory.js.map +1 -0
  254. package/lib/scaffoldSharedSkillPath.d.ts +17 -0
  255. package/lib/scaffoldSharedSkillPath.js +66 -0
  256. package/lib/scaffoldSharedSkillPath.js.map +1 -0
  257. package/lib/skills/3d-modeling/conditioning.md +82 -0
  258. package/lib/skills/3d-modeling/crafting.md +82 -0
  259. package/lib/skills/3d-modeling/diffusion.md +34 -0
  260. package/lib/skills/3d-modeling/inspection.md +54 -0
  261. package/lib/skills/3d-modeling/lofting.md +43 -0
  262. package/lib/skills/3d-modeling/modularization.md +31 -0
  263. package/lib/skills/3d-modeling/recovery.md +29 -0
  264. package/lib/skills/3d-modeling/rigging.md +97 -0
  265. package/lib/skills/3d-modeling/sources.md +29 -0
  266. package/lib/skills/contracts/development/common.md +13 -0
  267. package/lib/skills/contracts/development/design.md +28 -0
  268. package/lib/skills/contracts/development/implementation.md +49 -0
  269. package/lib/skills/contracts/development/testing.md +27 -0
  270. package/lib/skills/development/repair.md +13 -0
  271. package/lib/skills/documentation/SKILL.md +25 -0
  272. package/lib/skills/documentation/writing.md +51 -0
  273. package/lib/skills/motion/authoring.md +51 -0
  274. package/lib/skills/motion/contacts.md +39 -0
  275. package/lib/skills/motion/laws.md +23 -0
  276. package/lib/skills/motion/layers.md +7 -0
  277. package/lib/skills/motion/transitions.md +27 -0
  278. package/lib/skills/motion/variation.md +23 -0
  279. package/lib/skills/motion/verification.md +36 -0
  280. package/lib/skills/prompting/SKILL.md +80 -0
  281. package/lib/skills/visual-debugging/capture.md +60 -0
  282. package/lib/skills/visual-debugging/comparison.md +35 -0
  283. package/lib/skills/visual-debugging/correction-rounds.md +34 -0
  284. package/lib/skills/visual-debugging/passes.md +29 -0
  285. package/lib/skills/visual-debugging/rendering-cost.md +5 -0
  286. package/lib/syncScaffold.d.ts +19 -0
  287. package/lib/syncScaffold.js +28 -0
  288. package/lib/syncScaffold.js.map +1 -0
  289. package/lib/writeFiles.d.ts +20 -0
  290. package/lib/writeFiles.js +33 -0
  291. package/lib/writeFiles.js.map +1 -0
  292. package/lib/writeScaffoldFile.d.ts +35 -0
  293. package/lib/writeScaffoldFile.js +107 -0
  294. package/lib/writeScaffoldFile.js.map +1 -0
  295. package/lib/writtenVersion.d.ts +13 -0
  296. package/lib/writtenVersion.js +18 -0
  297. package/lib/writtenVersion.js.map +1 -0
  298. package/package.json +59 -3
  299. package/scaffold/instructions/.agents/skills/$documentation +0 -0
  300. package/scaffold/instructions/.agents/skills/$prompting +0 -0
  301. package/scaffold/instructions/.agents/skills/3d-modeling/$conditioning.md +0 -0
  302. package/scaffold/instructions/.agents/skills/3d-modeling/$crafting.md +0 -0
  303. package/scaffold/instructions/.agents/skills/3d-modeling/$diffusion.md +0 -0
  304. package/scaffold/instructions/.agents/skills/3d-modeling/$inspection.md +0 -0
  305. package/scaffold/instructions/.agents/skills/3d-modeling/$lofting.md +0 -0
  306. package/scaffold/instructions/.agents/skills/3d-modeling/$modularization.md +0 -0
  307. package/scaffold/instructions/.agents/skills/3d-modeling/$recovery.md +0 -0
  308. package/scaffold/instructions/.agents/skills/3d-modeling/$rigging.md +0 -0
  309. package/scaffold/instructions/.agents/skills/3d-modeling/$sources.md +0 -0
  310. package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +32 -0
  311. package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +25 -0
  312. package/scaffold/instructions/.agents/skills/audio/SKILL.md +28 -0
  313. package/scaffold/instructions/.agents/skills/audio/acquisition.md +25 -0
  314. package/scaffold/instructions/.agents/skills/audio/local-speech.md +11 -0
  315. package/scaffold/instructions/.agents/skills/audio/sound-effects.md +29 -0
  316. package/scaffold/instructions/.agents/skills/contracts/SKILL.md +41 -0
  317. package/scaffold/instructions/.agents/skills/contracts/development/$common.md +0 -0
  318. package/scaffold/instructions/.agents/skills/contracts/development/$design.md +0 -0
  319. package/scaffold/instructions/.agents/skills/contracts/development/$implementation.md +0 -0
  320. package/scaffold/instructions/.agents/skills/contracts/development/$testing.md +0 -0
  321. package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +22 -0
  322. package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +25 -0
  323. package/scaffold/instructions/.agents/skills/contracts/development/composition.md +29 -0
  324. package/scaffold/instructions/.agents/skills/contracts/development/entities.md +27 -0
  325. package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +42 -0
  326. package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +32 -0
  327. package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +34 -0
  328. package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +44 -0
  329. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +9 -0
  330. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +9 -0
  331. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/narratives.md +9 -0
  332. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/screenplay.md +9 -0
  333. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +9 -0
  334. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/settings.md +9 -0
  335. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/treatments.md +9 -0
  336. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +17 -0
  337. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +9 -0
  338. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +9 -0
  339. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/screenplay.md +9 -0
  340. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +9 -0
  341. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +9 -0
  342. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/screenplay.md +13 -0
  343. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +9 -0
  344. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +9 -0
  345. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +13 -0
  346. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +13 -0
  347. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +13 -0
  348. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +13 -0
  349. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +13 -0
  350. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +13 -0
  351. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +13 -0
  352. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +13 -0
  353. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +13 -0
  354. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/common.md +13 -0
  355. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +13 -0
  356. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +13 -0
  357. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +13 -0
  358. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +13 -0
  359. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/review.md +13 -0
  360. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +17 -0
  361. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +13 -0
  362. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +13 -0
  363. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +13 -0
  364. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +21 -0
  365. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +42 -0
  366. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +8 -0
  367. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +15 -0
  368. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +11 -0
  369. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +25 -0
  370. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +9 -0
  371. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +94 -0
  372. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +20 -0
  373. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +15 -0
  374. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/screenplay.md +11 -0
  375. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +17 -0
  376. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +19 -0
  377. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/screenplay.md +25 -0
  378. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +19 -0
  379. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +17 -0
  380. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +31 -0
  381. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +15 -0
  382. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +43 -0
  383. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +37 -0
  384. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +26 -0
  385. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +26 -0
  386. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +38 -0
  387. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +31 -0
  388. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +21 -0
  389. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +15 -0
  390. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +17 -0
  391. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +41 -0
  392. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +17 -0
  393. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +34 -0
  394. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +37 -0
  395. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +82 -0
  396. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +45 -0
  397. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +34 -0
  398. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +27 -0
  399. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +14 -0
  400. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +12 -0
  401. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +10 -0
  402. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +9 -0
  403. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +9 -0
  404. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/treatments.md +9 -0
  405. package/scaffold/instructions/.agents/skills/development/$repair.md +0 -0
  406. package/scaffold/instructions/.agents/skills/development/SKILL.md +33 -0
  407. package/scaffold/instructions/.agents/skills/development/entities.md +43 -0
  408. package/scaffold/instructions/.agents/skills/development/reuse.md +47 -0
  409. package/scaffold/instructions/.agents/skills/development/source-layout.md +69 -0
  410. package/scaffold/instructions/.agents/skills/development/testing.md +27 -0
  411. package/scaffold/instructions/.agents/skills/evidence/SKILL.md +16 -0
  412. package/scaffold/instructions/.agents/skills/evidence/adoption.md +11 -0
  413. package/scaffold/instructions/.agents/skills/evidence/answering.md +11 -0
  414. package/scaffold/instructions/.agents/skills/evidence/configuration.md +23 -0
  415. package/scaffold/instructions/.agents/skills/image/SKILL.md +69 -0
  416. package/scaffold/instructions/.agents/skills/motion/$authoring.md +0 -0
  417. package/scaffold/instructions/.agents/skills/motion/$contacts.md +0 -0
  418. package/scaffold/instructions/.agents/skills/motion/$laws.md +0 -0
  419. package/scaffold/instructions/.agents/skills/motion/$layers.md +0 -0
  420. package/scaffold/instructions/.agents/skills/motion/$transitions.md +0 -0
  421. package/scaffold/instructions/.agents/skills/motion/$variation.md +0 -0
  422. package/scaffold/instructions/.agents/skills/motion/$verification.md +0 -0
  423. package/scaffold/instructions/.agents/skills/motion/SKILL.md +55 -0
  424. package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +11 -0
  425. package/scaffold/instructions/.agents/skills/motion/control-channels.md +19 -0
  426. package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +25 -0
  427. package/scaffold/instructions/.agents/skills/motion/method-references.md +23 -0
  428. package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +31 -0
  429. package/scaffold/instructions/.agents/skills/motion/retargeting.md +23 -0
  430. package/scaffold/instructions/.agents/skills/motion/segment-review.md +17 -0
  431. package/scaffold/instructions/.agents/skills/motion/staging.md +29 -0
  432. package/scaffold/instructions/.agents/skills/production/SKILL.md +45 -0
  433. package/scaffold/instructions/.agents/skills/production/assembly.md +30 -0
  434. package/scaffold/instructions/.agents/skills/production/media-records.md +29 -0
  435. package/scaffold/instructions/.agents/skills/production/project-context.md +25 -0
  436. package/scaffold/instructions/.agents/skills/production/stage-caches.md +30 -0
  437. package/scaffold/instructions/.agents/skills/production/sustained-runs.md +21 -0
  438. package/scaffold/instructions/.agents/skills/production/sync-and-reorganization.md +21 -0
  439. package/scaffold/instructions/.agents/skills/review/SKILL.md +24 -0
  440. package/scaffold/instructions/.agents/skills/review/delivery-review.md +65 -0
  441. package/scaffold/instructions/.agents/skills/review/estimation.md +48 -0
  442. package/scaffold/instructions/.agents/skills/review/independent-reading.md +39 -0
  443. package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +53 -0
  444. package/scaffold/instructions/.agents/skills/review/source-review.md +31 -0
  445. package/scaffold/instructions/.agents/skills/story/SKILL.md +20 -0
  446. package/scaffold/instructions/.agents/skills/story/correction/SKILL.md +13 -0
  447. package/scaffold/instructions/.agents/skills/story/correction/inspection.md +29 -0
  448. package/scaffold/instructions/.agents/skills/story/correction/repair.md +35 -0
  449. package/scaffold/instructions/.agents/skills/story/document-layout.md +38 -0
  450. package/scaffold/instructions/.agents/skills/story/evidence/SKILL.md +13 -0
  451. package/scaffold/instructions/.agents/skills/story/evidence/answer-placement.md +13 -0
  452. package/scaffold/instructions/.agents/skills/story/evidence/answer-writing.md +23 -0
  453. package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +17 -0
  454. package/scaffold/instructions/.agents/skills/story/layers/brief.md +29 -0
  455. package/scaffold/instructions/.agents/skills/story/layers/notation.md +34 -0
  456. package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +15 -0
  457. package/scaffold/instructions/.agents/skills/story/layers/scripts.md +11 -0
  458. package/scaffold/instructions/.agents/skills/story/layers/settings.md +39 -0
  459. package/scaffold/instructions/.agents/skills/story/layers/treatments.md +9 -0
  460. package/scaffold/instructions/.agents/skills/story/naturalness/SKILL.md +13 -0
  461. package/scaffold/instructions/.agents/skills/story/naturalness/rewriting.md +17 -0
  462. package/scaffold/instructions/.agents/skills/story/naturalness/transfer.md +11 -0
  463. package/scaffold/instructions/.agents/skills/story/planning/SKILL.md +15 -0
  464. package/scaffold/instructions/.agents/skills/story/planning/direction.md +14 -0
  465. package/scaffold/instructions/.agents/skills/story/planning/discovery.md +20 -0
  466. package/scaffold/instructions/.agents/skills/story/planning/requirements.md +25 -0
  467. package/scaffold/instructions/.agents/skills/story/planning/research.md +25 -0
  468. package/scaffold/instructions/.agents/skills/story/workflow.md +61 -0
  469. package/scaffold/instructions/.agents/skills/video/SKILL.md +29 -0
  470. package/scaffold/instructions/.agents/skills/video/diffusion.md +33 -0
  471. package/scaffold/instructions/.agents/skills/video/generation.md +27 -0
  472. package/scaffold/instructions/.agents/skills/video/prompts.md +51 -0
  473. package/scaffold/instructions/.agents/skills/visual-debugging/$capture.md +0 -0
  474. package/scaffold/instructions/.agents/skills/visual-debugging/$comparison.md +0 -0
  475. package/scaffold/instructions/.agents/skills/visual-debugging/$correction-rounds.md +0 -0
  476. package/scaffold/instructions/.agents/skills/visual-debugging/$passes.md +0 -0
  477. package/scaffold/instructions/.agents/skills/visual-debugging/$rendering-cost.md +0 -0
  478. package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +30 -0
  479. package/scaffold/instructions/AGENTS.md +96 -0
  480. package/scaffold/instructions/CLAUDE.md +1 -0
  481. package/scaffold/production/PROJECT.md +3 -0
  482. package/scaffold/production/README.md +146 -0
  483. package/scaffold/production/_gitignore +20 -0
  484. package/scaffold/production/evidence.config.ts +12 -0
  485. package/scaffold/production/index.html +20 -0
  486. package/scaffold/production/lint.config.ts +46 -0
  487. package/scaffold/production/package.json +54 -0
  488. package/scaffold/production/src/IFilm.ts +41 -0
  489. package/scaffold/production/src/IFilmProduction.ts +80 -0
  490. package/scaffold/production/src/clampProductionSeconds.ts +21 -0
  491. package/scaffold/production/src/composition/films/index.ts +10 -0
  492. package/scaffold/production/src/composition/films/starter.ts +45 -0
  493. package/scaffold/production/src/executable/capture.ts +489 -0
  494. package/scaffold/production/src/executable/physics.ts +48 -0
  495. package/scaffold/production/src/executable/planCaptureStills.ts +65 -0
  496. package/scaffold/production/src/executable/recovery/node/artifact/archiveAutoMovieRecoveryModel.ts +171 -0
  497. package/scaffold/production/src/executable/recovery/node/artifact/createAutoMovieRecoveryArtifact.ts +268 -0
  498. package/scaffold/production/src/executable/recovery/node/artifact/index.ts +3 -0
  499. package/scaffold/production/src/executable/recovery/node/artifact/writeAutoMovieRecoveryArtifact.ts +303 -0
  500. package/scaffold/production/src/executable/recovery/node/cli.ts +12 -0
  501. package/scaffold/production/src/executable/recovery/node/index.ts +9 -0
  502. package/scaffold/production/src/executable/recovery/node/internal/IAutoMovieRecoveryMemoryUsage.ts +25 -0
  503. package/scaffold/production/src/executable/recovery/node/internal/RecoveryFileVectorTable.ts +95 -0
  504. package/scaffold/production/src/executable/recovery/node/internal/RecoveryFileVectorTableInput.ts +50 -0
  505. package/scaffold/production/src/executable/recovery/node/internal/createRecoveryFileVectorTable.ts +181 -0
  506. package/scaffold/production/src/executable/recovery/node/internal/observeRecoveryAtlas.ts +492 -0
  507. package/scaffold/production/src/executable/recovery/node/internal/readAutoMovieRecoveryBoundedFile.ts +57 -0
  508. package/scaffold/production/src/executable/recovery/node/internal/readRecoveryCameraImages.ts +80 -0
  509. package/scaffold/production/src/executable/recovery/node/internal/readRecoveryFixedReference.ts +26 -0
  510. package/scaffold/production/src/executable/recovery/node/internal/recovery.ts +272 -0
  511. package/scaffold/production/src/executable/recovery/node/internal/recoveryAtlas.ts +152 -0
  512. package/scaffold/production/src/executable/recovery/node/internal/recoveryCameraMap.ts +113 -0
  513. package/scaffold/production/src/executable/recovery/node/internal/recoveryCameraScene.ts +117 -0
  514. package/scaffold/production/src/executable/recovery/node/internal/recoveryCameras.ts +158 -0
  515. package/scaffold/production/src/executable/recovery/node/internal/recoveryContourPath.ts +185 -0
  516. package/scaffold/production/src/executable/recovery/node/internal/recoveryImages.ts +176 -0
  517. package/scaffold/production/src/executable/recovery/node/internal/recoveryLocal.ts +151 -0
  518. package/scaffold/production/src/executable/recovery/node/internal/recoveryOpen.ts +237 -0
  519. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryContourFileMesh.ts +265 -0
  520. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryMeshSpool.ts +252 -0
  521. package/scaffold/production/src/executable/recovery/node/mesh/index.ts +3 -0
  522. package/scaffold/production/src/executable/recovery/node/mesh/readAutoMovieRecoveryMeshFrontier.ts +239 -0
  523. package/scaffold/production/src/executable/recovery/node/publishAutoMovieRecoveryArtifact.ts +63 -0
  524. package/scaffold/production/src/executable/recovery/node/reconstruction/index.ts +1 -0
  525. package/scaffold/production/src/executable/recovery/node/reconstruction/reconstructAutoMovieRecoveryLocal.ts +473 -0
  526. package/scaffold/production/src/executable/recovery/node/runAutoMovieRecoveryCommand.ts +148 -0
  527. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureError.ts +1 -0
  528. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureErrorCode.ts +1 -0
  529. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessWaitUntil.ts +1 -0
  530. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureOptions.ts +79 -0
  531. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureSession.ts +39 -0
  532. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessFrameWriter.ts +20 -0
  533. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessLocator.ts +1 -0
  534. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessPage.ts +1 -0
  535. package/scaffold/production/src/executable/render/headlessCapture/createHeadlessCaptureAdapter.ts +92 -0
  536. package/scaffold/production/src/executable/render/headlessCapture/index.ts +9 -0
  537. package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoOptions.ts +128 -0
  538. package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoResult.ts +43 -0
  539. package/scaffold/production/src/executable/render/node/IProductionRenditionClip.ts +44 -0
  540. package/scaffold/production/src/executable/render/node/acquireViewerBrowser.ts +24 -0
  541. package/scaffold/production/src/executable/render/node/addProductionMp4Sample.ts +89 -0
  542. package/scaffold/production/src/executable/render/node/appendLosslessVideoClip.ts +62 -0
  543. package/scaffold/production/src/executable/render/node/assembleProductionChunkVideoMp4.ts +167 -0
  544. package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionClips.ts +184 -0
  545. package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionVideo.ts +127 -0
  546. package/scaffold/production/src/executable/render/node/assertProductionRenditionClipDelivery.ts +102 -0
  547. package/scaffold/production/src/executable/render/node/cache/IAutoMovieDirectoryArtifactStore.ts +59 -0
  548. package/scaffold/production/src/executable/render/node/cache/IAutoMovieViewerFrameCacheReport.ts +30 -0
  549. package/scaffold/production/src/executable/render/node/cache/cacheViewerCaptureSession.ts +187 -0
  550. package/scaffold/production/src/executable/render/node/cache/composeViewerFrameKeys.ts +55 -0
  551. package/scaffold/production/src/executable/render/node/cache/createAutoMovieArtifactMiddleware.ts +107 -0
  552. package/scaffold/production/src/executable/render/node/cache/createAutoMovieDirectoryArtifactStore.ts +203 -0
  553. package/scaffold/production/src/executable/render/node/cache/digestAutoMovieSourceTree.ts +66 -0
  554. package/scaffold/production/src/executable/render/node/cache/readViewerFrameStates.ts +95 -0
  555. package/scaffold/production/src/executable/render/node/capture/DEFAULT_CHROME_EXECUTABLE.ts +11 -0
  556. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageOperationFailure.ts +13 -0
  557. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeArtifact.ts +30 -0
  558. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeOptions.ts +51 -0
  559. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceMetadata.ts +27 -0
  560. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderArtifact.ts +44 -0
  561. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderOptions.ts +43 -0
  562. package/scaffold/production/src/executable/render/node/capture/IAutoMovieSequenceDissolvePixelCheck.ts +39 -0
  563. package/scaffold/production/src/executable/render/node/capture/captureRenderAndSee.ts +233 -0
  564. package/scaffold/production/src/executable/render/node/capture/captureSequenceRenderAndSee.ts +377 -0
  565. package/scaffold/production/src/executable/render/node/capture/index.ts +14 -0
  566. package/scaffold/production/src/executable/render/node/capture/preserveCleanupFailure.ts +34 -0
  567. package/scaffold/production/src/executable/render/node/capture/renderAndSeeCommand.ts +169 -0
  568. package/scaffold/production/src/executable/render/node/capture/renderSequenceAndSeeCommand.ts +165 -0
  569. package/scaffold/production/src/executable/render/node/capture/verifySequenceDissolvePixels.ts +179 -0
  570. package/scaffold/production/src/executable/render/node/conformProductionRenditionVideoMp4.ts +86 -0
  571. package/scaffold/production/src/executable/render/node/conformProductionVisualDeliveryVideoMp4.ts +230 -0
  572. package/scaffold/production/src/executable/render/node/decodeAutoMovieDelivery.ts +253 -0
  573. package/scaffold/production/src/executable/render/node/equalRational.ts +36 -0
  574. package/scaffold/production/src/executable/render/node/exactProductionClockProduct.ts +26 -0
  575. package/scaffold/production/src/executable/render/node/exportModelToGLB.ts +267 -0
  576. package/scaffold/production/src/executable/render/node/index.ts +27 -0
  577. package/scaffold/production/src/executable/render/node/loadModelGltfCore.ts +18 -0
  578. package/scaffold/production/src/executable/render/node/mixAutoMovieAudioCues.ts +74 -0
  579. package/scaffold/production/src/executable/render/node/muxProductionFeatureMp4.ts +170 -0
  580. package/scaffold/production/src/executable/render/node/neutralTrackPresentation.ts +59 -0
  581. package/scaffold/production/src/executable/render/node/normalizeProductionH264Mp4.ts +110 -0
  582. package/scaffold/production/src/executable/render/node/openLosslessVideoTrack.ts +81 -0
  583. package/scaffold/production/src/executable/render/node/parseMp4.ts +46 -0
  584. package/scaffold/production/src/executable/render/node/parseProductionMp4Output.ts +70 -0
  585. package/scaffold/production/src/executable/render/node/parseProductionRenditionClip.ts +92 -0
  586. package/scaffold/production/src/executable/render/node/planViewerVideo.ts +140 -0
  587. package/scaffold/production/src/executable/render/node/probeParsedProductionVideoMp4.ts +48 -0
  588. package/scaffold/production/src/executable/render/node/probeProductionPngPicture.ts +223 -0
  589. package/scaffold/production/src/executable/render/node/probeProductionRenderedMedia.ts +355 -0
  590. package/scaffold/production/src/executable/render/node/probeProductionVideoMp4.ts +27 -0
  591. package/scaffold/production/src/executable/render/node/probeVideoTrack.ts +220 -0
  592. package/scaffold/production/src/executable/render/node/productionRenditionVideoPlan.ts +149 -0
  593. package/scaffold/production/src/executable/render/node/recordViewerPlayback.ts +137 -0
  594. package/scaffold/production/src/executable/render/node/renderViewerFrames.ts +139 -0
  595. package/scaffold/production/src/executable/render/node/renderViewerVideo.ts +301 -0
  596. package/scaffold/production/src/executable/render/node/renderViewerVideoSession.ts +75 -0
  597. package/scaffold/production/src/executable/render/node/residentMp4Box.ts +36 -0
  598. package/scaffold/production/src/executable/render/node/residentPngJs.ts +26 -0
  599. package/scaffold/production/src/executable/render/node/runViewerVideoEncoder.ts +58 -0
  600. package/scaffold/production/src/executable/render/node/sameSampleDescription.ts +43 -0
  601. package/scaffold/production/src/executable/render/node/sameSampleFlags.ts +28 -0
  602. package/scaffold/production/src/executable/render/node/sampleBytes.ts +46 -0
  603. package/scaffold/production/src/executable/render/node/sampleDescription.ts +40 -0
  604. package/scaffold/production/src/executable/render/node/sampleOptions.ts +37 -0
  605. package/scaffold/production/src/executable/render/node/serializeDescriptionBox.ts +29 -0
  606. package/scaffold/production/src/executable/render/node/trimProductionAudioPresentation.ts +115 -0
  607. package/scaffold/production/src/executable/render/node/verifySampleStorage.ts +86 -0
  608. package/scaffold/production/src/executable/render/node/writeViewerFrameSheet.ts +101 -0
  609. package/scaffold/production/src/executable/render.ts +92 -0
  610. package/scaffold/production/src/executable/review.ts +54 -0
  611. package/scaffold/production/src/executable/viewer/inspection/createViewerDiskSource.ts +119 -0
  612. package/scaffold/production/src/executable/viewer/inspection/readViewerMaintainedSourceFiles.ts +64 -0
  613. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureError.ts +41 -0
  614. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureErrorCode.ts +22 -0
  615. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessWaitUntil.ts +18 -0
  616. package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessLocator.ts +32 -0
  617. package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessPage.ts +130 -0
  618. package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureOptions.ts +38 -0
  619. package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureSession.ts +41 -0
  620. package/scaffold/production/src/executable/viewer/node/capture/createViewerCaptureSession.ts +154 -0
  621. package/scaffold/production/src/executable/viewer/node/capture/index.ts +8 -0
  622. package/scaffold/production/src/executable/viewer/node/index.ts +2 -0
  623. package/scaffold/production/src/executable/viewer/process/ProcessOwnership.ts +102 -0
  624. package/scaffold/production/src/executable/viewer/process/internal/IProcessChildObservation.ts +18 -0
  625. package/scaffold/production/src/executable/viewer/process/internal/IProcessOwnershipHost.ts +70 -0
  626. package/scaffold/production/src/executable/viewer/process/internal/ProcessOwnershipController.ts +125 -0
  627. package/scaffold/production/src/executable/viewer/process/internal/WindowsProcessOwnershipPrograms.ts +52 -0
  628. package/scaffold/production/src/executable/viewer/process/internal/createNodeProcessOwnershipHost.ts +41 -0
  629. package/scaffold/production/src/executable/viewer/process/internal/decodeLinuxProcessIdentity.ts +22 -0
  630. package/scaffold/production/src/executable/viewer/process/internal/decodePosixProcessIdentity.ts +24 -0
  631. package/scaffold/production/src/executable/viewer/process/internal/decodeWindowsProcessResult.ts +24 -0
  632. package/scaffold/production/src/executable/viewer/process/internal/readNativeProcessIdentity.ts +45 -0
  633. package/scaffold/production/src/executable/viewer/process/internal/requireProcessId.ts +15 -0
  634. package/scaffold/production/src/executable/viewer/process/internal/resolveProcessIdentityReadError.ts +15 -0
  635. package/scaffold/production/src/executable/viewer/process/internal/runWindowsProcessOperation.ts +41 -0
  636. package/scaffold/production/src/executable/viewer/process/internal/selectProcessOwnershipTree.ts +68 -0
  637. package/scaffold/production/src/main.ts +197 -0
  638. package/scaffold/production/src/selectFilm.ts +34 -0
  639. package/scaffold/production/test/features/executable/test_plan_capture_stills.ts +75 -0
  640. package/scaffold/production/test/features/test_clamp_production_seconds.ts +39 -0
  641. package/scaffold/production/test/features/test_select_film.ts +59 -0
  642. package/scaffold/production/test/features/testing/test_test_execution.ts +57 -0
  643. package/scaffold/production/test/features/testing/test_test_selection.ts +78 -0
  644. package/scaffold/production/test/helpers/assessTestExecution.ts +22 -0
  645. package/scaffold/production/test/helpers/selectTestFiles.ts +79 -0
  646. package/scaffold/production/test/index.ts +64 -0
  647. package/scaffold/production/test/tsconfig.json +6 -0
  648. package/scaffold/production/tsconfig.json +34 -0
  649. package/scaffold/production/tsconfig.test.json +9 -0
  650. package/scaffold/production/vite.config.ts +35 -0
  651. package/scaffold/workspace/README.md +42 -0
  652. package/scaffold/workspace/_gitignore +9 -0
  653. package/scaffold/workspace/package.json +19 -0
  654. package/scaffold/workspace/pnpm-workspace.yaml +46 -0
  655. package/src/AUTOMOVIE_TEMPLATE_CATALOGS.ts +48 -0
  656. package/src/AUTOMOVIE_TEMPLATE_VERSIONS.ts +39 -0
  657. package/src/AutoMovieScaffoldLayer.ts +18 -0
  658. package/src/FILE_ATTRIBUTE_DIRECTORY.ts +2 -0
  659. package/src/IAutoMovieCatalogVersionProps.ts +18 -0
  660. package/src/IAutoMovieScaffoldProps.ts +14 -0
  661. package/src/IAutoMovieScaffoldSourceEntry.ts +19 -0
  662. package/src/IAutoMovieTemplateDependencyVersionsProps.ts +19 -0
  663. package/src/IAutoMovieWorkspacePackageVersions.ts +44 -0
  664. package/src/IBoundChild.ts +86 -0
  665. package/src/IBoundChildStatus.ts +24 -0
  666. package/src/IBoundParent.ts +65 -0
  667. package/src/IBoundParentStatus.ts +15 -0
  668. package/src/ICreateResult.ts +35 -0
  669. package/src/IScaffoldCompletedFilePublicationOutcome.ts +17 -0
  670. package/src/IScaffoldCompletedPublication.ts +17 -0
  671. package/src/IScaffoldFileSnapshot.ts +28 -0
  672. package/src/IScaffoldParentPublicationRequest.ts +29 -0
  673. package/src/IScaffoldPartialFilePublicationOutcome.ts +25 -0
  674. package/src/IScaffoldPhysicalDirectory.ts +22 -0
  675. package/src/IScaffoldPosixConstants.ts +30 -0
  676. package/src/IScaffoldPublicationEntry.ts +22 -0
  677. package/src/IScaffoldPublicationFailure.ts +18 -0
  678. package/src/IScaffoldPublicationOptions.ts +19 -0
  679. package/src/IScaffoldPublicationReceipt.ts +29 -0
  680. package/src/IScaffoldRefusedFilePublicationOutcome.ts +20 -0
  681. package/src/IScaffoldSyncPlan.ts +26 -0
  682. package/src/IScaffoldSyncProps.ts +16 -0
  683. package/src/IWindowsFileInformation.ts +24 -0
  684. package/src/IWindowsLibrary.ts +148 -0
  685. package/src/SCAFFOLD_SYNC_STATE_FILE.ts +5 -0
  686. package/src/ScaffoldFilePublicationOutcome.ts +18 -0
  687. package/src/ScaffoldParentChangedError.ts +14 -0
  688. package/src/ScaffoldPublicationError.ts +58 -0
  689. package/src/assertOrdinaryFile.ts +20 -0
  690. package/src/assertOrdinarySingleLinkFile.ts +26 -0
  691. package/src/assertScaffoldOwnership.ts +29 -0
  692. package/src/assertScaffoldPhysicalDirectory.ts +29 -0
  693. package/src/assertScaffoldProjectName.ts +34 -0
  694. package/src/attachScaffoldSyncState.ts +30 -0
  695. package/src/captureEmptyScaffoldPhysicalDirectory.ts +45 -0
  696. package/src/captureScaffoldFile.ts +34 -0
  697. package/src/captureScaffoldPhysicalDirectory.ts +34 -0
  698. package/src/combineScaffoldFailures.ts +35 -0
  699. package/src/createAutoMovieCatalogVersionResolver.ts +117 -0
  700. package/src/createScaffoldSyncState.ts +33 -0
  701. package/src/createScaffoldVariables.ts +50 -0
  702. package/src/ensureScaffoldBaseDirectory.ts +55 -0
  703. package/src/ensureScaffoldFileDirectory.ts +75 -0
  704. package/src/index.ts +48 -0
  705. package/src/inside.ts +25 -0
  706. package/src/isScaffoldInstruction.ts +29 -0
  707. package/src/listAutoMovieScaffoldFiles.ts +56 -0
  708. package/src/loadWindowsLibrary.ts +277 -0
  709. package/src/mergeScaffoldFiles.ts +39 -0
  710. package/src/missingPath.ts +16 -0
  711. package/src/nativeError.ts +15 -0
  712. package/src/openPosixParent.ts +155 -0
  713. package/src/openWindowsParent.ts +305 -0
  714. package/src/overwriteScaffoldFile.ts +262 -0
  715. package/src/physicalDirectoryIdentity.ts +33 -0
  716. package/src/physicalVersion.ts +18 -0
  717. package/src/planScaffoldPublication.ts +100 -0
  718. package/src/planScaffoldSync.ts +122 -0
  719. package/src/publishFiles.ts +120 -0
  720. package/src/publishNativeScaffoldFile.ts +287 -0
  721. package/src/publishScaffoldCandidate.ts +94 -0
  722. package/src/readAutoMovieScaffoldSources.ts +82 -0
  723. package/src/readScaffoldSyncFile.ts +66 -0
  724. package/src/renderScaffold.ts +43 -0
  725. package/src/renderScaffoldEntries.ts +110 -0
  726. package/src/renderScaffoldInstructions.ts +22 -0
  727. package/src/renderScaffoldLayer.ts +38 -0
  728. package/src/renderTemplate.ts +62 -0
  729. package/src/renderWorkspaceProductionScaffold.ts +35 -0
  730. package/src/renderWorkspaceScaffold.ts +43 -0
  731. package/src/replaceSharedScaffoldFile.ts +88 -0
  732. package/src/resolveAutoMovieCatalogVersion.ts +27 -0
  733. package/src/resolveAutoMovieTemplateDependencyVersions.ts +70 -0
  734. package/src/resolveScaffoldPosixConstants.ts +50 -0
  735. package/src/scaffoldAssetDirectory.ts +30 -0
  736. package/src/scaffoldPhysicalIdentity.ts +21 -0
  737. package/src/scaffoldSharedSkillDirectory.ts +25 -0
  738. package/src/scaffoldSharedSkillPath.ts +31 -0
  739. package/src/syncScaffold.ts +38 -0
  740. package/src/writeFiles.ts +48 -0
  741. package/src/writeScaffoldFile.ts +88 -0
  742. package/src/writtenVersion.ts +19 -0
@@ -0,0 +1,9 @@
1
+ # Upstream repair exposed by scripts
2
+
3
+ Each script H2 answers about its actual treatment parents and, through them, settings causes. Repair follows the [closed-pass boundary](../../../../story/correction/repair.md#closed-passes).
4
+
5
+ Statements: [statements/upstream/scripts.md](../statements/upstream/scripts.md).
6
+
7
+ ## What did scene execution prove missing or unusable upstream? {#script-upstream-repair}
8
+
9
+ Which treatment decisions did executing this scene prove missing, contradictory, overdetermined or impossible to execute, and where were they repaired? Covering a defect downstream leaves its cause in place.
@@ -0,0 +1,9 @@
1
+ # Settings repair exposed by treatments
2
+
3
+ Each treatment H2 answers about its actual settings parents and inherited instruction choices. This is an audit of parents tested by creation, not permission to invent missing settings inside treatments. Repair follows the [closed-pass boundary](../../../../story/correction/repair.md#closed-passes).
4
+
5
+ Statements: [statements/upstream/treatments.md](../statements/upstream/treatments.md).
6
+
7
+ ## What did event design prove missing or unusable upstream? {#settings-repair}
8
+
9
+ Which settings facts, constraints or adopted promises did designing this event prove false, missing, contradictory, overdetermined or unusable, and where were they repaired? Covering the defect in treatments leaves other events to inherit it.
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: development
3
+ description: Implements and tests production source, integrations, dependencies and commands, reusing installed packages before writing a capability. Use for code or host changes and behavioral tests; documentation owns technical writing and story owns creative bodies.
4
+ ---
5
+
6
+ # Development
7
+
8
+ Read the production's current source and the [installed package APIs](reuse.md#reading-a-package) before choosing an implementation. Divide behavior into responsibilities with explicit inputs, outputs and state owners, give each module [unit tests](testing.md), then verify their composition through the actual consumer.
9
+
10
+ | Task | Read |
11
+ | --- | --- |
12
+ | Find what an installed package is for and read its API, report a defect in one, or vary and share a module | [Reuse](reuse.md) |
13
+ | Change existing behavior or fix a defect | [Repair](repair.md) |
14
+ | Build or change a subject | [Entity work](entities.md) |
15
+ | Choose behavioral checks | [Testing](testing.md) |
16
+ | Place source, tests or runtime setup, or add a subject, practice or scene | [Source layout](source-layout.md) |
17
+ | Add or change an expensive stage | [Stage caches](../production/stage-caches.md) |
18
+
19
+ Answer the [contracts](../contracts/SKILL.md) of the declarations you change, as the [development contracts](../contracts/development/SKILL.md) map them onto the source folders.
20
+
21
+ ## Writing
22
+
23
+ Write READMEs, evidence prose and doc comments with [documentation](../documentation/SKILL.md), and instructions with [prompting](../prompting/SKILL.md).
24
+
25
+ A production module's doc comment is the next agent's manual. Beyond the [Meaningful documentation](../contracts/development/common.md#meaningful-documentation) item, it shows one short composition example, states the invariants it keeps, and cites what it realizes.
26
+
27
+ Creative bodies follow the production's adopted language, voice and form under [story contracts](../contracts/story/SKILL.md) in place of those writing rules, keeping fixed quotations and creative choices such as purposeful repetition, nonstandard speech and punctuation.
28
+
29
+ ## Finish a change
30
+
31
+ While editing, keep the README's compile checker running as the single compile check and read errors from its output instead of rerunning a build.
32
+
33
+ Finish a source change with the README's lint, evidence and test commands, then verify the affected consumer through [review](../review/SKILL.md): a visual change on captured stills of the affected interval, and anything only playback or listening can show by asking the user.
@@ -0,0 +1,43 @@
1
+ # Entity work
2
+
3
+ Build the subjects the commission's scenes need, each in the entity folder [source layout](source-layout.md) gives, under the [entities contract](../contracts/development/entities.md).
4
+
5
+ ## Scope
6
+
7
+ Read [project context](../production/project-context.md) first. Before building a subject, search the installed packages' READMEs for one that already provides it, under [installed packages](reuse.md#installed-packages). A standalone asset defines its views and controls without a screenplay.
8
+
9
+ ## Coarse first {#coarse-first}
10
+
11
+ A motion hint guides video-to-video diffusion, which supplies the look. So models stay coarse, and the accuracy goes to motion, staging, timing, range and camera readability.
12
+
13
+ ### People {#people}
14
+
15
+ A person is the polygon man. The installed viewer draws it from the canonical body that the installed human package prepares from parameters, and those parameters come from the cast record's body facts.
16
+
17
+ The same prepared body is the one the installed motion vocabulary plans for, so the figure on screen and the body the motion was solved on are one. [Installed packages](reuse.md#installed-packages) names these packages, and their READMEs give the calls.
18
+
19
+ ### Everything else
20
+
21
+ Every other subject is the simplest form that identifies it: a few primitives chosen, sized and checked under 3D modeling's [coarse forms](../3d-modeling/coarse-forms.md). A chair is a seat, a back and four legs.
22
+
23
+ ### What stays out of the model {#what-stays-out}
24
+
25
+ Identity, dimensions, pivots, attachments and controls stay independent of surface detail, so nothing a scene relies on moves when the surface changes.
26
+
27
+ A fact the coarse form cannot show, such as a face, a fabric or a makeup state, is not modeled. It travels to the film through the record's canon images and the generation prompt, under [image](../image/SKILL.md) and [video](../video/SKILL.md). A 2D image can be an appearance reference or a conditioning input, never a substitute for coded motion.
28
+
29
+ ## Detail is an option {#detail}
30
+
31
+ A commission may ask for more than identification, such as a direct 3D film. Detail is then an option of the entity whose default is the coarse form, and one definition builds both, so no placement, contact or control moves when the option changes.
32
+
33
+ Author motion, accept catalog cases and review segments at the default. The coarse form shows joints and contacts plainly and captures quickly, and a defect repaired on a detailed model leaves the coarse one unrepaired.
34
+
35
+ Select the detailed form only for the delivery that commissions it, record that choice in [project context](../production/project-context.md), and compare the same segments for changed proportions, pivots, contact, deformation, visibility, timing and silhouette.
36
+
37
+ [3D modeling](../3d-modeling/SKILL.md#requested-detail) owns when a form goes beyond the coarse one and how it is made, rigged and verified.
38
+
39
+ ## Inspect and hand off {#inspect-and-hand-off}
40
+
41
+ Accept the entity first alone, in its [catalog cases](../motion/catalog-cases.md), against its settings or brief record at every view and state the scenes use. Then inspect it in its commissioned use, with its scene cameras, neighbors and motion, segment by segment under [segment review](../motion/segment-review.md).
42
+
43
+ The entity names the settings or brief facts it realizes under the [entities contract](../contracts/development/entities.md); settings never link code.
@@ -0,0 +1,47 @@
1
+ # Reuse
2
+
3
+ Look for a capability before writing it. This page says what each installed package is for and where its API is written, what to do when a package misbehaves or lacks something, and how a subject gets a second version or an action a second performance.
4
+
5
+ ## Installed packages {#installed-packages}
6
+
7
+ Search the installed packages before writing a capability, and use what they provide. A capability written a second time in the production diverges from the package at its first repair.
8
+
9
+ The skills name installed packages by role. This table is the one place that says which package each role is and what a production uses it for:
10
+
11
+ | Role in the skills | Package | A production uses it to |
12
+ | --- | --- | --- |
13
+ | Interface package | `@automovie/interface` | Type the authored data every other package reads |
14
+ | Human package | `@automovie/human` | Prepare a person's canonical body |
15
+ | Motion vocabulary | `@automovie/motions` | Chain a person's actions and read the pose at any second |
16
+ | Engine | `@automovie/engine` | Validate the data, schedule a scene's actions and compute each film second |
17
+ | Viewer | `@automovie/viewer` | Draw the polygon man and every other form, and capture the picture |
18
+ | Renderer | `@automovie/render` | Plan the frames, cuts and encoding that the production's commands run |
19
+ | Ingest package | `@automovie/ingest` | Decode external models, motion, audio and images |
20
+ | Recovery package | `@automovie/recovery` | Recover curves from a fixed mesh so parameters can drive it |
21
+ | Evidence package | `@automovie/evidence` | Configure the check that code and writing answer their contracts |
22
+ | Command-line tool | `automovie` | Create, add and sync productions |
23
+
24
+ The first six rows follow a film from authored data to encoded video, and [how the parts work together](source-layout.md#how-the-parts-work-together) says how the production's modules carry them.
25
+
26
+ ### Reading a package {#reading-a-package}
27
+
28
+ A package's README, public types and JSDoc are its API. Read them in the package's folder under `node_modules` instead of recalling a call, because the packages change between releases. Read the README first for what the package owns, then the declaration and JSDoc of each export you use for its units, limits and refusals.
29
+
30
+ ### A defect or a gap
31
+
32
+ A production cannot repair an installed package. An edit under `node_modules` or a vendored copy disappears at the next install and hides the defect from every other production.
33
+
34
+ When a package misbehaves or lacks something the work needs:
35
+
36
+ 1. Hand the user the failing case, its numbers and the installed package version, for the issue tracker the package's `repository` field names.
37
+ 2. Continue with the work that does not depend on it.
38
+ 3. Where the work cannot wait, use a local substitute that is marked as one and names the report it waits on.
39
+ 4. Remove the substitute when the package ships the fix.
40
+
41
+ A workspace's own `packages/<name>` is the exception: the workspace owns that code and repairs it in place.
42
+
43
+ ## One module, many uses {#one-module}
44
+
45
+ Every object and motion is a module the films reuse. A different version of a subject, such as a taller fighter or a second referee, or a different performance of an action, such as a tired walk, is the same module with other parameters or another seed, never a copy with edited constants, because a repair reaches only one copy.
46
+
47
+ When one needs something the module cannot express, give the module that parameter. [Shared modules](source-layout.md#shared-modules) covers a module a second production needs.
@@ -0,0 +1,69 @@
1
+ # Source layout
2
+
3
+ This document says where source, tests and runtime setup belong, and where a new subject, practice, scene, host or integration goes.
4
+
5
+ ## Source {#source}
6
+
7
+ One folder owns each responsibility, and the folders follow the chain from settings or brief and research through the screenplay to the delivered film, so a module and the document it realizes pair by path. Each source folder answers the shared [development contracts](../contracts/development/SKILL.md) and its own.
8
+
9
+ | Location | Owns | Realizes, under |
10
+ | --- | --- | --- |
11
+ | `src/entities/<kind>/<subject>/`, with `<kind>` one of `cast`, `crowds`, `props`, `sets`, `cameras`, `lights` | One subject: its public entry class `<Subject>.ts` and the fragments it composes, such as body, look, rig, wardrobe, habits or affordances | Its settings or brief record's facts and the research its measurements follow, [entities](../contracts/development/entities.md) |
12
+ | `src/laws/<discipline>/` | Pure laws of a practice the installed motion vocabulary does not carry: key poses and timing, reach, legality, outcome tables and variation ranges | `docs/research/<discipline>/`, [behaviors](../contracts/development/behaviors.md) |
13
+ | `src/interactions/<discipline>/` | Relations between entities by role: alignment, timing and rule-first outcomes, including how cameras and lights follow the action | Research and world rules, behaviors |
14
+ | `src/consequences/effects/`, `src/consequences/sound/` | What computed outcomes leave: sweat, scuffs, dust and other marks, and the effect cues a preview or commissioned soundtrack uses | Research, behaviors |
15
+ | `src/composition/scenes/<film>/<scene>/` | One screenplay scene's composition | That scene and its beats, [composition](../contracts/development/composition.md) |
16
+ | `src/composition/scenes/catalog/<module>/` | One module's [catalog case](../motion/catalog-cases.md) composition, which takes the case parameters: the action with its target, partner response and outcome, the movement, the behavior, the fall or the entity state | The research section or settings or brief fact it exhibits, composition |
17
+ | `src/composition/films/catalog.ts`, registered in `src/composition/films/index.ts` | The review catalog: every case the screenplay uses, in its own labeled interval with named review views; never delivered | Its cases' research and settings or brief, composition |
18
+ | `src/composition/films/<film>.ts`, registered in `src/composition/films/index.ts` | One delivered video: scene order, transitions, titles and subtitles, grade, the [delivery profile](../production/project-context.md) and control channels | The screenplay file, composition |
19
+ | `src/*.ts` | The Viewer host entry, the film interfaces and the film selector | Nothing |
20
+ | `src/executable/` | The Node commands the README documents and the Node tooling they run, shipped with the scaffold | Nothing |
21
+ | `src/integrations/<provider>/` | Code for a provider or local tool the production adopts, such as a video-generation service | The generation requests in `docs/prompts/` for providers |
22
+ | `test/features/<source path>/` | Logic unit tests of the source at the same path | Nothing |
23
+ | `public/` | Small fixed browser inputs; audio and video belong in [media records](../production/media-records.md) | Nothing |
24
+ | Runtime `README.md` and `.env.example` | Nonsecret setup, commands, environment-variable names and example configuration | Nothing |
25
+ | Ignored local `.env` | Secret values required by adopted integrations | Nothing |
26
+
27
+ Settings or brief domains map onto code: cast, crowds, props and sets become entities of the same kind, cinematography becomes camera and light entities, world rules become laws and interactions, and sound palettes become each shot's sound description in the video-diffusion prompt under [audio](../audio/SKILL.md). Weather and atmosphere are a set's state by story day, and ambience reads the same state.
28
+
29
+ `<film>` is the screenplay file's path under `docs/body/screenplay/` without `.md`, with `/` replaced by `--`, such as `duet` or `001-part--001-episode`. The same name reaches `media/automovie/<film>/`, so screenplay, scene, film and video pair by path and two parts' episodes cannot collide. Rendered frames, videos and control channels go to [media records](../production/media-records.md), never into `src`.
30
+
31
+ ## How the parts work together {#how-the-parts-work-together}
32
+
33
+ An entity is constructed from its settings or brief facts and composes small fragments. Its methods are capabilities that return intent records: what the subject means to do and to whom, never a pose, a coordinate or a time.
34
+
35
+ A person's capability carries the installed motion vocabulary. Its intent is the vocabulary's own composition of that action, built with the body prepared for the cast member, the proficiency the cast record gives and the targets the scene passes, as the vocabulary's README shows. The entity adds no motion of its own, and a production law enters the same way for an action the vocabulary lacks.
36
+
37
+ A scene chains capabilities in sequence and in parallel through the installed engine's combinators, as its README shows. Interactions then align the participants, derive timing from the laws and decide outcomes from the outcome tables, and consequences follow from those outcomes. Logic lives in pure laws the methods call, so a unit test needs no mock.
38
+
39
+ The whole composition resolves once per film into a frozen schedule, and every film second is a pure function of that schedule. Each film has one seed, and every seeded stream derives from it, the motion vocabulary's included, so reseeding a film reseeds every performer together. A film that continues another starts from that film's final state snapshots.
40
+
41
+ A film only composes: the catalog and the screenplay films call the same capabilities with the same kind of parameters, so a case accepted in the catalog plays the same way in the film. The [composition contract](../contracts/development/composition.md#composition-only) holds every scene to this.
42
+
43
+ The object shell over a functional core is the production's own style; installed packages keep theirs.
44
+
45
+ ## Dependencies and files
46
+
47
+ Imports point down the chain: host and commands to films, films to scenes, scenes to consequences, interactions and entities, and every behavior down to laws and installed packages; tests may import any source folder. An import against that direction or into a folder outside the table is a layout defect that review rejects. Lint stays generic and rejects `Math.random` everywhere.
48
+
49
+ A subject never imports another subject and a scene never imports another scene: an interaction relates subjects by role, and a film orders scenes.
50
+
51
+ What serves every production belongs to the installed packages and never grows as a production folder; a missing capability follows [installed packages](reuse.md#installed-packages).
52
+
53
+ Node-only tooling (processes, files, browser launch, FFmpeg) is not published: the production owns the scaffold-supplied copy under `src/executable` and keeps it in step with the scaffold.
54
+
55
+ Each file exports one declaration named as the file and stays under 500 lines; a larger one is a responsibility to split into fragments.
56
+
57
+ A new subject starts from its settings or brief record, then its entity folder and tests. A new action starts from the installed motion vocabulary, and only when the vocabulary lacks it from its research, then its law and the interaction that uses it. A new scene starts from its screenplay H2 and beats, then its composition folder and its place in the film.
58
+
59
+ ## Shared modules {#shared-modules}
60
+
61
+ A module a second production of the workspace needs moves to a workspace package under `packages/<name>` and is imported by both, because a copied entity or law is a [copied variant](reuse.md#one-module) at workspace scale.
62
+
63
+ The shared module takes what differed between the productions as constructor input or parameters instead of citing one production's records, and keeps its unit tests with it. Each production still answers for its own use: its entity or scene cites its own settings or brief facts and passes them in.
64
+
65
+ A single production has no workspace packages and keeps its modules in `src`.
66
+
67
+ ## Execution and runtime setup
68
+
69
+ Read the actual source entry, runtime configuration and installed APIs before adopting a host or integration, and record the choice and its authority in [project context](../production/project-context.md); [assembly](../production/assembly.md) verifies export on the assembled film.
@@ -0,0 +1,27 @@
1
+ # Testing
2
+
3
+ Give each module millisecond-scale pure logic unit tests for its behavioral contract, with explicit in-memory inputs and expectations taken from the settings or brief facts, the research laws, or another independent reference. Installed packages own their validation APIs.
4
+
5
+ Test what the chain promises: that each research outcome table is consistent and every screenplay outcome is one it permits, that a composition is legal, that each scene's resolved schedule yields its screenplay outcome classes, that goals reach the counterpart's actual region, that every seed keeps the outcome classes, and that a resolved state hashes the same on every run.
6
+
7
+ Test geometry operators on made inputs as 3D modeling's [Crafting](../3d-modeling/crafting.md#tests) describes.
8
+
9
+ ## Motion checks
10
+
11
+ The bounded checks [motion verification](../motion/verification.md) lists belong here for a production law: evaluate the resolved plan at its event times and assert each bound on the result, across the bodies the [behaviors statements](../contracts/development/statements/behaviors.md#relational-goals) require.
12
+
13
+ A test that needs a person takes a body the installed human package prepares at fixed parameters, without drawing it. Preparing a body can be slow, so prepare each one once per run and share it between tests.
14
+
15
+ The installed motion vocabulary's actions carry their own checks and are not tested again. What only a picture shows belongs to the stills of the [catalog case](../motion/catalog-cases.md), not to a test.
16
+
17
+ ## What a test is not
18
+
19
+ Do not write end-to-end tests, long simulations, tests that build drawn figures or scenes, monkey-patched globals or internals, golden outputs or expectations copied from the code's own output, or recorded fixtures: they are slow, freeze defects, or prove only that the code repeats itself.
20
+
21
+ Rendered pictures, decoded media and anything the user watches or hears are production acceptance, recorded in the [acceptance record](../review/delivery-review.md#acceptance-record), not tests.
22
+
23
+ ## Files and runs
24
+
25
+ Put cases in `test/features/<source path>/test_<name>.ts`, at the path of the source they test, as named exported `test_*` functions returning `void` or `Promise<void>`, with the assertion helpers the README's test section names. The production's `test/index.ts` discovers and reports them. Keep helpers outside those files or unexported. Each exported function answers the [testing checklist](../contracts/development/testing.md).
26
+
27
+ Run the suite, or a selection of it, with the README's test command. An empty suite, invalid or unmatched selection, or import or test failure leaves the run unsuccessful; report the executed cases and totals.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: evidence
3
+ description: Owns production requirements, evidence answers and graph configuration. Use to adopt a requirement, configure what the graph selects, or write and audit source evidence; story owns creative answers.
4
+ ---
5
+
6
+ # Evidence
7
+
8
+ Connect each required achievement to the work that can establish it. The [contracts](../contracts/SKILL.md) say which respondent answers which checklist; this skill adopts requirements, configures the graph and writes source answers.
9
+
10
+ | Task | Read |
11
+ | --- | --- |
12
+ | Adopt or change a requirement and choose its respondent | [Adoption](adoption.md) |
13
+ | Configure the graph for the commissioned route and work | [Configuration](configuration.md) |
14
+ | Write or audit source and test answers | [Answering](answering.md) |
15
+
16
+ Creative answers follow [answer writing](../story/evidence/answer-writing.md). A passing graph shows that the selected answers and citations exist; [review](../review/SKILL.md) judges whether they are true, and [delivery review](../review/delivery-review.md) whether the commissioned result works.
@@ -0,0 +1,11 @@
1
+ # Adoption
2
+
3
+ Before adding a question, compare the request and adopted instructions with the existing contracts; most needs already have an owner. Creative user choices stay with [instructions](../story/planning/requirements.md#requirements), operating choices with [project context](../production/project-context.md), and an uncovered work requirement goes through [discovery](../story/planning/discovery.md).
4
+
5
+ A new question names one achievement, why its recipient needs it, its observable failure and the legitimate neighboring form it protects. Its checkable detail goes into [statements](../contracts/SKILL.md#items-and-statements) under the item, not into more questions.
6
+
7
+ Give it the narrowest respondent that can establish it: a unit answers for itself, and a whole-work duty needs its population respondent.
8
+
9
+ Put a production- or language-specific question in the production's `docs/contracts/work` or `docs/contracts/language` family, supplementing the shared questions rather than replacing them. Keep its statements in `docs/contracts/statements`, outside those two families, because the graph reads the documents under those two folders as contracts and respondents.
10
+
11
+ Adopt the question, its respondents and their [configuration](configuration.md) together, and update every consumer when you change, merge or retire one. Changes that touch closed narrative work follow [upstream repair](../story/correction/repair.md). Never weaken a question or narrow its population to hide a defect.
@@ -0,0 +1,11 @@
1
+ # Answering
2
+
3
+ Source declarations and tests answer their [development contracts](../contracts/development/SKILL.md) in their own doc comments. Read the question and the complete declaration with its callers, inputs and consumers before answering.
4
+
5
+ Where an item has statements, follow [items and statements](../contracts/SKILL.md#items-and-statements) before answering.
6
+
7
+ State facts found in the declaration and the references it cites: its method, premises, exact inputs, behavior and remaining limits. Leave out evaluative words such as effective or natural, counts or orders the item does not ask for, and hashes, which belong in generation and handoff records; each goes stale unnoticed when the work changes. Never add text to a declaration only to give an item something to answer, and check every quotation against its file.
8
+
9
+ An item that does not apply needs its concrete reason through a permitted exclusion; a missing output or a failure is not inapplicability.
10
+
11
+ When a check or review finds a defect, repair the code at its owner through [development](../development/SKILL.md) and correct its answers in the same change. An answer explains the work or a remaining limit; it cannot argue an absent implementation into existence.
@@ -0,0 +1,23 @@
1
+ # Evidence configuration
2
+
3
+ Make `evidence.config.ts` select the work the commission actually has. The installed evidence package's README and types own its options, their spelling and its selectors and annotations; this document says only what to select and when.
4
+
5
+ ## Engineering
6
+
7
+ Keep the default engineering claims: every source declaration and test answers its [development contracts](../contracts/development/SKILL.md). Turn on the entities, behaviors and composition stages when the entity folders, the behavior folders and the composition folder gain their first declaration, so entities cite the facts they realize, behaviors the studies they follow, scenes the screenplay scenes and beats they realize and films the screenplay files they deliver.
8
+
9
+ Source stages follow the code: a folder with declarations and no stage answers nothing.
10
+
11
+ ## Story
12
+
13
+ Choose the route option that matches the route [workflow](../story/workflow.md#route-and-parents) adopted. Narrative stages follow a finished draft, never the presence of files: enable each layer's construction, and the screenplay's naturalness stage, when its complete draft is ready, because a stage opened on a half-written layer demands answers for text that will change.
14
+
15
+ Turn on the research stage once the research studies exist. Complete work is the default scope; a pilot follows [scope expansion](../story/correction/repair.md#scope-expansion).
16
+
17
+ Scripts expression and population questions belong to scripts construction, and only screenplay expression belongs to the final pass, as the [workflow](../story/workflow.md#route-and-parents) sets. A contract folder named `naturalness` does not choose its pass.
18
+
19
+ No stage selects a [statements](../contracts/SKILL.md#items-and-statements) document, and none should be added to a selector.
20
+
21
+ ## Changing the graph
22
+
23
+ Inspect every affected population and relationship together, including those outside a pilot and the engineering claims. Closed narrative work keeps its boundary under [upstream repair](../story/correction/repair.md#closed-passes).
@@ -0,0 +1,69 @@
1
+ ---
2
+ name: image
3
+ description: Generates still images for a production, such as canon reference images of cast, sets and props, a shot's first or last frame, style frames and turnaround views for modeling. Use when a settings or brief record, a video request or a 3D form needs a generated image.
4
+ ---
5
+
6
+ # Image
7
+
8
+ A generated image fixes what words cannot, how a figure, place or object looks, and one accepted image then travels through settings or brief records, video references and shot frames.
9
+
10
+ Most hosted image models expose no seed, so a prompt cannot reproduce an image: keep each accepted file and its record under [media records](../production/media-records.md#records), and reuse the file rather than regenerate it.
11
+
12
+ ## Choose a generator
13
+
14
+ These are representative examples, not a complete or required list; read the chosen model's current documentation for sizes, input-image count, license and price.
15
+
16
+ | Generator | Reached through | Note |
17
+ | --- | --- | --- |
18
+ | Codex built-in image generation | The `$imagegen` skill or a plain request, under the ChatGPT plan with no API key | It saves into Codex's own home directory, so copy each accepted image into the production; its edits work only on images visible in the conversation |
19
+ | A hosted image API, such as [OpenAI GPT Image](https://developers.openai.com/api/docs/guides/image-generation) or [Google Gemini image generation](https://aistudio.google.com/docs/image-generation) | A script with the user's key | |
20
+ | The Stable Diffusion family and its open successors, such as [SDXL](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0) with [ControlNet](https://huggingface.co/docs/diffusers/main/en/using-diffusers/controlnet) and [IP-Adapter](https://huggingface.co/docs/diffusers/main/en/using-diffusers/ip_adapter) | diffusers or ComfyUI | The route that conditions on the hint's geometry exactly and repeats from a fixed seed |
21
+
22
+ ## Decide how much the hint controls
23
+
24
+ Prompting alone suffices when no camera or pose has to match: canon sheets, set plates, style frames and early exploration.
25
+
26
+ Use the hint when the image must agree with it:
27
+
28
+ - a shot's first or last frame;
29
+ - people whose facing, contact or depth order matter;
30
+ - a specific pose, a held prop or a screen direction that must survive a cut;
31
+ - a control-conditioned video model that will follow the hint.
32
+
33
+ The hint can control the image in three ways, in rising cost and precision:
34
+
35
+ 1. A prompt with canon references.
36
+ 2. The hint render as an extra input labeled "pose and camera reference only", which hosted models follow loosely.
37
+ 3. Control channels rendered from the hint, such as depth, normal, pose skeleton and outline, through ControlNet with identity from IP-Adapter or a LoRA.
38
+
39
+ Render control channels from the hint scene itself, under [control channels](../motion/control-channels.md), because pose and depth estimators fail on featureless polygon men. When the cast's build differs from the polygon man, weight pose above depth, since depth imprints the polygon man's silhouette.
40
+
41
+ ## Canon references
42
+
43
+ Video models cap references per subject at about three or four images and read each image as one view. Give each character separate images rather than one collage, on a plain background with flat light and the canonical wardrobe:
44
+
45
+ - a front full-body view in a neutral pose;
46
+ - a face close-up;
47
+ - three-quarter or profile views as the shots need.
48
+
49
+ A wardrobe change is its own set. Give each set a plate without people in the shot's light, and each prop a plain-background view. Reuse the same files and the same description wording wherever the subject appears.
50
+
51
+ ## Shot frames
52
+
53
+ A first frame gives an image-to-video model the look while the hint gives the motion; when the two disagree on pose or camera, the result drifts.
54
+
55
+ Render the hint's first frame at the video model's exact output size and aspect, generate the frame from that structure and the canon identity, then [overlay](../visual-debugging/comparison.md#read-the-difference) it on the hint render and regenerate when silhouettes, horizon or facing move. Make a last frame the same way only when the shot's end pose matters, such as a matched cut.
56
+
57
+ ## Turnaround views for modeling
58
+
59
+ Generated views carry no camera calibration or scale and disagree with each other at pixel level, so they serve as modeling references or image-to-3D input, never as measurements; real dimensions come from the research and the entity's code.
60
+
61
+ When the hint already has the form, render its own turnaround from fixed cameras and restyle each view with depth or normal control and the identity references, so the views agree by construction. They serve a commissioned [detail option](../development/entities.md#detail) as a form source under [3D modeling](../3d-modeling/SKILL.md); a coarse entity needs none.
62
+
63
+ ## Prompts
64
+
65
+ Follow the selected model's prompting guide, such as [OpenAI's](https://developers.openai.com/cookbook/examples/multimodal/image-gen-models-prompting-guide). Describe scene, subject, key details and constraints in that order and state the image's use.
66
+
67
+ Label each input image by index and role, such as "Image 1: identity of Mara; Image 2: pose and camera reference only". For an edit, state what changes and repeat what stays the same on every iteration.
68
+
69
+ Camera and lens words steer the look only loosely, so an exact camera comes from a reference or a control channel.
@@ -0,0 +1,55 @@
1
+ ---
2
+ name: motion
3
+ description: Programs deterministic scene performance, staging, camera, timing and physical responses by end-effector goals, composing the installed motion vocabulary and writing a law only for what it lacks. Use when composing or authoring actions, interactions, consequences or scene composition, accepting catalog cases, reviewing segments, or rendering a motion hint and its control channels.
4
+ ---
5
+
6
+ # Programmed motion
7
+
8
+ Realize the screenplay's performance through code. Read [project context](../production/project-context.md), the final screenplay and its [research](../story/planning/research.md) first. A single moving instance needs only its promised behavior; a whole-video commission needs its complete progression.
9
+
10
+ Work in this order, because each step can only use what the one before settled:
11
+
12
+ 1. Confirm the [research](../story/planning/research.md) for every practice, crowd conduct and camera style the scenes show.
13
+ 2. Start from the coarse entities [entity work](../development/entities.md#coarse-first) builds.
14
+ 3. [Compose](#compose-the-vocabulary) each person's performance from the installed motion vocabulary.
15
+ 4. [Write a production law](#write-a-production-law) only for what the vocabulary lacks.
16
+ 5. Accept every entity and motion module in its [catalog cases](catalog-cases.md).
17
+ 6. [Compose the film](#compose-the-film) segment by segment.
18
+ 7. Deliver a commissioned [detail option](../development/entities.md#detail) last.
19
+
20
+ ## Compose the vocabulary {#compose-the-vocabulary}
21
+
22
+ Compose each person's performance from the installed motion vocabulary, as its README and public types give it. The package owns its actions with their studies and checks, so a second implementation in the production duplicates that work without its checks. [Source layout](../development/source-layout.md#how-the-parts-work-together) says how a cast entity's capabilities carry those actions into a scene.
23
+
24
+ When a vocabulary action misbehaves in a case, hand the user the case and its numbers under [installed packages](../development/reuse.md#installed-packages) rather than patching it in the production.
25
+
26
+ ## Write a production law {#write-a-production-law}
27
+
28
+ Write a law only for an action the vocabulary lacks and for what is not a person, such as an animal, a vehicle, a crowd moving as a mass, a camera or a light.
29
+
30
+ For an action the vocabulary lacks, read a comparable action in the source the installed motion vocabulary ships in its folder under `node_modules`, and build the law on the same principles. A law built that way composes with the vocabulary's actions and behaves like them, and one invented from scratch does neither.
31
+
32
+ Confirm its [research](../story/planning/research.md) study first, because a law written without one invents the practice. Design it under the [shared motion rules](#shared-motion-rules), answer the [behaviors contract](../contracts/development/behaviors.md), and unit-test it against its study's values through [testing](../development/testing.md). Contact and reactions use the installed engine through [physical feedback](physical-feedback.md).
33
+
34
+ ## Compose the film {#compose-the-film}
35
+
36
+ Compose the film from accepted cases through their entity API and the screenplay alone, one short contiguous segment scene by scene under [staging](staging.md) and [frame evaluation](frame-evaluation.md). Pass [segment review](segment-review.md) before extending from a segment's accepted ending.
37
+
38
+ A defect the film shows in a body, contact or behavior goes back to its module and its case, as the [composition contract](../contracts/development/composition.md#composition-only) requires.
39
+
40
+ ## Shared motion rules {#shared-motion-rules}
41
+
42
+ Author every body movement, composed or written, as [end-effector goals](authoring.md) on targets, never as coordinates or tuned joint angles: a fist on the opponent's struck region, each foot on the floor at its step, both hands on a prop's grip, the hips on a seat or mount. The other rules build on that one:
43
+
44
+ | Rule | Read when |
45
+ | --- | --- |
46
+ | [Laws](laws.md) | Designing an action: its plan, entry state, events, outcome and time scale |
47
+ | [Variation](variation.md) | A performance differs by parameters, skill or seed |
48
+ | [Transitions](transitions.md) | A performance changes action or target mid-motion |
49
+ | [Contacts](contacts.md) | It plants, sits, grips, hands over or touches another body |
50
+ | [Layers](layers.md) | Gaze, breathing or another layer runs over the action |
51
+ | [Verification](verification.md) | A case needs its bounded checks and frame review |
52
+
53
+ ## Other resources
54
+
55
+ Use [retargeting](retargeting.md) for external clips or changed rigs and [method references](method-references.md) when choosing an algorithm for a production law. Render the motion hint and its [control channels](control-channels.md) from the accepted performance, and hand scene output and its timing to [assembly](../production/assembly.md).
@@ -0,0 +1,11 @@
1
+ # Catalog cases
2
+
3
+ An entity or a motion module is accepted alone, in the catalog, before any film composes it.
4
+
5
+ A catalog case plays one module alone: one action against one target, partner response and outcome, one movement, one official or bystander behavior, one fall, or one entity state the screenplay uses. Cases of one module differ only in parameters, so each module has one case composition that takes them, and the [catalog film](../development/source-layout.md#source) lists every case the screenplay uses in its own labeled interval.
6
+
7
+ Capture each case's interval with the README's frame capture, at the spacing [capture](../visual-debugging/capture.md#times) requires and from the views [verification](verification.md#look-at-the-frames) names. Review every still against the [performance study](../story/planning/research.md#performance-study) and the cast, prop and set records, repair each failing case at its module by cause and recapture it.
8
+
9
+ Accept a case only when its checks pass and no still shows a flaw, and record it in the catalog's [acceptance record](../review/delivery-review.md#acceptance-record), so the next session knows which cases were accepted at which revision.
10
+
11
+ A rehearsal module the film registry does not list is scratch for work in progress. Acceptance happens only in the catalog film, because the catalog replays every case after a repair and a rehearsal does not.
@@ -0,0 +1,19 @@
1
+ # Control channels
2
+
3
+ A motion hint reaches its receiver through control channels rendered from the performance. A complete hint can be delivered without a generator; report its compatibility as unverified rather than run an uncommissioned job. [Video](../video/SKILL.md) decides which channels the chosen model takes; this document owns rendering them from the performance.
4
+
5
+ ## Render what the receiver takes
6
+
7
+ Render only the channels the actual receiver needs, such as the hint video, pose, depth, normal, outline or a semantic mask, and read the installed packages' documentation for what each really outputs. A mode name or a plausible image does not establish another tool's expected representation. When no installed path produces an essential channel, follow [installed packages](../development/reuse.md#installed-packages).
8
+
9
+ ## Keep channels aligned
10
+
11
+ Give time-matched channels one frame format, camera, crop and time mapping, resolved through [frame evaluation](frame-evaluation.md), and keep them [matched as passes](../visual-debugging/passes.md#keep-passes-matched) of one evaluated performance and view. A matching frame count does not prove matching poses or events.
12
+
13
+ Read each pass's limits: depth range and clipping, normal convention, and whether a mask has stable semantic identities or only positional colors. A structural pass keeps its values free of exposure, tone mapping or overlays.
14
+
15
+ ## Hand off
16
+
17
+ Keep accepted control files, mappings, palettes and sidecars with their content digests under the film's [media records](../production/media-records.md) folder, apart from any viewing encode, because lossy encoding, color conversion and transitions change depth values and invent mask colors.
18
+
19
+ Inspect stills of the complete sequence at matched frames, including contacts, cuts and the ending, then the files through the receiver's input path when one is selected. Hand them with their observed limits to [assembly](../production/assembly.md) or [video generation](../video/generation.md).
@@ -0,0 +1,25 @@
1
+ # Frame evaluation
2
+
3
+ The installed engine and renderer own frame schedules, trims, transitions and shot-local time; use them rather than reproducing their arithmetic in the host. A deterministic schedule does not make a stateful animation independent of its evaluation history.
4
+
5
+ ## Map output time to performance
6
+
7
+ Keep output frame, output time, shot-local time and simulation time distinct, and give each shot in a transition its own local time and state.
8
+
9
+ Compose action instances by their phase markers, carrying the exit pose, velocity, support and interaction state into the successor, and synchronize interacting participants and their sound to the same resolved contact event.
10
+
11
+ Verify the first and last frames, both sides of cuts and trim boundaries against the plan; a duration in seconds does not fix the encoded frame count.
12
+
13
+ ## Separate sampling from retained state
14
+
15
+ A law evaluates from its plan and the requested time, as [laws](laws.md#plan-once-evaluate-by-time) requires.
16
+
17
+ Before allowing seeking, retries or split renders, identify state the host still carries in springs, physics, callbacks, random draws or imported runtimes: seeded randomness draws from [identity-keyed streams](variation.md#draws-that-do-not-disturb-each-other), and retained state needs a repeatable update from a defined initial state or a supported cache, recovered before capturing a later frame.
18
+
19
+ Choose simulation steps for solver stability, independent of display refresh, and sample results onto output times. Use supported lifecycle operations, never private-field resets.
20
+
21
+ ## Verify the actual evaluation path
22
+
23
+ Compare poses, transforms, contacts and pictures at matching times across sequential capture, a fresh restart, and seeking or split capture where promised, including settling and cut boundaries, through [testing](../development/testing.md) and a [comparison](../visual-debugging/comparison.md) of their stills. Record unsupported paths instead of claiming them.
24
+
25
+ [Fix Your Timestep](https://gafferongames.com/post/fix_your_timestep/) explains separating simulation from display time.
@@ -0,0 +1,23 @@
1
+ # Method references
2
+
3
+ These references inform a production law for what is not a person or for an action the installed motion vocabulary lacks, and the retargeting and control-channel checks; for a person's ordinary movement the vocabulary has already made these choices.
4
+
5
+ Take movement evidence from the [performance study](../story/planning/research.md#performance-study) and its retained references; the sources below inform implementation methods and failure checks only. Those sources' experiments, embodiments and hardware neither validate this production nor supply an installed solver, so check an adopted principle through the current host and commissioned output. Read the installed engine's README before adopting a method, because it may already provide one.
6
+
7
+ | Primary source | Decision informed here |
8
+ | --- | --- |
9
+ | [Motion Graphs](https://graphics.cs.wisc.edu/Papers/2002/KGP02/mograph.pdf), Sections 3–4, and [parameterized motions](https://research.cs.wisc.edu/graphics/Gallery/kovar.vol/ParamMotion/motionFamilies.pdf), Section 1.1.2 | Reuse motion units through compatible transitions and meaningful bounded parameters; these captured-motion methods inform composition without supplying a procedural controller or contact solver |
10
+ | [Animation sync markers](https://dev.epicgames.com/documentation/unreal-engine/animation-sync-groups-in-unreal-engine?application_version=5.8) and [target warping windows](https://dev.epicgames.com/documentation/en-us/unreal-engine/motion-warping-in-unreal-engine) | Align meaningful phases and limit target adaptation to the relevant interval; synchronization and target fitting do not establish collision response, balance or an installed AutoMovie capability |
11
+ | [Full Body IK](https://dev.epicgames.com/documentation/en-us/unreal-engine/control-rig-full-body-ik-in-unreal-engine) and [Two Bone IK](https://docs.unity3d.com/Packages/com.unity.animation.rigging@1.3/manual/constraints/TwoBoneIKConstraint.html) | Pose a body from end-effector goals with per-goal strength, a bend hint and per-joint limits, keeping the input pose where no goal pulls; these engine features show the authoring model |
12
+ | [Footskate Cleanup](https://research.cs.wisc.edu/graphics/Gallery/kovar.vol/Cleanup) | Hold each foot plant exactly and blend the correction into neighboring frames, because plants switching on and off pop the knee and root; the method cleans existing motion and may stretch legs slightly, which a rigid rig does not allow |
13
+ | [Semi-Procedural Locomotion](https://runevision.com/thesis/) | Adapt example gait cycles so each foot lands on the actual ground, with heel and toe aligned as one constraint; built for keyframed or captured cycles, it informs a production law for a gait the vocabulary lacks, such as an animal's |
14
+ | [Spatial Relationship Preserving Motion Adaptation](https://history.siggraph.org/?p=105435) | Close contact between characters or with objects, such as wrestling, dancing or entering a car, survives editing when their spatial relations are kept rather than their joint angles; an offline spacetime optimization, so it says what to preserve rather than how to solve it here |
15
+ | [Retargeting Matters / General Motion Retargeting](https://arxiv.org/abs/2510.02252) | Retargeting artifacts such as foot sliding, self-penetration and physically infeasible motion deserve inspection before expecting a downstream tracker or generator to repair them |
16
+ | [Shooting for Contact](https://arxiv.org/abs/2608.03116) | Kinematic similarity and dynamically feasible contact are different claims; use actual supported contact/physics evidence when the task requires it |
17
+ | [Spatiotemporal Retargeting](https://arxiv.org/abs/2610.30540) | Object interaction depends on preserving body–object relations at critical stages and key body parts; inspect those actual contacts instead of relying on a uniform average pose error. This recent research is a candidate method, not an installed capability |
18
+ | [Wan-Animate preprocessing](https://github.com/Wan-Video/Wan2.2/blob/main/wan/modules/animate/preprocess/UserGuider.md) | Inspect the actual pose/mask intermediate outputs, body-proportion retargeting and the selected mode's supported subject interactions before generation |
19
+ | [ControlNet](https://github.com/lllyasviel/ControlNet) | A conditioning mechanism has a concrete input contract; an arbitrary stick figure or depth-like image is not automatically a compatible signal |
20
+
21
+ [Retargeting](retargeting.md), [physical feedback](physical-feedback.md) and [frame evaluation](frame-evaluation.md) own the production procedure. [Control channels](control-channels.md) owns the hint's passes, and [video generation](../video/generation.md) owns service integration and take adoption.
22
+
23
+ Preserve sources and contacts through conversion and inspect actual outputs; promising research does not justify live generation inside deterministic replay.
@@ -0,0 +1,31 @@
1
+ # Physical feedback
2
+
3
+ Physical feedback serves what is not a person and the actions the installed motion vocabulary lacks; the vocabulary already resolves a person's goals, plants and contacts.
4
+
5
+ Read the installed engine's public contracts for the physical interaction at issue, and use its kinematics, range-of-motion checks, rigid impacts or other relevant computations to derive consequential action or expose an unworkable performance. Authored timing and dramatic intent still choose what the audience sees, so simulate only where the promise needs it.
6
+
7
+ ## Solve the goals
8
+
9
+ Realize [end-effector goals](authoring.md) with the installed engine's solvers, as its README and public types give them. Order the fits as [end-effector goals](authoring.md#order-the-fits) sets, and solve several goals together where a solver accepts several targets.
10
+
11
+ Under the single transform owner [staging](staging.md) requires, a carried prop rides one hand and receives the other hand as a goal, and a mount carries the rider's seated support and receives the hands and feet as goals on its regions.
12
+
13
+ A residual, refusal or range-limited pose marks an unreachable goal, repaired at its owner as staging directs; a solver the engine lacks is handled under [installed packages](../development/reuse.md#installed-packages).
14
+
15
+ ## Choose the physical mode
16
+
17
+ Choose each scene's physical mode in its composition, with a scene default and explicit body overrides, among the modes the installed engine documents: authored motion for a hint or a deliberate stylization, solved physics when the promise requires it, and a stated departure from the solved result when impulse, gravity or compliance is exaggerated.
18
+
19
+ Record each departure's reason in the scene's comment, because an implicit change can conceal a failed screenplay outcome. Every mode audits its promised contacts, misses, falls and timing against its actual receipt source, keeping geometric and solved receipts distinct: a proximity measurement cannot establish a solved impulse.
20
+
21
+ ## Simulate once
22
+
23
+ Simulate fixed numerical inputs once as a [stage cache](../production/stage-caches.md) and draw cached states by film time, so playback, seek and capture consume the same performance. Late edits may reuse only a verified unchanged input prefix and its complete solver and controller checkpoint.
24
+
25
+ Keep dimensions, mass or material assumptions, initial state, time sampling, transforms and constraints explicit where the chosen API needs them, with simple collision or control representations separate from display tessellation.
26
+
27
+ ## Review the result
28
+
29
+ Feed returned motion, contacts or violations into the performance and check them against measurable production requirements. Then review support, impact order, reaction, recoil and the following state on consecutive captured frames across the complete affected sequence under [segment review](segment-review.md).
30
+
31
+ When detail, proportions or attachments change, recheck that the physical assumptions and visible contact still agree.