@automovie/template 0.3.3 → 0.4.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 (303) hide show
  1. package/README.md +8 -22
  2. package/generated/pnpm-workspace.json +5 -5
  3. package/generated/skills/3d-modeling/conditioning.md +3 -1
  4. package/generated/skills/3d-modeling/crafting/construction.md +29 -1
  5. package/generated/skills/3d-modeling/environments.md +47 -0
  6. package/generated/skills/3d-modeling/inspection.md +7 -4
  7. package/generated/skills/contracts/development/common.md +4 -6
  8. package/generated/skills/contracts/development/design.md +7 -17
  9. package/generated/skills/contracts/development/implementation.md +8 -36
  10. package/generated/skills/development/repair.md +2 -0
  11. package/generated/skills/documentation/SKILL.md +5 -5
  12. package/generated/skills/documentation/writing.md +2 -2
  13. package/generated/skills/motion/laws/authoring.md +2 -2
  14. package/generated/skills/motion/laws/contacts.md +6 -2
  15. package/generated/skills/motion/laws/transitions.md +14 -4
  16. package/generated/skills/motion/laws/variation.md +2 -2
  17. package/generated/skills/motion/laws/verification.md +7 -5
  18. package/generated/skills/multi-agent/continuing.md +5 -0
  19. package/generated/skills/prompting/SKILL.md +8 -22
  20. package/generated/skills/visual-debugging/capture.md +1 -1
  21. package/generated/skills/visual-debugging/correction-rounds.md +4 -0
  22. package/lib/IAutoMovieScaffoldProps.d.ts +12 -12
  23. package/lib/assertScaffoldProjectName.d.ts +8 -10
  24. package/lib/assertScaffoldProjectName.js +8 -10
  25. package/lib/assertScaffoldProjectName.js.map +1 -1
  26. package/lib/createAutoMovieScaffold.d.ts +24 -14
  27. package/lib/createAutoMovieScaffold.js +43 -18
  28. package/lib/createAutoMovieScaffold.js.map +1 -1
  29. package/lib/listAutoMovieScaffoldFiles.d.ts +8 -10
  30. package/lib/listAutoMovieScaffoldFiles.js +16 -12
  31. package/lib/listAutoMovieScaffoldFiles.js.map +1 -1
  32. package/lib/renderAutoMovieWorkspace.d.ts +8 -12
  33. package/lib/renderAutoMovieWorkspace.js +16 -14
  34. package/lib/renderAutoMovieWorkspace.js.map +1 -1
  35. package/lib/scaffoldSharedSkillPath.d.ts +13 -12
  36. package/lib/scaffoldSharedSkillPath.js +13 -12
  37. package/lib/scaffoldSharedSkillPath.js.map +1 -1
  38. package/package.json +6 -6
  39. package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +2 -0
  40. package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +3 -1
  41. package/scaffold/instructions/.agents/skills/3d-modeling/materials.md +11 -0
  42. package/scaffold/instructions/.agents/skills/audio/SKILL.md +1 -1
  43. package/scaffold/instructions/.agents/skills/audio/acquisition.md +5 -1
  44. package/scaffold/instructions/.agents/skills/audio/film-sound.md +5 -1
  45. package/scaffold/instructions/.agents/skills/audio/listening.md +2 -0
  46. package/scaffold/instructions/.agents/skills/audio/soundtrack.md +14 -0
  47. package/scaffold/instructions/.agents/skills/contracts/SKILL.md +1 -1
  48. package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +5 -5
  49. package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +14 -6
  50. package/scaffold/instructions/.agents/skills/contracts/development/catalog.md +21 -0
  51. package/scaffold/instructions/.agents/skills/contracts/development/composition.md +44 -18
  52. package/scaffold/instructions/.agents/skills/contracts/development/entities.md +24 -8
  53. package/scaffold/instructions/.agents/skills/contracts/development/films.md +39 -0
  54. package/scaffold/instructions/.agents/skills/contracts/development/testing.md +21 -0
  55. package/scaffold/instructions/.agents/skills/contracts/items.md +7 -12
  56. package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +18 -22
  57. package/scaffold/instructions/.agents/skills/contracts/story/discovery/brief.md +11 -0
  58. package/scaffold/instructions/.agents/skills/contracts/story/discovery/common.md +27 -0
  59. package/scaffold/instructions/.agents/skills/contracts/story/{shared/discovery → discovery}/narratives.md +2 -2
  60. package/scaffold/instructions/.agents/skills/contracts/story/{shared/discovery → discovery}/screenplay.md +2 -2
  61. package/scaffold/instructions/.agents/skills/contracts/story/discovery/scripts.md +9 -0
  62. package/scaffold/instructions/.agents/skills/contracts/story/discovery/settings.md +13 -0
  63. package/scaffold/instructions/.agents/skills/contracts/story/{shared/discovery → discovery}/treatments.md +2 -2
  64. package/scaffold/instructions/.agents/skills/contracts/story/obligations/brief.md +11 -0
  65. package/scaffold/instructions/.agents/skills/contracts/story/obligations/common.md +26 -0
  66. package/scaffold/instructions/.agents/skills/contracts/story/obligations/index.md +11 -0
  67. package/scaffold/instructions/.agents/skills/contracts/story/obligations/narratives.md +25 -0
  68. package/scaffold/instructions/.agents/skills/contracts/story/obligations/review.md +21 -0
  69. package/scaffold/instructions/.agents/skills/contracts/story/obligations/screenplay.md +39 -0
  70. package/scaffold/instructions/.agents/skills/contracts/story/obligations/scripts.md +17 -0
  71. package/scaffold/instructions/.agents/skills/contracts/story/obligations/settings.md +31 -0
  72. package/scaffold/instructions/.agents/skills/contracts/story/obligations/treatments.md +19 -0
  73. package/scaffold/instructions/.agents/skills/contracts/story/principles/brief.md +11 -0
  74. package/scaffold/instructions/.agents/skills/contracts/story/{shared/principles → principles}/common.md +2 -2
  75. package/scaffold/instructions/.agents/skills/contracts/story/principles/index.md +11 -0
  76. package/scaffold/instructions/.agents/skills/contracts/story/principles/narratives.md +25 -0
  77. package/scaffold/instructions/.agents/skills/contracts/story/principles/research.md +21 -0
  78. package/scaffold/instructions/.agents/skills/contracts/story/principles/review.md +21 -0
  79. package/scaffold/instructions/.agents/skills/contracts/story/principles/screenplay.md +89 -0
  80. package/scaffold/instructions/.agents/skills/contracts/story/principles/scripts.md +9 -0
  81. package/scaffold/instructions/.agents/skills/contracts/story/principles/settings.md +13 -0
  82. package/scaffold/instructions/.agents/skills/contracts/story/principles/treatments.md +19 -0
  83. package/scaffold/instructions/.agents/skills/contracts/story/upstream/screenplay.md +11 -0
  84. package/scaffold/instructions/.agents/skills/contracts/story/upstream/scripts.md +9 -0
  85. package/scaffold/instructions/.agents/skills/contracts/story/{shared/upstream → upstream}/treatments.md +2 -2
  86. package/scaffold/instructions/.agents/skills/development/SKILL.md +2 -4
  87. package/scaffold/instructions/.agents/skills/development/entities.md +14 -2
  88. package/scaffold/instructions/.agents/skills/development/modules.md +16 -6
  89. package/scaffold/instructions/.agents/skills/development/source-layout.md +6 -6
  90. package/scaffold/instructions/.agents/skills/development/testing.md +2 -2
  91. package/scaffold/instructions/.agents/skills/evidence/adoption.md +2 -2
  92. package/scaffold/instructions/.agents/skills/evidence/answering.md +7 -1
  93. package/scaffold/instructions/.agents/skills/evidence/configuration.md +4 -4
  94. package/scaffold/instructions/.agents/skills/image/canon-references.md +5 -3
  95. package/scaffold/instructions/.agents/skills/image/diffusion/editing.md +2 -0
  96. package/scaffold/instructions/.agents/skills/motion/SKILL.md +5 -5
  97. package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +10 -16
  98. package/scaffold/instructions/.agents/skills/motion/compose/composition.md +42 -19
  99. package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +2 -2
  100. package/scaffold/instructions/.agents/skills/motion/control-channels.md +8 -4
  101. package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +2 -2
  102. package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +2 -0
  103. package/scaffold/instructions/.agents/skills/motion/judgment.md +16 -12
  104. package/scaffold/instructions/.agents/skills/motion/laws/SKILL.md +2 -3
  105. package/scaffold/instructions/.agents/skills/motion/laws/method-references.md +4 -2
  106. package/scaffold/instructions/.agents/skills/motion/performance.md +4 -4
  107. package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +6 -4
  108. package/scaffold/instructions/.agents/skills/motion/retargeting.md +1 -1
  109. package/scaffold/instructions/.agents/skills/motion/segment-review.md +3 -9
  110. package/scaffold/instructions/.agents/skills/motion/staging.md +16 -10
  111. package/scaffold/instructions/.agents/skills/multi-agent/$continuing.md +0 -0
  112. package/scaffold/instructions/.agents/skills/multi-agent/SKILL.md +8 -0
  113. package/scaffold/instructions/.agents/skills/production/SKILL.md +1 -2
  114. package/scaffold/instructions/.agents/skills/production/assembly.md +14 -21
  115. package/scaffold/instructions/.agents/skills/production/captions.md +2 -0
  116. package/scaffold/instructions/.agents/skills/production/director.md +11 -5
  117. package/scaffold/instructions/.agents/skills/production/media-records.md +18 -1
  118. package/scaffold/instructions/.agents/skills/production/project-context.md +10 -12
  119. package/scaffold/instructions/.agents/skills/production/sustained-runs.md +3 -3
  120. package/scaffold/instructions/.agents/skills/production/workflow.md +2 -2
  121. package/scaffold/instructions/.agents/skills/review/delivery-review.md +27 -46
  122. package/scaffold/instructions/.agents/skills/review/estimation.md +1 -1
  123. package/scaffold/instructions/.agents/skills/review/independent-reading.md +4 -4
  124. package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +4 -8
  125. package/scaffold/instructions/.agents/skills/review/source-review.md +6 -4
  126. package/scaffold/instructions/.agents/skills/story/answers.md +5 -5
  127. package/scaffold/instructions/.agents/skills/story/correction/inspection.md +6 -6
  128. package/scaffold/instructions/.agents/skills/story/correction/repair.md +8 -6
  129. package/scaffold/instructions/.agents/skills/story/document-layout.md +12 -5
  130. package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +2 -2
  131. package/scaffold/instructions/.agents/skills/story/layers/brief.md +4 -4
  132. package/scaffold/instructions/.agents/skills/story/layers/notation.md +8 -4
  133. package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +6 -20
  134. package/scaffold/instructions/.agents/skills/story/layers/scripts.md +3 -7
  135. package/scaffold/instructions/.agents/skills/story/layers/settings.md +2 -2
  136. package/scaffold/instructions/.agents/skills/story/layers/shots.md +6 -10
  137. package/scaffold/instructions/.agents/skills/story/layers/treatments.md +4 -2
  138. package/scaffold/instructions/.agents/skills/story/planning/direction.md +2 -0
  139. package/scaffold/instructions/.agents/skills/story/planning/discovery.md +2 -2
  140. package/scaffold/instructions/.agents/skills/story/planning/research.md +7 -15
  141. package/scaffold/instructions/.agents/skills/story/workflow/routes.md +2 -2
  142. package/scaffold/instructions/.agents/skills/story/workflow/short.md +4 -8
  143. package/scaffold/instructions/.agents/skills/video/SKILL.md +1 -1
  144. package/scaffold/instructions/.agents/skills/video/diffusion/continuity.md +2 -0
  145. package/scaffold/instructions/.agents/skills/video/diffusion/hints.md +1 -1
  146. package/scaffold/instructions/.agents/skills/video/diffusion/models.md +2 -0
  147. package/scaffold/instructions/.agents/skills/video/diffusion/prompts.md +1 -1
  148. package/scaffold/instructions/.agents/skills/video/direct-film.md +45 -10
  149. package/scaffold/instructions/.agents/skills/video/finishing.md +11 -3
  150. package/scaffold/instructions/.agents/skills/video/generated-film.md +1 -0
  151. package/scaffold/instructions/.agents/skills/video/generation.md +4 -0
  152. package/scaffold/instructions/.agents/skills/video/requests.md +8 -2
  153. package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +1 -1
  154. package/scaffold/instructions/AGENTS.md +21 -48
  155. package/scaffold/production/README.md +18 -99
  156. package/scaffold/production/package.json +3 -2
  157. package/scaffold/production/src/IFilm.ts +1 -6
  158. package/scaffold/production/src/IFilmProduction.ts +255 -31
  159. package/scaffold/production/src/clampProductionSeconds.ts +5 -8
  160. package/scaffold/production/src/composition/films/starter.ts +2 -7
  161. package/scaffold/production/src/executable/motionTake/IMotionTakeSource.ts +1 -2
  162. package/scaffold/production/src/executable/motionTake/assertMotionTakeBindings.ts +3 -10
  163. package/scaffold/production/src/executable/motionTake/collectMotionTakeFiles.ts +2 -6
  164. package/scaffold/production/src/executable/motionTake/hashMotionTakeFile.ts +2 -6
  165. package/scaffold/production/src/executable/motionTake/openMotionTake.ts +2 -6
  166. package/scaffold/production/src/executable/motionTake/readMotionTakeArtifact.ts +2 -6
  167. package/scaffold/production/src/executable/motionTake/readMotionTakeInstalledLock.ts +2 -6
  168. package/scaffold/production/src/executable/motionTake/readMotionTakePackageVersion.ts +2 -6
  169. package/scaffold/production/src/executable/motionTake/readMotionTakeSource.ts +2 -6
  170. package/scaffold/production/src/executable/motionTake/replayMotionTake.ts +2 -6
  171. package/scaffold/production/src/executable/motionTake/resolveMotionTakePath.ts +5 -12
  172. package/scaffold/production/src/executable/motionTake/verifyMotionTakeEditPrefix.ts +2 -6
  173. package/scaffold/production/src/executable/motionTake/writeMotionTakeArtifact.ts +2 -6
  174. package/scaffold/production/src/executable/recovery/node/artifact/archiveAutoMovieRecoveryModel.ts +12 -19
  175. package/scaffold/production/src/executable/recovery/node/artifact/createAutoMovieRecoveryArtifact.ts +13 -26
  176. package/scaffold/production/src/executable/recovery/node/artifact/writeAutoMovieRecoveryArtifact.ts +16 -22
  177. package/scaffold/production/src/executable/recovery/node/internal/IAutoMovieRecoveryMemoryUsage.ts +1 -2
  178. package/scaffold/production/src/executable/recovery/node/internal/RecoveryFileVectorTable.ts +11 -32
  179. package/scaffold/production/src/executable/recovery/node/internal/RecoveryFileVectorTableInput.ts +5 -14
  180. package/scaffold/production/src/executable/recovery/node/internal/createRecoveryFileVectorTable.ts +6 -13
  181. package/scaffold/production/src/executable/recovery/node/internal/observeRecoveryAtlas.ts +16 -24
  182. package/scaffold/production/src/executable/recovery/node/internal/readAutoMovieRecoveryBoundedFile.ts +9 -17
  183. package/scaffold/production/src/executable/recovery/node/internal/readRecoveryCameraImages.ts +2 -6
  184. package/scaffold/production/src/executable/recovery/node/internal/readRecoveryFixedReference.ts +2 -6
  185. package/scaffold/production/src/executable/recovery/node/internal/recovery.ts +12 -17
  186. package/scaffold/production/src/executable/recovery/node/internal/recoveryAtlas.ts +2 -6
  187. package/scaffold/production/src/executable/recovery/node/internal/recoveryCameraMap.ts +6 -12
  188. package/scaffold/production/src/executable/recovery/node/internal/recoveryCameraScene.ts +2 -10
  189. package/scaffold/production/src/executable/recovery/node/internal/recoveryCameras.ts +2 -9
  190. package/scaffold/production/src/executable/recovery/node/internal/recoveryContourPath.ts +7 -11
  191. package/scaffold/production/src/executable/recovery/node/internal/recoveryImages.ts +6 -14
  192. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryContourFileMesh.ts +10 -25
  193. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryMeshSpool.ts +9 -15
  194. package/scaffold/production/src/executable/recovery/node/mesh/readAutoMovieRecoveryMeshFrontier.ts +10 -13
  195. package/scaffold/production/src/executable/recovery/node/publishAutoMovieRecoveryArtifact.ts +2 -6
  196. package/scaffold/production/src/executable/recovery/node/reconstruction/reconstructAutoMovieRecoveryLocal.ts +13 -19
  197. package/scaffold/production/src/executable/recovery/node/runAutoMovieRecoveryCommand.ts +4 -19
  198. package/scaffold/production/src/executable/verify.ts +11 -0
  199. package/scaffold/production/src/inspectFilmProduction.ts +252 -0
  200. package/scaffold/production/src/main.ts +1 -0
  201. package/scaffold/production/src/markFilmProduction.ts +31 -19
  202. package/scaffold/production/src/readFilmVerdicts.ts +43 -0
  203. package/scaffold/production/src/selectFilm.ts +2 -6
  204. package/scaffold/production/src/subjectOfFilm.ts +158 -0
  205. package/scaffold/production/src/subjects.ts +13 -61
  206. package/scaffold/production/test/features/test_clamp_production_seconds.ts +2 -4
  207. package/scaffold/production/test/features/test_inspect_film_production.ts +325 -0
  208. package/scaffold/production/test/features/test_recovery_publication_cancellation.ts +2 -4
  209. package/scaffold/production/test/features/test_select_film.ts +2 -4
  210. package/scaffold/production/test/features/test_subject_of_film.ts +95 -0
  211. package/scaffold/production/test/features/testing/test_test_execution.ts +2 -4
  212. package/scaffold/production/test/features/testing/test_test_selection.ts +2 -4
  213. package/scaffold/production/test/helpers/assessTestExecution.ts +4 -7
  214. package/scaffold/production/test/helpers/overlappingPerformance.ts +199 -0
  215. package/scaffold/production/test/tsconfig.json +4 -1
  216. package/scaffold/production/tsconfig.json +2 -6
  217. package/scaffold/production/vite.config.ts +25 -2
  218. package/scaffold/workspace/README.md +9 -28
  219. package/scaffold/workspace/package.json +1 -1
  220. package/src/IAutoMovieScaffoldProps.ts +12 -12
  221. package/src/assertScaffoldProjectName.ts +8 -10
  222. package/src/createAutoMovieScaffold.ts +49 -19
  223. package/src/listAutoMovieScaffoldFiles.ts +16 -12
  224. package/src/renderAutoMovieWorkspace.ts +20 -15
  225. package/src/scaffoldSharedSkillPath.ts +13 -12
  226. package/generated/skills/contracts/development/testing.md +0 -27
  227. package/scaffold/instructions/.agents/skills/automovie/SKILL.md +0 -32
  228. package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +0 -40
  229. package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +0 -32
  230. package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +0 -34
  231. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +0 -9
  232. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +0 -9
  233. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +0 -9
  234. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/settings.md +0 -9
  235. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +0 -17
  236. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +0 -9
  237. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +0 -9
  238. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +0 -9
  239. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +0 -9
  240. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +0 -9
  241. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +0 -9
  242. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +0 -9
  243. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +0 -9
  244. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +0 -13
  245. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +0 -13
  246. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +0 -13
  247. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +0 -13
  248. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +0 -9
  249. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +0 -13
  250. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +0 -9
  251. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +0 -9
  252. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +0 -13
  253. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +0 -9
  254. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +0 -13
  255. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/review.md +0 -13
  256. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +0 -13
  257. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +0 -9
  258. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +0 -9
  259. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +0 -13
  260. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +0 -16
  261. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +0 -40
  262. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +0 -6
  263. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +0 -12
  264. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +0 -9
  265. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +0 -21
  266. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +0 -7
  267. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +0 -84
  268. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +0 -17
  269. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +0 -13
  270. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +0 -12
  271. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +0 -18
  272. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +0 -16
  273. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +0 -17
  274. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +0 -29
  275. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +0 -15
  276. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +0 -41
  277. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +0 -31
  278. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +0 -21
  279. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +0 -23
  280. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +0 -43
  281. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +0 -27
  282. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +0 -11
  283. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +0 -10
  284. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +0 -16
  285. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +0 -43
  286. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +0 -16
  287. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +0 -32
  288. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +0 -23
  289. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +0 -75
  290. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +0 -43
  291. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +0 -16
  292. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +0 -20
  293. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +0 -11
  294. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +0 -9
  295. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +0 -7
  296. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +0 -9
  297. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +0 -9
  298. package/scaffold/instructions/.agents/skills/motion/laws/extension.md +0 -39
  299. package/scaffold/instructions/.agents/skills/production/stage-caches.md +0 -26
  300. package/scaffold/production/src/executable/recovery/node/internal/recoveryLocal.ts +0 -153
  301. package/scaffold/production/src/executable/recovery/node/internal/recoveryOpen.ts +0 -237
  302. package/scaffold/production/tsconfig.test.json +0 -9
  303. /package/scaffold/instructions/.agents/skills/{contracts/development/$testing.md → 3d-modeling/$environments.md} +0 -0
