@automovie/template 0.1.0 → 0.2.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 (732) hide show
  1. package/README.md +14 -18
  2. package/generated/pnpm-workspace.json +54 -0
  3. package/{lib → generated}/skills/3d-modeling/conditioning.md +24 -27
  4. package/generated/skills/3d-modeling/crafting/SKILL.md +16 -0
  5. package/generated/skills/3d-modeling/crafting/construction.md +70 -0
  6. package/generated/skills/3d-modeling/crafting/lofting.md +73 -0
  7. package/generated/skills/3d-modeling/crafting/recovery.md +25 -0
  8. package/generated/skills/3d-modeling/diffusion/image-hints.md +30 -0
  9. package/generated/skills/3d-modeling/diffusion/models.md +27 -0
  10. package/generated/skills/3d-modeling/diffusion/prompts.md +9 -0
  11. package/generated/skills/3d-modeling/diffusion/request.md +16 -0
  12. package/generated/skills/3d-modeling/diffusion/shape-hints.md +31 -0
  13. package/generated/skills/3d-modeling/inspection.md +55 -0
  14. package/generated/skills/3d-modeling/modularization.md +25 -0
  15. package/{lib → generated}/skills/3d-modeling/rigging.md +21 -27
  16. package/{lib → generated}/skills/3d-modeling/sources.md +6 -6
  17. package/{lib → generated}/skills/contracts/development/design.md +2 -3
  18. package/{lib → generated}/skills/contracts/development/implementation.md +4 -4
  19. package/{lib → generated}/skills/contracts/development/testing.md +1 -1
  20. package/generated/skills/development/repair.md +13 -0
  21. package/{lib → generated}/skills/documentation/SKILL.md +2 -8
  22. package/generated/skills/documentation/writing.md +63 -0
  23. package/{lib/skills/motion → generated/skills/motion/laws}/authoring.md +13 -9
  24. package/{lib/skills/motion → generated/skills/motion/laws}/contacts.md +3 -1
  25. package/{lib/skills/motion/laws.md → generated/skills/motion/laws/declaration.md} +8 -8
  26. package/generated/skills/motion/laws/transitions.md +37 -0
  27. package/{lib/skills/motion → generated/skills/motion/laws}/variation.md +5 -5
  28. package/{lib/skills/motion → generated/skills/motion/laws}/verification.md +7 -13
  29. package/generated/skills/prompting/SKILL.md +82 -0
  30. package/{lib → generated}/skills/visual-debugging/capture.md +13 -11
  31. package/{lib → generated}/skills/visual-debugging/comparison.md +7 -9
  32. package/{lib → generated}/skills/visual-debugging/correction-rounds.md +13 -13
  33. package/{lib → generated}/skills/visual-debugging/passes.md +9 -9
  34. package/lib/IAutoMovieScaffoldProps.d.ts +14 -6
  35. package/lib/assertScaffoldProjectName.d.ts +1 -1
  36. package/lib/assertScaffoldProjectName.js +1 -1
  37. package/lib/createAutoMovieScaffold.d.ts +27 -0
  38. package/lib/createAutoMovieScaffold.js +145 -0
  39. package/lib/createAutoMovieScaffold.js.map +1 -0
  40. package/lib/index.d.ts +1 -45
  41. package/lib/index.js +1 -45
  42. package/lib/index.js.map +1 -1
  43. package/lib/listAutoMovieScaffoldFiles.d.ts +2 -2
  44. package/lib/listAutoMovieScaffoldFiles.js +2 -2
  45. package/package.json +9 -12
  46. package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +14 -11
  47. package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +7 -9
  48. package/scaffold/instructions/.agents/skills/3d-modeling/diffusion/SKILL.md +20 -0
  49. package/scaffold/instructions/.agents/skills/audio/SKILL.md +10 -21
  50. package/scaffold/instructions/.agents/skills/audio/acquisition.md +24 -12
  51. package/scaffold/instructions/.agents/skills/audio/film-sound.md +25 -0
  52. package/scaffold/instructions/.agents/skills/audio/generated-sound.md +15 -0
  53. package/scaffold/instructions/.agents/skills/audio/sound-effects.md +11 -17
  54. package/scaffold/instructions/.agents/skills/audio/soundtrack.md +5 -0
  55. package/scaffold/instructions/.agents/skills/contracts/SKILL.md +10 -16
  56. package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +5 -5
  57. package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +5 -7
  58. package/scaffold/instructions/.agents/skills/contracts/development/composition.md +12 -8
  59. package/scaffold/instructions/.agents/skills/contracts/development/entities.md +7 -6
  60. package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +20 -20
  61. package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +18 -16
  62. package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +13 -12
  63. package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +13 -15
  64. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +3 -3
  65. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +2 -2
  66. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/narratives.md +1 -1
  67. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/screenplay.md +1 -1
  68. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +2 -2
  69. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/settings.md +1 -1
  70. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/treatments.md +1 -1
  71. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +6 -6
  72. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +3 -3
  73. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +4 -4
  74. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +2 -2
  75. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +4 -4
  76. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +3 -3
  77. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +3 -3
  78. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +3 -7
  79. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +3 -7
  80. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +5 -5
  81. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +3 -3
  82. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +4 -4
  83. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +4 -4
  84. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +3 -7
  85. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +4 -4
  86. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +2 -6
  87. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/common.md +2 -6
  88. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +2 -6
  89. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +5 -5
  90. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +2 -6
  91. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +4 -4
  92. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/review.md +5 -5
  93. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +5 -9
  94. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +3 -7
  95. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +2 -6
  96. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +3 -3
  97. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +4 -7
  98. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +7 -7
  99. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +2 -2
  100. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +3 -4
  101. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +4 -4
  102. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +5 -7
  103. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +2 -2
  104. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +37 -44
  105. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +7 -8
  106. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +4 -4
  107. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +5 -8
  108. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +12 -11
  109. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +3 -3
  110. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +12 -12
  111. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +16 -16
  112. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +7 -5
  113. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +14 -14
  114. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +16 -20
  115. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +7 -10
  116. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +5 -6
  117. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +29 -22
  118. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +13 -15
  119. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +9 -17
  120. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +4 -7
  121. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +8 -7
  122. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +29 -25
  123. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +11 -10
  124. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +18 -18
  125. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +13 -25
  126. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +41 -45
  127. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +16 -16
  128. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +8 -24
  129. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +12 -17
  130. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +7 -8
  131. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +4 -5
  132. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +3 -4
  133. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +3 -3
  134. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +3 -3
  135. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/treatments.md +3 -3
  136. package/scaffold/instructions/.agents/skills/development/SKILL.md +5 -7
  137. package/scaffold/instructions/.agents/skills/development/entities.md +20 -20
  138. package/scaffold/instructions/.agents/skills/development/reuse.md +19 -18
  139. package/scaffold/instructions/.agents/skills/development/source-layout.md +32 -24
  140. package/scaffold/instructions/.agents/skills/development/testing.md +13 -10
  141. package/scaffold/instructions/.agents/skills/direct-film/SKILL.md +51 -0
  142. package/scaffold/instructions/.agents/skills/evidence/SKILL.md +1 -1
  143. package/scaffold/instructions/.agents/skills/evidence/adoption.md +4 -4
  144. package/scaffold/instructions/.agents/skills/evidence/answering.md +2 -4
  145. package/scaffold/instructions/.agents/skills/evidence/configuration.md +8 -8
  146. package/scaffold/instructions/.agents/skills/image/SKILL.md +16 -58
  147. package/scaffold/instructions/.agents/skills/image/canon-references.md +27 -0
  148. package/scaffold/instructions/.agents/skills/image/conditioning.md +27 -0
  149. package/scaffold/instructions/.agents/skills/image/consistency.md +23 -0
  150. package/scaffold/instructions/.agents/skills/image/editing.md +15 -0
  151. package/scaffold/instructions/.agents/skills/image/finishing.md +11 -0
  152. package/scaffold/instructions/.agents/skills/image/models.md +18 -0
  153. package/scaffold/instructions/.agents/skills/image/prompting.md +25 -0
  154. package/scaffold/instructions/.agents/skills/image/turnaround-views.md +13 -0
  155. package/scaffold/instructions/.agents/skills/motion/SKILL.md +31 -47
  156. package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +24 -4
  157. package/scaffold/instructions/.agents/skills/motion/compose/composition.md +58 -0
  158. package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +15 -0
  159. package/scaffold/instructions/.agents/skills/motion/control-channels.md +20 -8
  160. package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +24 -0
  161. package/scaffold/instructions/.agents/skills/motion/diffusion/clips.md +17 -0
  162. package/scaffold/instructions/.agents/skills/motion/diffusion/hints.md +37 -0
  163. package/scaffold/instructions/.agents/skills/motion/diffusion/models.md +24 -0
  164. package/scaffold/instructions/.agents/skills/motion/diffusion/tracing.md +53 -0
  165. package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +8 -12
  166. package/scaffold/instructions/.agents/skills/motion/laws/$verification.md +0 -0
  167. package/scaffold/instructions/.agents/skills/motion/laws/SKILL.md +19 -0
  168. package/scaffold/instructions/.agents/skills/motion/laws/extension.md +35 -0
  169. package/scaffold/instructions/.agents/skills/motion/laws/method-references.md +21 -0
  170. package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +16 -16
  171. package/scaffold/instructions/.agents/skills/motion/retargeting.md +8 -10
  172. package/scaffold/instructions/.agents/skills/motion/segment-review.md +4 -6
  173. package/scaffold/instructions/.agents/skills/motion/staging.md +21 -13
  174. package/scaffold/instructions/.agents/skills/production/SKILL.md +19 -19
  175. package/scaffold/instructions/.agents/skills/production/assembly.md +14 -12
  176. package/scaffold/instructions/.agents/skills/production/captions.md +15 -0
  177. package/scaffold/instructions/.agents/skills/production/media-records.md +13 -12
  178. package/scaffold/instructions/.agents/skills/production/project-context.md +33 -12
  179. package/scaffold/instructions/.agents/skills/production/reorganization.md +13 -0
  180. package/scaffold/instructions/.agents/skills/production/stage-caches.md +11 -11
  181. package/scaffold/instructions/.agents/skills/production/sustained-runs.md +9 -9
  182. package/scaffold/instructions/.agents/skills/review/SKILL.md +3 -5
  183. package/scaffold/instructions/.agents/skills/review/delivery-review.md +25 -29
  184. package/scaffold/instructions/.agents/skills/review/estimation.md +10 -10
  185. package/scaffold/instructions/.agents/skills/review/independent-reading.md +10 -18
  186. package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +10 -36
  187. package/scaffold/instructions/.agents/skills/review/source-review.md +6 -18
  188. package/scaffold/instructions/.agents/skills/story/SKILL.md +11 -11
  189. package/scaffold/instructions/.agents/skills/story/answers.md +27 -0
  190. package/scaffold/instructions/.agents/skills/story/correction/inspection.md +8 -12
  191. package/scaffold/instructions/.agents/skills/story/correction/repair.md +8 -12
  192. package/scaffold/instructions/.agents/skills/story/document-layout.md +9 -12
  193. package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +10 -9
  194. package/scaffold/instructions/.agents/skills/story/layers/brief.md +7 -19
  195. package/scaffold/instructions/.agents/skills/story/layers/notation.md +25 -16
  196. package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +23 -7
  197. package/scaffold/instructions/.agents/skills/story/layers/scripts.md +4 -4
  198. package/scaffold/instructions/.agents/skills/story/layers/settings.md +10 -16
  199. package/scaffold/instructions/.agents/skills/story/layers/shots.md +27 -0
  200. package/scaffold/instructions/.agents/skills/story/layers/treatments.md +4 -4
  201. package/scaffold/instructions/.agents/skills/story/planning/SKILL.md +4 -4
  202. package/scaffold/instructions/.agents/skills/story/planning/direction.md +4 -4
  203. package/scaffold/instructions/.agents/skills/story/planning/discovery.md +8 -7
  204. package/scaffold/instructions/.agents/skills/story/planning/requirements.md +11 -11
  205. package/scaffold/instructions/.agents/skills/story/planning/research.md +24 -11
  206. package/scaffold/instructions/.agents/skills/story/workflow/SKILL.md +14 -0
  207. package/scaffold/instructions/.agents/skills/story/workflow/long.md +38 -0
  208. package/scaffold/instructions/.agents/skills/story/workflow/routes.md +40 -0
  209. package/scaffold/instructions/.agents/skills/story/workflow/short.md +33 -0
  210. package/scaffold/instructions/.agents/skills/video/SKILL.md +12 -21
  211. package/scaffold/instructions/.agents/skills/video/diffusion/SKILL.md +21 -0
  212. package/scaffold/instructions/.agents/skills/video/diffusion/continuity.md +21 -0
  213. package/scaffold/instructions/.agents/skills/video/diffusion/hints.md +14 -0
  214. package/scaffold/instructions/.agents/skills/video/diffusion/models.md +26 -0
  215. package/scaffold/instructions/.agents/skills/video/diffusion/prompts.md +45 -0
  216. package/scaffold/instructions/.agents/skills/video/finishing.md +44 -0
  217. package/scaffold/instructions/.agents/skills/video/generation.md +24 -13
  218. package/scaffold/instructions/.agents/skills/video/requests.md +46 -0
  219. package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +5 -6
  220. package/scaffold/instructions/AGENTS.md +30 -56
  221. package/scaffold/production/PROJECT.md +1 -1
  222. package/scaffold/production/README.md +50 -96
  223. package/scaffold/production/_gitignore +1 -2
  224. package/scaffold/production/index.html +4 -8
  225. package/scaffold/production/lint.config.ts +1 -1
  226. package/scaffold/production/package.json +31 -31
  227. package/scaffold/production/src/IFilm.ts +3 -3
  228. package/scaffold/production/src/IFilmProduction.ts +16 -5
  229. package/scaffold/production/src/composition/films/index.ts +3 -2
  230. package/scaffold/production/src/composition/films/starter.ts +2 -2
  231. package/scaffold/production/src/main.ts +9 -195
  232. package/scaffold/production/src/markFilmProduction.ts +43 -0
  233. package/scaffold/production/src/selectFilm.ts +3 -5
  234. package/scaffold/production/src/subjects.ts +59 -0
  235. package/scaffold/production/vite.config.ts +4 -2
  236. package/scaffold/workspace/README.md +5 -7
  237. package/scaffold/workspace/package.json +1 -1
  238. package/src/IAutoMovieScaffoldProps.ts +15 -6
  239. package/src/assertScaffoldProjectName.ts +1 -1
  240. package/src/createAutoMovieScaffold.ts +152 -0
  241. package/src/index.ts +1 -46
  242. package/src/listAutoMovieScaffoldFiles.ts +2 -2
  243. package/build/resolveTemplateVersions.ts +0 -92
  244. package/build/syncScaffoldInstructions.ts +0 -28
  245. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.d.ts +0 -14
  246. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js +0 -52
  247. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js.map +0 -1
  248. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.d.ts +0 -2
  249. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js +0 -42
  250. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js.map +0 -1
  251. package/lib/AutoMovieScaffoldLayer.d.ts +0 -15
  252. package/lib/AutoMovieScaffoldLayer.js +0 -3
  253. package/lib/AutoMovieScaffoldLayer.js.map +0 -1
  254. package/lib/FILE_ATTRIBUTE_DIRECTORY.d.ts +0 -2
  255. package/lib/FILE_ATTRIBUTE_DIRECTORY.js +0 -6
  256. package/lib/FILE_ATTRIBUTE_DIRECTORY.js.map +0 -1
  257. package/lib/IAutoMovieCatalogVersionProps.d.ts +0 -16
  258. package/lib/IAutoMovieCatalogVersionProps.js +0 -3
  259. package/lib/IAutoMovieCatalogVersionProps.js.map +0 -1
  260. package/lib/IAutoMovieScaffoldSourceEntry.d.ts +0 -18
  261. package/lib/IAutoMovieScaffoldSourceEntry.js +0 -3
  262. package/lib/IAutoMovieScaffoldSourceEntry.js.map +0 -1
  263. package/lib/IAutoMovieTemplateDependencyVersionsProps.d.ts +0 -17
  264. package/lib/IAutoMovieTemplateDependencyVersionsProps.js +0 -3
  265. package/lib/IAutoMovieTemplateDependencyVersionsProps.js.map +0 -1
  266. package/lib/IAutoMovieWorkspacePackageVersions.d.ts +0 -34
  267. package/lib/IAutoMovieWorkspacePackageVersions.js +0 -3
  268. package/lib/IAutoMovieWorkspacePackageVersions.js.map +0 -1
  269. package/lib/IBoundChild.d.ts +0 -71
  270. package/lib/IBoundChild.js +0 -3
  271. package/lib/IBoundChild.js.map +0 -1
  272. package/lib/IBoundChildStatus.d.ts +0 -20
  273. package/lib/IBoundChildStatus.js +0 -3
  274. package/lib/IBoundChildStatus.js.map +0 -1
  275. package/lib/IBoundParent.d.ts +0 -61
  276. package/lib/IBoundParent.js +0 -3
  277. package/lib/IBoundParent.js.map +0 -1
  278. package/lib/IBoundParentStatus.d.ts +0 -14
  279. package/lib/IBoundParentStatus.js +0 -3
  280. package/lib/IBoundParentStatus.js.map +0 -1
  281. package/lib/ICreateResult.d.ts +0 -27
  282. package/lib/ICreateResult.js +0 -3
  283. package/lib/ICreateResult.js.map +0 -1
  284. package/lib/IScaffoldCompletedFilePublicationOutcome.d.ts +0 -16
  285. package/lib/IScaffoldCompletedFilePublicationOutcome.js +0 -3
  286. package/lib/IScaffoldCompletedFilePublicationOutcome.js.map +0 -1
  287. package/lib/IScaffoldCompletedPublication.d.ts +0 -15
  288. package/lib/IScaffoldCompletedPublication.js +0 -3
  289. package/lib/IScaffoldCompletedPublication.js.map +0 -1
  290. package/lib/IScaffoldFileSnapshot.d.ts +0 -24
  291. package/lib/IScaffoldFileSnapshot.js +0 -3
  292. package/lib/IScaffoldFileSnapshot.js.map +0 -1
  293. package/lib/IScaffoldParentPublicationRequest.d.ts +0 -26
  294. package/lib/IScaffoldParentPublicationRequest.js +0 -3
  295. package/lib/IScaffoldParentPublicationRequest.js.map +0 -1
  296. package/lib/IScaffoldPartialFilePublicationOutcome.d.ts +0 -22
  297. package/lib/IScaffoldPartialFilePublicationOutcome.js +0 -3
  298. package/lib/IScaffoldPartialFilePublicationOutcome.js.map +0 -1
  299. package/lib/IScaffoldPhysicalDirectory.d.ts +0 -20
  300. package/lib/IScaffoldPhysicalDirectory.js +0 -3
  301. package/lib/IScaffoldPhysicalDirectory.js.map +0 -1
  302. package/lib/IScaffoldPosixConstants.d.ts +0 -24
  303. package/lib/IScaffoldPosixConstants.js +0 -3
  304. package/lib/IScaffoldPosixConstants.js.map +0 -1
  305. package/lib/IScaffoldPublicationEntry.d.ts +0 -20
  306. package/lib/IScaffoldPublicationEntry.js +0 -3
  307. package/lib/IScaffoldPublicationEntry.js.map +0 -1
  308. package/lib/IScaffoldPublicationFailure.d.ts +0 -18
  309. package/lib/IScaffoldPublicationFailure.js +0 -3
  310. package/lib/IScaffoldPublicationFailure.js.map +0 -1
  311. package/lib/IScaffoldPublicationOptions.d.ts +0 -17
  312. package/lib/IScaffoldPublicationOptions.js +0 -3
  313. package/lib/IScaffoldPublicationOptions.js.map +0 -1
  314. package/lib/IScaffoldPublicationReceipt.d.ts +0 -25
  315. package/lib/IScaffoldPublicationReceipt.js +0 -3
  316. package/lib/IScaffoldPublicationReceipt.js.map +0 -1
  317. package/lib/IScaffoldRefusedFilePublicationOutcome.d.ts +0 -18
  318. package/lib/IScaffoldRefusedFilePublicationOutcome.js +0 -3
  319. package/lib/IScaffoldRefusedFilePublicationOutcome.js.map +0 -1
  320. package/lib/IScaffoldSyncPlan.d.ts +0 -25
  321. package/lib/IScaffoldSyncPlan.js +0 -3
  322. package/lib/IScaffoldSyncPlan.js.map +0 -1
  323. package/lib/IScaffoldSyncProps.d.ts +0 -16
  324. package/lib/IScaffoldSyncProps.js +0 -3
  325. package/lib/IScaffoldSyncProps.js.map +0 -1
  326. package/lib/IWindowsFileInformation.d.ts +0 -20
  327. package/lib/IWindowsFileInformation.js +0 -3
  328. package/lib/IWindowsFileInformation.js.map +0 -1
  329. package/lib/IWindowsLibrary.d.ts +0 -127
  330. package/lib/IWindowsLibrary.js +0 -3
  331. package/lib/IWindowsLibrary.js.map +0 -1
  332. package/lib/SCAFFOLD_SYNC_STATE_FILE.d.ts +0 -4
  333. package/lib/SCAFFOLD_SYNC_STATE_FILE.js +0 -8
  334. package/lib/SCAFFOLD_SYNC_STATE_FILE.js.map +0 -1
  335. package/lib/ScaffoldFilePublicationOutcome.d.ts +0 -14
  336. package/lib/ScaffoldFilePublicationOutcome.js +0 -3
  337. package/lib/ScaffoldFilePublicationOutcome.js.map +0 -1
  338. package/lib/ScaffoldParentChangedError.d.ts +0 -11
  339. package/lib/ScaffoldParentChangedError.js +0 -19
  340. package/lib/ScaffoldParentChangedError.js.map +0 -1
  341. package/lib/ScaffoldPublicationError.d.ts +0 -17
  342. package/lib/ScaffoldPublicationError.js +0 -46
  343. package/lib/ScaffoldPublicationError.js.map +0 -1
  344. package/lib/assertOrdinaryFile.d.ts +0 -13
  345. package/lib/assertOrdinaryFile.js +0 -20
  346. package/lib/assertOrdinaryFile.js.map +0 -1
  347. package/lib/assertOrdinarySingleLinkFile.d.ts +0 -13
  348. package/lib/assertOrdinarySingleLinkFile.js +0 -22
  349. package/lib/assertOrdinarySingleLinkFile.js.map +0 -1
  350. package/lib/assertScaffoldOwnership.d.ts +0 -13
  351. package/lib/assertScaffoldOwnership.js +0 -24
  352. package/lib/assertScaffoldOwnership.js.map +0 -1
  353. package/lib/assertScaffoldPhysicalDirectory.d.ts +0 -16
  354. package/lib/assertScaffoldPhysicalDirectory.js +0 -26
  355. package/lib/assertScaffoldPhysicalDirectory.js.map +0 -1
  356. package/lib/attachScaffoldSyncState.d.ts +0 -18
  357. package/lib/attachScaffoldSyncState.js +0 -30
  358. package/lib/attachScaffoldSyncState.js.map +0 -1
  359. package/lib/captureEmptyScaffoldPhysicalDirectory.d.ts +0 -13
  360. package/lib/captureEmptyScaffoldPhysicalDirectory.js +0 -69
  361. package/lib/captureEmptyScaffoldPhysicalDirectory.js.map +0 -1
  362. package/lib/captureScaffoldFile.d.ts +0 -13
  363. package/lib/captureScaffoldFile.js +0 -67
  364. package/lib/captureScaffoldFile.js.map +0 -1
  365. package/lib/captureScaffoldPhysicalDirectory.d.ts +0 -13
  366. package/lib/captureScaffoldPhysicalDirectory.js +0 -63
  367. package/lib/captureScaffoldPhysicalDirectory.js.map +0 -1
  368. package/lib/combineScaffoldFailures.d.ts +0 -19
  369. package/lib/combineScaffoldFailures.js +0 -32
  370. package/lib/combineScaffoldFailures.js.map +0 -1
  371. package/lib/createAutoMovieCatalogVersionResolver.d.ts +0 -17
  372. package/lib/createAutoMovieCatalogVersionResolver.js +0 -64
  373. package/lib/createAutoMovieCatalogVersionResolver.js.map +0 -1
  374. package/lib/createScaffoldSyncState.d.ts +0 -12
  375. package/lib/createScaffoldSyncState.js +0 -26
  376. package/lib/createScaffoldSyncState.js.map +0 -1
  377. package/lib/createScaffoldVariables.d.ts +0 -25
  378. package/lib/createScaffoldVariables.js +0 -41
  379. package/lib/createScaffoldVariables.js.map +0 -1
  380. package/lib/ensureScaffoldBaseDirectory.d.ts +0 -19
  381. package/lib/ensureScaffoldBaseDirectory.js +0 -89
  382. package/lib/ensureScaffoldBaseDirectory.js.map +0 -1
  383. package/lib/ensureScaffoldFileDirectory.d.ts +0 -25
  384. package/lib/ensureScaffoldFileDirectory.js +0 -103
  385. package/lib/ensureScaffoldFileDirectory.js.map +0 -1
  386. package/lib/inside.d.ts +0 -12
  387. package/lib/inside.js +0 -57
  388. package/lib/inside.js.map +0 -1
  389. package/lib/isScaffoldInstruction.d.ts +0 -12
  390. package/lib/isScaffoldInstruction.js +0 -29
  391. package/lib/isScaffoldInstruction.js.map +0 -1
  392. package/lib/loadWindowsLibrary.d.ts +0 -13
  393. package/lib/loadWindowsLibrary.js +0 -180
  394. package/lib/loadWindowsLibrary.js.map +0 -1
  395. package/lib/mergeScaffoldFiles.d.ts +0 -18
  396. package/lib/mergeScaffoldFiles.js +0 -37
  397. package/lib/mergeScaffoldFiles.js.map +0 -1
  398. package/lib/missingPath.d.ts +0 -12
  399. package/lib/missingPath.js +0 -18
  400. package/lib/missingPath.js.map +0 -1
  401. package/lib/nativeError.d.ts +0 -12
  402. package/lib/nativeError.js +0 -17
  403. package/lib/nativeError.js.map +0 -1
  404. package/lib/openPosixParent.d.ts +0 -13
  405. package/lib/openPosixParent.js +0 -135
  406. package/lib/openPosixParent.js.map +0 -1
  407. package/lib/openWindowsParent.d.ts +0 -13
  408. package/lib/openWindowsParent.js +0 -224
  409. package/lib/openWindowsParent.js.map +0 -1
  410. package/lib/overwriteScaffoldFile.d.ts +0 -22
  411. package/lib/overwriteScaffoldFile.js +0 -214
  412. package/lib/overwriteScaffoldFile.js.map +0 -1
  413. package/lib/physicalDirectoryIdentity.d.ts +0 -15
  414. package/lib/physicalDirectoryIdentity.js +0 -65
  415. package/lib/physicalDirectoryIdentity.js.map +0 -1
  416. package/lib/physicalVersion.d.ts +0 -13
  417. package/lib/physicalVersion.js +0 -18
  418. package/lib/physicalVersion.js.map +0 -1
  419. package/lib/planScaffoldPublication.d.ts +0 -22
  420. package/lib/planScaffoldPublication.js +0 -100
  421. package/lib/planScaffoldPublication.js.map +0 -1
  422. package/lib/planScaffoldSync.d.ts +0 -14
  423. package/lib/planScaffoldSync.js +0 -102
  424. package/lib/planScaffoldSync.js.map +0 -1
  425. package/lib/publishFiles.d.ts +0 -23
  426. package/lib/publishFiles.js +0 -124
  427. package/lib/publishFiles.js.map +0 -1
  428. package/lib/publishNativeScaffoldFile.d.ts +0 -21
  429. package/lib/publishNativeScaffoldFile.js +0 -211
  430. package/lib/publishNativeScaffoldFile.js.map +0 -1
  431. package/lib/publishScaffoldCandidate.d.ts +0 -24
  432. package/lib/publishScaffoldCandidate.js +0 -70
  433. package/lib/publishScaffoldCandidate.js.map +0 -1
  434. package/lib/readAutoMovieScaffoldSources.d.ts +0 -20
  435. package/lib/readAutoMovieScaffoldSources.js +0 -103
  436. package/lib/readAutoMovieScaffoldSources.js.map +0 -1
  437. package/lib/readScaffoldSyncFile.d.ts +0 -16
  438. package/lib/readScaffoldSyncFile.js +0 -64
  439. package/lib/readScaffoldSyncFile.js.map +0 -1
  440. package/lib/renderScaffold.d.ts +0 -19
  441. package/lib/renderScaffold.js +0 -33
  442. package/lib/renderScaffold.js.map +0 -1
  443. package/lib/renderScaffoldEntries.d.ts +0 -20
  444. package/lib/renderScaffoldEntries.js +0 -106
  445. package/lib/renderScaffoldEntries.js.map +0 -1
  446. package/lib/renderScaffoldInstructions.d.ts +0 -17
  447. package/lib/renderScaffoldInstructions.js +0 -23
  448. package/lib/renderScaffoldInstructions.js.map +0 -1
  449. package/lib/renderScaffoldLayer.d.ts +0 -20
  450. package/lib/renderScaffoldLayer.js +0 -28
  451. package/lib/renderScaffoldLayer.js.map +0 -1
  452. package/lib/renderTemplate.d.ts +0 -19
  453. package/lib/renderTemplate.js +0 -56
  454. package/lib/renderTemplate.js.map +0 -1
  455. package/lib/renderWorkspaceProductionScaffold.d.ts +0 -19
  456. package/lib/renderWorkspaceProductionScaffold.js +0 -30
  457. package/lib/renderWorkspaceProductionScaffold.js.map +0 -1
  458. package/lib/renderWorkspaceScaffold.d.ts +0 -19
  459. package/lib/renderWorkspaceScaffold.js +0 -33
  460. package/lib/renderWorkspaceScaffold.js.map +0 -1
  461. package/lib/replaceSharedScaffoldFile.d.ts +0 -30
  462. package/lib/replaceSharedScaffoldFile.js +0 -106
  463. package/lib/replaceSharedScaffoldFile.js.map +0 -1
  464. package/lib/resolveAutoMovieCatalogVersion.d.ts +0 -19
  465. package/lib/resolveAutoMovieCatalogVersion.js +0 -24
  466. package/lib/resolveAutoMovieCatalogVersion.js.map +0 -1
  467. package/lib/resolveAutoMovieTemplateDependencyVersions.d.ts +0 -19
  468. package/lib/resolveAutoMovieTemplateDependencyVersions.js +0 -62
  469. package/lib/resolveAutoMovieTemplateDependencyVersions.js.map +0 -1
  470. package/lib/resolveScaffoldPosixConstants.d.ts +0 -13
  471. package/lib/resolveScaffoldPosixConstants.js +0 -44
  472. package/lib/resolveScaffoldPosixConstants.js.map +0 -1
  473. package/lib/scaffoldAssetDirectory.d.ts +0 -19
  474. package/lib/scaffoldAssetDirectory.js +0 -63
  475. package/lib/scaffoldAssetDirectory.js.map +0 -1
  476. package/lib/scaffoldPhysicalIdentity.d.ts +0 -18
  477. package/lib/scaffoldPhysicalIdentity.js +0 -22
  478. package/lib/scaffoldPhysicalIdentity.js.map +0 -1
  479. package/lib/scaffoldSharedSkillDirectory.d.ts +0 -17
  480. package/lib/scaffoldSharedSkillDirectory.js +0 -62
  481. package/lib/scaffoldSharedSkillDirectory.js.map +0 -1
  482. package/lib/skills/3d-modeling/crafting.md +0 -82
  483. package/lib/skills/3d-modeling/diffusion.md +0 -34
  484. package/lib/skills/3d-modeling/inspection.md +0 -54
  485. package/lib/skills/3d-modeling/lofting.md +0 -43
  486. package/lib/skills/3d-modeling/modularization.md +0 -31
  487. package/lib/skills/3d-modeling/recovery.md +0 -29
  488. package/lib/skills/development/repair.md +0 -13
  489. package/lib/skills/documentation/writing.md +0 -51
  490. package/lib/skills/motion/layers.md +0 -7
  491. package/lib/skills/motion/transitions.md +0 -27
  492. package/lib/skills/prompting/SKILL.md +0 -80
  493. package/lib/syncScaffold.d.ts +0 -19
  494. package/lib/syncScaffold.js +0 -28
  495. package/lib/syncScaffold.js.map +0 -1
  496. package/lib/writeFiles.d.ts +0 -20
  497. package/lib/writeFiles.js +0 -33
  498. package/lib/writeFiles.js.map +0 -1
  499. package/lib/writeScaffoldFile.d.ts +0 -35
  500. package/lib/writeScaffoldFile.js +0 -107
  501. package/lib/writeScaffoldFile.js.map +0 -1
  502. package/lib/writtenVersion.d.ts +0 -13
  503. package/lib/writtenVersion.js +0 -18
  504. package/lib/writtenVersion.js.map +0 -1
  505. package/scaffold/instructions/.agents/skills/audio/local-speech.md +0 -11
  506. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/screenplay.md +0 -9
  507. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/screenplay.md +0 -13
  508. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/screenplay.md +0 -11
  509. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/screenplay.md +0 -25
  510. package/scaffold/instructions/.agents/skills/motion/method-references.md +0 -23
  511. package/scaffold/instructions/.agents/skills/production/sync-and-reorganization.md +0 -21
  512. package/scaffold/instructions/.agents/skills/story/correction/SKILL.md +0 -13
  513. package/scaffold/instructions/.agents/skills/story/evidence/SKILL.md +0 -13
  514. package/scaffold/instructions/.agents/skills/story/evidence/answer-placement.md +0 -13
  515. package/scaffold/instructions/.agents/skills/story/evidence/answer-writing.md +0 -23
  516. package/scaffold/instructions/.agents/skills/story/naturalness/SKILL.md +0 -13
  517. package/scaffold/instructions/.agents/skills/story/naturalness/rewriting.md +0 -17
  518. package/scaffold/instructions/.agents/skills/story/naturalness/transfer.md +0 -11
  519. package/scaffold/instructions/.agents/skills/story/workflow.md +0 -61
  520. package/scaffold/instructions/.agents/skills/video/diffusion.md +0 -33
  521. package/scaffold/instructions/.agents/skills/video/prompts.md +0 -51
  522. package/scaffold/production/evidence.config.ts +0 -12
  523. package/scaffold/production/src/executable/capture.ts +0 -489
  524. package/scaffold/production/src/executable/planCaptureStills.ts +0 -65
  525. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureError.ts +0 -1
  526. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureErrorCode.ts +0 -1
  527. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessWaitUntil.ts +0 -1
  528. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureOptions.ts +0 -79
  529. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureSession.ts +0 -39
  530. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessFrameWriter.ts +0 -20
  531. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessLocator.ts +0 -1
  532. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessPage.ts +0 -1
  533. package/scaffold/production/src/executable/render/headlessCapture/createHeadlessCaptureAdapter.ts +0 -92
  534. package/scaffold/production/src/executable/render/headlessCapture/index.ts +0 -9
  535. package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoOptions.ts +0 -128
  536. package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoResult.ts +0 -43
  537. package/scaffold/production/src/executable/render/node/IProductionRenditionClip.ts +0 -44
  538. package/scaffold/production/src/executable/render/node/acquireViewerBrowser.ts +0 -24
  539. package/scaffold/production/src/executable/render/node/addProductionMp4Sample.ts +0 -89
  540. package/scaffold/production/src/executable/render/node/appendLosslessVideoClip.ts +0 -62
  541. package/scaffold/production/src/executable/render/node/assembleProductionChunkVideoMp4.ts +0 -167
  542. package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionClips.ts +0 -184
  543. package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionVideo.ts +0 -127
  544. package/scaffold/production/src/executable/render/node/assertProductionRenditionClipDelivery.ts +0 -102
  545. package/scaffold/production/src/executable/render/node/cache/IAutoMovieDirectoryArtifactStore.ts +0 -59
  546. package/scaffold/production/src/executable/render/node/cache/IAutoMovieViewerFrameCacheReport.ts +0 -30
  547. package/scaffold/production/src/executable/render/node/cache/cacheViewerCaptureSession.ts +0 -187
  548. package/scaffold/production/src/executable/render/node/cache/composeViewerFrameKeys.ts +0 -55
  549. package/scaffold/production/src/executable/render/node/cache/createAutoMovieArtifactMiddleware.ts +0 -107
  550. package/scaffold/production/src/executable/render/node/cache/createAutoMovieDirectoryArtifactStore.ts +0 -203
  551. package/scaffold/production/src/executable/render/node/cache/digestAutoMovieSourceTree.ts +0 -66
  552. package/scaffold/production/src/executable/render/node/cache/readViewerFrameStates.ts +0 -95
  553. package/scaffold/production/src/executable/render/node/capture/DEFAULT_CHROME_EXECUTABLE.ts +0 -11
  554. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageOperationFailure.ts +0 -13
  555. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeArtifact.ts +0 -30
  556. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeOptions.ts +0 -51
  557. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceMetadata.ts +0 -27
  558. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderArtifact.ts +0 -44
  559. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderOptions.ts +0 -43
  560. package/scaffold/production/src/executable/render/node/capture/IAutoMovieSequenceDissolvePixelCheck.ts +0 -39
  561. package/scaffold/production/src/executable/render/node/capture/captureRenderAndSee.ts +0 -233
  562. package/scaffold/production/src/executable/render/node/capture/captureSequenceRenderAndSee.ts +0 -377
  563. package/scaffold/production/src/executable/render/node/capture/index.ts +0 -14
  564. package/scaffold/production/src/executable/render/node/capture/preserveCleanupFailure.ts +0 -34
  565. package/scaffold/production/src/executable/render/node/capture/renderAndSeeCommand.ts +0 -169
  566. package/scaffold/production/src/executable/render/node/capture/renderSequenceAndSeeCommand.ts +0 -165
  567. package/scaffold/production/src/executable/render/node/capture/verifySequenceDissolvePixels.ts +0 -179
  568. package/scaffold/production/src/executable/render/node/conformProductionRenditionVideoMp4.ts +0 -86
  569. package/scaffold/production/src/executable/render/node/conformProductionVisualDeliveryVideoMp4.ts +0 -230
  570. package/scaffold/production/src/executable/render/node/decodeAutoMovieDelivery.ts +0 -253
  571. package/scaffold/production/src/executable/render/node/equalRational.ts +0 -36
  572. package/scaffold/production/src/executable/render/node/exactProductionClockProduct.ts +0 -26
  573. package/scaffold/production/src/executable/render/node/exportModelToGLB.ts +0 -267
  574. package/scaffold/production/src/executable/render/node/index.ts +0 -27
  575. package/scaffold/production/src/executable/render/node/loadModelGltfCore.ts +0 -18
  576. package/scaffold/production/src/executable/render/node/mixAutoMovieAudioCues.ts +0 -74
  577. package/scaffold/production/src/executable/render/node/muxProductionFeatureMp4.ts +0 -170
  578. package/scaffold/production/src/executable/render/node/neutralTrackPresentation.ts +0 -59
  579. package/scaffold/production/src/executable/render/node/normalizeProductionH264Mp4.ts +0 -110
  580. package/scaffold/production/src/executable/render/node/openLosslessVideoTrack.ts +0 -81
  581. package/scaffold/production/src/executable/render/node/parseMp4.ts +0 -46
  582. package/scaffold/production/src/executable/render/node/parseProductionMp4Output.ts +0 -70
  583. package/scaffold/production/src/executable/render/node/parseProductionRenditionClip.ts +0 -92
  584. package/scaffold/production/src/executable/render/node/planViewerVideo.ts +0 -140
  585. package/scaffold/production/src/executable/render/node/probeParsedProductionVideoMp4.ts +0 -48
  586. package/scaffold/production/src/executable/render/node/probeProductionPngPicture.ts +0 -223
  587. package/scaffold/production/src/executable/render/node/probeProductionRenderedMedia.ts +0 -355
  588. package/scaffold/production/src/executable/render/node/probeProductionVideoMp4.ts +0 -27
  589. package/scaffold/production/src/executable/render/node/probeVideoTrack.ts +0 -220
  590. package/scaffold/production/src/executable/render/node/productionRenditionVideoPlan.ts +0 -149
  591. package/scaffold/production/src/executable/render/node/recordViewerPlayback.ts +0 -137
  592. package/scaffold/production/src/executable/render/node/renderViewerFrames.ts +0 -139
  593. package/scaffold/production/src/executable/render/node/renderViewerVideo.ts +0 -301
  594. package/scaffold/production/src/executable/render/node/renderViewerVideoSession.ts +0 -75
  595. package/scaffold/production/src/executable/render/node/residentMp4Box.ts +0 -36
  596. package/scaffold/production/src/executable/render/node/residentPngJs.ts +0 -26
  597. package/scaffold/production/src/executable/render/node/runViewerVideoEncoder.ts +0 -58
  598. package/scaffold/production/src/executable/render/node/sameSampleDescription.ts +0 -43
  599. package/scaffold/production/src/executable/render/node/sameSampleFlags.ts +0 -28
  600. package/scaffold/production/src/executable/render/node/sampleBytes.ts +0 -46
  601. package/scaffold/production/src/executable/render/node/sampleDescription.ts +0 -40
  602. package/scaffold/production/src/executable/render/node/sampleOptions.ts +0 -37
  603. package/scaffold/production/src/executable/render/node/serializeDescriptionBox.ts +0 -29
  604. package/scaffold/production/src/executable/render/node/trimProductionAudioPresentation.ts +0 -115
  605. package/scaffold/production/src/executable/render/node/verifySampleStorage.ts +0 -86
  606. package/scaffold/production/src/executable/render/node/writeViewerFrameSheet.ts +0 -101
  607. package/scaffold/production/src/executable/render.ts +0 -92
  608. package/scaffold/production/src/executable/review.ts +0 -54
  609. package/scaffold/production/src/executable/viewer/inspection/createViewerDiskSource.ts +0 -119
  610. package/scaffold/production/src/executable/viewer/inspection/readViewerMaintainedSourceFiles.ts +0 -64
  611. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureError.ts +0 -41
  612. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureErrorCode.ts +0 -22
  613. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessWaitUntil.ts +0 -18
  614. package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessLocator.ts +0 -32
  615. package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessPage.ts +0 -130
  616. package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureOptions.ts +0 -38
  617. package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureSession.ts +0 -41
  618. package/scaffold/production/src/executable/viewer/node/capture/createViewerCaptureSession.ts +0 -154
  619. package/scaffold/production/src/executable/viewer/node/capture/index.ts +0 -8
  620. package/scaffold/production/src/executable/viewer/node/index.ts +0 -2
  621. package/scaffold/production/src/executable/viewer/process/ProcessOwnership.ts +0 -102
  622. package/scaffold/production/src/executable/viewer/process/internal/IProcessChildObservation.ts +0 -18
  623. package/scaffold/production/src/executable/viewer/process/internal/IProcessOwnershipHost.ts +0 -70
  624. package/scaffold/production/src/executable/viewer/process/internal/ProcessOwnershipController.ts +0 -125
  625. package/scaffold/production/src/executable/viewer/process/internal/WindowsProcessOwnershipPrograms.ts +0 -52
  626. package/scaffold/production/src/executable/viewer/process/internal/createNodeProcessOwnershipHost.ts +0 -41
  627. package/scaffold/production/src/executable/viewer/process/internal/decodeLinuxProcessIdentity.ts +0 -22
  628. package/scaffold/production/src/executable/viewer/process/internal/decodePosixProcessIdentity.ts +0 -24
  629. package/scaffold/production/src/executable/viewer/process/internal/decodeWindowsProcessResult.ts +0 -24
  630. package/scaffold/production/src/executable/viewer/process/internal/readNativeProcessIdentity.ts +0 -45
  631. package/scaffold/production/src/executable/viewer/process/internal/requireProcessId.ts +0 -15
  632. package/scaffold/production/src/executable/viewer/process/internal/resolveProcessIdentityReadError.ts +0 -15
  633. package/scaffold/production/src/executable/viewer/process/internal/runWindowsProcessOperation.ts +0 -41
  634. package/scaffold/production/src/executable/viewer/process/internal/selectProcessOwnershipTree.ts +0 -68
  635. package/scaffold/production/test/features/executable/test_plan_capture_stills.ts +0 -75
  636. package/scaffold/workspace/pnpm-workspace.yaml +0 -46
  637. package/src/AUTOMOVIE_TEMPLATE_CATALOGS.ts +0 -48
  638. package/src/AUTOMOVIE_TEMPLATE_VERSIONS.ts +0 -39
  639. package/src/AutoMovieScaffoldLayer.ts +0 -18
  640. package/src/FILE_ATTRIBUTE_DIRECTORY.ts +0 -2
  641. package/src/IAutoMovieCatalogVersionProps.ts +0 -18
  642. package/src/IAutoMovieScaffoldSourceEntry.ts +0 -19
  643. package/src/IAutoMovieTemplateDependencyVersionsProps.ts +0 -19
  644. package/src/IAutoMovieWorkspacePackageVersions.ts +0 -44
  645. package/src/IBoundChild.ts +0 -86
  646. package/src/IBoundChildStatus.ts +0 -24
  647. package/src/IBoundParent.ts +0 -65
  648. package/src/IBoundParentStatus.ts +0 -15
  649. package/src/ICreateResult.ts +0 -35
  650. package/src/IScaffoldCompletedFilePublicationOutcome.ts +0 -17
  651. package/src/IScaffoldCompletedPublication.ts +0 -17
  652. package/src/IScaffoldFileSnapshot.ts +0 -28
  653. package/src/IScaffoldParentPublicationRequest.ts +0 -29
  654. package/src/IScaffoldPartialFilePublicationOutcome.ts +0 -25
  655. package/src/IScaffoldPhysicalDirectory.ts +0 -22
  656. package/src/IScaffoldPosixConstants.ts +0 -30
  657. package/src/IScaffoldPublicationEntry.ts +0 -22
  658. package/src/IScaffoldPublicationFailure.ts +0 -18
  659. package/src/IScaffoldPublicationOptions.ts +0 -19
  660. package/src/IScaffoldPublicationReceipt.ts +0 -29
  661. package/src/IScaffoldRefusedFilePublicationOutcome.ts +0 -20
  662. package/src/IScaffoldSyncPlan.ts +0 -26
  663. package/src/IScaffoldSyncProps.ts +0 -16
  664. package/src/IWindowsFileInformation.ts +0 -24
  665. package/src/IWindowsLibrary.ts +0 -148
  666. package/src/SCAFFOLD_SYNC_STATE_FILE.ts +0 -5
  667. package/src/ScaffoldFilePublicationOutcome.ts +0 -18
  668. package/src/ScaffoldParentChangedError.ts +0 -14
  669. package/src/ScaffoldPublicationError.ts +0 -58
  670. package/src/assertOrdinaryFile.ts +0 -20
  671. package/src/assertOrdinarySingleLinkFile.ts +0 -26
  672. package/src/assertScaffoldOwnership.ts +0 -29
  673. package/src/assertScaffoldPhysicalDirectory.ts +0 -29
  674. package/src/attachScaffoldSyncState.ts +0 -30
  675. package/src/captureEmptyScaffoldPhysicalDirectory.ts +0 -45
  676. package/src/captureScaffoldFile.ts +0 -34
  677. package/src/captureScaffoldPhysicalDirectory.ts +0 -34
  678. package/src/combineScaffoldFailures.ts +0 -35
  679. package/src/createAutoMovieCatalogVersionResolver.ts +0 -117
  680. package/src/createScaffoldSyncState.ts +0 -33
  681. package/src/createScaffoldVariables.ts +0 -50
  682. package/src/ensureScaffoldBaseDirectory.ts +0 -55
  683. package/src/ensureScaffoldFileDirectory.ts +0 -75
  684. package/src/inside.ts +0 -25
  685. package/src/isScaffoldInstruction.ts +0 -29
  686. package/src/loadWindowsLibrary.ts +0 -277
  687. package/src/mergeScaffoldFiles.ts +0 -39
  688. package/src/missingPath.ts +0 -16
  689. package/src/nativeError.ts +0 -15
  690. package/src/openPosixParent.ts +0 -155
  691. package/src/openWindowsParent.ts +0 -305
  692. package/src/overwriteScaffoldFile.ts +0 -262
  693. package/src/physicalDirectoryIdentity.ts +0 -33
  694. package/src/physicalVersion.ts +0 -18
  695. package/src/planScaffoldPublication.ts +0 -100
  696. package/src/planScaffoldSync.ts +0 -122
  697. package/src/publishFiles.ts +0 -120
  698. package/src/publishNativeScaffoldFile.ts +0 -287
  699. package/src/publishScaffoldCandidate.ts +0 -94
  700. package/src/readAutoMovieScaffoldSources.ts +0 -82
  701. package/src/readScaffoldSyncFile.ts +0 -66
  702. package/src/renderScaffold.ts +0 -43
  703. package/src/renderScaffoldEntries.ts +0 -110
  704. package/src/renderScaffoldInstructions.ts +0 -22
  705. package/src/renderScaffoldLayer.ts +0 -38
  706. package/src/renderTemplate.ts +0 -62
  707. package/src/renderWorkspaceProductionScaffold.ts +0 -35
  708. package/src/renderWorkspaceScaffold.ts +0 -43
  709. package/src/replaceSharedScaffoldFile.ts +0 -88
  710. package/src/resolveAutoMovieCatalogVersion.ts +0 -27
  711. package/src/resolveAutoMovieTemplateDependencyVersions.ts +0 -70
  712. package/src/resolveScaffoldPosixConstants.ts +0 -50
  713. package/src/scaffoldAssetDirectory.ts +0 -30
  714. package/src/scaffoldPhysicalIdentity.ts +0 -21
  715. package/src/scaffoldSharedSkillDirectory.ts +0 -25
  716. package/src/syncScaffold.ts +0 -38
  717. package/src/writeFiles.ts +0 -48
  718. package/src/writeScaffoldFile.ts +0 -88
  719. package/src/writtenVersion.ts +0 -19
  720. /package/{lib → generated}/skills/contracts/development/common.md +0 -0
  721. /package/{lib → generated}/skills/visual-debugging/rendering-cost.md +0 -0
  722. /package/scaffold/instructions/.agents/skills/3d-modeling/{$crafting.md → $crafting} +0 -0
  723. /package/scaffold/instructions/.agents/skills/3d-modeling/{$diffusion.md → diffusion/$image-hints.md} +0 -0
  724. /package/scaffold/instructions/.agents/skills/3d-modeling/{$lofting.md → diffusion/$models.md} +0 -0
  725. /package/scaffold/instructions/.agents/skills/3d-modeling/{$recovery.md → diffusion/$prompts.md} +0 -0
  726. /package/scaffold/instructions/.agents/skills/{motion/$authoring.md → 3d-modeling/diffusion/$request.md} +0 -0
  727. /package/scaffold/instructions/.agents/skills/{motion/$contacts.md → 3d-modeling/diffusion/$shape-hints.md} +0 -0
  728. /package/scaffold/instructions/.agents/skills/motion/{$laws.md → laws/$authoring.md} +0 -0
  729. /package/scaffold/instructions/.agents/skills/motion/{$layers.md → laws/$contacts.md} +0 -0
  730. /package/scaffold/instructions/.agents/skills/motion/{$transitions.md → laws/$declaration.md} +0 -0
  731. /package/scaffold/instructions/.agents/skills/motion/{$variation.md → laws/$transitions.md} +0 -0
  732. /package/scaffold/instructions/.agents/skills/motion/{$verification.md → laws/$variation.md} +0 -0
