@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
@@ -7,33 +7,46 @@ import { listAutoMovieScaffoldFiles } from "./listAutoMovieScaffoldFiles";
7
7
  import { renderAutoMovieWorkspace } from "./renderAutoMovieWorkspace";
8
8
  import { scaffoldSharedSkillPath } from "./scaffoldSharedSkillPath";
9
9
 
10
- /** The package root: `src` under ttsx and `lib` when published both sit one level below it. */
10
+ /**
11
+ * The package root: `src` under ttsx and `lib` when published both sit one
12
+ * level below it.
13
+ */
11
14
  const PACKAGE: string = path.resolve(__dirname, "..");
12
15
 
13
16
  /**
14
- * Create the files of a new AutoMovie installation as a `{ posixPath: content }` map.
17
+ * Create the files of a new AutoMovie installation as a `{ posixPath: content
18
+ * }` map.
15
19
  *
16
20
  * The map joins scaffold layers with generated files, by `kind`:
17
21
  *
18
- * - `production`: the `instructions` and `production` layers, `pnpm-workspace.yaml` with catalogs and no packages, and `evidence.config.ts` reading the production's own `.agents/skills`.
19
- * - `workspace`: the `instructions` and `workspace` layers, and `pnpm-workspace.yaml` listing `movies/shorts/*`, `movies/series/*` and `packages/*` with the same catalogs.
20
- * - `workspace-production`: the `production` layer, and `evidence.config.ts` reading the workspace root's `../../../.agents/skills`.
22
+ * - `production`: the `instructions` and `production` layers,
23
+ * `pnpm-workspace.yaml` with catalogs and no packages, and
24
+ * `evidence.config.ts` reading the production's own `.agents/skills`.
25
+ * - `workspace`: the `instructions` and `workspace` layers, and
26
+ * `pnpm-workspace.yaml` listing `movies/shorts/*`, `movies/series/*` and
27
+ * `packages/*` with the same catalogs.
28
+ * - `workspace-production`: the `production` layer, and `evidence.config.ts`
29
+ * reading the workspace root's `../../../.agents/skills`.
30
+ *
31
+ * A `$<name>` placeholder under a layer's `.agents/skills` is replaced by the
32
+ * repository skill item the build copied to `generated/skills`. A layer's root
33
+ * `_gitignore` becomes `.gitignore`, because npm pack renames a packed
34
+ * `.gitignore`. `{{name}}` becomes the admitted name and `{{skills}}` the path
35
+ * of the skills the production reads. Line endings become LF. Every
36
+ * `package.json` dependency is a `catalog:` reference: the `automovie` catalog
37
+ * ranges this package's own version, and the others carry the ranges the build
38
+ * read from the repository's `pnpm-workspace.yaml`.
21
39
  *
22
- * A `$<name>` placeholder under a layer's `.agents/skills` is replaced by the repository skill item the build copied to `generated/skills`. A layer's root `_gitignore` becomes `.gitignore`, because npm pack renames a packed `.gitignore`. `{{name}}` becomes the admitted name and `{{skills}}` the path of the skills the production reads. Line endings become LF. Every `package.json` dependency is a `catalog:` reference: the `automovie` catalog ranges this package's own version, and the others carry the ranges the build read from the repository's `pnpm-workspace.yaml`.
40
+ * Instruction Markdown omits reserved `<!-- @source ... -->` lines after shared
41
+ * skills are expanded. A source paragraph leaves one blank line between its
42
+ * heading and the body.
23
43
  *
24
44
  * Nothing is written; the caller writes the map.
25
45
  *
26
46
  * @param props The installation kind and its name.
27
47
  * @returns The files, keyed by path relative to the installation directory.
28
- * @throws When the name is refused, when the build outputs are missing, or when two sources produce the same path.
29
- *
30
- * @evidence contracts/development/implementation.md#principled-implementation Layers are read from the installed package, so the map always matches the shipped scaffold. Catalog ranges come from the build's record of the repository catalogs and the automovie range from this package's own manifest, so a workspace and its productions resolve the release the package belongs to. A duplicate path throws instead of keeping either source.
31
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One function owns the whole map for every kind; the kind decides only which layers are read and which generated files are added, and writing is left to the caller.
32
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No file is named except the generated `pnpm-workspace.yaml` and `evidence.config.ts`, whose content differs by kind, and the root `_gitignore`, whose rename npm pack forces.
33
- * @evidence contracts/development/common.md#meaningful-documentation The comment lists every kind's layers and generated files, the placeholder, rename, token and line-ending rules, the version sources, and what throws.
34
- * @evidence contracts/development/implementation.md#efficient-algorithms Each shipped file is listed and read once, and each content is scanned once for tokens and line endings, so the cost is linear in the scaffold's size plus each directory's sort.
35
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the scaffold as installed now, once per creation.
36
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Files are read with `readFileSync`, which releases its handle before returning; only the returned map, owned by the caller, outlives the call.
48
+ * @throws When the name is refused, when the build outputs are missing, or when
49
+ * two sources produce the same path.
37
50
  */
