@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
@@ -1,19 +1,40 @@
1
1
  import type {
2
2
  IAutoMovieContactReceipt,
3
+ IAutoMovieDeliveryContentAudit,
4
+ IAutoMovieDialogueMouths,
5
+ IAutoMovieFilmOptics,
6
+ IAutoMovieFilmShading,
7
+ IAutoMovieFilmSound,
3
8
  IAutoMovieMark,
9
+ IAutoMovieMotionHumanVerdicts,
4
10
  IAutoMoviePhysicalFrame,
11
+ IAutoMoviePhysicalOwnershipEvent,
5
12
  IAutoMoviePhysicalProfile,
13
+ IAutoMoviePhysicalSupportWrench,
6
14
  IAutoMovieRenderSoftPropFrame,
7
15
  } from "@automovie/interface";
16
+ import type {
17
+ IAutoMovieDrawScene,
18
+ IObserveAutoMoviePlacedScene,
19
+ ISelectAutoMoviePlacedChecks,
20
+ observeAutoMoviePlacedCamera,
21
+ observeAutoMovieSceneCollision,
22
+ } from "@automovie/render";
8
23
  import type * as THREE from "three";
9
24
 
10
25
  /**
11
26
  * A mounted film's scene, camera and exact-time performance.
12
27
  *
28
+ * The hosts place the film by `seek`, or by `seekShot` for one shot of its
29
+ * sequence, and read every other member right after a placement. Each reader,
30
+ * from `optics` and `shading` to `softPropsAt`, `beforeDraw`, `marks`, `views`
31
+ * and the inspection sources, describes the film as last placed, the placed
32
+ * shot at its own shot-local time, and takes the film second only to name the
33
+ * picture; only the dialogue mouths follow the film second.
34
+ *
13
35
  * @evidence contracts/development/common.md#meaningful-documentation The comment names what one mount holds; each member states what it owns and when it runs.
14
- * @evidence contracts/development/design.md#principled-representation Playback, seeking and capture all place the scene through one seek per second, so a second reached by any path draws the same state.
15
- * @evidence contracts/development/design.md#minimal-and-owned-surface The hosts read the film scene and placement, optional soft surfaces, and the review sources: physical marks, named views, and film marks.
16
- * @evidence contracts/development/design.md#prohibited-design-shortcuts No playback-only or capture-only member exists; named views move only a separate inspection camera, so the film camera and delivered captures are unchanged.
36
+ * @evidence contracts/development/design.md#principled-representation Playback, seeking and capture all place the scene through one seek per second, so a second reached by any path draws the same state. The one capture-and-delivery-only member is `humanPerformance`, which a whole-performance read costing seconds to minutes keeps out of interactive playback; no playback-only member exists, and named views move only a separate inspection camera, so the film camera and delivered captures are unchanged. `speak` comes from every host that reads the sound files, the capture and the render alike, so stills and delivered frames show the same mouths; the Viewer reads no sound file and shows the authored mouth.
37
+ * @evidence contracts/development/design.md#minimal-and-owned-surface The hosts read the film scene and placement, optional soft surfaces and render-target work, the delivery intent and sound list, the human performance for verdict findings, and the review sources: physical marks, named views, and film marks; they hand the film its dialogue mouths.
17
38
  */