@@ -0,0 +1,82 @@
1
+ ---
2
+ name: prompting
3
+ description: Owns what makes an instruction for an agent work, namely what to state, reasons and examples, one owner per rule, routing to packages, the layout and splitting of skills, what a shared skill may hold and how a prompt is verified. Use before changing AGENTS.md, CLAUDE.md or a skill.
4
+ ---
5
+
6
+ # Prompting
7
+
8
+ A prompt is any instruction an agent reads: `AGENTS.md`, `CLAUDE.md`, a skill or one of its resources. Every prompt follows the documentation skill's [Writing](../documentation/writing.md) rules, with someone new to the project as the reader, because wording that serves that person serves the agent too. The rules below are what makes a prompt work for an agent.
9
+
10
+ Before editing a prompt, fetch and read in full the current prompting guide for the model that will read it, rather than recalling it, because it changes with each model. Where it disagrees with the user's rules in this repository, the user's rules win.
11
+
12
+ ## What to state
13
+
14
+ State only facts the code does not show, rules the user set, and mistakes an agent made, each concretely enough that a reader can tell whether it was followed. Leave dates and history to git.
15
+
16
+ [Writing](../documentation/writing.md) asks for a reason when it is not obvious. For a consequential instruction, that reason names who loses what when it is missed and sits in the instruction itself, because a source comment or an unexplained prohibition cannot guide a case the instruction did not list.
17
+
18
+ Leave the method to the agent unless a known failure requires a particular order or boundary. Where a skill does name methods, it gives one default and says when to leave it.
19
+
20
+ Keep examples few and varied, because an agent copies an example's surface.
21
+
22
+ ## One owner
23
+
24
+ Give each rule one owner, the one section of one file that states it, as [Writing](../documentation/writing.md) requires, and link to it from every other place that needs it, so a task receives one consistent requirement. When moving a rule, update every link to it.
25
+
26
+ Resolve two conflicting rules in the skills or `AGENTS.md` that one project owns by changing one of them, never by adding a rule about which one wins, because a model applies a stated priority unreliably.
27
+
28
+ ## Packages
29
+
30
+ A skill that needs a package names it and leaves the rest to it. Unless the skill maintains that package, it copies none of the package's function names, command lines, file paths or features, because a copy in a skill cannot be kept in step with the package. The package's types and JSDoc own its API, and its README its entry points.
31
+
32
+ ## Skills and contracts
33
+
34
+ A skill gives a job's goal and boundaries, and points to the checklists it relies on without restating their items.
35
+
36
+ An agent does not reliably follow long, detailed or conditional prose. A rule that every declaration, document or record Evidence selects must meet therefore belongs in a [contracts](../contracts/SKILL.md) checklist, under the item whose question covers it or as a new item under its own H2. Each selected one answers it as the item's respondent, and the contracts skill names who checks that the answer is true and complete.
37
+
38
+ A rule that must hold on every action, such as a forbidden command, belongs in a hook or a check that runs, not only in prose, because prose can be missed.
39
+
40
+ Put judgments the agent makes in one reading into one checklist item, and split them into separate items when their task, respondent, proof or repair owner (whoever fixes a failure) differs. Ask about the overall achievement in its own item, separate from the items that check its parts, because passing every part does not prove the whole works.
41
+
42
+ ## Layout
43
+
44
+ ### Entry files
45
+
46
+ [`AGENTS.md`](../../../AGENTS.md) holds what every session needs, in under 200 lines, and lists every top-level skill with its trigger, the task that calls for it, because an agent that does not scan `.agents/skills` finds a skill only through `AGENTS.md`. Start each trigger with the task's verb, such as `Changing` or `Reviewing`. [`CLAUDE.md`](../../../CLAUDE.md) holds only `@AGENTS.md`, which imports that file.
47
+
48
+ ### Skill files
49
+
50
+ A job with its own trigger gets its own top-level skill at `.agents/skills/<name>/SKILL.md`. Its `name` equals the directory and uses lowercase letters, digits and hyphens, within 64 characters. Its third-person `description`, within 1024 characters, says what the skill does and when to use it.
51
+
52
+ ### Splitting a skill
53
+
54
+ `SKILL.md` stays short, far under 500 lines: what the skill is for, when to read it, and, once it has resources, which resource each task needs. An agent loads it on every use of the skill, so everything in it that the task at hand does not need costs attention on every task. Put first what every use needs, because an agent follows earlier text more reliably and a compacted context keeps only the start.
55
+
56
+ Split when any of these shows:
57
+
58
+ - several unrelated tasks in one file;
59
+ - a section only some tasks need;
60
+ - more content than the opening can introduce.
61
+
62
+ Such a section moves into a resource file beside `SKILL.md`, and a resource longer than about 100 lines usually holds one to move. A group of files with one purpose moves into a subfolder with its own routing `SKILL.md`, at any depth, whose `name` joins the parent's and the folder's, such as `story-planning`.
63
+
64
+ Each resource needs three things:
65
+
66
+ - a name that states its subject;
67
+ - an opening that states its subject, in its own words;
68
+ - a direct link, or a stated path pattern, from the nearest router above it.
69
+
70
+ ### Helpers
71
+
72
+ Put repeated deterministic operations in tested helpers, reusing existing tools before adding another. Link each helper's command for a task from the resource covering that task, and take examples from code that already calls the helper rather than copying the helper's code into the prompt.
73
+
74
+ ## Shared skills
75
+
76
+ A skill shared with other projects, such as one a project template ships, holds only what is universal, orthodox and valid in every receiving project, because each of them follows it as written. It names tools, owners and records by their role, leaves one project's paths, packages and decisions to that project's own skills, and assumes no particular agent model.
77
+
78
+ ## Verification
79
+
80
+ Start a change from the actual failure it must fix, kept as a case. Check the changed instructions against that case, against the strongest similar legitimate case they must leave unchanged, and against a real task they govern, including the files that use that task's result. When a separate agent session is available and authorized, give it the task and raw inputs without the intended answer and observe its choices.
81
+
82
+ Check statically that links resolve, triggers reach their resources and each rule has one owner. Report static inspection, behavioral observation and unavailable checks separately, because explaining a rule does not prove another session follows it.
@@ -1,22 +1,22 @@
1
1
  # Capture