38
51
  export const createAutoMovieScaffold: (
39
52
  props: IAutoMovieScaffoldProps,
@@ -70,12 +83,28 @@ export const createAutoMovieScaffold: (
70
83
  return files;
71
84
  };
72
85
 
73
- /** Pass every file of one scaffold layer to `add`, expanding shared-skill placeholders and renaming the root `_gitignore`. */
86
+ /**
87
+ * Pass every file of one scaffold layer to `add`, expanding shared-skill
88
+ * placeholders and renaming the root `_gitignore`.
89
+ */
74
90
  const readLayer = (
75
91
  layer: "instructions" | "production" | "workspace",
76
92
  add: (relative: string, content: string) => void,
77
93
  ): void => {
78
94
  const root: string = path.join(PACKAGE, "scaffold", layer);
95
+
96
+ /** Strip the source note while keeping one of its surrounding blank lines. */
97
+ const read = (file: string): string => {
98
+ const text: string = fs.readFileSync(file, "utf8");
99
+ return layer === "instructions" && file.endsWith(".md")
100
+ ? text.replace(
101
+ /(?<=^|\n)(\r?\n)?<!-- @source (?:(?!-->)[^\r\n])+ -->[ \t]*(?:\r?\n|$)(\r?\n)?/gu,
102
+ (_: string, before?: string, after?: string): string =>
103
+ before ?? after ?? "",
104
+ )
105
+ : text;
106
+ };
107
+
79
108
  for (const relative of listAutoMovieScaffoldFiles(root)) {
80
109
  const shared: string | null = scaffoldSharedSkillPath(relative);
81
110
  if (shared === null) {
@@ -94,7 +123,10 @@ const readLayer = (
94
123
  }
95
124
  };
96
125
 
97
- /** The `evidence.config.ts` of a production, reading its own skills or, inside a workspace, the root's. */
126
+ /**
127
+ * The `evidence.config.ts` of a production, reading its own skills or, inside a
128
+ * workspace, the root's.
129
+ */
98
130
  const renderEvidenceConfig = (workspace: boolean): string =>
99
131
  [
100
132
  `import { createEvidenceConfig } from "@automovie/evidence";`,
@@ -109,7 +141,5 @@ const renderEvidenceConfig = (workspace: boolean): string =>
109
141
  ``,
110
142
  ].join("\n");
111
143
 
112
- const read = (file: string): string => fs.readFileSync(file, "utf8");
113
-
114
144
  const toPosix = (relative: string): string =>
115
145
  relative.split(path.sep).join("/");
@@ -2,7 +2,10 @@ import * as fs from "node:fs";
2
2
  import * as path from "node:path";
3
3
 
4
4
  /**
5
- * Directory names the scaffold never ships, whatever a host leaves there: a generated project installs its own dependencies and builds its own caches, so anything under these names is a working artifact of whoever ran a tool inside the scaffold directory.
5
+ * Directory names the scaffold never ships, whatever a host leaves there: a
6
+ * generated project installs its own dependencies and builds its own caches, so
7
+ * anything under these names is a working artifact of whoever ran a tool inside
8
+ * the scaffold directory.
6
9
  */
7
10
  const UNSHIPPED_DIRECTORIES: ReadonlySet<string> = new Set([
8
11
  ".cache",
@@ -11,26 +14,27 @@ const UNSHIPPED_DIRECTORIES: ReadonlySet<string> = new Set([
11
14
  ]);
12
15
 
13
16
  /**
14
- * Compiler outputs, which are never authored scaffold inputs. Every executable scaffold source is TypeScript, and a generated project's loader would prefer an emitted `.js` next to its `.ts`, so an earlier local compilation must not ship its modules, maps, declarations, or build info.
17
+ * Compiler outputs, which are never authored scaffold inputs. Every executable
18
+ * scaffold source is TypeScript, and a generated project's loader would prefer
19
+ * an emitted `.js` next to its `.ts`, so an earlier local compilation must not
20
+ * ship its modules, maps, declarations, or build info.
15
21
  */
16
22
  const UNSHIPPED_FILES: RegExp =
17
23
  /(?:\.(?:c|m)?js(?:\.map)?|\.d\.(?:c|m)?ts|\.tsbuildinfo)$/u;
18
24
 
19
25
  /**
20
- * List every shipped file under `root`, as root-relative paths with the host's separator, in a deterministic order.
26
+ * List every shipped file under `root`, as root-relative paths with the host's
27
+ * separator, in a deterministic order.
21
28
  *
22
- * The walk skips any directory named `.cache`, `.git`, or `node_modules` at any depth, and any file whose name ends in `.js`, `.cjs`, `.mjs`, their `.map`, `.d.ts`, `.d.cts`, `.d.mts`, or `.tsbuildinfo`. Entries that are neither a plain directory nor a plain file, such as symbolic links, are skipped. Each directory's entries are visited in UTF-16 code-unit order of their names, so the listing is identical on every host.
29
+ * The walk skips any directory named `.cache`, `.git`, or `node_modules` at any
30
+ * depth, and any file whose name ends in `.js`, `.cjs`, `.mjs`, their `.map`,
31
+ * `.d.ts`, `.d.cts`, `.d.mts`, or `.tsbuildinfo`. Entries that are neither a
32
+ * plain directory nor a plain file, such as symbolic links, are skipped. Each
33
+ * directory's entries are visited in UTF-16 code-unit order of their names, so
34
+ * the listing is identical on every host.
23
35
  *
24
36
  * @param root Absolute scaffold directory.
25
37
  * @returns The shipped files.
26
- *
27
- * @evidence contracts/development/implementation.md#principled-implementation A depth-first walk over `readdirSync` with file types visits each entry once without a stat per entry; names are compared with relational operators, which order by code unit independent of the host locale, unlike `localeCompare`; skipping symbolic links relies on the premise that the authored scaffold contains none, so a link is never shipped as a copy of its target.
28
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The two exclusion constants are the whole shipping policy and sit beside the walk, so `createAutoMovieScaffold` and the prepare script receive the population without deciding it.
29
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Exclusions are by directory name and output-file shape only, with no exception for any particular file or fixture.
30
- * @evidence contracts/development/common.md#meaningful-documentation The comment lists every excluded directory and file shape, states that links are skipped, and states the path form and the order of the result.
31
- * @evidence contracts/development/implementation.md#efficient-algorithms The walk is linear in the number of entries under `root` plus a per-directory sort of its entries, never descending into an excluded directory, so a populated `node_modules` costs one skipped entry.
32
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call lists the directory as it is on disk now, and each caller lists once per scaffold layer or shared item.
33
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources `readdirSync` opens and closes each directory before returning, the recursion depth equals the scaffold's directory depth, and only the result array is retained, holding one string per shipped file.
34
38
  */
35
39
  export const listAutoMovieScaffoldFiles: (root: string) => string[] = (
36
40
  root: string,
@@ -2,7 +2,10 @@ import * as fs from "node:fs";
2
2
  import * as path from "node:path";
3
3
  import { type Document, isMap, parseDocument, stringify, visit } from "yaml";
4
4
 
5
- /** Catalog dependencies and build policy collected from the shipped manifests at build time. */
5
+ /**
6
+ * Catalog dependencies and build policy collected from the shipped manifests at
7
+ * build time.
8
+ */
6
9
  interface IScaffoldSettings {
7
10
  automovie: string[];
8
11
  catalogs: Record<string, Record<string, string>>;
@@ -12,20 +15,16 @@ interface IScaffoldSettings {
12
15
  /**
13
16
  * Render pnpm settings for a new production or workspace. Given an existing
14
17
  * workspace's directory and YAML, fill missing scaffold catalog entries.
15
- * Existing pins, overrides, workspace members and build policy keep their values.
16
- * A linked SDK supplies missing scoped packages when their sibling manifests
17
- * identify them. Other new entries use the installed scaffold's ranges.
18
+ * Existing pins, overrides, workspace members and build policy keep their
19
+ * values. A linked SDK supplies missing scoped packages when their sibling
20
+ * manifests identify them. Other new entries use the installed scaffold's
21
+ * ranges.
18
22
  *
19
- * @param workspace The new layout or the existing workspace whose catalogs the CLI needs.
20
- * @returns Workspace YAML, byte-for-byte unchanged when every required entry exists.
23
+ * @param workspace The new layout or the existing workspace whose catalogs the
24
+ * CLI needs.
25
+ * @returns Workspace YAML, byte-for-byte unchanged when every required entry
26
+ * exists.
21
27
  * @throws If the shipped settings or workspace YAML cannot be read as required.
22
- * @evidence contracts/development/implementation.md#principled-implementation Both paths resolve the shipped manifests' catalog references from the same build settings and template version. Local SDK lookup requires an existing link and the requested package identity.
23
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The layout selects creation or completion. The YAML document owns edits and the caller owns the write.
24
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The build discovers the dependencies. Package names and workspace layouts follow their published conventions.
25
- * @evidence contracts/development/implementation.md#efficient-algorithms The existing document is parsed once and each required entry is visited once. Only missing SDK entries probe sibling manifests in distinct linked directories.
26
- * @evidence contracts/development/implementation.md#reuse-equivalent-work Both layouts share the resolved defaults. SDK directories are deduplicated per document.
27
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources File reads close synchronously. Parsed settings, document and link directories live for one call.
28
- * @evidence contracts/development/common.md#meaningful-documentation The comment describes each mode, precedence, return value and failure.
29
28
  */
30
29
  export function renderAutoMovieWorkspace(
31
30
  workspace: "production" | "workspace" | { directory: string; source: string },
@@ -107,7 +106,10 @@ export function renderAutoMovieWorkspace(
107
106
  return changed ? document.toString() : workspace.source;
108
107
  }
109
108
 
110
- /** Give this path its own entries, preserving the old values at other uses of its anchor. */
109
+ /**
110
+ * Give this path its own entries, preserving the old values at other uses of
111
+ * its anchor.
112
+ */
111
113
  function isolateMapping(
112
114
  document: Document,
113
115
  keys: string[],
@@ -134,7 +136,10 @@ function mapping(value: unknown, key: string): Map<string, unknown> {
134
136
  throw new Error(`${key} must be a mapping in pnpm-workspace.yaml`);
135
137
  }
136
138
 
137
- /** Resolve a missing scoped SDK package beside the workspace's linked SDK packages. */
139
+ /**
140
+ * Resolve a missing scoped SDK package beside the workspace's linked SDK
141
+ * packages.
142
+ */
138
143
  function linkedSibling(
139
144
  root: string,
140
145
  directories: Set<string>,
@@ -4,20 +4,21 @@ import * as path from "node:path";
4
4
  const PLACEHOLDER: RegExp = /^\$([a-zA-Z0-9_-][a-zA-Z0-9_.-]*)$/u;
5
5
 
6
6
  /**
7
- * The repository skill path a scaffold placeholder stands for, or `null` when the file is not a placeholder.
7
+ * The repository skill path a scaffold placeholder stands for, or `null` when
8
+ * the file is not a placeholder.
8
9
  *
9
- * A placeholder is a file under the scaffold's `.agents/skills` whose name is `$` followed by the name of a repository item at the same place under the repository's `.agents/skills`: `$documentation` stands for the whole `documentation` folder and `development/$repair.md` for the single `development/repair.md` file. The placeholder holds no text; the build copies the item it names and the scaffold reader ships that item in its place, so each shared text has one source.
10
+ * A placeholder is a file under the scaffold's `.agents/skills` whose name is
11
+ * `$` followed by the name of a repository item at the same place under the
12
+ * repository's `.agents/skills`: `$documentation` stands for the whole
13
+ * `documentation` folder and `development/$repair.md` for the single
14
+ * `development/repair.md` file. The placeholder holds no text; the build copies
15
+ * the item it names and the scaffold reader ships that item in its place, so
16
+ * each shared text has one source.
10
17
  *
11
- * @param relative Scaffold-relative file path with the host's separator, as {@link listAutoMovieScaffoldFiles} returns it.
12
- * @returns The named item's path relative to `.agents/skills`, with `/` separators and the `$` removed, or `null`.
13
- *
14
- * @evidence contracts/development/implementation.md#principled-implementation The path is split on the host separator that the listing uses, and the item path keeps every directory between `.agents/skills` and the placeholder, so a placeholder at any depth names the item at the same depth; the name must be one portable segment other than `.` or `..`, so the result cannot leave `.agents/skills`.
15
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One predicate owns the placeholder rule for both the build step that copies the named items and the reader that ships them, so the two cannot disagree on which files are placeholders.
16
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The rule depends only on the `$` prefix and the location under `.agents/skills`, with no list of particular skills or files.
17
- * @evidence contracts/development/common.md#meaningful-documentation The comment defines a placeholder, gives both the folder and file forms, states what the build and the reader do with it, and describes the parameter's separator and the result's form.
18
- * @evidence contracts/development/implementation.md#efficient-algorithms Splitting the path and testing one name is linear in the path length.
19
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call classifies one path from its text alone; there is no shared work to reuse.
20
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only call-local component arrays are allocated; no filesystem resource is acquired.
18
+ * @param relative Scaffold-relative file path with the host's separator, as
19
+ * {@link listAutoMovieScaffoldFiles} returns it.
20
+ * @returns The named item's path relative to `.agents/skills`, with `/`
21
+ * separators and the `$` removed, or `null`.
21
22
  */
22
23
  export const scaffoldSharedSkillPath: (relative: string) => string | null = (
23
24
  relative: string,
@@ -1,27 +0,0 @@
1
- # Testing
2
-
3
- Each exported test function answers this checklist and [common](common.md) from its assertions and execution path, including cases registered by a shared harness.
4
-
5
- ## Behavioral verification
6
-
7
- Exercise the behavior and assert its observable result. Delete checks of repository layout or source text and checks that repeat tuned constants, fitted results or implementation output.
8
-
9
- State the operation exercised, the defect the assertions catch, and the valid behavior they allow.
10
-
11
- ## Independent expectations
12
-
13
- Derive expected values and tolerances from the supported contract, a specification, a physical requirement, a study of the real practice, or another independent reference, never from the implementation under test or a snapshot of its output.
14
-
15
- State that basis, how the assertion would catch a wrong implementation, and any oracle limitation.
16
-
17
- ## Distinguishing cases
18
-
19
- Cover positive, adjacent negative and boundary cases. Identify the input that must change, the meaning to preserve, and any empty, singleton, limit, malformed or failure case the decision requires. Keep the assertions and cases when optimizing runtime.
20
-
21
- State this test's contribution and the cases another test owns.
22
-
23
- ## Execution ownership
24
-
25
- A unit test exercises portable behavior with explicit in-memory inputs. Installation, native builds and real hosts belong to other checks. Playback, renders and listening belong to review. Classify a test by what it runs.
26
-
27
- State the layer, the discoverable entry, and who owns dynamically registered cases.
@@ -1,32 +0,0 @@
1
- ---
2
- name: automovie
3
- description: Maps each production need onto the installed AutoMovie package that provides it.
4
- ---
5
-
6
- # AutoMovie packages
7
-
8
- Find the installed package that owns the capability and read its API before writing code.
9
-
10
- ## Packages
11
-
12
- | Package | Role in the skills | Provides |
13
- | --- | --- | --- |
14
- | `@automovie/archetypes` | Archetypes | An object people use, with its affordances |
15
- | `@automovie/engine` | Engine | Validation, scheduling and film time |
16
- | `@automovie/evidence` | Evidence package | The check of contract answers |
17
- | `@automovie/human` | Human package | A person's body |
18
- | `@automovie/ingest` | Ingest package | Decoding external models and media |
19
- | `@automovie/interface` | Interface package | The types of authored data |
20
- | `@automovie/motions` | Motion vocabulary | What each person or group does |
21
- | `@automovie/recovery` | Recovery package | Curves recovered from a fixed mesh |
22
- | `@automovie/render` | Renderer | Drawing, inspection, capture and encoding |
23
- | `@automovie/viewer` | Viewer | The picture on a page, with playback |
24
- | `automovie` | Command-line tool | Creating productions and running commands |
25
-
26
- The skills use package roles from the table. [Entity work](../development/entities.md#objects) defines affordances.
27
-
28
- ## Reading a package
29
-
30
- Read the installed README for entry points and the public types and JSDoc under `node_modules` for units, limits and refusals.
31
-
32
- Use the installed function or primitive that performs the work. If the API lacks a capability, inspect the owning package's `src/` next to its installed `package.json`. If source is absent, use the repository named in that manifest at the installed version's revision. Follow the nearest implementation's frames, units, ownership and validation conventions when extending it. Send reusable gaps to the package owner.
@@ -1,40 +0,0 @@
1
- # Behavior statements
2
-
3
- ## Studied laws
4
-
5
- 1. A relation names its installed actions and operators, and the screenplay facts it realizes. It studies only what [research](../../../story/planning/research.md#what-needs-a-study) requires; installed defaults and ordinary screenplay choices need no new derivation.
6
- 2. A new motion law performs an action the installed vocabulary cannot express, alone or joined with others. A faulty installed action is never replaced by a new law.
7
- 3. Every constant the behavior adds states its source or derivation, and none was tuned until a scene looked right. Calling a package default adds no new constant to derive.
8
- 4. A motion law's key poses, reach, contact surfaces and variation ranges come from its prior study. A pure rule or table cites the rules it adds and tests their classifications and boundaries against independent expectations.
9
- 5. A motion law scales duration and speed with the body under [time scale](../../../motion/laws/declaration.md#time-scale), and its tests compare results with the study's values.
10
- 6. A relation's tests check its own choice and coordination through the vocabulary's measures under [motion checks](../../../development/testing.md#motion-checks), without repeating the installed actions' internal physical tests.
11
- 7. A person's row or law is registered with the vocabulary under [vocabulary extension](../../../motion/laws/extension.md), so the vocabulary performs it.
12
- 8. A deliberately stylized departure states its factor and reason.
13
-
14
- ## Relational goals
15
-
16
- 1. A relation supplies the actual performer, counterpart target, outcome and synchronization to the installed action. A motion law's goals name effector, target, approach, window and whether the target is frozen or tracked, under [effector goals](../../../motion/laws/authoring.md#writing-a-goal).
17
- 2. No absolute coordinate, offset or tuned joint angle stands in for a goal.
18
- 3. A motion law declares and follows its [out-of-reach rule](../../../motion/laws/authoring.md#out-of-reach). A relation retains the installed action's rule, and neither silently clamps a target.
19
- 4. A motion law declares each contact's window and [support frame](../../../motion/laws/contacts.md#windows-and-support-frames); a relation uses its action's declared events and contacts.
20
- 5. A relation passes the screenplay's outcome to the vocabulary. A new outcome law realizes that outcome class under the studied rules.
21
- 6. What the installed package reports of the action establishes its outcome; a geometric miss stays a failure, and a scheduled impact event alone establishes no contact or solved impulse.
22
- 7. Consequences derive only from computed outcomes.
23
- 8. A motion law's unit tests assert each bound of [motion verification](../../../motion/laws/verification.md) that applies, each taken from the requirement or the study:
24
- - end-effector-to-target distance;
25
- - penetration;
26
- - slip;
27
- - range of motion;
28
- - balance;
29
- - continuity at cuts.
30
- 9. Test motion laws across statures, proportions and the production's partners and props. Test each relation's own cases. Test pure rules and tables over their input domains.
31
-
32
- ## Deterministic evaluation
33
-
34
- 1. A relation shares the film's schedule resolution; it does not resolve a new performance at every sample. Each pose is a pure function of the plan and film time, under [plan and time](../../../motion/laws/declaration.md#plan-and-time).
35
- 2. A motion law plans from the [entry state](../../../motion/laws/declaration.md#entry-state): displayed pose and velocity, planted feet and held objects. A relation preserves that entry through the vocabulary's operators.
36
- 3. A motion law declares its [events and decisive instant](../../../motion/laws/declaration.md#events-and-the-decisive-instant); a relation synchronizes on the installed actions' events.
37
- 4. A motion law declares its [cuts](../../../motion/laws/transitions.md#declared-cuts), windows and kinds. A relation uses those admitted cuts, and an unlisted cut is refused when the plan is built. Pure rules and tables declare their inputs without inventing motion events or cuts.
38
- 5. Variation draws from the installed packages' seeded generator, from a [stream](../../../motion/laws/variation.md#independent-draws) keyed by the film seed and stable identities, never from `Math.random` or a clock.
39
- 6. Variation stays within the domain its cited law bounds, and no seed, skill or member trait changes an outcome class or the count of members an outcome takes.
40
- 7. No result depends on history that only sequential playback builds or on a transient source. Exception: a stated limitation that names the consumer it affects.
@@ -1,32 +0,0 @@
1
- # Composition statements
2
-
3
- ## Screenplay realization
4
-
5
- 1. Realize the standing state and each cited beat as written, including every change in position, camera and sound. For commissioned generation, carry reactions the representation cannot show in the prompt.
6
- 2. Each state continues across cuts until a beat changes it.
7
- 3. A film plays every scene file of its folder in the order of their numbers, with the screenplay's transitions, titles and subtitles, and fills its running time.
8
- 4. A film takes its raster, frame rate and running time from the delivery profile in [project context](../../../production/project-context.md), and its grade and control channels from the screenplay and that record.
9
- 5. The scene's comment opens with its screenplay citation and a summary of what happens.
10
- 6. A `Concretization:` paragraph names each decision the code had to make where the screenplay was vague. It never holds an exchange, an outcome or a reaction, which only the screenplay decides.
11
- 7. The same change records each concretization in the screenplay, under [concretization](../../../story/correction/repair.md#concretization). Exception: a user's fixed screenplay, whose concretizations go to the instructions.
12
- 8. A catalog case composition takes its case parameters and names in its answer's prose the record fact or study section it exhibits, with no evidence tag to it, and the catalog film lists every case the screenplay uses.
13
-
14
- ## Composition only
15
-
16
- 1. The declaration only combines entity capabilities, interaction entry points and consequences, through the operators of the installed motion vocabulary and engine.
17
- 2. It places absolute time only at the screenplay's anchors.
18
- 3. It holds no calculation, constant, coordinate, direct law import, URL parameter, archive load or runtime selection. Each of these is a capability missing from its owner and is added there.
19
- 4. A person's or a group's action reaches the scene through its cast or crowd entity's capability, as a composition of the installed motion vocabulary. Exception: a clip the user chose or the commission supplies, [retargeted](../../../motion/retargeting.md) onto the person.
20
- 5. A refusal from an installed package is repaired at the axis it names, under [refusals](../../../motion/compose/refusals.md). No declaration catches one and carries on, or widens a value to silence it.
21
- 6. The catalog and the film call the same capabilities with the same kind of parameters, and no scene keeps its own variant of a module.
22
- 7. The film resolves once, from one seed.
23
- 8. A defect a film shows is repaired in its module and accepted again in its catalog case, never in the scene.
24
-
25
- ## Living scene
26
-
27
- 1. Every entity performs its role and responds throughout its presence. A hold may retain breathing, gaze and stance sway. Preserve any stillness the screenplay requires.
28
- 2. The scene never falls back to isolated single actions or one axis of movement.
29
- 3. Each beat's spatial change moves its participants between the set's zones and landmarks.
30
- 4. The camera reframes, follows and moves with motivated action. Exception: a fixed view the screenplay decided.
31
- 5. Every secondary action is a layer the composition sets under [composing a performance](../../../motion/compose/composition.md#action-axes) or one the screenplay decided.
32
- 6. Where a study set measurable targets for what a viewer sees and hears, the composed behaviors aim at them, and delivery review then measures them on the picture.
@@ -1,34 +0,0 @@
1
- # Entity statements
2
-
3
- ## Settings realization
4
-
5
- 1. Every fact the entity realizes is named by its record path and anchor, with how it is realized.
6
- 2. Show each cited fact in the entity or identify the consumer that carries it.
7
- 3. Hand off facts the adopted form cannot show. Model them only on a commissioned detail option that can show them.
8
- 4. Derive body parameters from the cast record for a cast member or the scene's standing state for an incidental person. Without a cast layer, use the commissioned appearance record, the screenplay or the standalone asset's instructions, as applicable.
9
- 5. Derive each law, action or archetype parameter from a cited fact and keep it within its owner's range.
10
- 6. Source each measurement from its [study](../../../story/planning/research.md#when-to-study) and section, or from an installed package that supplies the measurement and its source.
11
- 7. Placements, weights, texture coordinates and measurements derive from the subject's generating definition, so changing the detail option moves none of them.
12
- 8. Keep new decisions with the record that owns them. Cite a [short's scene decisions](../../../story/layers/brief.md#what-it-holds) by file and anchor. A directly written screenplay owns its story choices. The instructions own [implementation choices for a fixed screenplay](../../../story/correction/repair.md#concretization) and decisions for a standalone asset.
13
- 9. The same prepared body serves the polygon man and its motion.
14
-
15
- ## Object shape
16
-
17
- 1. The entity is a class with `readonly` fields, constructed only from its cited facts and immutable configuration.
18
- 2. It is composed of small fragments rather than inherited.
19
- 3. It imports no other entity.
20
- 4. Each capability returns an immutable record of what the subject does and to whom, and never a pose, coordinate, offset or time.
21
- 5. Return the installed vocabulary's composition for people and crowds, including [registered extensions](../../../motion/laws/extension.md). Use a commissioned or user-chosen clip only after [retargeting](../../../motion/retargeting.md) it to the person.
22
- 6. State such as equipment by story day, fatigue or a learned habit exists only as an explicit snapshot computed at schedule resolution.
23
- 7. A habit is a trigger-to-response rule, with the trigger and response its fact describes and the timing its research supports.
24
-
25
- ## Controls and source
26
-
27
- 1. The entity exposes the controls its scenes' behaviors and variation use.
28
- 2. A commissioned detail option has each deformation its scenes need, and needs no rig complexity they do not use. A coarse form needs neither.
29
- 3. Every version of the subject the scenes use is a parameter or the seed of this module, and no copy of the module with edited constants exists.
30
- 4. The coarse form is the default, and each commissioned detail builds from the same definition.
31
- 5. A subject an installed package already provides follows the production principles. Its actual producer output reaches the drawing and interaction, including its connection frames; an unused import or a parallel handcrafted model does not establish reuse.
32
- 6. The entity rebuilds from a fixed source with its usage rights.
33
- 7. An adopted or converted asset states which channels and deformation the conversion and the runtime retain.
34
- 8. An object a person holds, uses, sits on, rides or fights with declares the affordances the scenes' actions attach to, under [objects people use](../../../development/entities.md#objects).
@@ -1,9 +0,0 @@
1
- # Brief requirement discovery
2
-
3
- The discovery result covers all instructions, references, assets and planned films under the [common discovery boundary](common.md#requirement-ownership).
4
-
5
- Statements: [statements/discovery/brief.md](../statements/discovery/brief.md).
6
-
7
- ## Instructions and backcast
8
-
9
- Before bulk writing, did discovery assign each consequential instruction to an owner and identify the cast and other subjects that need brief records?
@@ -1,9 +0,0 @@
1
- # Common requirement discovery
2
-
3
- The discovery result answers for the entire inspected layer population. Authors write it where the story document layout puts it, from findings and inspected negatives; the scaffold supplies no completed negative.
4
-
5
- Statements: [statements/discovery/common.md](../statements/discovery/common.md).
6
-
7
- ## Requirement ownership
8
-
9
- Did discovery find each requirement from the instructions, adopted language and production and give it one accountable owner? Record missing creative decisions before selecting their respondents.
@@ -1,9 +0,0 @@
1
- # Script requirement discovery
2
-
3
- The discovery result covers the complete executable scene and partition population under the [common discovery boundary](common.md#requirement-ownership).
4
-
5
- Statements: [statements/discovery/scripts.md](../statements/discovery/scripts.md).
6
-
7
- ## Script requirements
8
-
9
- Did discovery make the work's own execution and presentation rules checkable in each scene that uses them?
@@ -1,9 +0,0 @@
1
- # Settings requirement discovery
2
-
3
- The discovery result covers all instructions, adopted promises, references, assets and planned consumers under the [common discovery boundary](common.md#requirement-ownership).
4
-
5
- Statements: [statements/discovery/settings.md](../statements/discovery/settings.md).
6
-
7
- ## Instructions and backcast
8
-
9
- Before bulk settings writing, was every instruction broken into its consequential elements and given an owner, and was the planned narrative read for what it would otherwise invent? An instruction nobody took apart is kept only by luck.
@@ -1,17 +0,0 @@
1
- # Common expression principles
2
-
3
- Compare each script construction H2 with its parent treatments. Inspect the whole respondent and locate each candidate, its repair or grounds for retention. If there are none, name the inspected scope.
4
-
5
- Statements: [statements/naturalness/common.md](../statements/naturalness/common.md).
6
-
7
- ## Reads as written
8
-
9
- Does each instruction, line, image and detail serve its moment in the adopted language and register? Keep the people, causes and voice legible through the work's chosen means.
10
-
11
- Check only the named failures in the statements. Retain one only under a stated exception.
12
-
13
- ## Expression fidelity
14
-
15
- Would downstream authors derive the same world, events, people, knowledge, values and certainty from the script and its treatments? Judge differences by their effect on facts and scenes.
16
-
17
- Fidelity and natural reception are separate judgments: a faithful passage can still fail to read as written, and a natural one can still have changed the story.
@@ -1,9 +0,0 @@
1
- # Common expression population obligation
2
-
3
- The scripts construction population answers once at file level. Inspect the whole population. Record convergence candidates, locations, repairs and grounds for retention. Name the inspected scope if there are none.
4
-
5
- Statements: [statements/naturalness/obligations/common.md](../../statements/naturalness/obligations/common.md).
6
-
7
- ## Recurrent frames
8
-
9
- Across every scene and release unit, does each recurring form serve the circumstances it appears in? A functionless convergence can fail even when each occurrence reads naturally alone.
@@ -1,9 +0,0 @@
1
- # Realized speech expression population obligation
2
-
3
- The completed script construction population answers once, from all its exchanges.
4
-
5
- Statements: [statements/naturalness/obligations/realized.md](../../statements/naturalness/obligations/realized.md).
6
-
7
- ## Voice distribution
8
-
9
- Compared across the whole, does each recurring speaker keep a voice of their own as relationships and situations change? Plausible lines in each scene do not establish distinct voices across a work.
@@ -1,9 +0,0 @@
1
- # Script expression population obligation
2
-
3
- The complete script construction population answers once for execution rhythm across scenes and release units.
4
-
5
- Statements: [statements/naturalness/obligations/scripts.md](../../statements/naturalness/obligations/scripts.md).
6
-
7
- ## Execution distribution
8
-
9
- Compared across the whole, does the arrangement of entry, action, speech, silence and exit change as the pressure changes? Scenes that change only their people or objects leave the audience experiencing the same scene.
@@ -1,9 +0,0 @@
1
- # Realized speech expression principles
2
-
3
- Each script construction H2 answers from its exchanges with their neighboring action. A settings voice description or a treatment plan cannot answer for speech realization.
4
-
5
- Statements: [statements/naturalness/realized.md](../statements/naturalness/realized.md).
6
-
7
- ## Speech yield
8
-
9
- In context, does each exchange's wording serve its listener, situation and tactic while delivering the inherited result? Judge voice under [speaker plausibility](../principles/realized.md#speaker-plausibility).
@@ -1,9 +0,0 @@
1
- # Script expression principles
2
-
3
- Each script construction H2 answers for the clarity and rhythm of its executable scene, in the same pass as its content. Compare the inherited storyline with its treatments.
4
-
5
- Statements: [statements/naturalness/scripts.md](../statements/naturalness/scripts.md).
6
-
7
- ## Execution rhythm
8
-
9
- Do blocks, speech, directions, silence, interruptions and simultaneous actions make the scene playable at its required pace and pressure? Preserve necessary execution language.
@@ -1,9 +0,0 @@
1
- # Brief population obligations
2
-
3
- Each question has exactly one answering brief file, whose detached construction evidence compares the completed population. Inspect the domains the planned films need, without requiring unused domains or empty files.
4
-
5
- Statements: [statements/obligations/brief.md](../statements/obligations/brief.md).
6
-
7
- ## Coherent brief
8
-
9
- Does every subject required by the [brief's scope](../../../../story/layers/brief.md#what-it-holds) have one findable, consistent record?
@@ -1,9 +0,0 @@
1
- # Common population obligations
2
-
3
- Each question compares the complete declared layer population and has exactly one answering body file, through its detached construction evidence. Questions may have different respondents; individual H2 answers cannot replace these comparisons.
4
-
5
- Statements: [statements/obligations/common.md](../statements/obligations/common.md).
6
-
7
- ## Scope and ownership
8
-
9
- Is each required decision findable and usable at its owning layer, so downstream authors can rely on one source?
@@ -1,9 +0,0 @@
1
- # Settings index population obligations
2
-
3
- The complete index answers each question once, against all sections and the settings files; individual sections cannot establish whole-index coverage.
4
-
5
- Statements: [statements/obligations/index.md](../statements/obligations/index.md).
6
-
7
- ## Canonical navigation
8
-
9
- Does each sibling level name an organizing principle that helps readers find each subject's owner without reconstructing it from copies?
@@ -1,13 +0,0 @@
1
- # Narrative population obligations
2
-
3
- Answer once per completed treatment, script or screenplay population, across all units and boundaries. Read treatments in spans ending at changes of direction. Read scripts and screenplays by partition.
4
-
5
- Statements: [statements/obligations/narratives.md](../statements/obligations/narratives.md).
6
-
7
- ## Continuity and progression
8
-
9
- Followed across every unit and boundary, do events, states and pursuits continue or change for a reason? Local passes cannot show an unsupported reversal, a pursuit that silently stops, or an opposition that stops threatening and so collapses the tension.
10
-
11
- ## Promises and distribution
12
-
13
- Does the whole work keep its promises and vary timing, speech and recurrence with each span's pressure? Check for patterns that local passes miss.