@@ -18,7 +18,7 @@ Use control adapters for precise placements and contacts. Set strength and suppo
18
18
 
19
19
  ### Geometry and material channels
20
20
 
21
- For a photographed look on built detail, give a neural renderer geometry and material channels and supply lighting separately. The renderer keeps geometry, materials and camera.
21
+ For a photographed look on built detail, give a neural renderer geometry channels and the installed [material channel](../../motion/control-channels.md#channels-to-render), the `albedo` pass, and supply lighting separately. The renderer keeps geometry, base colors and camera.
22
22
 
23
23
  ## Still frames
24
24
 
@@ -10,6 +10,8 @@ Read each model's terms and usage policy before adopting it: territory limits, r
10
10
 
11
11
  ### Video editing and reference generation
12
12
 
13
+ <!-- @source [Ray 3.2 video-to-video guide](https://lumalabs.ai/learning-center/articles/ray-3-2-video-to-video) documents its motion and structure controls. -->
14
+
13
15
  [Runway Aleph 2.0](https://docs.dev.runwayml.com/guides/models.md) edits or restyles one video with timed keyframe images. It has no adherence setting; its [prompt](https://help.runwayml.com/hc/en-us/articles/52150503729171-Aleph-2-0-Prompting-Guide) names what changes. Continue from a chain frame used as the first keyframe.
14
16
 
15
17
  [Seedance](https://docs.byteplus.com/docs/en/modelark/seedance-2-5.md) takes a video to edit or extend, or several reference videos. Its task type and [prompt](https://docs.byteplus.com/docs/en/modelark/seedance-2-5-prompt-guide.md) distinguish those roles and say what each reference supplies. It can extend one video while another remains a reference.
@@ -28,7 +28,7 @@ Write what happens in the request's interval from the [beat records](../../story
28
28
  | Reaction | Each reaction the hint cannot show, such as a facial expression |
29
29
  | Camera | The depth of field and focus the screenplay decides |
30
30
 
31
- Identify each polygon man by screen position, and by the reference token or element name where the model binds references. Write the reactions in the order the hint performs the beats.
31
+ Match each depicted person or prop to its [scene identity](../../story/document-layout.md#scene-elements) in the request record. In the prompt, use the model's reference token where available and describe a distinguishing feature or starting position. Track the same subject through crossings and handovers. Write reactions in beat order.
32
32
 
33
33
  State action or camera details the hint does not carry. Where supported, time prompt segments from the performed beat's frames.
34
34
 
@@ -16,28 +16,63 @@ Cloth and hair follow the body only as far as the installed packages simulate th
16
16
 
17
17
  ### Look
18
18
 
19
- The look is the one [project context](../production/project-context.md) records, taken on long work from the settings cinematography record and on a short from the user.
19
+ Use the look adopted in [project context](../production/project-context.md#overview-and-look), including the cinematography record on long work.
20
20
 
21
- Use record and canon materials in the installed format. Get textures and environment maps from [sources](../3d-modeling/sources.md). Use clay for form and beauty for materials under [form inspection](../3d-modeling/inspection.md#light-and-material).
22
-
23
- [Staging](../motion/staging.md#the-view) places each light at its motivated source. A detailed film keys from that source, then adds a fill that sets the look's contrast and an edge or back light where a figure would merge with its background.
24
-
25
- Set one exposure and tone curve for the film among those the renderer offers, tag each color texture as color and each normal or roughness map as data, and keep the grade in the film module, as [source layout](../development/source-layout.md#source) places it.
21
+ Give each detailed entity its surfaces under [materials](../3d-modeling/materials.md).
26
22
 
27
23
  ### Faces and speech
28
24
 
29
25
  Use the representation's supported face, expressions and mouth shapes for scripted expression and speech. Check package APIs and report missing controls.
30
26
 
31
- Take accepted speech from [audio acquisition](../audio/acquisition.md). Drive visemes from service phoneme times or forced alignment of the line to that audio.
27
+ Take accepted speech from [audio acquisition](../audio/acquisition.md). Record the speech model's IPA phoneme chunks in the line's [receipt](../audio/acquisition.md#take-adoption), or, for finer timing, a forced aligner's one-phoneme chunks with the aligner named.
28
+
29
+ Give the film a `speak` member that keeps the mouths the capture and the render hand it. In `seek` and `seekShot`, layer each speaking actor's mouth over the authored expression in the form its representation takes:
30
+
31
+ | Representation | What moves its mouth |
32
+ | --- | --- |
33
+ | The polygon man or the Human | `jaw`, from the line's own loudness, even when the line has phoneme chunks |
34
+ | A VRM or imported model | `visemes` from phoneme chunks, or `aa` from loudness if none |
35
+
36
+ The inspector reads no sound and shows the authored mouth.
37
+
38
+ On stills, check that each shape the installed face performs lands on the frames of its sound, with the mouth closed where the line closes the lips.
39
+
40
+ `render-report.json` measures the lip-sync lag of each phoneme-driven line whose actor the film moved by `visemes`, where a phoneme-driven line has phoneme chunks. A line whose sound leads its mouth by more than 45 ms or trails it by more than 125 ms blocks the render, so correct its phoneme chunks or start frame.
41
+
42
+ The report lists every other line as unmeasured, with a reason `IAutoMovieDialogueLipSync`'s JSDoc in `@automovie/interface` defines. An unmeasured line never blocks. For `mouth-not-drawn`, read the actor's mouth in `seek` and `seekShot`. For `speaker-not-bound`, bind the speaker to one actor in `sound.speakers`.
43
+
44
+ Ask the user to watch and listen to the sync as a whole, because neither stills nor the lag show whether a line is bound to the right actor.
45
+
46
+ ## Light
32
47
 
33
- On stills, check that each shape the installed face performs lands on the frames of its sound, with the mouth closed where the line closes the lips. Ask the user to watch and listen to the sync as a whole, because stills cannot show it.
48
+ ### Light sources
49
+
50
+ [Staging](../motion/staging.md#the-view) places each light at its motivated source, the sun included. A detailed film keys from that source, then adds a fill that sets the look's contrast and an edge or back light where a figure would merge with its background.
51
+
52
+ State light in physical units: lux for the sun and other directional lights, candela for lamps and cd/m² for panels. A practical shows its flame or lit screen as [entity work](../development/entities.md#flames-screens-and-lettering) authors it. An emissive surface lights nothing, so give a screen that should light its surroundings a staged area light. Get environment maps for image lighting from [sources](../3d-modeling/sources.md).
53
+
54
+ ### Indirect light
55
+
56
+ When the scene has image lighting, return `occlusion` from the film's `shading` beside its `optics`, so creases, corners and the ground under each figure darken as the look's contact shadows require. Set its `radius` to the gaps that should darken, about 0.5 m for a room's corners and a figure's footing and less for close-ups of small props.
57
+
58
+ Where the set's own light should bounce, as in an interior lit by practical lamps or by sun through a window, add `probes` to the same `shading`. Put the static set and its lights on the probes' `layer`, and keep moving actors off it so they receive the bounce without casting it. Space the probes about 0.5 to 1 m apart over the lit space, at most 2048 in all and out of walls and furniture where possible. Change `revision` whenever a light or set piece of that layer changes.
34
59
 
35
60
  ## Renderer
36
61
 
37
- Prepare the supported renderer settings here. Inspect them with the README's capture command before assembly renders the final picture. Report missing required effects during delivery review.
62
+ Prepare the light above and the camera response below with the supported renderer settings. Inspect them with the README's capture command before assembly renders the final picture. Report missing required effects during delivery review.
38
63
 
39
64
  Use an external renderer only through a documented scene export. Report unsupported exports. Route neural picture generation to [generated film](generated-film.md).
40
65
 
66
+ ### Camera response
67
+
68
+ Return the camera response from the film's `optics`, in the film module as [source layout](../development/source-layout.md#source) places it. The response holds the exposure in EV100, the white balance as the key light's kelvin, the tone curve, any glare around practical lamps and bright windows, and the adopted grade as ASC CDL values.
69
+
70
+ Without `optics`, physical light renders white, and the film's `shading` and any staged `medium` are refused.
71
+
72
+ Meter each scene's key subject with `meterAutoMovieIlluminance` from `@automovie/engine` under the metering rule [project context](../production/project-context.md#finishing-approach) records, and set `ev100` from `autoMovieIncidentEv100` of its lux. Run `checkAutoMovieExposureContinuity` over the film's cuts, grouped by screenplay scene, and mark each exposure change the screenplay decided with `change: true`. The film's [camera response](../contracts/development/films.md#camera-response) item checks the response.
73
+
74
+ Give the optics a `shutter`, 180 degrees unless the look decides otherwise, and `samples`, so motion blurs as on film. Where a shot decides focus, author `fNumber` on its frame action and fill the optics' `lens` from `resolveAutoMovieLensAt` at each second, so the focus and any focus pull reach the frame.
75
+
41
76
  ## What to look for
42
77
 
43
78
  Check the beauty render at delivery size, under the visual debugging skill, for these:
@@ -50,4 +85,4 @@ Check the beauty render at delivery size, under the visual debugging skill, for
50
85
  - no surfaces pass through each other, wardrobe through body included, and none flicker where they meet;
51
86
  - faces and mouths show what the screenplay decided, with sync left to the user.
52
87
 
53
- Measure camera speed in frame widths per second from the resolved path. [RED's guideline](https://www.reddigitalcinema.com/red-101/camera-panning-speed) is about one frame width per seven seconds at 24 fps with a 180-degree shutter. Ask the user to watch moves above the applicable threshold for judder. Fix observed judder with a slower move, a cut or motion blur.
88
+ Measure camera speed in frame widths per second from the resolved path. [RED's guideline](https://www.reddigitalcinema.com/red-101/camera-panning-speed) is about one frame width per seven seconds at 24 fps with a 180-degree shutter. Ask the user to watch moves above the applicable threshold for judder. Fix observed judder with a slower move, a cut, or the optics' `shutter` and `samples`.
@@ -1,6 +1,6 @@
1
1
  # Finishing
2
2
 
3
- Before [assembly](../production/assembly.md), repair, upscale, conform and match each accepted take in order. Keep derivatives beside the original under [media records](../production/media-records.md#records). Follow [film sound](../audio/film-sound.md) for sound.
3
+ Before [assembly](../production/assembly.md), repair, upscale, conform and match each accepted take in the order of the finishing steps. Composite clean renders as compositing sets. Keep derivatives beside the original under [media records](../production/media-records.md#records). Follow [film sound](../audio/film-sound.md) for sound.
4
4
 
5
5
  ## Finishing steps
6
6
 
@@ -17,8 +17,6 @@ A dubbing model regenerates the head and body around the mouth, follows the take
17
17
 
18
18
  Compare untouched frames at matched times and step through the repair boundaries. Re-encoding can affect both.
19
19
 
20
- Composite legible text, signs and logos in post from their own clean render, because models garble lettering.
21
-
22
20
  ### Upscaling
23
21
 
24
22
  Upscale only the selected, repaired take. Verify identity on stills after generative upscaling and check the [delivery profile](../production/project-context.md#the-delivery-profile).
@@ -39,6 +37,16 @@ Read take color tags. Record one working color space in project context and assi
39
37
 
40
38
  Match neighboring takes in color and exposure by grading, never by regenerating. A shared grain or texture over the film hides their differing sharpness.
41
39
 
40
+ ## Compositing
41
+
42
+ Composite a clean render's graphics over the assembled film. Composite whole 3D subjects over their take, before assembly.
43
+
44
+ Composite legible text, signs, screens and logos in post from their own clean render, because models garble lettering. For surface graphics, flat lettering included, that render is the `graphics` guide pass of the README render command's `--passes` option. Composite it by the alpha convention its `record.json` names. Raised lettering is ordinary geometry and stays out of that pass, so lift it from the beauty pass through its node's mask region.
45
+
46
+ The `graphics` pass goes through a transition as the picture does, so composite it frame for frame, without cutting it at the transition.
47
+
48
+ To composite whole 3D subjects over a generated take, render the film with the README render command's `--background transparent` option. Use either render only under the [render report check](../production/media-records.md#render-reports) of its folder.
49
+
42
50
  ## Provenance and disclosure
43
51
 
44
52
  Record credentials and watermarks under [media records](../production/media-records.md#records). Preserve signed originals and required markers. Pass them to [assembly](../production/assembly.md#repair-and-delivery).
@@ -22,3 +22,4 @@ The model's accepted inputs and output limits determine how scenes become reques
22
22
  6. Write each request's [prompt](diffusion/prompts.md).
23
23
  7. With the prerequisites met, submit, inspect and adopt takes under [generation](generation.md).
24
24
  8. Repair, upscale, conform and match the accepted takes under [finishing](finishing.md).
25
+ 9. Composite clean renders under [compositing](finishing.md#compositing).
@@ -18,6 +18,8 @@ Check the provider's content policy, including refusal billing and account limit
18
18
 
19
19
  ### Inspection and choice
20
20
 
21
+ <!-- @source [fal’s clay-render case study](https://blog.fal.ai/from-clay-3d-render-to-a-real-action-short-a-3d-to-ai-pipeline-with-total-control/) describes correcting the framing in the source camera. -->
22
+
21
23
  Generate the recorded number of takes and choose among them before changing the prompt. Where supported, choose among drafts and follow the model's documented path to a final take.
22
24
 
23
25
  Compare [extracted stills](../visual-debugging/capture.md#times) with matched hint frames under [comparison](../visual-debugging/comparison.md). Check contacts and outcomes first, then identity, placement, camera and motion. Choose for fidelity to the beat. Have the user judge playback and any commissioned sound.
@@ -35,6 +37,8 @@ Preserve action, identity and causality through cuts. Repair framing in the hint
35
37
 
36
38
  ### Placement in time
37
39
 
40
+ <!-- @source The [FFmpeg filter guide](https://ffmpeg.org/ffmpeg-filters.html) covers trim, setpts and fps. -->
41
+
38
42
  Place takes by decoded timestamps and time base. Keep trims, retimes and rebases distinct. Preserve required material when aligning streams. Avoid truncation or silent padding that hides loss.
39
43
 
40
44
  Where an extension returns its input joined to the new part, place only the new part. An edit can return slightly shorter than its input, so measure it, and recheck a new take, trim or speed change against its neighbors.
@@ -4,6 +4,8 @@ A request is one planned generation: an interval of the motion hint with its inp
4
4
 
5
5
  ## Intervals
6
6
 
7
+ <!-- @source The [OpenTimelineIO time range guide](https://opentimelineio.readthedocs.io/en/latest/tutorials/time-ranges.html) distinguishes trimmed media from the frames a transition needs. -->
8
+
7
9
  End requests at screenplay cuts unless the model handles several shots. Disable automatic cuts for a continuous shot. Use hint-based cuts where frame accuracy matters.
8
10
 
9
11
  Split a long shot at a beat boundary or held pose only when the model's length requires it. Avoid splits during contact or dialogue. Time beats from the rendered hint frames.
@@ -39,8 +41,12 @@ Give each input one role, and state it in the prompt under [input roles](diffusi
39
41
  - the accepted previous take, for continuing its motion under [continuity](diffusion/continuity.md#chaining-requests);
40
42
  - accepted dialogue audio or a voice reference, for commissioned speech where the model takes one.
41
43
 
42
- [Hints](diffusion/hints.md) sets how each input reaches the model. Render the request's hint and channels under [control channels](../motion/control-channels.md) at the model's frame rate, frame grid and size.
44
+ [Hints](diffusion/hints.md) sets how each input reaches the model. Render the request's hint and channels under [control channels](../motion/control-channels.md) at the model's frame rate and size. Never resample a channel afterwards, because resampling blends depth values and mask colors.
45
+
46
+ The render draws at the film's `fps`, `width` and `height`. For the delivered render, they keep the delivery profile's values.
47
+
48
+ A channel render is a render for a video request, with or without the README render command's `--passes` option. Before it, set the film's `fps`, `width` and `height` to the model's frame rate and size for that render only. Keep `durationSeconds` a whole number of frames at that rate.
43
49
 
44
50
  ## Record
45
51
 
46
- Add to each request's [record](../production/media-records.md#records) its scene file, the hint interval with the beat addresses it covers, its adherence and each input with its role.
52
+ Add to each request's [record](../production/media-records.md#records) its scene file, the hint interval with the beat addresses it covers, its adherence and each input with its role. Take the interval's output frames from a [trusted render report](../production/media-records.md#render-reports)'s `cut`. When the request is conditioned on guide passes, name `videos/controls/record.json` in its `IAutoMovieGeneratedAcquisition.inputs` and record the passes and the frame range it used.
@@ -5,7 +5,7 @@ description: Captures, compares and corrects a production's pictures.
5
5
 
6
6
  # Visual debugging
7
7
 
8
- Readiness or numerical success proves no appearance; only an observed picture does. You read every picture as stills, so each judgment starts from a planned capture. The skill of each subject owns what to look for in its picture.
8
+ Use planned stills to inspect form, placement and contact. Judge pace from [continuous playback](../review/delivery-review.md#video). Each subject's skill sets what to look for.
9
9
 
10
10
  The installed renderer drives both the inspector and capture from one request. Read the production README for commands and the renderer README for request keys. Report missing views, passes or selections before judging.
11
11
 
@@ -1,51 +1,24 @@
1
1
  # AGENTS.md
2
2
 
3
- AutoMovie lets an LLM write a screenplay and turn it into a reproducible 3D motion hint.
4
-
5
- The motion hint can guide video diffusion or be rendered with commissioned [detail](.agents/skills/development/entities.md#detail). A commission can also end at the screenplay, hint or a standalone asset.
3
+ AutoMovie produces screenplays and reproducible 3D motion hints. Follow the [commissioned route](.agents/skills/production/workflow.md#commissioned-outputs) to its delivery.
6
4
 
7
5
  ## Starting work
8
6
 
9
- The main agent is the [director](.agents/skills/production/director.md) for every commission. A worker follows its assigned role and reports to the director.
10
-
11
- At [project intake](.agents/skills/production/project-context.md#intake), confirm the deliverables and which decisions the user wants to make or delegate. For a screenplay, ask which [writing route](.agents/skills/story/workflow/routes.md#who-writes-the-screenplay) they want unless they have already chosen one. Record their answer in `PROJECT.md` before assigning the writer.
12
-
13
- Assign narrative drafting and revision to a writer subagent, including direct writing. When the route calls for Evidence and independent review, assign each to a separate subagent at its stage.
14
-
15
- Inspect each handoff against the commission and the stage's skill. If it falls short, show the responsible worker what needs repair and check the revision before advancing.
7
+ The main agent follows the [director role](.agents/skills/production/director.md). Record delivery scope and decision authority at [intake](.agents/skills/production/project-context.md#intake). Workers follow their assigned stage and report to the director.
16
8
 
17
9
  Resolve project paths from the directory containing `PROJECT.md`. Run commands from the directory whose README documents them.
18
10
 
19
11
  ## Principles
20
12
 
21
- Keep subjects simple and motion detailed.
22
-
23
- - Use the polygon man from `@automovie/human`.
24
- - Use `@automovie/archetypes` for objects, or build a coarse form.
25
- - Compose actions from `@automovie/motions`.
13
+ Build [coarse subjects](.agents/skills/development/entities.md#coarse-first) first and [compose motion](.agents/skills/motion/compose/composition.md#choosing-movement) from the screenplay and research.
26
14
 
27
- Realize the screenplay in code.
15
+ Finish each inspection round before repairing findings together by cause. Follow [delivery review](.agents/skills/review/delivery-review.md#video) for stills, playback and the delivery decision.
28
16
 
29
- - Take every outcome from the screenplay.
30
- - Compute physics only for the response, parts and moments the scene needs.
31
-
32
- Work from evidence and verify the result.
33
-
34
- - Research uncertain details the task depends on. Ask the user if the answer remains unclear or sources still conflict.
35
- - Finish each inspection round, then repair all its findings together by cause.
36
- - Judge pictures on captured stills. Ask the user for observations that require playback or listening.
37
- - Review unprompted as a critical viewer of the depicted practice. Report what you verified.
38
-
39
- Finish the commission. Pause only for a user decision or approval for a destructive or outward-facing action.
17
+ Continue independent work while a required decision or observation is pending. Get approval for destructive or outward-facing actions.
40
18
 
41
19
  ## Attitude
42
20
 
43
- Work with the user.
44
-
45
- - Do the literal request, widening it only when the user hands that over.
46
- - Follow the user's instruction over any skill.
47
- - Answer a question from the user before continuing any work.
48
- - Write everything the user sees in the user's language.
21
+ Follow the user's instructions over skills. Widen the scope only with delegation. Answer the user's questions before resuming work, in the user's language.
49
22
 
50
23
  ## Skills
51
24
 
@@ -53,18 +26,18 @@ Use the [production workflow](.agents/skills/production/workflow.md#commissioned
53
26
 
54
27
  | Skill | Use when |
55
28
  | --- | --- |
56
- | [3d-modeling](.agents/skills/3d-modeling/SKILL.md) | Preparing a subject's form, attachment or commissioned detail |
57
- | [audio](.agents/skills/audio/SKILL.md) | Making commissioned sound, a voice preview or a generated film's sound |
58
- | [automovie](.agents/skills/automovie/SKILL.md) | Choosing or reading an installed package |
59
- | [contracts](.agents/skills/contracts/SKILL.md) | Finding what an item asks and which work answers it |
60
- | [development](.agents/skills/development/SKILL.md) | Writing code, integrations, dependencies, commands or tests |
61
- | [documentation](.agents/skills/documentation/SKILL.md) | Writing a document, README, evidence answer or doc comment |
62
- | [evidence](.agents/skills/evidence/SKILL.md) | Adopting a requirement, configuring checks or recording answers |
63
- | [image](.agents/skills/image/SKILL.md) | Making appearance references, shot frames or views for generation |
64
- | [motion](.agents/skills/motion/SKILL.md) | Composing, extending or verifying motion, staging, camera and channels |
65
- | [production](.agents/skills/production/SKILL.md) | Choosing a commissioned route or managing scope, caches, assembly or handoff |
66
- | [prompting](.agents/skills/prompting/SKILL.md) | Changing `AGENTS.md`, `CLAUDE.md` or a skill |
67
- | [review](.agents/skills/review/SKILL.md) | Reviewing work, accepting deliveries or estimating requested quality |
68
- | [story](.agents/skills/story/SKILL.md) | Researching, planning, writing or repairing narrative |
69
- | [video](.agents/skills/video/SKILL.md) | Finishing the hint as a direct 3D film or a generated film |
70
- | [visual-debugging](.agents/skills/visual-debugging/SKILL.md) | Judging pictures or checking the viewer and capture |
29
+ | [3d-modeling](.agents/skills/3d-modeling/SKILL.md) | Build, rig or detail a 3D subject |
30
+ | [audio](.agents/skills/audio/SKILL.md) | Make sound or preview a voice |
31
+ | [contracts](.agents/skills/contracts/SKILL.md) | Find the checklist and its respondent |
32
+ | [development](.agents/skills/development/SKILL.md) | Change code, dependencies, commands or tests |
33
+ | [documentation](.agents/skills/documentation/SKILL.md) | Write a document or comment |
34
+ | [evidence](.agents/skills/evidence/SKILL.md) | Adopt requirements, configure checks or answer them |
35
+ | [image](.agents/skills/image/SKILL.md) | Make appearance references, shot frames or set views |
36
+ | [motion](.agents/skills/motion/SKILL.md) | Author or verify motion, staging, camera or channels |
37
+ | [multi-agent](.agents/skills/multi-agent/SKILL.md) | Resume an interrupted worker |
38
+ | [production](.agents/skills/production/SKILL.md) | Choose a delivery route, assemble or hand off |
39
+ | [prompting](.agents/skills/prompting/SKILL.md) | Change agent instructions or skills |
40
+ | [review](.agents/skills/review/SKILL.md) | Review work or decide delivery acceptance |
41
+ | [story](.agents/skills/story/SKILL.md) | Research, plan, write or repair narrative |
42
+ | [video](.agents/skills/video/SKILL.md) | Finish a direct 3D or generated film |
43
+ | [visual-debugging](.agents/skills/visual-debugging/SKILL.md) | Capture or inspect pictures |
@@ -1,119 +1,38 @@
1
1
  # {{name}}
2
2
 
3
- Use an LLM to author a complete screenplay and program its motion, staging and camera in 3D. Assemble the result as a reproducible motion hint or finish it as a direct 3D or generated film. Start with the polygon man prepared by the installed Human package and [coarse forms]({{skills}}/development/entities.md#coarse-first) for the other subjects.
3
+ An AutoMovie production for staging and rendering a screenplay as a 3D film or motion hint.
4
4
 
5
5
  ## First run
6
6
 
7
- Use Node.js 22.23.2 or later. Inside an AutoMovie workspace, run `pnpm install` once at the workspace root instead; the other commands still run here.
7
+ Use Node.js 22.23.2 or later and pnpm. If this production belongs to a workspace, run the install at the workspace root and return here to start the inspector.
8
8
 
9
- ```bash
9
+ ```powershell
10
10
  pnpm install
11
- pnpm run lint
12
- pnpm run evidence
13
- pnpm test
11
+ pnpm run dev
14
12
  ```
15
13
 
16
- The project starts with instructions, contracts and a working inspector page over an empty starter film. Passing checks do not complete a production.
14
+ Open the printed URL. The `starter` subject is an empty film for checking that the inspector starts.
17
15
 
18
- Read the [production workflow]({{skills}}/production/workflow.md) for the stages, their handoffs and the skills that own them.
16
+ ## Make a motion hint
19
17
 
20
- Default lint and evidence check ordinary TypeScript source and tests. [Evidence configuration]({{skills}}/evidence/configuration.md) adds the narrative scope and stages to the same configuration.
18
+ Open this directory in your coding agent and record the scope in [`PROJECT.md`](PROJECT.md). Follow the [production workflow]({{skills}}/production/workflow.md) to write the screenplay, stage its scenes and assemble the film. Register each film in [`src/composition/films/index.ts`](src/composition/films/index.ts) so the inspector, capture and render share the same subjects.
21
19
 
22
- ## Films and the inspector
20
+ Install the capture browser and recorder once, then capture a still from the starter.
23
21
 
24
- Each delivered video is one film in `src/composition/films/`, registered in `src/composition/films/index.ts` under its [film name]({{skills}}/development/source-layout.md#source), which its folder's path gives, with its running time, frame rate and optional `width` × `height` delivery raster: 1280 × 720 by default, 720 × 1280 for a vertical short. Each film composes its own scenes; the starter film `src/composition/films/starter.ts` holds an empty one.
25
-
26
- `pnpm run dev` serves [the inspector](http://127.0.0.1:5173/) over the films of `src/subjects.ts`, the same subjects the capture draws. The page holds one request in the capture's grammar: its panels edit it, its address carries it, such as [the starter at 2 seconds through the front view](http://127.0.0.1:5173/?subject=starter&at=2&views=front), and it shows the `automovie capture` command whose options, given to `pnpm run capture`, repeat the picture. A request the capture refuses is refused on the page too, with the reason. Play, pause and seek run the same deterministic performance as export.
27
-
28
- ## Stills
29
-
30
- Run `pnpm run review:setup` once to install the browser. `pnpm run capture --subject <film> [request]` runs `automovie capture --module src/subjects.ts`: it draws each planned still of the film through the delivery render's draw function and writes the stills, contact sheets and a record into `media/capture/<film>/`, as the [render README](https://github.com/samchon/automovie/tree/master/packages/render#capture) describes, exiting non-zero when a cell could not be drawn. `pnpm exec automovie capture --file <video>` captures an encoded file's own frames around its cuts instead of a film.
31
-
32
- The request takes the inspector address's keys, each written with `--` before it. The [render README](https://github.com/samchon/automovie/tree/master/packages/render#request-keys) lists every key with what it asks for and the requirement it serves, including marks, rounds, comparisons and the options that select exact frames or seconds.
33
-
34
- ```bash
35
- pnpm run capture --subject catalog --from 12 --to 14 --events 13.1 --views "right;three-quarter@ortho"
36
- pnpm exec automovie capture --file media/automovie/<film>/videos/film.mp4 --from 60 --to 70
37
- ```
38
-
39
- ## Render and playback
40
-
41
- `pnpm run render --subject <film>` runs `automovie render --module src/subjects.ts`, and `--subject` may be omitted while only one film exists. It draws every frame in the browser `pnpm run review:setup` installs, through the capture's draw function, and encodes them once, picture only, with no server running. `CHROME_PATH` selects another browser and `FFMPEG_PATH` another FFmpeg.
42
-
43
- The render writes `media/automovie/<film>/videos/film.mp4`, or into `--out <dir>`, with `render-report.json` beside it. Export requires a whole number of frames. The report's hashes describe the drawn frames, and [delivery review]({{skills}}/review/delivery-review.md) judges the film.
44
-
45
- With `pnpm run dev` running, `pnpm run review --url <inspector-address> --seconds <s>` runs `automovie review`: it presses the inspector's Play button and records real-time playback as a video, with the time readout it showed and the page's errors, into `media/automovie/review/` or `--out <dir>`, for the user to watch. `pnpm run review:setup` installs its recording FFmpeg and headless Chromium.
46
-
47
- ## Physical performance
48
-
49
- [Physical feedback]({{skills}}/motion/physical-feedback.md) defines when to simulate. Read the installed Engine's README and types for its simulation and playback APIs.
50
-
51
- `pnpm run physics <input-module.ts> <output.amphys> [maximum-bytes]` computes a simulated performance once from a Node module exporting `createPhysicalInput()` and writes the archive with its JSON manifest, 256 MiB at most by default. Keep the archive as a [stage cache]({{skills}}/production/stage-caches.md) under `.cache/` and regenerate it after changing physical inputs; playback, seeking and capture read it through the Engine's physical playback, which checks it against the current input's identity.
52
-
53
- Supply `IFilmProduction.performance` from the displayed state: `src/markFilmProduction.ts` hands it to the inspection in every host, and `marks=joint,bone,contact` draws its skeleton and contact forces. The starter's empty scene supplies none.
54
-
55
- ### Save and branch a Human take
56
-
57
- Register a take in a project-relative TypeScript module that exports `createMotionTakeSource()`. Return the [source inputs](src/executable/motionTake/IMotionTakeSource.ts), including the normal edit plan and built shots, the Human owner input for the selected shot, and any data files read outside the module graph. Register each callback used by the owner under a stable ID and version with its rebuilt function value. Keep referenced source and data files available when moving the project.
58
-
59
- Run these commands from the production directory after choosing unused artifact paths with an existing parent directory.
60
-
61
- ```sh
62
- pnpm run motion:take save src/takes/rehearsal.ts rehearsal.take.json 0.55
63
- pnpm run motion:take open src/takes/rehearsal.ts rehearsal.take.json
64
- pnpm run motion:take branch src/takes/alternate.ts alternate.take.json
65
- pnpm run motion:take open src/takes/alternate.ts alternate.take.json
22
+ ```powershell
23
+ pnpm run review:setup
24
+ pnpm run capture --subject starter --at 2
66
25
  ```
67
26
 
68
- Save time is in edited-sequence seconds. The artifact carries the exact source-shot second, zero-based edit entry and seam side. Give an explicit entry after the seconds during a transition overlap. At a hard cut the default `after` selects the incoming occurrence. Use `before` after the outgoing entry number to save its exact endpoint. The Human owner uses its normal exact-time evaluation at that source instant.
69
-
70
- Open verifies source bytes, data dependencies, provider versions, seeds and placement before returning the saved instant's poses. [The Node API](src/executable/motionTake/openMotionTake.ts) also returns a prepared performance for repeated exact source-time reads. Keep both the prepared replay and the film's editorial mapping for the duration of a preview or render. Start a fresh process after changing source modules or installed packages. Register any runtime-loaded code or data the static import graph cannot discover as project-relative dependencies.
71
-
72
- For an alternate, register a separate take and a `branch` with the saved original's artifact and trusted source module, a count of leading outer sequence groups to retain and the new suffix composition. The save point can lie within a group. The supported join is the start of a replaceable later group. The owner preserves the active group through that join and checks the shared prefix. The original source and artifact remain available to reopen both alternatives. Edit placement and event ownership must agree through the join.
73
-
74
- To draw an admitted take in the browser, use a trusted project subject module that admits the artifact props with `admitMotionTake` and calls [the replay adapter](src/executable/motionTake/replayMotionTake.ts) with its explicitly imported source recipe and, for a branch, the original recipe. Use the returned `performanceAt(sourceSeconds, entry)` in the draw scene's seek, with the film's normal mapping from edited to source time. Passing the entry keeps occurrences before the save's selected entry on the original take. Run `motion:take open` to verify current files, then capture or render the same verified artifact and source in a separate output directory for each alternative.
75
-
76
- ```sh
77
- pnpm exec automovie capture --module src/takeSubjects.ts --props rehearsal.take.json --subject rehearsal --from 0.5 --to 0.75 --out media/capture/rehearsal
78
- ```
27
+ Use your film's subject name when it is ready. Capture writes stills and `record.json` under `media/capture/<film>/`. Run `pnpm run render --subject <film>` to write `film.mp4` and `render-report.json` under `media/automovie/<film>/videos/`.
79
28
 
80
- Version 1 reconstructs authored Human performance, including its supported prop, articulation, contact and event evaluation. It refuses opaque owner callbacks or missing inputs. Native solver snapshot restore and partial raster export resume use separate workflows.
81
-
82
- ## Commands
29
+ ## Checks
83
30
 
84
31
  | Command | Purpose |
85
32
  | --- | --- |
86
- | `pnpm exec ttsc --watch`, run in `test/` | The single compile checker, kept running while you edit; read compile errors from its output |
87
- | `pnpm run lint` | TypeScript and source correctness |
88
- | `pnpm run evidence` | Source and test checklists and the selected path's active evidence obligations |
89
- | `pnpm test` | The exported `test_*` functions under `test/features`; an empty selection fails |
90
- | `pnpm run format` | Source formatting |
91
- | `pnpm run dev` | The inspector page on `127.0.0.1:5173` |
92
- | `pnpm run build` | Bundle the inspector page |
93
- | `pnpm run physics <input-module.ts> <output.amphys> [maximum-bytes]` | Precompute an adopted physical performance outside the browser |
94
- | `pnpm run motion:take save`, `open` or `branch` | Persist, verify or branch a registered Human take |
95
- | `pnpm run render --subject <film>` | Export one film as a picture-only video |
96
- | `pnpm run review --url <address> --seconds <s>` | Record real-time playback of the running inspector page |
97
- | `pnpm run capture --subject <film> [request]` | Stills, sheets and a record of a film, with views, passes, marks and round comparison |
98
- | `pnpm exec automovie capture --file <video> [request]` | Stills of an encoded file's own frames, around its cuts |
99
-
100
- The project uses ES modules with `verbatimModuleSyntax` and `isolatedModules`: mark type-only imports and exports with `type`, and keep each file transformable on its own.
101
-
102
- ## Tests
103
-
104
- `test/index.ts` discovers pure logic unit tests in `test/features/<source path>/test_<name>.ts` through `tsconfig.test.json`. Export a named `test_<name>(): void` or `Promise<void>` function and assert behavior with `node:assert/strict` or `TestValidator` from `@nestia/e2e`. Select test filenames with `pnpm test --include <substring> --exclude <substring>`; repeated options accumulate. Tests call portable logic directly; the inspector page and media inspection run separately.
105
-
106
- ## Project files
107
-
108
- | Path, when used | Holds |
109
- | --- | --- |
110
- | `.agents/skills`, at this project's root or its workspace root | The task entry points `AGENTS.md` lists, their resources and the contracts |
111
- | `PROJECT.md` | The current scope, choices and constraints [project context]({{skills}}/production/project-context.md) defines |
112
- | `index.html`, `src/main.ts`, `vite.config.ts` | The inspector page, its one-call mount of `@automovie/viewer` and the Vite configuration of both pages |
113
- | `evidence.config.ts` | The duties selected through installed `@automovie/evidence`, which `pnpm run evidence` evaluates as the selected native graph |
114
- | `lint.config.ts` | Generic source lint |
115
- | `tsconfig.json` | Compiler settings |
116
- | `tsconfig.test.json` | The scope of pure TypeScript unit tests |
117
- | `package.json` | Dependencies and commands |
33
+ | `pnpm run lint` | Check source and types |
34
+ | `pnpm test` | Run the exported tests |
35
+ | `pnpm run evidence` | Check the production's configured checklists |
36
+ | `pnpm run verify --subject <id>` | Read the current checks for an asset, motion case or film |
118
37
 
119
- [Document layout]({{skills}}/story/document-layout.md), [source layout]({{skills}}/development/source-layout.md) and [media records]({{skills}}/production/media-records.md) own every other location, such as `docs`, `references`, `src`, `test`, `public`, `.env` and `media`, and source layout also owns the dependency direction between source folders.
38
+ Consult the [CLI reference](https://samchon.github.io/automovie/reference/cli/) for capture options and the [delivery review]({{skills}}/review/delivery-review.md) for film acceptance. See the [source layout]({{skills}}/development/source-layout.md) for where to put entities, actions and scenes.
@@ -2,7 +2,7 @@
2
2
  "name": "{{name}}",
3
3
  "private": true,
4
4
  "type": "module",
5
- "version": "0.3.3",
5
+ "version": "0.4.0",
6
6
  "license": "MIT",
7
7
  "description": "An AutoMovie coding-agent production repository.",
8
8
  "engines": {
@@ -12,11 +12,12 @@
12
12
  "lint": "ttsc --cache-dir node_modules/.cache/ttsc --noEmit -p tsconfig.json",
13
13
  "format": "ttsc format --cache-dir node_modules/.cache/ttsc -p tsconfig.json",
14
14
  "evidence": "evidence",
15
- "test": "ttsx --cache-dir node_modules/.cache/ttsc -P tsconfig.test.json test/index.ts",
15
+ "test": "ttsx --cache-dir node_modules/.cache/ttsc -P test/tsconfig.json test/index.ts",
16
16
  "dev": "vite",
17
17
  "build": "vite build",
18
18
  "render": "automovie render --module src/subjects.ts",
19
19
  "capture": "automovie capture --module src/subjects.ts",
20
+ "verify": "automovie verify",
20
21
  "review": "automovie review",
21
22
  "review:setup": "playwright-core install ffmpeg chromium-headless-shell",
22
23
  "physics": "ttsx --cache-dir node_modules/.cache/ttsc -P tsconfig.json src/executable/physics.ts",
@@ -8,9 +8,8 @@ import type { IFilmProduction } from "./IFilmProduction";
8
8
  * folder's path; the Viewer and the render each play one of them.
9
9
  *
10
10
  * @evidence contracts/development/common.md#meaningful-documentation The comment states what a film is, where films are registered and that each Viewer or render plays one; each member states its unit or lifetime.
11
- * @evidence contracts/development/design.md#principled-representation A film is the unit the Viewer mounts and the render exports, so it holds exactly the running time both need and an asynchronous factory that prepares a fresh scene per mount, because real films load assets, measure contacts and decode sound before their first frame; seconds are the shared timebase.
11
+ * @evidence contracts/development/design.md#principled-representation A film is the unit the Viewer mounts and the render exports, so it holds exactly the running time both need and an asynchronous factory that prepares a fresh scene per mount, because real films load assets, measure contacts and decode sound before their first frame; seconds are the shared timebase. No member names a particular film, shot or scene.
12
12
  * @evidence contracts/development/design.md#minimal-and-owned-surface Running time, frame rate, an optional delivery raster and the factory, read by the Viewer entry, the render and capture commands and the seek clamp; the scene contents belong to the film's scenes.
13
- * @evidence contracts/development/design.md#prohibited-design-shortcuts No member names a particular film, shot or scene.
14
13
  */
15
14
  export interface IFilm {
16
15
  /** Running time in seconds; a whole number of frames at `fps`. */
@@ -31,11 +30,7 @@ export interface IFilm {
31
30
  *
32
31
  * @evidence contracts/development/common.md#meaningful-documentation States that each call prepares a fresh scene for one mount and what the progress callback receives.
33
32
  * @evidenceExclude contracts/development/implementation.md#principled-implementation A signature has no body; the film that implements it answers.
34
- * @evidenceExclude contracts/development/implementation.md#clear-and-simple-structure A signature has no body; the film that implements it answers.
35
- * @evidenceExclude contracts/development/implementation.md#prohibited-implementation-shortcuts A signature has no body; the film that implements it answers.
36
33
  * @evidenceExclude contracts/development/implementation.md#efficient-algorithms A signature has no body; the film that implements it answers.
37
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A signature has no body; the film that implements it answers.
38
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources A signature has no body; the film that implements it answers.
39
34
  */
40
35
  create(progress?: (message: string) => void): Promise<IFilmProduction>;
41
36
  }