2
2
 
3
- A capture is the stills, contact sheets and manifest that one plan produces. This document owns the instrument that draws them, the conditions that make them repeatable, and the choice of subject, views and times.
3
+ A capture is the stills, contact sheets and record that one plan produces. This page owns keeping the instrument that draws them working, the conditions that make them repeatable, and the choice of subject, views and times.
4
4
 
5
- ## The instrument
5
+ ## Restoring the instrument
6
6
 
7
- The viewer and its capture are the instrument. Restore a broken one before other work, because every judgment of a picture passes through it. Confirm the adopted scene, its required subjects, the current displayed artifact and relevant controls, seeking, playback and capture through the actual consumer, and protect other owners' processes meanwhile.
7
+ The instrument, the inspection and capture core with the inspector page and the capture host that drive it, is one tool. Restore a broken one before other work, because every judgment of a picture passes through it. Confirm through the actual consumer the adopted scene, its required subjects, the current displayed artifact and the relevant controls, seeking, playback and capture, and protect other owners' processes meanwhile.
8
8
 
9
- Repair a missing capability at the owner of that capability, then reconnect and verify the actual consumer; a build, a server response or an unrelated demonstration alone does not prove recovery. A view, pass or selection that the judgment needs and the instrument lacks is a missing capability too.
9
+ Repair a missing capability at its owner, or report it where the project cannot change that owner; a view, pass or selection the judgment needs and the instrument lacks is a missing capability too. Once it is repaired, reconnect and verify the actual consumer, because a build, a server response or an unrelated demonstration does not prove recovery.
10
10
 