18
39
  export interface IFilmProduction {
19
40
  /** Scene the Viewer renders, owned by this mount. */
@@ -23,23 +44,182 @@ export interface IFilmProduction {
23
44
  camera: THREE.PerspectiveCamera;
24
45
 
25
46
  /**
26
- * Soft prop surfaces for an exact film second, read after the film's own
27
- * seek. Absent leaves all object placement with the film.
47
+ * Soft prop surfaces of the film as last placed, read right after each
48
+ * placement, `seekShot`'s included, with the film second. Absent leaves all
49
+ * object placement with the film.
28
50
  *
29
- * @evidence contracts/development/common.md#meaningful-documentation States the film timebase, placement order and absent behavior.
30
- * @evidenceExclude contracts/development/implementation.md#principled-implementation The film owns the surface producer; this signature has no algorithm.
31
- * @evidenceExclude contracts/development/implementation.md#clear-and-simple-structure The film owns the surface producer; this signature has no body.
32
- * @evidenceExclude contracts/development/implementation.md#prohibited-implementation-shortcuts The signature maintains producer-owned surface data without providing a fallback.
33
- * @evidenceExclude contracts/development/implementation.md#efficient-algorithms The signature chooses no traversal or allocation strategy.
34
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The film owns the evaluation and its already planned solve.
35
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The signature acquires no resources; the film and the draw scene own their lifetimes.
51
+ * @evidence contracts/development/common.md#meaningful-documentation States which placement the surfaces describe, when they are read and the absent behavior.
52
+ * @evidenceExclude contracts/development/implementation.md#principled-implementation The film owns the surface producer; this signature has no algorithm. The signature maintains producer-owned surface data without providing a fallback.
53
+ * @evidenceExclude contracts/development/implementation.md#efficient-algorithms The film owns the surface producer; this signature has no body. The signature chooses no traversal or allocation strategy. The film owns the evaluation and its already planned solve. The signature acquires no resources; the film and the draw scene own their lifetimes.
36
54
  */
37
55
  softPropsAt?: (seconds: number) => readonly IAutoMovieRenderSoftPropFrame[];
38
56
 
39
- /** Inspection mark kinds that may first appear after second zero; `marks` still supplies their actual geometry at the drawn second. */
57
+ /**
58
+ * Additional authored diagnostics for the settled film as last placed, read
59
+ * before inspection masks or review cameras.
60
+ */
61
+ inspectPlaced?: IAutoMovieDrawScene["inspectPlaced"];
62
+
63
+ /**
64
+ * Optional source-owned shot layers, exemptions and motion cells for the
65
+ * settled collision scene, the shot last placed. A sample placed by
66
+ * `seekShot` offers no `place`, so its motion between frames is not
67
+ * subdivided.
68
+ *
69
+ * @evidence contracts/development/common.md#meaningful-documentation States that the film supplies them for the settled sample, which placement it describes and what they scope.
70
+ * @evidenceExclude contracts/development/implementation.md#principled-implementation The film owns the layer producer; this signature has no algorithm. The signature returns producer-owned layers without providing a fallback.
71
+ * @evidenceExclude contracts/development/implementation.md#efficient-algorithms The film owns the layer producer; this signature has no body. The signature chooses no traversal or allocation strategy. The film owns any reuse of its shot layers. The signature acquires no resources; the film and the inspection own their lifetimes.
72
+ */
73
+ inspectionLayers?: (
74
+ sample: IAutoMovieDrawScene.IPlacedSample,
75
+ ) => Parameters<typeof observeAutoMovieSceneCollision>[0]["layers"];
76
+
77
+ /**
78
+ * Independent support, grip, custody and continuity expectations for the
79
+ * settled film as last placed.
80
+ *
81
+ * @evidence contracts/development/common.md#meaningful-documentation States which expectations the film supplies and for which sample.
82
+ * @evidenceExclude contracts/development/implementation.md#principled-implementation The film owns the expectation producer; this signature has no algorithm. The signature returns producer-owned checks without providing a fallback.
83
+ * @evidenceExclude contracts/development/implementation.md#efficient-algorithms The film owns the expectation producer; this signature has no body. The signature chooses no traversal or allocation strategy. The film owns any reuse of its expectations. The signature acquires no resources; the film and the inspection own their lifetimes.
84
+ */
85
+ inspectionChecks?: (
86
+ sample: IAutoMovieDrawScene.IPlacedSample,
87
+ ) => readonly IObserveAutoMoviePlacedScene.ICheck[];
88
+
89
+ /**
90
+ * Subjects the shot last placed requires the delivery camera to show at its
91
+ * placed time: in a transition's first half, the outgoing shot `seekShot`
92
+ * placed.
93
+ *
94
+ * Return only the requirements active then: leaving a subject out before its
95
+ * intended entry, or while the shot means it to be hidden, is how a shot
96
+ * allows off-screen or obscured action. Each returned subject is checked
97
+ * against the delivery projection, crop and aspect for leaving the frame,
98
+ * lying wholly before the near or past the far plane, being cut by the near
99
+ * plane and, as a warning that never blocks delivery, being cut by a side of
100
+ * the frame, with an actor framed by its current pose. `maxOcclusionRatio`
101
+ * adds a pixel-occlusion limit that only the delivery render measures.
102
+ *
103
+ * @evidence contracts/development/common.md#meaningful-documentation States which placement the subjects describe, how omission allows off-screen action, and what each returned subject is checked against.
104
+ * @evidenceExclude contracts/development/implementation.md#principled-implementation The film owns the requirement producer; this signature has no algorithm. The signature returns producer-owned requirements without providing a fallback.
105
+ * @evidenceExclude contracts/development/implementation.md#efficient-algorithms The film owns the requirement producer; this signature has no body. The signature chooses no traversal or allocation strategy. The film owns any reuse of its requirements. The signature acquires no resources; the film and the inspection own their lifetimes.
106
+ */
107
+ inspectionCamera?: (
108
+ sample: IAutoMovieDrawScene.IPlacedSample,
109
+ ) => Parameters<typeof observeAutoMoviePlacedCamera>[0]["targets"];
110
+
111
+ /**
112
+ * The film's human performance and the entity path of each performer, so a
113
+ * capture or a delivery reads its physical bounds as inspection findings.
114
+ *
115
+ * The scaffold asks for it once per capture or delivery run and never in the
116
+ * interactive Viewer, since the report judges the whole performance. A
117
+ * confirmed bound violation then blocks delivery. Absent, the film reports no
118
+ * verdict findings or coverage.
119
+ *
120
+ * @evidence contracts/development/common.md#meaningful-documentation States what the film supplies, when the hosts read it, that the Viewer never does and that a violation blocks delivery.
121
+ * @evidenceExclude contracts/development/implementation.md#principled-implementation The film owns the performance; this signature has no algorithm. The signature returns the film's own performance without providing a fallback.
122
+ * @evidenceExclude contracts/development/implementation.md#efficient-algorithms The film owns the performance; this signature has no body. The signature chooses no traversal or allocation strategy. The reader of the mount asks once per run and keeps the report. The signature acquires no resources; the film owns the performance's lifetime.
123
+ */
124
+ humanPerformance?: () => IAutoMovieMotionHumanVerdicts.ISource;
125
+
126
+ /**
127
+ * The film's camera response as last placed: exposure in EV100, white
128
+ * balance, tone curve, glare and the adopted grade as ASC CDL values. Read
129
+ * right after each placement, before each beauty picture of the Viewer, a
130
+ * capture or the delivered video and before each `graphics` plate, so a
131
+ * transition's outgoing tail, placed by `seekShot`, takes its own exposure,
132
+ * white balance and focus. Absent draws the scene light straight to the
133
+ * display under the renderer's default curve, which suits only light values
134
+ * already scaled to the display.
135
+ *
136
+ * @evidence contracts/development/common.md#meaningful-documentation States what the response holds, which placement it describes, when it is read and for which pictures, and what absence draws.
137
+ * @evidenceExclude contracts/development/implementation.md#principled-implementation The film owns the response producer; this signature has no algorithm. The signature returns producer-owned optics without providing a fallback.
138
+ * @evidenceExclude contracts/development/implementation.md#efficient-algorithms The film owns the response producer; this signature has no body. The signature chooses no traversal or allocation strategy. The film owns any reuse of its optics. The signature acquires no resources; the draw host owns the response stage.
139
+ */
140
+ optics?: (seconds: number) => IAutoMovieFilmOptics;
141
+
142
+ /**
143
+ * The film's indirect shading as last placed: the ambient occlusion of
144
+ * indirect light around each visible point and one diffuse bounce from probes
145
+ * baked over the static set. Read beside `optics` before each beauty picture,
146
+ * and after each sub-frame sample's own placement when `optics` sets
147
+ * `samples`; a member without `optics` is refused. Absent leaves indirect
148
+ * light as the scene's image lighting gives it.
149
+ *
150
+ * @evidence contracts/development/common.md#meaningful-documentation States what the shading holds, which placement it describes, when it is read, its dependency on optics and what absence draws.
151
+ * @evidenceExclude contracts/development/implementation.md#principled-implementation The film owns the shading producer; this signature has no algorithm. The signature returns producer-owned shading without providing a fallback.
152
+ * @evidenceExclude contracts/development/implementation.md#efficient-algorithms The film owns the shading producer; this signature has no body. The signature chooses no traversal or allocation strategy. The film owns any reuse of its shading. The signature acquires no resources; the draw host owns the indirect stage.
153
+ */
154
+ shading?: (seconds: number) => IAutoMovieFilmShading;
155
+
156
+ /**
157
+ * Render-target work for the film as last placed, run on the host's renderer
158
+ * right after each placement, a transition shot's and a sub-frame sample's
159
+ * included, before each picture of the Viewer, a capture or the delivered
160
+ * video: draw the placed shot's surface feeds with `renderFeeds` of the
161
+ * surface graphics `prepareAutoMovieSurfaceGraphics` returned, resolving each
162
+ * feed camera by id and passing the film's `optics` for the same placement,
163
+ * so a screen shows an exposed picture rather than raw scene light. It must
164
+ * leave the renderer's render target as it found it. Absent, no feed is drawn
165
+ * and a feed layer shows an empty target.
166
+ *
167
+ * @evidence contracts/development/common.md#meaningful-documentation States when the work runs, which placement it serves, for which pictures, what it draws, the renderer state it must keep and what absence shows.
168
+ * @evidenceExclude contracts/development/implementation.md#principled-implementation The film owns its feeds; this signature has no algorithm. The signature draws film-owned feeds without providing a fallback.
169
+ * @evidenceExclude contracts/development/implementation.md#efficient-algorithms The film owns its feeds; this signature has no body. The signature chooses no traversal or allocation strategy. The film's surface graphics own their feed targets for every picture. The signature acquires no resources; the film's surface graphics own the feed targets until `dispose`.
170
+ */
171
+ beforeDraw?: (renderer: THREE.WebGLRenderer, seconds: number) => void;
172
+
173
+ /** Optional source intent for the delivered media, including any soundtrack. */
174
+ delivery?: IAutoMovieDeliveryContentAudit.IIntent;
175
+
176
+ /**
177
+ * Optional adopted sound: lines with their receipts, cues, speaker bindings
178
+ * and score ducking, which `pnpm run render` mixes into the delivered
179
+ * soundtrack; a film with a sound list leaves `delivery.audio.path` unset.
180
+ */
181
+ sound?: IAutoMovieFilmSound;
182
+
183
+ /**
184
+ * Takes the dialogue mouths of `sound`'s lines, handed once before the first
185
+ * frame by the capture and the render. Keep them, and in `seek` and
186
+ * `seekShot` read each speaking actor's mouth at the film second placed:
187
+ * `jaw(actor, seconds)` as the jaw opening of a Human or polygon man, or
188
+ * `visemes(actor, seconds)` for `applyExpression` on a VRM or imported model,
189
+ * layered over the authored expression. The render measures the lip sync of
190
+ * each phoneme-driven line whose actor the film moved by `visemes`, on the
191
+ * mouths read here. Absent, no mouth follows the sound. The inspector hands
192
+ * none and shows the authored mouth.
193
+ *
194
+ * @evidence contracts/development/common.md#meaningful-documentation States when the mouths arrive, how and where the film reads each form, what the render measures, and what absence and the Viewer show.
195
+ * @evidenceExclude contracts/development/implementation.md#principled-implementation The film owns its figures; this signature has no algorithm. The signature hands over host-owned mouths without providing a fallback.
196
+ * @evidenceExclude contracts/development/implementation.md#efficient-algorithms The film owns its figures; this signature has no body. The signature chooses no traversal or allocation strategy. The film keeps the one handed sampler for every seek. The film holds the sampler until `dispose`; the draw page owns its record.
197
+ */
198
+ speak?: (mouths: IAutoMovieDialogueMouths) => void;
199
+
200
+ /**
201
+ * The film's cut, layout and declared breaks, so motion is never examined
202
+ * across a cut or break, and whose sequence's transitions every film picture
203
+ * draws through `seekShot`, as it places a shutter sample before an entry's
204
+ * start. Absent treats the whole film as one continuous shot.
205
+ */
206
+ playback?: Pick<
207
+ ISelectAutoMoviePlacedChecks.IContinuity,
208
+ "sequence" | "timeline" | "discontinuities"
209
+ >;
210
+
211
+ /**
212
+ * Inspection mark kinds that may first appear after second zero; `marks`
213
+ * still supplies their actual geometry at the drawn second.
214
+ */
40
215
  markKinds?: readonly string[];
41
216
 
42
- /** Optional physical review source: `markFilmProduction` draws its bodies' skeleton and its contact forces as `joint`, `bone` and `contact` marks. */
217
+ /**
218
+ * Optional physical review source: `markFilmProduction` draws its bodies'
219
+ * skeleton, its contact forces and, when supplied, its support allocation as
220
+ * `joint`, `bone`, `contact`, `support/allocated` and `support/shortfall`
221
+ * marks.
222
+ */
43
223
  performance?: {
44
224
  /** Scene ids and profiles for the displayed bodies. */
45
225
  bodies: { id: string; profile: IAutoMoviePhysicalProfile }[];
@@ -47,15 +227,40 @@ export interface IFilmProduction {
47
227
  frame: () => IAutoMoviePhysicalFrame;
48
228
  /** Actual geometric or solved contact episodes. */
49
229
  contacts: () => readonly IAutoMovieContactReceipt[];
50
- /** Inspection vector length per newton of step-mean force. */
230
+ /**
231
+ * Optional ownership history of the same physics cache or playback, which
232
+ * tells the dynamic bodies a contact must reach from static and kinematic
233
+ * ones. Absent, no contact is flagged as unfelt.
234
+ */
235
+ ownership?: () => readonly IAutoMoviePhysicalOwnershipEvent[];
236
+ /**
237
+ * Optional support wrenches of the same physics cache or playback, with the
238
+ * cache step each governs in seconds (the reciprocal of its rate). Absent,
239
+ * no support marks exist.
240
+ */
241
+ supports?: () => {
242
+ wrenches: readonly IAutoMoviePhysicalSupportWrench[];
243
+ interval: number;
244
+ };
245
+ /**
246
+ * Inspection vector length per newton of contact step-mean force or support
247
+ * force.
248
+ */
51
249
  metresPerNewton: number;
250
+ /**
251
+ * Optional longest contact arrow, metres, such as the height the camera
252
+ * frames around a body; a longer one, as an impact's, is drawn at this
253
+ * length as a `contact/clamped` mark whose label states the clamp. Absent,
254
+ * contact arrows keep their scaled length.
255
+ */
256
+ maximumArrowLength?: number;
52
257
  };
53
258
 
54
259
  /**
55
260
  * Optional named review cameras that the Viewer's `view` parameter selects,
56
261
  * such as a side-on view, one behind each subject or a high 45° view; each
57
- * places the inspection camera for the drawn second and leaves the film
58
- * camera untouched.
262
+ * places the inspection camera for the film as last placed at the drawn
263
+ * second and leaves the film camera untouched.
59
264
  */
60
265
  views?: Readonly<
61
266
  Record<
@@ -70,15 +275,16 @@ export interface IFilmProduction {
70
275
  >;
71
276
 
72
277
  /**
73
- * Optional inspection marks of the film at an exact second: what its owners locate, such as the construction curves of its built forms from `markAutoMovieConstructionCurves`. They are drawn only when an inspection's `marks` parameter names their kinds, in the Viewer and in a capture alike, and the drawn second's marks are asked for after `seek`.
278
+ * Optional inspection marks of the film at an exact second: what its owners
279
+ * locate, such as the construction curves of its built forms from
280
+ * `markAutoMovieConstructionCurves`. They are drawn only when an inspection's
281
+ * `marks` parameter names their kinds, in the Viewer and in a capture alike,
282
+ * and are asked for right after the drawn second's last placement, the shot
283
+ * the picture shows most of, so they describe that shot.
74
284
  *
75
- * @evidence contracts/development/common.md#meaningful-documentation States what the marks locate, when they are drawn and when they are asked for.
285
+ * @evidence contracts/development/common.md#meaningful-documentation States what the marks locate, when they are drawn, when they are asked for and which placement they describe.
76
286
  * @evidenceExclude contracts/development/implementation.md#principled-implementation A signature has no body; the film that implements it answers.
77
- * @evidenceExclude contracts/development/implementation.md#clear-and-simple-structure A signature has no body; the film that implements it answers.
78
- * @evidenceExclude contracts/development/implementation.md#prohibited-implementation-shortcuts A signature has no body; the film that implements it answers.
79
287
  * @evidenceExclude contracts/development/implementation.md#efficient-algorithms A signature has no body; the film that implements it answers.
80
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A signature has no body; the film that implements it answers.
81
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources A signature has no body; the film that implements it answers.
82
288
  */
83
289
  marks?: (seconds: number) => readonly IAutoMovieMark[];
84
290
 
@@ -87,24 +293,42 @@ export interface IFilmProduction {
87
293
  *
88
294
  * @evidence contracts/development/common.md#meaningful-documentation States that the call places every displayed object and the camera for one exact second.
89
295
  * @evidenceExclude contracts/development/implementation.md#principled-implementation A signature has no body; the film that implements it answers.
90
- * @evidenceExclude contracts/development/implementation.md#clear-and-simple-structure A signature has no body; the film that implements it answers.
91
- * @evidenceExclude contracts/development/implementation.md#prohibited-implementation-shortcuts A signature has no body; the film that implements it answers.
92
296
  * @evidenceExclude contracts/development/implementation.md#efficient-algorithms A signature has no body; the film that implements it answers.
93
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A signature has no body; the film that implements it answers.
94
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources A signature has no body; the film that implements it answers.
95
297
  */
96
298
  seek(seconds: number): void;
97
299
 
300
+ /**
301
+ * Places every displayed object and the camera as one shot of
302
+ * `playback.sequence` shows them at its own shot-local `seconds`, during the
303
+ * film second `filmSeconds`: a transition's outgoing shot, which `seek`
304
+ * cannot place because the incoming entry is live there, or a shutter sample
305
+ * or an inspection trail time of a shot outside its span. Read the dialogue
306
+ * mouths at `filmSeconds`; every other member then describes this shot at
307
+ * `seconds`. The hosts place a transition's two shots in either order and the
308
+ * shot the picture shows most of last, so a fade's or a dissolve's first half
309
+ * reads its records on this placement, then dissolve the pictures or dip them
310
+ * through black, as the entry's transition says. `seconds` can fall outside
311
+ * the trim, before its start by up to one shutter interval or a trail's
312
+ * reach, or after its end by up to a trail's reach, into the shot's handles;
313
+ * beyond the shot's own ends the shot holds its end states as its clips
314
+ * clamp. Required when the sequence has a transition: a picture inside one is
315
+ * refused without it, and so is a fitted view whose framing seconds include a
316
+ * second inside one. Without it, a sample or trail time outside a shot's span
317
+ * is placed by `seek` at the shot's nearest live second, so a cut's first
318
+ * frame still shows nothing of the previous shot, with a shorter blur trail.
319
+ *
320
+ * @evidence contracts/development/common.md#meaningful-documentation States what the call places, on which two clocks, which members then describe it, the order the hosts place shots in, what they do with the picture, the times it can be asked for and when it is required.
321
+ * @evidenceExclude contracts/development/implementation.md#principled-implementation A signature has no body; the film that implements it answers.
322
+ * @evidenceExclude contracts/development/implementation.md#efficient-algorithms A signature has no body; the film that implements it answers.
323
+ */
324
+ seekShot?(shot: string, seconds: number, filmSeconds: number): void;
325
+
98
326
  /**
99
327
  * Releases the scene's resources when the Viewer page closes.
100
328
  *
101
329
  * @evidence contracts/development/common.md#meaningful-documentation States what the call releases and when.
102
330
  * @evidenceExclude contracts/development/implementation.md#principled-implementation A signature has no body; the film that implements it answers.
103
- * @evidenceExclude contracts/development/implementation.md#clear-and-simple-structure A signature has no body; the film that implements it answers.
104
- * @evidenceExclude contracts/development/implementation.md#prohibited-implementation-shortcuts A signature has no body; the film that implements it answers.
105
331
  * @evidenceExclude contracts/development/implementation.md#efficient-algorithms A signature has no body; the film that implements it answers.
106
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A signature has no body; the film that implements it answers.
107
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources A signature has no body; the film that implements it answers.
108
332
  */
109
333
  dispose(): void;
110
334
  }
@@ -2,20 +2,17 @@
2
2
  * Admit a finite seek time and clamp it to the closed production interval.
3
3
  * Duration is positive finite seconds; invalid inputs throw before placement.
4
4
  *
5
- * @evidence contracts/development/implementation.md#principled-implementation Math.max and Math.min clamp a finite seek time to the closed interval from zero to the duration; seconds and duration share one timebase, and nonfinite seconds or a nonpositive or nonfinite duration throw before any placement.
6
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One pure function holds the bounds; the Viewer seek and redraw completion in main.ts both import it.
7
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Neither bound is a tuned value: zero and the authored duration are the interval's ends, and no caller or time is special-cased.
5
+ * @evidence contracts/development/implementation.md#principled-implementation Math.max and Math.min clamp a finite seek time to the closed interval from zero to the duration; seconds and duration share one timebase, and nonfinite seconds or a nonpositive or nonfinite duration throw before any placement. Neither bound is a tuned value: zero and the authored duration are the interval's ends, and no caller or time is special-cased.
6
+ * @evidence contracts/development/implementation.md#efficient-algorithms One pure function holds the bounds; the Viewer seek and redraw completion in main.ts both import it. Two comparisons and two finiteness checks cost constant time per call. Each call computes from its two numbers alone; there is no shared work to reuse. Nothing is allocated or retained.
8
7
  * @evidence contracts/development/common.md#meaningful-documentation The comment states the admitted inputs, the closed interval and the throw on invalid input.
9
- * @evidence contracts/development/implementation.md#efficient-algorithms Two comparisons and two finiteness checks cost constant time per call.
10
- * @evidence contracts/development/implementation.md#reuse-equivalent-work Each call computes from its two numbers alone; there is no shared work to reuse.
11
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Nothing is allocated or retained.
12
8
  */
13
9
  export function clampProductionSeconds(
14
10
  seconds: number,
15
11
  duration: number,
16
12
  ): number {
17
- if (!Number.isFinite(seconds)) throw new Error("Seek seconds must be finite");
18
- if (!Number.isFinite(duration) || duration <= 0)
13
+ if (!(duration > 0 && duration < Infinity))
19
14
  throw new Error("Production duration must be positive and finite");
15
+ if (!(seconds > -Infinity && seconds < Infinity))
16
+ throw new Error("Seek time must be within the production clock domain");
20
17
  return Math.max(0, Math.min(duration, seconds));
21
18
  }
@@ -7,13 +7,8 @@ import type { IFilmProduction } from "../../IFilmProduction";
7
7
  * The empty starter film: a fifteen-second neutral scene. Replace it with one
8
8
  * film per film folder, each composing its scenes.
9
9
  *
10
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the starter's length and that each film folder replaces it with a film composing its scenes.
11
- * @evidence contracts/development/implementation.md#principled-implementation The film resolves a fresh scene and camera per mount without loading anything, and its seek updates world matrices for the requested second, so playback, seeking and capture draw the same state.
12
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The film holds only its length and scene assembly; the Viewer entry owns display and the render owns capture.
13
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The starter contains no story, motion or special case; its camera and background are neutral defaults.
14
- * @evidence contracts/development/implementation.md#efficient-algorithms Each seek updates world matrices once, linear in the scene's object count, which is zero here.
15
- * @evidence contracts/development/implementation.md#reuse-equivalent-work One scene and camera serve every seek of a mount.
16
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Each mount owns its scene and camera, and dispose clears the scene when the Viewer page closes.
10
+ * @evidence contracts/development/implementation.md#principled-implementation The film resolves a fresh scene and camera per mount without loading anything, and its seek updates world matrices for the requested second, so playback, seeking and capture draw the same state. The starter contains no story, motion or special case; its camera and background are neutral defaults.
11
+ * @evidence contracts/development/implementation.md#efficient-algorithms The film holds only its length and scene assembly; the Viewer entry owns display and the render owns capture. Each seek updates world matrices once, linear in the scene's object count, which is zero here. One scene and camera serve every seek of a mount. Each mount owns its scene and camera, and dispose clears the scene when the Viewer page closes.
17
12
  */
18
13
  export function starter(): IFilm {
19
14
  return {
@@ -10,9 +10,8 @@ import type {
10
10
  * Trusted production authoring inputs for one replayable Human take.
11
11
  *
12
12
  * @evidence contracts/development/common.md#meaningful-documentation Names the authored edit, shot inputs and provider declarations used to reopen a take.
13
- * @evidence contracts/development/design.md#principled-representation Editorial admission consumes the normal plan and shot types. Human reconstruction consumes its owner input for the selected source shot and an optional authored suffix.
13
+ * @evidence contracts/development/design.md#principled-representation Editorial admission consumes the normal plan and shot types. Human reconstruction consumes its owner input for the selected source shot and an optional authored suffix. No serialized callbacks or poses enter the artifact; source modules rebuild runtime owner inputs and are explicitly selected by the author.
14
14
  * @evidence contracts/development/design.md#minimal-and-owned-surface The installed host adds file and package provenance. The author supplies project identity, data references, explicit bindings and exact motion inputs.
15
- * @evidence contracts/development/design.md#prohibited-design-shortcuts No serialized callbacks or poses enter the artifact; source modules rebuild runtime owner inputs and are explicitly selected by the author.
16
15
  */
17
16
  export interface IMotionTakeSource {
18
17
  /** Stable identity common to all takes in this production. */
@@ -1,17 +1,11 @@
1
- import { createHumanBody } from "@automovie/motions";
2
-
3
1
  import type { IMotionTakeSource } from "./IMotionTakeSource";
4
2
 
5
3
  /**
6
4
  * Reject callable data in an owner input that has no explicit named binding.
7
5
  *
8
6
  * @evidence contracts/development/common.md#meaningful-documentation States the owner input and named-binding requirement.
9
- * @evidence contracts/development/implementation.md#principled-implementation Matches callable values by runtime identity against the trusted module's declarations.
10
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Builds a binding set, then checks the reachable owner data once.
11
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No function is serialized or inferred from its nonportable function name.
12
- * @evidence contracts/development/implementation.md#efficient-algorithms The identity sets prevent duplicate walks and make each bound callable lookup constant time.
13
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Every rebuilt input has a fresh set of callable values.
14
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Visited objects and binding identities are local to the check.
7
+ * @evidence contracts/development/implementation.md#principled-implementation Matches callable values by runtime identity against the trusted module's declarations. No function is serialized or inferred from its nonportable function name.
8
+ * @evidence contracts/development/implementation.md#efficient-algorithms Builds a binding set, then checks the reachable owner data once. The identity sets prevent duplicate walks and make each bound callable lookup constant time. Every rebuilt input has a fresh set of callable values. Visited objects and binding identities are local to the check.
15
9
  */
16
10
  export function assertMotionTakeBindings(source: IMotionTakeSource): void {
17
11
  const bound: Set<unknown> = new Set();
@@ -26,8 +20,7 @@ export function assertMotionTakeBindings(source: IMotionTakeSource): void {
26
20
  const visited: Set<unknown> = new Set();
27
21
  // Canonical bodies rebind their lazy internal readers through the installed owner.
28
22
  for (const input of Object.values(source.human))
29
- for (const performer of input.performers)
30
- if (createHumanBody.owns(performer.body)) visited.add(performer.body);
23
+ for (const performer of input.performers) visited.add(performer.body);
31
24
  /** Traverse runtime owner data without evaluating property getters. */
32
25
  const visit = (value: unknown, field: string): void => {
33
26
  if (typeof value === "function") {
@@ -10,12 +10,8 @@ import { resolveMotionTakePath } from "./resolveMotionTakePath";
10
10
  * edges remain external and are returned by name for version measurement.
11
11
  *
12
12
  * @evidence contracts/development/common.md#meaningful-documentation Defines the source graph and the boundary with installed packages.
13
- * @evidence contracts/development/implementation.md#principled-implementation Reads inputs and imports from the existing esbuild resolver's in-memory compilation metadata and hashes the resolved project-relative files.
14
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Discovers and confines project files, then records the independent installed package edges.
15
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No dynamic module expression that the resolver cannot account for goes unreported, and no bundle is executed or persisted.
16
- * @evidence contracts/development/implementation.md#efficient-algorithms Builds one graph with packages external and streams the digest of each input once.
17
- * @evidence contracts/development/implementation.md#reuse-equivalent-work Multiple imports of the same source produce one canonical graph entry and digest.
18
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The in-memory build output and filesystem reads are local to one call.
13
+ * @evidence contracts/development/implementation.md#principled-implementation Reads inputs and imports from the existing esbuild resolver's in-memory compilation metadata and hashes the resolved project-relative files. No dynamic module expression that the resolver cannot account for goes unreported, and no bundle is executed or persisted.
14
+ * @evidence contracts/development/implementation.md#efficient-algorithms Builds one in-memory graph with packages external. Streams one digest per distinct reference spelling, including the entry and TypeScript config. Different spellings can resolve to the same file and are measured separately. The build output and file streams are local to the call.
19
15
  */
20
16
  export async function collectMotionTakeFiles(
21
17
  root: string,
@@ -5,12 +5,8 @@ import { createReadStream } from "node:fs";
5
5
  * Compute one SHA-256 over the bytes of an authored source or dependency file.
6
6
  *
7
7
  * @evidence contracts/development/common.md#meaningful-documentation States the digest algorithm and input bytes.
8
- * @evidence contracts/development/implementation.md#principled-implementation Updates the digest with the chunks of a binary file stream in order.
9
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Reads one stream into one digest.
10
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No decoding, normalization or stat-based surrogate substitutes for the actual bytes.
11
- * @evidence contracts/development/implementation.md#efficient-algorithms One linear streamed read.
12
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Future calls must detect changed file content.
13
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Async iteration closes the stream and retains no file contents.
8
+ * @evidence contracts/development/implementation.md#principled-implementation Updates the digest with the chunks of a binary file stream in order. No decoding, normalization or stat-based surrogate substitutes for the actual bytes.
9
+ * @evidence contracts/development/implementation.md#efficient-algorithms Reads one stream into one digest. One linear streamed read. Future calls must detect changed file content. Async iteration closes the stream and retains no file contents.
14
10
  */
15
11
  export async function hashMotionTakeFile(file: string): Promise<string> {
16
12
  const hash: ReturnType<typeof createHash> = createHash("sha256");
@@ -26,12 +26,8 @@ import { writeMotionTakeArtifact } from "./writeMotionTakeArtifact";
26
26
  * Only explicitly selected trusted source modules may supply owner inputs.
27
27
  *
28
28
  * @evidence contracts/development/common.md#meaningful-documentation Names the three operations and explains the runtime and source trust boundary.
29
- * @evidence contracts/development/implementation.md#principled-implementation Independently admits the authoring inputs, checks current identities and cut placement, builds a Human runtime and publishes only an admitted artifact.
30
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Selects and verifies the artifact and parent, derives the current anchor and then delegates replay and publication.
31
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Imports no executable path taken from JSON and never replaces the parent or another take.
32
- * @evidence contracts/development/implementation.md#efficient-algorithms Prepares only the selected current cut and any branch parent, then opens only the selected Human shot.
33
- * @evidence contracts/development/implementation.md#reuse-equivalent-work Returns the prepared owner for any number of exact source-time reads without reopening the artifact.
34
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Owner performance lifetime transfers to the caller; no filesystem handles remain open.
29
+ * @evidence contracts/development/implementation.md#principled-implementation Independently admits the authoring inputs, checks current identities and cut placement, builds a Human runtime and publishes only an admitted artifact. Imports no executable path taken from JSON and never replaces the parent or another take.
30
+ * @evidence contracts/development/implementation.md#efficient-algorithms Selects and verifies the artifact and parent, derives the current anchor and then delegates replay and publication. Prepares only the selected current cut and any branch parent, then opens only the selected Human shot. Returns the prepared owner for any number of exact source-time reads without reopening the artifact. Owner performance lifetime transfers to the caller; no filesystem handles remain open.
35
31
  */
36
32
  export async function openMotionTake(props: {
37
33
  root: string;
@@ -9,12 +9,8 @@ import { resolveMotionTakePath } from "./resolveMotionTakePath";
9
9
  * Read and admit the exact bytes of one production-relative artifact.
10
10
  *
11
11
  * @evidence contracts/development/common.md#meaningful-documentation States the file scope and admission of the read bytes.
12
- * @evidence contracts/development/implementation.md#principled-implementation Uses the engine schema gate for untrusted JSON and computes a digest from the same file read.
13
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Resolves the file, reads it and returns the admitted data and digest.
14
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts JSON fields never determine an import or subsequent file read in this operation.
15
- * @evidence contracts/development/implementation.md#efficient-algorithms Reads the artifact once, then parses and hashes it in linear time.
16
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work This is the first read of the selected file in the operation.
17
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Returns the admitted record and digest, without a retained byte buffer or handle.
12
+ * @evidence contracts/development/implementation.md#principled-implementation Uses the engine schema gate for untrusted JSON and computes a digest from the same file read. JSON fields never determine an import or subsequent file read in this operation.
13
+ * @evidence contracts/development/implementation.md#efficient-algorithms Resolves the file, reads it and returns the admitted data and digest. Reads the artifact once, then parses and hashes it in linear time. This is the first read of the selected file in the operation. Returns the admitted record and digest, without a retained byte buffer or handle.
18
14
  */
19
15
  export async function readMotionTakeArtifact(
20
16
  root: string,
@@ -7,12 +7,8 @@ import { hashMotionTakeFile } from "./hashMotionTakeFile";
7
7
  * Measure the lockfile at the nearest pnpm workspace boundary, if present.
8
8
  *
9
9
  * @evidence contracts/development/common.md#meaningful-documentation States the workspace boundary and optional result.
10
- * @evidence contracts/development/implementation.md#principled-implementation Locates the workspace using standard pnpm filenames and hashes its actual lockfile bytes.
11
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Walks toward the workspace root, then measures the associated lockfile once.
12
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts An artifact cannot choose the lockfile; permission and read errors are not treated as absence.
13
- * @evidence contracts/development/implementation.md#efficient-algorithms Tests one file per directory level and only streams the matching lockfile.
14
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Must measure installed inputs again on reopen.
15
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Leaves no open handles or retained lockfile contents.
10
+ * @evidence contracts/development/implementation.md#principled-implementation Locates the workspace using standard pnpm filenames and hashes its actual lockfile bytes. An artifact cannot choose the lockfile; permission and read errors are not treated as absence.
11
+ * @evidence contracts/development/implementation.md#efficient-algorithms Walks toward the workspace root, then measures the associated lockfile once. Tests one file per directory level and only streams the matching lockfile. Must measure installed inputs again on reopen. Leaves no open handles or retained lockfile contents.
16
12
  */
17
13
  export async function readMotionTakeInstalledLock(
18
14
  root: string,
@@ -6,12 +6,8 @@ import path from "node:path";
6
6
  * Looks up the nearest manifest from the importing module's directory.
7
7
  *
8
8
  * @evidence contracts/development/common.md#meaningful-documentation States which version is read and where lookup begins.
9
- * @evidence contracts/development/implementation.md#principled-implementation Searches the same ancestor node_modules directories as standard bare package resolution and reads the first manifest found.
10
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Forms the package manifest address at each ancestor, then reads its recorded version.
11
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Global packages are outside this search, and private manifest exports do not hide the installed version.
12
- * @evidence contracts/development/implementation.md#efficient-algorithms Checks at most one manifest per ancestor before returning.
13
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each invocation obtains the current installed version.
14
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Manifest reads open no persistent handles and return just a version string.
9
+ * @evidence contracts/development/implementation.md#principled-implementation Searches the same ancestor node_modules directories as standard bare package resolution and reads the first manifest found. Global packages are outside this search, and private manifest exports do not hide the installed version.
10
+ * @evidence contracts/development/implementation.md#efficient-algorithms Forms the package manifest address at each ancestor, then reads its recorded version. Checks at most one manifest per ancestor before returning. Each invocation obtains the current installed version. Manifest reads open no persistent handles and return just a version string.
15
11
  */
16
12
  export async function readMotionTakePackageVersion(
17
13
  root: string,
@@ -24,12 +24,8 @@ const LOADED_INSTALL: Map<string, string> = new Map();
24
24
  * A saved manifest can verify input bytes before the source is evaluated.
25
25
  *
26
26
  * @evidence contracts/development/common.md#meaningful-documentation States who chooses the module, the pre-import guard and the provenance this host measures.
27
- * @evidence contracts/development/implementation.md#principled-implementation Independently measures saved input files, verifies the selected module and binds the fixed trusted export and its registered function values.
28
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Separates pre-import checks, source reconstruction and provenance measurement.
29
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No persisted field selects executable code, and the trusted source must register its callable owner inputs.
30
- * @evidence contracts/development/implementation.md#efficient-algorithms Scans the import graph once and reuses the digests of saved files measured before the import.
31
- * @evidence contracts/development/implementation.md#reuse-equivalent-work Static source digests also satisfy matching explicit data dependencies.
32
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Returns source runtime inputs and scalar provenance to the operation without owning persistent handles.
27
+ * @evidence contracts/development/implementation.md#principled-implementation Measures the selected source's static files and installed identities against the saved provenance before importing the author-selected module. Calls its fixed export, checks callable owner inputs by binding identity and includes explicit assets in the provenance the caller verifies.
28
+ * @evidence contracts/development/implementation.md#efficient-algorithms Builds one static graph per call to measure the current inputs. Reuses each static digest for explicit assets with the same reference and hashes the remaining assets after the provider returns. The process retains one digest per measured static file path and one identity per root and install ID to detect changes after a module has loaded. Those records last until process exit, and the call holds no persistent handles.
33
29
  */
34
30
  export async function readMotionTakeSource(
35
31
  root: string,
@@ -15,12 +15,8 @@ import type { IMotionTakeSource } from "./IMotionTakeSource";
15
15
  * A branch retains its original runtime before the owner's continuation seam.
16
16
  *
17
17
  * @evidence contracts/development/common.md#meaningful-documentation States the admitted anchor and the transition between prepared Human runtimes.
18
- * @evidence contracts/development/implementation.md#principled-implementation Uses the same Human compiler for reopen and the owner's continuation gate for a changed suffix.
19
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Selects the named owner input once and returns the compiled runtime along with its source-time selector.
20
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Rejects inconsistent shot ownership or duration instead of adjusting either clock.
21
- * @evidence contracts/development/implementation.md#efficient-algorithms Only the selected shot is compiled; each later selector call tests one seam.
22
- * @evidence contracts/development/implementation.md#reuse-equivalent-work All renderer or authoring reads share the prepared original and branch runtimes.
23
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned Human performance and its preparation lifetime.
18
+ * @evidence contracts/development/implementation.md#principled-implementation Uses the same Human compiler for reopen and the owner's continuation gate for a changed suffix. Rejects inconsistent shot ownership or duration instead of adjusting either clock.
19
+ * @evidence contracts/development/implementation.md#efficient-algorithms Selects the named owner input once and returns the compiled runtime along with its source-time selector. Only the selected shot is compiled; each later selector call tests one seam. All renderer or authoring reads share the prepared original and branch runtimes. The caller owns the returned Human performance and its preparation lifetime.
24
20
  */
25
21
  export function replayMotionTake(
26
22
  source: IMotionTakeSource,