11
11
  ## Plan
12
12
 
13
- Before capturing, write what the stills must show as questions with a yes or no answer, such as whether every leg reaches the floor or whether the fist arrives before the head turns, and answer each from the stills. An overall impression passes over what a definite question finds.
13
+ Before capturing, write what the stills must show as questions with a yes or no answer, such as whether every leg reaches the floor or whether the fist arrives before the head turns, and answer each from the stills, because an overall impression passes over what a definite question finds.
14
14
 
15
15
  The questions fix the capture's cells. A cell is one still, fixed by its subject, its time or pose, its view and its [pass](passes.md). Plan every cell the questions need before drawing any, so one run gathers the whole round's evidence.
16
16
 
17
17
  ## Conditions
18
18
 
19
- Capture the actual consumer with current source, and record what repeats the observation: the source revision, asset identities, input, time or pose, resolved camera, light, pass, raster size, renderer and detail settings.
19
+ Capture the actual consumer with current source, and record what repeats the observation: the source revision, asset identities, input, time or pose, resolved camera, light, pass, raster size, renderer and detail settings. The capture's record keeps the revision, the request and each still's resolved camera and renderer backend, so that revision must fix the assets, light and detail settings.
20
20
 
21
21
  The renderer is one of the conditions. A simplified renderer establishes pose, contact, staging and silhouette; material, lighting, shadow and texture are judged on the renderer that draws the delivered picture.
22
22
 
@@ -31,19 +31,19 @@ A unit that passes alone can fail against its neighbor, and close-ups that each
31
31
  - each unit with the neighbors it touches or shares a boundary with;
32
32
  - each defect's region.
33
33
 
34
- Select by the groups and parts the subject's own definition names. Confirm from the capture's record that each selection matched what was meant, because an empty selection draws a still with no defect in it. Keep enough of the reference or the neighbors visible to read placement and depth.
34
+ Select by the groups and parts the subject's own definition names, and keep enough of the reference or the neighbors visible to read placement and depth. Confirm from the capture's record that each selection matched what was meant, because an empty selection draws a still with no defect in it.
35
35
 
36
36
  ## Views
37
37
 
38
38
  Name each view so that it repeats: a direction, a distance or scale and a target, or the delivery's own camera. Front and side alone hide what faces neither, so add the back, the top, the quarters and the high and low obliques the subject needs. To tell a wrong bend from a foreshortened one, capture the same cells from a second view.
39
39
 
40
- Frame a close-up on the affected region from outside the subject. A view that fits itself to its subject resolves to another camera when the subject changes, so the record keeps the resolved camera for a later [comparison](comparison.md#match-the-cells).
40
+ Frame a close-up on the affected region from outside the subject. A view that fits itself to its subject resolves to another camera when the subject changes, so the record keeps the resolved camera for a later [comparison](comparison.md#matched-cells).
41
41
 
42
42
  ## Times
43
43
 
44
- A moving picture is read as stills in time order. Sample it at five to ten stills per second, the denser end where more happens, because at a sparser spacing the stills no longer show how one pose becomes the next.
44
+ Read a moving picture as stills in time order, sampled at five to ten stills per second and at the denser end where more happens, because at a sparser spacing the stills no longer show how one pose becomes the next.
45
45
 
46
- Around every contact, cut, join and decisive instant, capture the output's own consecutive frames, because a contact shorter than the gap between two stills leaves an arm out and an arm back with nothing wrong between them. A few sparse stills never replace those frames.
46
+ Around every contact, cut, join and decisive instant, capture the output's own consecutive frames, because a contact shorter than the gap between two stills leaves an arm out and an arm back with nothing wrong between them. Sparse stills never replace those frames.
47
47
 
48
48
  Sample an encoded or generated file from the file itself, at the same seconds as its source, because stills of the source cannot show what the file holds.
49
49
 
@@ -53,8 +53,10 @@ A reviewer who sees a moving picture only as stills says so, and claims nothing
53
53
 
54
54
  Read a contact sheet first for the whole capture, with each cell captioned by what fixes it. A sheet shrinks every still, so open the full-size still wherever a contact, a joint, a seam or a small part decides the judgment.
55
55
 
56
+ Lay sheets out for their reader. A vision model downsizes an image over its longest-edge or token limit and reads detail unreliably below a smallest edge; take these limits from the reading model's documentation, such as the [Claude vision guide](https://platform.claude.com/docs/en/build-with-claude/vision). Keep every sheet within them and every cell at least the smallest, and spread the cells over more sheets rather than shrink them.
57
+
56
58
  A cell that could not be drawn stays on the sheet with its cause and stays unverified; an uncomputed subject is unavailable evidence.
57
59
 
58
60
  ## Rounds
59
61
 
60
- Keep each round's capture apart from the next, under a name that states its round or revision, with its manifest. Where a tool writes every run to the same place, copy the round out before the next run, and judge a rerun by the time of the files it wrote.
62
+ Keep each round's capture apart from the next, with its record, under a name that states its round or revision, given when capturing it. A record still marked unfinished belongs to an interrupted capture, so capture that round again rather than read it.
@@ -1,6 +1,6 @@
1
1
  # Comparison
2
2
 
3
- A comparison joins two captures cell by cell, so that only the compared thing differs between the two stills of a pair. This document owns which pairs to make, how their cells match and how the difference is read.
3
+ A comparison joins two captures cell by cell, so that only the compared thing differs between the two stills of a pair. This page owns which pairs to make, how their cells match and how the difference is read.
4
4
 
5
5
  ## What a pair separates
6
6
 
@@ -11,17 +11,17 @@ A comparison joins two captures cell by cell, so that only the compared thing di
11
11
  | A computed result and its picture | A calculation fault from a display fault |
12
12
  | The source's picture and the encoded file | What encoding, color conversion or assembly changed |
13
13
  | A conditioning input and what a generator made from it | What the generator kept, moved or invented |
14
- | A coarse form and its detailed option | What the detail shows at the size it is used |
14
+ | A coarse form and its detail option | What the detail shows at the size it is used |
15
15
  | A sequential capture and a restart or seek to the same time | State that depends on how the time was reached |
16
16
  | This delivery and the previous one | What changed between them at matched times |
17
17
 
18
- ## Match the cells
18
+ ## Matched cells
19
19
 
20
- Pair two cells only when everything but the compared thing agrees: subject, time or pose, resolved camera, light, pass, raster size and renderer. A view's name does not establish the same framing when the view fits itself to its subject, so the later capture reuses the earlier one's resolved camera.
20
+ Pair two cells only when everything but the compared thing agrees: subject, time or pose, resolved camera, light, pass, raster size and renderer. A view's name does not establish the same framing when the view fits itself to its subject, so the later capture reuses the earlier one's resolved camera. Measure pixels only between stills one renderer backend drew, because bit identity across backends is not established; across backends, set the pair side by side.
21
21
 
22
- Report a cell that one capture holds and the other lacks as unmatched, with its cause. A comparison over the cells that happened to match says nothing about the ones that did not.
22
+ Report a cell that one capture holds and the other lacks as unmatched, with its cause, because a comparison over the cells that happened to match says nothing about the rest.
23
23
 
24
- ## Read the difference
24
+ ## Reading the difference
25
25
 
26
26
  | Form | Shows |
27
27
  | --- | --- |
@@ -30,6 +30,4 @@ Report a cell that one capture holds and the other lacks as unmatched, with its
30
30
  | A difference image | Where the pixels changed, including where no change was meant |
31
31
  | A measured difference per cell | Which pairs to open first |
32
32
 
33
- A measured difference ranks where to look and never replaces looking. Identical bytes establish that nothing changed, and nothing about whether the picture is right.
34
-
35
- A difference outside the region the change was meant to affect is a regression until it is explained.
33
+ A measured difference ranks where to look and never replaces looking. Identical bytes establish that nothing changed, not that the picture is right. A difference outside the region the change was meant to affect is a regression until it is explained.
@@ -1,34 +1,34 @@
1
1
  # Correction rounds
2
2
 
3
- A correction round gathers every finding of one capture, traces each to its cause, repairs the causes in one change and compares again. This document owns that order.
3
+ A correction round gathers every finding of one capture, traces each to its cause, repairs the causes in one change and compares again. This page owns that order.
4
4
 
5
- ## Measure, then look
5
+ ## Measuring and looking
6
6
 
7
- Settle by measurement what a number decides, because an eye on a picture misjudges position, depth and timing. The skill of each subject names its measures. Then [plan the capture](capture.md#plan) from questions with a yes or no answer.
7
+ Settle by measurement what a number decides, because an eye on a picture misjudges position, depth and timing; the skill of each subject names its measures. Then [plan the capture](capture.md#plan) from questions with a yes or no answer.
8
8
 
9
- ## Inspect before editing
9
+ ## Inspection
10
10
 
11
11
  Inspect the whole affected subject at every scale before changing anything: the whole, its regions, its neighbors and its close-ups, from every needed view and at every needed time. Write down every observed defect with its cell and its conditions.
12
12
 
13
- ## Trace the causes
13
+ ## Causes
14
14
 
15
- Trace causes through generation and display, including shared boundaries and derived outputs. Where causes or their interactions are unclear, plan the controlled [comparisons](comparison.md) that separate them as one set, run the whole set without changing the source, and record the results. Map each proposed change to all defects and parts it affects.
15
+ Trace causes through generation and display, including shared boundaries and derived outputs. Where causes or their interactions are unclear, plan the controlled [comparisons](comparison.md) that separate them as one set, run the whole set without changing the source, and record the results. Map each proposed change to every defect and part it affects.
16
16
 
17
- ## Fix in one change
17
+ ## One combined change
18
18
 
19
- Fix all identified causes in one combined change at their sources, and judge it on the assembled subject. A cause that crosses an ownership boundary is changed by both owners in the same round.
19
+ Fix all identified causes in one combined change at their sources, and judge it on the assembled subject. A cause that crosses an ownership boundary is changed by both owners in the same round, or reported to an owner the project cannot change.
20
20
 
21
- This procedure replaces these whack-a-mole patterns, however cheap a capture is:
21
+ However cheap a capture is, this replaces fixing one finding at a time:
22
22
 
23
23
  - editing after each observed defect;
24
24
  - changing one value and capturing to see its effect;
25
25
  - capturing after each single fix;
26
26
  - leaving a traced cause to a later round or finer scale.
27
27
 
28
- ## Compare again
28
+ ## Comparing again
29
29
 
30
- Repeat the round's capture after the change and [compare](comparison.md) it with the earlier one across every affected part, view, time, identity, resolution and motion state, checking both the recorded defects and regressions. Account for every recorded defect before accepting the round; new or unexplained defects keep it open.
30
+ Repeat the round's capture after the change and [compare](comparison.md) it with the earlier one across every affected part, view, time, identity, resolution and motion state, checking both the recorded defects and regressions. Account for every recorded defect before accepting the round; a new or unexplained defect keeps it open.
31
31
 
32
- When a fix is tried in rounds, keep a round only if nothing got worse than in the best earlier round, and record every remaining failure with its numbers.
32
+ When a fix is tried over several rounds, keep a round only if nothing got worse than in the best earlier round, and record every remaining failure with its numbers.
33
33
 
34
- Look at the new capture yourself. Stale, blank or unobserved output stays unverified.
34
+ Look at the new capture yourself, because stale, blank or unobserved output stays unverified.
@@ -1,28 +1,28 @@
1
1
  # Passes
2
2
 
3
- A pass is what a cell draws of its subject. This document owns choosing passes, keeping them matched and marking what a measurement found.
3
+ A pass is what a cell draws of its subject. This page owns choosing passes, keeping them matched and marking what a measurement found.
4
4
 
5
- ## Choose by the question
5
+ ## Choosing a pass
6
6
 
7
7
  | Question | Pass |
8
8
  | --- | --- |
9
9
  | How the result looks to its audience | The finished picture from the delivery's renderer |
10
10
  | Why a surface has its shape | The construction that generated it |
11
- | What one quantity is across the picture | A structural pass that draws only that quantity, such as depth, normals, a mask, weights or curvature |
11
+ | What one quantity is across the picture | A structural pass that draws only that quantity, such as depth, normals or a mask |
12
12
  | Where joints, contacts, targets and paths are | An overlay of them on the picture |
13
- | What a receiver is given | The guide pass itself, read through the receiver's input path |
13
+ | What a receiver is given | The guide channel itself, read through the receiver's input path |
14
14
 
15
- Use a structural pass only for the quantity it documents, and read its range and convention before reading its colors. A plausible image does not establish that a pass holds what its name says.
15
+ Use a structural pass only for the quantity it documents, and read its range and convention before reading its colors, because a plausible image does not establish that a pass holds what its name says. Fields such as skin weights or curvature are judged only where a production's models need them, as [inspecting a form](../3d-modeling/inspection.md#fields-judged-only-where-needed) decides.
16
16
 
17
- ## Keep passes matched
17
+ ## Matched passes
18
18
 
19
19
  Draw every pass of a set from the same evaluated state, at the same subjects, views and times, so two passes of one cell differ only in what they draw. Switching pass must not advance or restart motion, and each pass returns the scene and renderer state it borrowed.
20
20
 
21
- A layer drawn over another shares its camera exactly. A layer drawn through a surface says so in its caption, because a line seen through a surface reads as lying on it.
21
+ A pass drawn over another shares its camera exactly. A pass drawn through a surface says so in its caption, because a line seen through a surface reads as lying on it.
22
22
 
23
- ## Mark what a measurement found
23
+ ## Marking what a measurement found
24
24
 
25
- A measurement that finds a defect knows where it is. Draw that place on the subject in a color the pass uses for nothing else, with a legend naming each color's finding, so the reviewer looks at the defect instead of searching the picture for a number from a report.
25
+ A measurement that finds a defect knows where it is. Draw that place on the subject in a color the pass uses for nothing else, with a legend naming each color's finding, so the reviewer looks at the defect instead of searching the picture for a number from a report. The measurement's owner hands the place to the instrument as plain data, a mark of its own kind, so a new finding needs no new pass.
26
26
 
27
27
  Draw each kind of thing in one color throughout a capture. Show labels to establish identity, and hide them where they cover what is judged.
28
28
 
@@ -1,14 +1,22 @@
1
1
  /**
2
- * Project-owned values for {@link renderScaffold}, {@link renderWorkspaceScaffold} and {@link renderWorkspaceProductionScaffold}.
2
+ * What {@link createAutoMovieScaffold} creates.
3
3
  *
4
- * @evidence contracts/development/design.md#principled-representation The record carries only what differs per project; versions come from the generated table at build time, so a caller cannot pin the scaffold to dependency ranges the package was not built with.
5
- * @evidence contracts/development/design.md#minimal-and-owned-surface One field serves the one per-project token the scaffold has, `{{name}}`, and the name rule lives in `assertScaffoldProjectName`, which every renderer applies.
6
- * @evidence contracts/development/design.md#prohibited-design-shortcuts The record has no override or escape field that would let a caller supply raw token values past the name rule.
7
- * @evidence contracts/development/common.md#meaningful-documentation The member comment states where the name lands, that it is trimmed, and which names are refused.
4
+ * @evidence contracts/development/design.md#principled-representation The record holds only what differs between creations: the installation kind and the name. Dependency versions are fixed when the package is built, so a caller cannot pin a scaffold to ranges the package was not built with.
5
+ * @evidence contracts/development/design.md#minimal-and-owned-surface `kind` selects the layers and generated files, and `name` fills the one per-project token; the name rule lives in `assertScaffoldProjectName`.
6
+ * @evidence contracts/development/design.md#prohibited-design-shortcuts No override or raw token field lets a caller bypass the name rule or the built versions.
7
+ * @evidence contracts/development/common.md#meaningful-documentation Each member states its effect on the created files.
8
8
  */
9
9
  export interface IAutoMovieScaffoldProps {
10
10
  /**
11
- * The new project's or workspace's name, substituted into its package.json and README heading after trimming. assertScaffoldProjectName documents the refused separators, ASCII controls and device-name patterns; its checks do not validate npm naming or every filesystem limit.
11
+ * The installation created.
12
+ *
13
+ * - `production`: a single production in its own repository, with the shared instructions and a `pnpm-workspace.yaml` holding its dependency catalogs.
14
+ * - `workspace`: a pnpm workspace root for `movies/shorts/*`, `movies/series/*` and `packages/*`, with the shared instructions and the catalogs every production uses.
15
+ * - `workspace-production`: a production inside such a workspace, three levels below the root whose instructions and catalogs it uses.
16
+ */
17
+ kind: "production" | "workspace" | "workspace-production";
18
+ /**
19
+ * The project's or workspace's name, written into its `package.json` and README heading after trimming. `assertScaffoldProjectName` lists the refused names.
12
20
  */
13
21
  name: string;
14
22
  }
@@ -8,7 +8,7 @@
8
8
  * @throws When the name is refused.
9
9
  *
10
10
  * @evidence contracts/development/implementation.md#principled-implementation After trim, explicit separator, ASCII control and device-name checks refuse the listed unsafe names; excluding quote, backslash and ASCII controls keeps plain substitution inside package.json's JSON string valid. This is a partial filename policy rather than npm-name or universal filesystem validation.
11
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Every renderer admits its `{{name}}` through this one rule, so a production, a workspace and a workspace production refuse the same names.
11
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure `createAutoMovieScaffold` admits its `{{name}}` through this one rule, so a production, a workspace and a workspace production refuse the same names.
12
12
  * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A refused name throws; nothing is rewritten into an admitted spelling.
13
13
  * @evidence contracts/development/common.md#meaningful-documentation The comment states the trim, every refusal and why it matters, and what the rule does not establish.
14
14
  * @evidence contracts/development/implementation.md#efficient-algorithms Two regular-expression scans and fixed comparisons cost linear time in the name's length.
@@ -11,7 +11,7 @@ exports.assertScaffoldProjectName = void 0;
11
11
  * @throws When the name is refused.
12
12
  *
13
13
  * @evidence contracts/development/implementation.md#principled-implementation After trim, explicit separator, ASCII control and device-name checks refuse the listed unsafe names; excluding quote, backslash and ASCII controls keeps plain substitution inside package.json's JSON string valid. This is a partial filename policy rather than npm-name or universal filesystem validation.
14
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Every renderer admits its `{{name}}` through this one rule, so a production, a workspace and a workspace production refuse the same names.
14
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure `createAutoMovieScaffold` admits its `{{name}}` through this one rule, so a production, a workspace and a workspace production refuse the same names.
15
15
  * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A refused name throws; nothing is rewritten into an admitted spelling.
16
16
  * @evidence contracts/development/common.md#meaningful-documentation The comment states the trim, every refusal and why it matters, and what the rule does not establish.
17
17
  * @evidence contracts/development/implementation.md#efficient-algorithms Two regular-expression scans and fixed comparisons cost linear time in the name's length.
@@ -0,0 +1,27 @@
1
+ import type { IAutoMovieScaffoldProps } from "./IAutoMovieScaffoldProps";
2
+ /**
3
+ * Create the files of a new AutoMovie installation as a `{ posixPath: content }` map.
4
+ *
5
+ * The map joins scaffold layers with generated files, by `kind`:
6
+ *
7
+ * - `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`.
8
+ * - `workspace`: the `instructions` and `workspace` layers, and `pnpm-workspace.yaml` listing `movies/shorts/*`, `movies/series/*` and `packages/*` with the same catalogs.
9
+ * - `workspace-production`: the `production` layer, and `evidence.config.ts` reading the workspace root's `../../../.agents/skills`.
10
+ *
11
+ * 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`.
12
+ *
13
+ * Nothing is written; the caller writes the map.
14
+ *
15
+ * @param props The installation kind and its name.
16
+ * @returns The files, keyed by path relative to the installation directory.
17
+ * @throws When the name is refused, when the build outputs are missing, or when two sources produce the same path.
18
+ *
19
+ * @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.
20
+ * @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.
21
+ * @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.
22
+ * @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.
23
+ * @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.
24
+ * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the scaffold as installed now, once per creation.
25
+ * @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.
26
+ */
27
+ export declare const createAutoMovieScaffold: (props: IAutoMovieScaffoldProps) => Record<string, string>;
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.createAutoMovieScaffold = void 0;
37
+ const fs = __importStar(require("node:fs"));
38
+ const path = __importStar(require("node:path"));
39
+ const yaml_1 = require("yaml");
40
+ const assertScaffoldProjectName_1 = require("./assertScaffoldProjectName");
41
+ const listAutoMovieScaffoldFiles_1 = require("./listAutoMovieScaffoldFiles");
42
+ const scaffoldSharedSkillPath_1 = require("./scaffoldSharedSkillPath");
43
+ /** The package root: `src` under ttsx and `lib` when published both sit one level below it. */
44
+ const PACKAGE = path.resolve(__dirname, "..");
45
+ /**
46
+ * Create the files of a new AutoMovie installation as a `{ posixPath: content }` map.
47
+ *
48
+ * The map joins scaffold layers with generated files, by `kind`:
49
+ *
50
+ * - `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`.
51
+ * - `workspace`: the `instructions` and `workspace` layers, and `pnpm-workspace.yaml` listing `movies/shorts/*`, `movies/series/*` and `packages/*` with the same catalogs.
52
+ * - `workspace-production`: the `production` layer, and `evidence.config.ts` reading the workspace root's `../../../.agents/skills`.
53
+ *
54
+ * 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`.
55
+ *
56
+ * Nothing is written; the caller writes the map.
57
+ *
58
+ * @param props The installation kind and its name.
59
+ * @returns The files, keyed by path relative to the installation directory.
60
+ * @throws When the name is refused, when the build outputs are missing, or when two sources produce the same path.
61
+ *
62
+ * @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.
63
+ * @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.
64
+ * @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.
65
+ * @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.
66
+ * @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.
67
+ * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the scaffold as installed now, once per creation.
68
+ * @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.
69
+ */
70
+ const createAutoMovieScaffold = (props) => {
71
+ const name = (0, assertScaffoldProjectName_1.assertScaffoldProjectName)(props.name);
72
+ const skills = props.kind === "workspace-production"
73
+ ? "../../../.agents/skills"
74
+ : ".agents/skills";
75
+ const files = Object.create(null);
76
+ const add = (relative, content) => {
77
+ if (relative in files)
78
+ throw new Error(`scaffold sources collide at "${relative}"`);
79
+ files[relative] = content
80
+ .replaceAll("\r\n", "\n")
81
+ .replaceAll("{{name}}", name)
82
+ .replaceAll("{{skills}}", skills);
83
+ };
84
+ if (props.kind !== "workspace-production")
85
+ readLayer("instructions", add);
86
+ readLayer(props.kind === "workspace" ? "workspace" : "production", add);
87
+ if (props.kind !== "workspace-production")
88
+ add("pnpm-workspace.yaml", renderPnpmWorkspace(props.kind === "workspace"));
89
+ if (props.kind !== "workspace")
90
+ add("evidence.config.ts", renderEvidenceConfig(props.kind === "workspace-production"));
91
+ return files;
92
+ };
93
+ exports.createAutoMovieScaffold = createAutoMovieScaffold;
94
+ /** Pass every file of one scaffold layer to `add`, expanding shared-skill placeholders and renaming the root `_gitignore`. */
95
+ const readLayer = (layer, add) => {
96
+ const root = path.join(PACKAGE, "scaffold", layer);
97
+ for (const relative of (0, listAutoMovieScaffoldFiles_1.listAutoMovieScaffoldFiles)(root)) {
98
+ const shared = (0, scaffoldSharedSkillPath_1.scaffoldSharedSkillPath)(relative);
99
+ if (shared === null) {
100
+ add(relative === "_gitignore" ? ".gitignore" : toPosix(relative), read(path.join(root, relative)));
101
+ continue;
102
+ }
103
+ const item = path.join(PACKAGE, "generated", "skills", shared);
104
+ const target = `.agents/skills/${shared}`;
105
+ if (fs.statSync(item).isDirectory())
106
+ for (const file of (0, listAutoMovieScaffoldFiles_1.listAutoMovieScaffoldFiles)(item))
107
+ add(`${target}/${toPosix(file)}`, read(path.join(item, file)));
108
+ else
109
+ add(target, read(item));
110
+ }
111
+ };
112
+ /** The `pnpm-workspace.yaml` of a single production, or with `packages` of a workspace root. */
113
+ const renderPnpmWorkspace = (packages) => {
114
+ const settings = JSON.parse(read(path.join(PACKAGE, "generated", "pnpm-workspace.json")));
115
+ const manifest = JSON.parse(read(path.join(PACKAGE, "package.json")));
116
+ return (0, yaml_1.stringify)({
117
+ ...(packages
118
+ ? { packages: ["movies/shorts/*", "movies/series/*", "packages/*"] }
119
+ : {}),
120
+ catalogs: {
121
+ automovie: Object.fromEntries(settings.automovie.map((key) => [
122
+ key,
123
+ `^${manifest.version}`,
124
+ ])),
125
+ ...settings.catalogs,
126
+ },
127
+ allowBuilds: settings.allowBuilds,
128
+ });
129
+ };
130
+ /** The `evidence.config.ts` of a production, reading its own skills or, inside a workspace, the root's. */
131
+ const renderEvidenceConfig = (workspace) => [
132
+ `import { createEvidenceConfig } from "@automovie/evidence";`,
133
+ ``,
134
+ workspace
135
+ ? `/** The default project checks source and tests without selecting a narrative, against the workspace root's skills. */`
136
+ : `/** The default project checks source and tests without selecting a narrative. */`,
137
+ `export default createEvidenceConfig({`,
138
+ ` location: import.meta.dirname,`,
139
+ ...(workspace ? [` skills: "../../../.agents/skills",`] : []),
140
+ `});`,
141
+ ``,
142
+ ].join("\n");
143
+ const read = (file) => fs.readFileSync(file, "utf8");
144
+ const toPosix = (relative) => relative.split(path.sep).join("/");
145
+ //# sourceMappingURL=createAutoMovieScaffold.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createAutoMovieScaffold.js","sourceRoot":"","sources":["../src/createAutoMovieScaffold.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,EAAE,oCAAgB;AAC9B,MAAY,IAAI,sCAAkB;AAClC,+BAAiC;AAGjC,2EAAwE;AACxE,6EAA0E;AAC1E,uEAAoE;AAEpE,+FAA+F;AAC/F,MAAM,OAAO,GAAW,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AActD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACI,MAAM,uBAAuB,GAEN,CAC5B,KAA8B,EACN,EAAE;IAC1B,MAAM,IAAI,GAAW,IAAA,qDAAyB,EAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC3D,MAAM,MAAM,GACV,KAAK,CAAC,IAAI,KAAK,sBAAsB;QACnC,CAAC,CAAC,yBAAyB;QAC3B,CAAC,CAAC,gBAAgB,CAAC;IACvB,MAAM,KAAK,GAA2B,MAAM,CAAC,MAAM,CAAC,IAAI,CAGvD,CAAC;IACF,MAAM,GAAG,GAAG,CAAC,QAAgB,EAAE,OAAe,EAAQ,EAAE;QACtD,IAAI,QAAQ,IAAI,KAAK;YACnB,MAAM,IAAI,KAAK,CAAC,gCAAgC,QAAQ,GAAG,CAAC,CAAC;QAC/D,KAAK,CAAC,QAAQ,CAAC,GAAG,OAAO;aACtB,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC;aACxB,UAAU,CAAC,UAAU,EAAE,IAAI,CAAC;aAC5B,UAAU,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACtC,CAAC,CAAC;IAEF,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAsB;QAAE,SAAS,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC;IAC1E,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;IACxE,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAsB;QACvC,GAAG,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,KAAK,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC;IAC9E,IAAI,KAAK,CAAC,IAAI,KAAK,WAAW;QAC5B,GAAG,CACD,oBAAoB,EACpB,oBAAoB,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAsB,CAAC,CAC5D,CAAC;IACJ,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAjCW,QAAA,uBAAuB,GAAvB,uBAAuB,CAiClC;AAEF,8HAA8H;AAC9H,MAAM,SAAS,GAAG,CAChB,KAAkD,EAClD,GAAgD,EAC1C,EAAE;IACR,MAAM,IAAI,GAAW,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;IAC3D,KAAK,MAAM,QAAQ,IAAI,IAAA,uDAA0B,EAAC,IAAI,CAAC,EAAE,CAAC;QACxD,MAAM,MAAM,GAAkB,IAAA,iDAAuB,EAAC,QAAQ,CAAC,CAAC;QAChE,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;YACpB,GAAG,CACD,QAAQ,KAAK,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,EAC5D,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAChC,CAAC;YACF,SAAS;QACX,CAAC;QACD,MAAM,IAAI,GAAW,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QACvE,MAAM,MAAM,GAAW,kBAAkB,MAAM,EAAE,CAAC;QAClD,IAAI,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE;YACjC,KAAK,MAAM,IAAI,IAAI,IAAA,uDAA0B,EAAC,IAAI,CAAC;gBACjD,GAAG,CAAC,GAAG,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;;YAC9D,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/B,CAAC;AACH,CAAC,CAAC;AAEF,gGAAgG;AAChG,MAAM,mBAAmB,GAAG,CAAC,QAAiB,EAAU,EAAE;IACxD,MAAM,QAAQ,GAA0B,IAAI,CAAC,KAAK,CAChD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,qBAAqB,CAAC,CAAC,CACpC,CAAC;IAC3B,MAAM,QAAQ,GAAwB,IAAI,CAAC,KAAK,CAC9C,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAClB,CAAC;IACzB,OAAO,IAAA,gBAAS,EAAC;QACf,GAAG,CAAC,QAAQ;YACV,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,YAAY,CAAC,EAAE;YACpE,CAAC,CAAC,EAAE,CAAC;QACP,QAAQ,EAAE;YACR,SAAS,EAAE,MAAM,CAAC,WAAW,CAC3B,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAW,EAAoB,EAAE,CAAC;gBACxD,GAAG;gBACH,IAAI,QAAQ,CAAC,OAAO,EAAE;aACvB,CAAC,CACH;YACD,GAAG,QAAQ,CAAC,QAAQ;SACrB;QACD,WAAW,EAAE,QAAQ,CAAC,WAAW;KAClC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,2GAA2G;AAC3G,MAAM,oBAAoB,GAAG,CAAC,SAAkB,EAAU,EAAE,CAC1D;IACE,6DAA6D;IAC7D,EAAE;IACF,SAAS;QACP,CAAC,CAAC,wHAAwH;QAC1H,CAAC,CAAC,mFAAmF;IACvF,uCAAuC;IACvC,kCAAkC;IAClC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,sCAAsC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9D,KAAK;IACL,EAAE;CACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEf,MAAM,IAAI,GAAG,CAAC,IAAY,EAAU,EAAE,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAErE,MAAM,OAAO,GAAG,CAAC,QAAgB,EAAU,EAAE,CAC3C,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC"}
package/lib/index.d.ts CHANGED
@@ -1,47 +1,3 @@
1
1
  export * from "./IAutoMovieScaffoldProps";
2
- export * from "./IAutoMovieScaffoldSourceEntry";
3
- export * from "./AutoMovieScaffoldLayer";
4
- export * from "./AUTOMOVIE_TEMPLATE_CATALOGS";
5
2
  export * from "./assertScaffoldProjectName";
6
- export * from "./renderScaffold";
7
- export * from "./renderScaffoldInstructions";
8
- export * from "./renderWorkspaceScaffold";
9
- export * from "./renderWorkspaceProductionScaffold";
10
- export * from "./renderScaffoldEntries";
11
- export * from "./scaffoldAssetDirectory";
12
- export * from "./renderTemplate";
13
- export * from "./IAutoMovieCatalogVersionProps";
14
- export * from "./resolveAutoMovieCatalogVersion";
15
- export * from "./publishNativeScaffoldFile";
16
- export * from "./IScaffoldParentPublicationRequest";
17
- export * from "./IScaffoldPhysicalDirectory";
18
- export * from "./ensureScaffoldBaseDirectory";
19
- export * from "./assertScaffoldPhysicalDirectory";
20
- export * from "./ensureScaffoldFileDirectory";
21
- export * from "./writeScaffoldFile";
22
- export * from "./IScaffoldPublicationEntry";
23
- export * from "./IScaffoldCompletedFilePublicationOutcome";
24
- export * from "./IScaffoldRefusedFilePublicationOutcome";
25
- export * from "./IScaffoldPartialFilePublicationOutcome";
26
- export * from "./ScaffoldFilePublicationOutcome";
27
- export * from "./IScaffoldCompletedPublication";
28
- export * from "./IScaffoldPublicationFailure";
29
- export * from "./IScaffoldPublicationReceipt";
30
- export * from "./planScaffoldPublication";
31
- export * from "./publishScaffoldCandidate";
32
- export * from "./AUTOMOVIE_TEMPLATE_VERSIONS";
33
- export * from "./IScaffoldPublicationOptions";
34
- export * from "./ScaffoldPublicationError";
35
- export * from "./writeFiles";
36
- export * from "./publishFiles";
37
- export * from "./IAutoMovieWorkspacePackageVersions";
38
- export * from "./IAutoMovieTemplateDependencyVersionsProps";
39
- export * from "./resolveAutoMovieTemplateDependencyVersions";
40
- export * from "./IScaffoldFileSnapshot";
41
- export * from "./IScaffoldSyncProps";
42
- export * from "./IScaffoldSyncPlan";
43
- export * from "./SCAFFOLD_SYNC_STATE_FILE";
44
- export * from "./planScaffoldSync";
45
- export * from "./syncScaffold";
46
- export * from "./IScaffoldPosixConstants";
47
- export * from "./resolveScaffoldPosixConstants";
3
+ export * from "./createAutoMovieScaffold";