@automovie/template 0.0.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 (741) 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 -487
  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/node/raster/AutoMovieRasterLighting.ts +0 -221
  622. package/scaffold/production/src/executable/viewer/node/raster/AutoMovieRasterSheet.ts +0 -175
  623. package/scaffold/production/src/executable/viewer/node/raster/AutoMovieRasterTarget.ts +0 -282
  624. package/scaffold/production/src/executable/viewer/node/raster/IAutoMovieSceneRaster.ts +0 -62
  625. package/scaffold/production/src/executable/viewer/node/raster/IRasterizeAutoMovieSceneProps.ts +0 -34
  626. package/scaffold/production/src/executable/viewer/node/raster/encodeAutoMovieRasterPng.ts +0 -77
  627. package/scaffold/production/src/executable/viewer/node/raster/index.ts +0 -8
  628. package/scaffold/production/src/executable/viewer/node/raster/rasterizeAutoMovieScene.ts +0 -594
  629. package/scaffold/production/src/executable/viewer/node/raster/stampAutoMovieRasterLabel.ts +0 -120
  630. package/scaffold/production/src/executable/viewer/process/ProcessOwnership.ts +0 -102
  631. package/scaffold/production/src/executable/viewer/process/internal/IProcessChildObservation.ts +0 -18
  632. package/scaffold/production/src/executable/viewer/process/internal/IProcessOwnershipHost.ts +0 -70
  633. package/scaffold/production/src/executable/viewer/process/internal/ProcessOwnershipController.ts +0 -125
  634. package/scaffold/production/src/executable/viewer/process/internal/WindowsProcessOwnershipPrograms.ts +0 -52
  635. package/scaffold/production/src/executable/viewer/process/internal/createNodeProcessOwnershipHost.ts +0 -41
  636. package/scaffold/production/src/executable/viewer/process/internal/decodeLinuxProcessIdentity.ts +0 -22
  637. package/scaffold/production/src/executable/viewer/process/internal/decodePosixProcessIdentity.ts +0 -24
  638. package/scaffold/production/src/executable/viewer/process/internal/decodeWindowsProcessResult.ts +0 -24
  639. package/scaffold/production/src/executable/viewer/process/internal/readNativeProcessIdentity.ts +0 -45
  640. package/scaffold/production/src/executable/viewer/process/internal/requireProcessId.ts +0 -15
  641. package/scaffold/production/src/executable/viewer/process/internal/resolveProcessIdentityReadError.ts +0 -15
  642. package/scaffold/production/src/executable/viewer/process/internal/runWindowsProcessOperation.ts +0 -41
  643. package/scaffold/production/src/executable/viewer/process/internal/selectProcessOwnershipTree.ts +0 -68
  644. package/scaffold/production/test/features/executable/test_plan_capture_stills.ts +0 -75
  645. package/scaffold/workspace/pnpm-workspace.yaml +0 -46
  646. package/src/AUTOMOVIE_TEMPLATE_CATALOGS.ts +0 -48
  647. package/src/AUTOMOVIE_TEMPLATE_VERSIONS.ts +0 -39
  648. package/src/AutoMovieScaffoldLayer.ts +0 -18
  649. package/src/FILE_ATTRIBUTE_DIRECTORY.ts +0 -2
  650. package/src/IAutoMovieCatalogVersionProps.ts +0 -18
  651. package/src/IAutoMovieScaffoldSourceEntry.ts +0 -19
  652. package/src/IAutoMovieTemplateDependencyVersionsProps.ts +0 -19
  653. package/src/IAutoMovieWorkspacePackageVersions.ts +0 -44
  654. package/src/IBoundChild.ts +0 -86
  655. package/src/IBoundChildStatus.ts +0 -24
  656. package/src/IBoundParent.ts +0 -65
  657. package/src/IBoundParentStatus.ts +0 -15
  658. package/src/ICreateResult.ts +0 -35
  659. package/src/IScaffoldCompletedFilePublicationOutcome.ts +0 -17
  660. package/src/IScaffoldCompletedPublication.ts +0 -17
  661. package/src/IScaffoldFileSnapshot.ts +0 -28
  662. package/src/IScaffoldParentPublicationRequest.ts +0 -29
  663. package/src/IScaffoldPartialFilePublicationOutcome.ts +0 -25
  664. package/src/IScaffoldPhysicalDirectory.ts +0 -22
  665. package/src/IScaffoldPosixConstants.ts +0 -30
  666. package/src/IScaffoldPublicationEntry.ts +0 -22
  667. package/src/IScaffoldPublicationFailure.ts +0 -18
  668. package/src/IScaffoldPublicationOptions.ts +0 -19
  669. package/src/IScaffoldPublicationReceipt.ts +0 -29
  670. package/src/IScaffoldRefusedFilePublicationOutcome.ts +0 -20
  671. package/src/IScaffoldSyncPlan.ts +0 -26
  672. package/src/IScaffoldSyncProps.ts +0 -16
  673. package/src/IWindowsFileInformation.ts +0 -24
  674. package/src/IWindowsLibrary.ts +0 -148
  675. package/src/SCAFFOLD_SYNC_STATE_FILE.ts +0 -5
  676. package/src/ScaffoldFilePublicationOutcome.ts +0 -18
  677. package/src/ScaffoldParentChangedError.ts +0 -14
  678. package/src/ScaffoldPublicationError.ts +0 -58
  679. package/src/assertOrdinaryFile.ts +0 -20
  680. package/src/assertOrdinarySingleLinkFile.ts +0 -26
  681. package/src/assertScaffoldOwnership.ts +0 -29
  682. package/src/assertScaffoldPhysicalDirectory.ts +0 -29
  683. package/src/attachScaffoldSyncState.ts +0 -30
  684. package/src/captureEmptyScaffoldPhysicalDirectory.ts +0 -45
  685. package/src/captureScaffoldFile.ts +0 -34
  686. package/src/captureScaffoldPhysicalDirectory.ts +0 -34
  687. package/src/combineScaffoldFailures.ts +0 -35
  688. package/src/createAutoMovieCatalogVersionResolver.ts +0 -117
  689. package/src/createScaffoldSyncState.ts +0 -33
  690. package/src/createScaffoldVariables.ts +0 -50
  691. package/src/ensureScaffoldBaseDirectory.ts +0 -55
  692. package/src/ensureScaffoldFileDirectory.ts +0 -75
  693. package/src/inside.ts +0 -25
  694. package/src/isScaffoldInstruction.ts +0 -29
  695. package/src/loadWindowsLibrary.ts +0 -277
  696. package/src/mergeScaffoldFiles.ts +0 -39
  697. package/src/missingPath.ts +0 -16
  698. package/src/nativeError.ts +0 -15
  699. package/src/openPosixParent.ts +0 -155
  700. package/src/openWindowsParent.ts +0 -305
  701. package/src/overwriteScaffoldFile.ts +0 -262
  702. package/src/physicalDirectoryIdentity.ts +0 -33
  703. package/src/physicalVersion.ts +0 -18
  704. package/src/planScaffoldPublication.ts +0 -100
  705. package/src/planScaffoldSync.ts +0 -122
  706. package/src/publishFiles.ts +0 -120
  707. package/src/publishNativeScaffoldFile.ts +0 -287
  708. package/src/publishScaffoldCandidate.ts +0 -94
  709. package/src/readAutoMovieScaffoldSources.ts +0 -82
  710. package/src/readScaffoldSyncFile.ts +0 -66
  711. package/src/renderScaffold.ts +0 -43
  712. package/src/renderScaffoldEntries.ts +0 -110
  713. package/src/renderScaffoldInstructions.ts +0 -22
  714. package/src/renderScaffoldLayer.ts +0 -38
  715. package/src/renderTemplate.ts +0 -62
  716. package/src/renderWorkspaceProductionScaffold.ts +0 -35
  717. package/src/renderWorkspaceScaffold.ts +0 -43
  718. package/src/replaceSharedScaffoldFile.ts +0 -88
  719. package/src/resolveAutoMovieCatalogVersion.ts +0 -27
  720. package/src/resolveAutoMovieTemplateDependencyVersions.ts +0 -70
  721. package/src/resolveScaffoldPosixConstants.ts +0 -50
  722. package/src/scaffoldAssetDirectory.ts +0 -30
  723. package/src/scaffoldPhysicalIdentity.ts +0 -21
  724. package/src/scaffoldSharedSkillDirectory.ts +0 -25
  725. package/src/syncScaffold.ts +0 -38
  726. package/src/writeFiles.ts +0 -48
  727. package/src/writeScaffoldFile.ts +0 -88
  728. package/src/writtenVersion.ts +0 -19
  729. /package/{lib → generated}/skills/contracts/development/common.md +0 -0
  730. /package/{lib → generated}/skills/visual-debugging/rendering-cost.md +0 -0
  731. /package/scaffold/instructions/.agents/skills/3d-modeling/{$crafting.md → $crafting} +0 -0
  732. /package/scaffold/instructions/.agents/skills/3d-modeling/{$diffusion.md → diffusion/$image-hints.md} +0 -0
  733. /package/scaffold/instructions/.agents/skills/3d-modeling/{$lofting.md → diffusion/$models.md} +0 -0
  734. /package/scaffold/instructions/.agents/skills/3d-modeling/{$recovery.md → diffusion/$prompts.md} +0 -0
  735. /package/scaffold/instructions/.agents/skills/{motion/$authoring.md → 3d-modeling/diffusion/$request.md} +0 -0
  736. /package/scaffold/instructions/.agents/skills/{motion/$contacts.md → 3d-modeling/diffusion/$shape-hints.md} +0 -0
  737. /package/scaffold/instructions/.agents/skills/motion/{$laws.md → laws/$authoring.md} +0 -0
  738. /package/scaffold/instructions/.agents/skills/motion/{$layers.md → laws/$contacts.md} +0 -0
  739. /package/scaffold/instructions/.agents/skills/motion/{$transitions.md → laws/$declaration.md} +0 -0
  740. /package/scaffold/instructions/.agents/skills/motion/{$variation.md → laws/$transitions.md} +0 -0
  741. /package/scaffold/instructions/.agents/skills/motion/{$verification.md → laws/$variation.md} +0 -0
@@ -1,103 +0,0 @@
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.readAutoMovieScaffoldSources = void 0;
37
- const fs = __importStar(require("node:fs"));
38
- const path = __importStar(require("node:path"));
39
- const listAutoMovieScaffoldFiles_1 = require("./listAutoMovieScaffoldFiles");
40
- const scaffoldSharedSkillPath_1 = require("./scaffoldSharedSkillPath");
41
- /** Scaffold-relative directory, with the host's separator, holding every skill. */
42
- const SKILLS = path.join(".agents", "skills");
43
- /**
44
- * Read every shipped scaffold source, replacing each `$<name>` placeholder with the repository skill item it names.
45
- *
46
- * The scaffold's own files come from {@link listAutoMovieScaffoldFiles} with their text. A placeholder, as {@link scaffoldSharedSkillPath} defines it, must be empty; it is dropped, and the item it names under `skills` takes its place: a folder contributes every file {@link listAutoMovieScaffoldFiles} lists under it, and a file contributes itself, each at the item's path under the scaffold's `.agents/skills`. The scaffold may not author a file inside a folder a placeholder ships, so a shared skill has no second, partial owner; an authored file at a shipped file's path is left for {@link renderScaffoldEntries} to refuse as a collision.
47
- *
48
- * @param root Absolute scaffold directory.
49
- * @param skills Absolute directory holding the repository skill items, laid out as the repository's `.agents/skills`.
50
- * @returns The sources, the scaffold's own in listing order with each placeholder's items at its position.
51
- * @throws When a placeholder has text, when the item it names is missing, or when the scaffold authors a file inside a shipped folder.
52
- *
53
- * @evidence contracts/development/implementation.md#principled-implementation Files are read as UTF-8 text like every other scaffold source; a folder item is listed by the same walker as the scaffold, so builder outputs and links inside it are excluded by the same policy; a shipped folder's files are found by a prefix match on the scaffold-relative path plus the separator, which cannot match a sibling whose name only starts with the folder's name.
54
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function owns reading sources and expanding placeholders, leaving the placeholder rule to `scaffoldSharedSkillPath`, the item location to the caller, and rendering and collision refusal to `renderScaffoldEntries`.
55
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No skill or file is named; every placeholder takes the same path, and a non-empty placeholder or an authored file inside a shipped folder is refused instead of being merged or discarded.
56
- * @evidence contracts/development/common.md#meaningful-documentation The comment states what is read, the placeholder's empty requirement, how folder and file items are placed, the refused overlap and the collision left to rendering, the output order, and what throws.
57
- * @evidence contracts/development/implementation.md#efficient-algorithms The scaffold is listed once and each source file is read once; each placeholder adds one stat and one listing of its item, and the overlap check compares each authored path with each shipped folder prefix, costing authored files times shipped folders.
58
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the scaffold and the shared items as installed now, once per render.
59
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Reads use `readFileSync` and `statSync`, which release their handles before returning; the listing lives only for the call, and the returned sources, one string per file, are owned by the caller.
60
- */
61
- const readAutoMovieScaffoldSources = (root, skills) => {
62
- const relatives = (0, listAutoMovieScaffoldFiles_1.listAutoMovieScaffoldFiles)(root);
63
- // Locate the shipped folders first, so an authored file inside one is refused wherever the walk meets it.
64
- const folders = [];
65
- for (const relative of relatives) {
66
- const shared = (0, scaffoldSharedSkillPath_1.scaffoldSharedSkillPath)(relative);
67
- if (shared === null)
68
- continue;
69
- const item = path.join(skills, shared);
70
- if (!fs.existsSync(item))
71
- throw new Error(`scaffold placeholder "${relative}" names a missing shared skill item: ${item}`);
72
- if (fs.statSync(item).isDirectory())
73
- folders.push(path.join(SKILLS, shared) + path.sep);
74
- }
75
- const out = [];
76
- for (const relative of relatives) {
77
- const content = fs.readFileSync(path.join(root, relative), "utf8");
78
- const shared = (0, scaffoldSharedSkillPath_1.scaffoldSharedSkillPath)(relative);
79
- if (shared === null) {
80
- const folder = folders.find((prefix) => relative.startsWith(prefix));
81
- if (folder !== undefined)
82
- throw new Error(`scaffold file "${relative}" lies inside the shared skill folder "${folder}" that a placeholder ships`);
83
- out.push({ content, relative });
84
- continue;
85
- }
86
- if (content.length !== 0)
87
- throw new Error(`scaffold placeholder "${relative}" must be empty`);
88
- // Ship the named item at its own path, never the placeholder.
89
- const item = path.join(skills, shared);
90
- const target = path.join(SKILLS, shared);
91
- if (fs.statSync(item).isDirectory())
92
- for (const file of (0, listAutoMovieScaffoldFiles_1.listAutoMovieScaffoldFiles)(item))
93
- out.push({
94
- content: fs.readFileSync(path.join(item, file), "utf8"),
95
- relative: path.join(target, file),
96
- });
97
- else
98
- out.push({ content: fs.readFileSync(item, "utf8"), relative: target });
99
- }
100
- return out;
101
- };
102
- exports.readAutoMovieScaffoldSources = readAutoMovieScaffoldSources;
103
- //# sourceMappingURL=readAutoMovieScaffoldSources.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"readAutoMovieScaffoldSources.js","sourceRoot":"","sources":["../src/readAutoMovieScaffoldSources.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,EAAE,oCAAgB;AAC9B,MAAY,IAAI,sCAAkB;AAGlC,6EAA0E;AAC1E,uEAAoE;AAEpE,mFAAmF;AACnF,MAAM,MAAM,GAAW,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;AAEtD;;;;;;;;;;;;;;;;;GAiBG;AACI,MAAM,4BAA4B,GAGF,CACrC,IAAY,EACZ,MAAc,EACmB,EAAE;IACnC,MAAM,SAAS,GAAa,IAAA,uDAA0B,EAAC,IAAI,CAAC,CAAC;IAE7D,0GAA0G;IAC1G,MAAM,OAAO,GAAa,EAAE,CAAC;IAC7B,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,MAAM,MAAM,GAAkB,IAAA,iDAAuB,EAAC,QAAQ,CAAC,CAAC;QAChE,IAAI,MAAM,KAAK,IAAI;YAAE,SAAS;QAC9B,MAAM,IAAI,GAAW,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC/C,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;YACtB,MAAM,IAAI,KAAK,CACb,yBAAyB,QAAQ,wCAAwC,IAAI,EAAE,CAChF,CAAC;QACJ,IAAI,EAAE,CAAC,QAAQ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,GAAG,CAAC,IAAI,CAAC;oBACP,OAAO,EAAE,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC;oBACvD,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC;iBAClC,CAAC,CAAC;;YACF,GAAG,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9E,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AArDW,QAAA,4BAA4B,GAA5B,4BAA4B,CAqDvC"}
@@ -1,16 +0,0 @@
1
- import type { IScaffoldFileSnapshot } from "./IScaffoldFileSnapshot";
2
- /**
3
- * Reads an ordinary single-link sync input and captures its unchanged generation.
4
- *
5
- * @evidence contracts/development/implementation.md#principled-implementation Captured ordinary root and inner directories are revalidated around strict UTF-8 reading, and file identity/written generation must survive the read.
6
- * @evidence contracts/development/implementation.md#clear-and-simple-structure This shared input boundary handles current instructions, state and a declared prior baseline.
7
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Linked directories/files and multi-link files refuse; only genuinely missing levels return undefined, and concurrent changes propagate.
8
- * @evidence contracts/development/common.md#meaningful-documentation The return record separates text from its later write precondition; directory and file refusals remain explicit.
9
- * @evidence contracts/development/implementation.md#efficient-algorithms Parent captures scale with path depth and reading with file bytes; no directory tree is recursively enumerated.
10
- * @evidence contracts/development/implementation.md#reuse-equivalent-work The root and parent captures serve the before/after ownership checks within this read; other files receive fresh observations.
11
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Synchronous reads close their descriptor; temporary directory captures hold scalar identities only and returned text/snapshot belong to the caller.
12
- */
13
- export declare function readScaffoldSyncFile(location: string, relative: string): {
14
- text: string;
15
- snapshot: IScaffoldFileSnapshot;
16
- } | undefined;
@@ -1,64 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.readScaffoldSyncFile = readScaffoldSyncFile;
7
- const node_fs_1 = __importDefault(require("node:fs"));
8
- const node_path_1 = __importDefault(require("node:path"));
9
- const assertScaffoldOwnership_1 = require("./assertScaffoldOwnership");
10
- const captureScaffoldFile_1 = require("./captureScaffoldFile");
11
- const captureScaffoldPhysicalDirectory_1 = require("./captureScaffoldPhysicalDirectory");
12
- const missingPath_1 = require("./missingPath");
13
- /**
14
- * Reads an ordinary single-link sync input and captures its unchanged generation.
15
- *
16
- * @evidence contracts/development/implementation.md#principled-implementation Captured ordinary root and inner directories are revalidated around strict UTF-8 reading, and file identity/written generation must survive the read.
17
- * @evidence contracts/development/implementation.md#clear-and-simple-structure This shared input boundary handles current instructions, state and a declared prior baseline.
18
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Linked directories/files and multi-link files refuse; only genuinely missing levels return undefined, and concurrent changes propagate.
19
- * @evidence contracts/development/common.md#meaningful-documentation The return record separates text from its later write precondition; directory and file refusals remain explicit.
20
- * @evidence contracts/development/implementation.md#efficient-algorithms Parent captures scale with path depth and reading with file bytes; no directory tree is recursively enumerated.
21
- * @evidence contracts/development/implementation.md#reuse-equivalent-work The root and parent captures serve the before/after ownership checks within this read; other files receive fresh observations.
22
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Synchronous reads close their descriptor; temporary directory captures hold scalar identities only and returned text/snapshot belong to the caller.
23
- */
24
- function readScaffoldSyncFile(location, relative) {
25
- const root = node_path_1.default.resolve(location);
26
- const base = (0, captureScaffoldPhysicalDirectory_1.captureScaffoldPhysicalDirectory)(root);
27
- const target = node_path_1.default.resolve(root, relative);
28
- const local = node_path_1.default.relative(root, target);
29
- if (local === "" ||
30
- local === ".." ||
31
- local.startsWith(".." + node_path_1.default.sep) ||
32
- node_path_1.default.isAbsolute(local))
33
- throw new Error("Sync input escapes its root.");
34
- const parents = [base];
35
- let directory = root;
36
- try {
37
- for (const part of local.split(node_path_1.default.sep).slice(0, -1)) {
38
- directory = node_path_1.default.join(directory, part);
39
- const captured = (0, captureScaffoldPhysicalDirectory_1.captureScaffoldPhysicalDirectory)(directory);
40
- (0, assertScaffoldOwnership_1.assertScaffoldOwnership)(base, captured);
41
- parents.push(captured);
42
- }
43
- const snapshot = (0, captureScaffoldFile_1.captureScaffoldFile)(target);
44
- const text = new TextDecoder("utf-8", {
45
- fatal: true,
46
- ignoreBOM: true,
47
- }).decode(node_fs_1.default.readFileSync(target));
48
- const after = (0, captureScaffoldFile_1.captureScaffoldFile)(target);
49
- if (snapshot.identity !== after.identity ||
50
- snapshot.written !== after.written)
51
- throw new Error("Sync input changed while reading: " + relative);
52
- for (const parent of parents)
53
- (0, assertScaffoldOwnership_1.assertScaffoldOwnership)(base, parent);
54
- return { text, snapshot };
55
- }
56
- catch (error) {
57
- if (!(0, missingPath_1.missingPath)(error))
58
- throw error;
59
- for (const parent of parents)
60
- (0, assertScaffoldOwnership_1.assertScaffoldOwnership)(base, parent);
61
- return undefined;
62
- }
63
- }
64
- //# sourceMappingURL=readScaffoldSyncFile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"readScaffoldSyncFile.js","sourceRoot":"","sources":["../src/readScaffoldSyncFile.ts"],"names":[],"mappings":";;;;;;AAAA,sDAAyB;AACzB,0DAA6B;AAI7B,uEAAoE;AACpE,+DAA4D;AAC5D,yFAAsF;AACtF,+CAA4C;AAE5C;;;;;;;;;;GAUG;AACH,8BACE,QAAgB,EAChB,QAAgB;IAEhB,MAAM,IAAI,GAAW,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC5C,MAAM,IAAI,GACR,IAAA,mEAAgC,EAAC,IAAI,CAAC,CAAC;IACzC,MAAM,MAAM,GAAW,mBAAI,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,C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,IAAI,KAAK,CAAC,oCAAoC,GAAG,QAAQ,CAAC,CAAC;QACnE,KAAK,MAAM,MAAM,IAAI,OAAO;YAAE,IAAA,iDAAuB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACpE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;IAC5B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,IAAA,yBAAW,EAAC,KAAK,CAAC;YAAE,MAAM,KAAK,CAAC;QACrC,KAAK,MAAM,MAAM,IAAI,OAAO;YAAE,IAAA,iDAAuB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACpE,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC"}
@@ -1,19 +0,0 @@
1
- import type { IAutoMovieScaffoldProps } from "./IAutoMovieScaffoldProps";
2
- /**
3
- * Render a single production, its own repository, into an in-memory `{ posixPath: content }` map.
4
- *
5
- * The map joins the shared instruction surface from {@link renderScaffoldInstructions} with the `production` layer, whose `{{name}}` is the admitted name, `{{skills}}` the production's own `.agents/skills`, and `{{version:<key>}}` the build-time `AUTOMOVIE_TEMPLATE_VERSIONS` ranges. Every file has LF line endings, the root `_gitignore` stand-in is returned as `.gitignore`, and the generated instruction digests are added for explicit later sync. Nothing is written; {@link publishFiles} and {@link writeFiles} write the map.
6
- *
7
- * @param props The project's name, admitted by {@link assertScaffoldProjectName}.
8
- * @returns The rendered file map.
9
- * @throws When the name is refused, when a layer or the shared-skill directory is missing, on a placeholder refusal, on a token error, or on a path collision within or between layers.
10
- *
11
- * @evidence contracts/development/implementation.md#principled-implementation The production's links and evidence configuration reach `.agents/skills` beside them, and its dependencies carry the ranges this package was built with.
12
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function chooses the layers and token values; name admission, layer rendering, joining and sync state each have one owner.
13
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The only variables are the name, the skills path and the generated version table, with no per-file exception; a failure in any step throws instead of returning a partial map.
14
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the layers, every token value, the normalization and rename, the added state, that nothing is written, and what throws.
15
- * @evidence contracts/development/implementation.md#efficient-algorithms Two layer renders, one join pass and one digest per instruction file.
16
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the scaffold as installed now and is made once per CLI run.
17
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Reads close before returning, and the returned map, which holds the whole rendered scaffold in memory, is owned by the caller.
18
- */
19
- export declare const renderScaffold: (props: IAutoMovieScaffoldProps) => Record<string, string>;
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.renderScaffold = void 0;
4
- const assertScaffoldProjectName_1 = require("./assertScaffoldProjectName");
5
- const attachScaffoldSyncState_1 = require("./attachScaffoldSyncState");
6
- const createScaffoldVariables_1 = require("./createScaffoldVariables");
7
- const mergeScaffoldFiles_1 = require("./mergeScaffoldFiles");
8
- const renderScaffoldInstructions_1 = require("./renderScaffoldInstructions");
9
- const renderScaffoldLayer_1 = require("./renderScaffoldLayer");
10
- /**
11
- * Render a single production, its own repository, into an in-memory `{ posixPath: content }` map.
12
- *
13
- * The map joins the shared instruction surface from {@link renderScaffoldInstructions} with the `production` layer, whose `{{name}}` is the admitted name, `{{skills}}` the production's own `.agents/skills`, and `{{version:<key>}}` the build-time `AUTOMOVIE_TEMPLATE_VERSIONS` ranges. Every file has LF line endings, the root `_gitignore` stand-in is returned as `.gitignore`, and the generated instruction digests are added for explicit later sync. Nothing is written; {@link publishFiles} and {@link writeFiles} write the map.
14
- *
15
- * @param props The project's name, admitted by {@link assertScaffoldProjectName}.
16
- * @returns The rendered file map.
17
- * @throws When the name is refused, when a layer or the shared-skill directory is missing, on a placeholder refusal, on a token error, or on a path collision within or between layers.
18
- *
19
- * @evidence contracts/development/implementation.md#principled-implementation The production's links and evidence configuration reach `.agents/skills` beside them, and its dependencies carry the ranges this package was built with.
20
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function chooses the layers and token values; name admission, layer rendering, joining and sync state each have one owner.
21
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The only variables are the name, the skills path and the generated version table, with no per-file exception; a failure in any step throws instead of returning a partial map.
22
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the layers, every token value, the normalization and rename, the added state, that nothing is written, and what throws.
23
- * @evidence contracts/development/implementation.md#efficient-algorithms Two layer renders, one join pass and one digest per instruction file.
24
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the scaffold as installed now and is made once per CLI run.
25
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Reads close before returning, and the returned map, which holds the whole rendered scaffold in memory, is owned by the caller.
26
- */
27
- const renderScaffold = (props) => (0, attachScaffoldSyncState_1.attachScaffoldSyncState)((0, mergeScaffoldFiles_1.mergeScaffoldFiles)((0, renderScaffoldInstructions_1.renderScaffoldInstructions)(), (0, renderScaffoldLayer_1.renderScaffoldLayer)("production", (0, createScaffoldVariables_1.createScaffoldVariables)({
28
- name: (0, assertScaffoldProjectName_1.assertScaffoldProjectName)(props.name),
29
- skills: ".agents/skills",
30
- dependencies: "release",
31
- }))));
32
- exports.renderScaffold = renderScaffold;
33
- //# sourceMappingURL=renderScaffold.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderScaffold.js","sourceRoot":"","sources":["../src/renderScaffold.ts"],"names":[],"mappings":";;;AACA,2EAAwE;AACxE,uEAAoE;AACpE,uEAAoE;AACpE,6DAA0D;AAC1D,6EAA0E;AAC1E,+DAA4D;AAE5D;;;;;;;;;;;;;;;;GAgBG;AACI,MAAM,cAAc,GAEG,CAC5B,KAA8B,EACN,EAAE,CAC1B,IAAA,iDAAuB,EACrB,IAAA,uCAAkB,EAChB,IAAA,uDAA0B,GAAE,EAC5B,IAAA,yCAAmB,EACjB,YAAY,EACZ,IAAA,iDAAuB,EAAC;IACtB,IAAI,EAAE,IAAA,qDAAyB,EAAC,KAAK,CAAC,IAAI,CAAC;IAC3C,MAAM,EAAE,gBAAgB;IACxB,YAAY,EAAE,SAAS;CACxB,CAAC,CACH,CACF,CACF,CAAC;AAjBS,QAAA,cAAc,GAAd,cAAc,CAiBvB"}
@@ -1,20 +0,0 @@
1
- import type { IAutoMovieScaffoldSourceEntry } from "./IAutoMovieScaffoldSourceEntry";
2
- /**
3
- * Render a list of scaffold sources into a `{ posixPath: content }` map, refusing the whole list when two sources render to the same path.
4
- *
5
- * Each content has CRLF normalized to LF and its tokens rendered; each path is rendered the same way, with `/` separators, and a root `_gitignore` becomes `.gitignore`, so a scaffold that ships both is refused as a collision. The collision error names the first colliding path in code-unit order and both source paths, independent of the input order. The returned object has no prototype, so a key such as `__proto__` is an ordinary file path.
6
- *
7
- * @param entries Source paths relative to the scaffold root, with their text.
8
- * @param variables Token values, as for {@link renderTemplate}.
9
- * @returns The rendered file map.
10
- * @throws On a collision or on any token error from {@link renderTemplate}.
11
- *
12
- * @evidence contracts/development/implementation.md#principled-implementation Collisions are found by sorting rendered entries by output path, then source path, and comparing neighbours, which detects a duplicate whenever one exists and reports the smallest colliding path regardless of input order; string relational operators compare UTF-16 code units, so the order does not depend on the host locale; `Object.defineProperty` on a null-prototype object stores `__proto__` as data instead of invoking the setter.
13
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function owns line endings, path rendering, the `.gitignore` rename, and collision refusal for an explicit source list, while `renderScaffold` owns reading the scaffold from disk, so this step works on any list without file-system access.
14
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The `_gitignore` rename is the one path special case, and its basis is npm's documented renaming of `.gitignore` in packed packages; a collision is refused rather than resolved by keeping either source.
15
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the normalization, the path rules and the rename, what a collision reports and that it is order independent, the null prototype, and what throws.
16
- * @evidence contracts/development/implementation.md#efficient-algorithms Each content and path is rendered once with renderTemplate's token-search and string-construction costs. Collision reporting sorts a copy of n rendered entries, using n log n path comparisons whose cost depends on shared path prefixes, then scans neighbours once to choose the smallest collision deterministically.
17
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Every entry renders distinct text once; there is no repeated computation within a call, and a new call receives a new source list.
18
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The rendered list and its sorted copy live only for the call; the returned map holds one string per entry and is owned by the caller.
19
- */
20
- export declare const renderScaffoldEntries: (entries: readonly IAutoMovieScaffoldSourceEntry[], variables: Readonly<Record<string, string>>) => Record<string, string>;
@@ -1,106 +0,0 @@
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.renderScaffoldEntries = void 0;
37
- const path = __importStar(require("node:path"));
38
- const renderTemplate_1 = require("./renderTemplate");
39
- /**
40
- * Normalize `\r\n` to `\n` so the scaffold emits identical bytes on every host: a Windows checkout with `core.autocrlf` would otherwise ship CRLF. The tree is text only, so the replacement cannot corrupt binary content.
41
- */
42
- const normalizeLineEndings = (content) => content.replaceAll("\r\n", "\n");
43
- /** Join path segments with `/` so map keys do not depend on the host. */
44
- const toPosix = (value) => value.split(path.sep).join("/");
45
- /**
46
- * The rendered key for one scaffold-relative path.
47
- *
48
- * Path segments get the same strict substitution and unknown-token failure as file contents, so a templated path cannot ship verbatim. The root `_gitignore` stand-in becomes `.gitignore` only here, because npm pack renames a packed `.gitignore` to `.npmignore`; nested files of that name stay ordinary paths.
49
- */
50
- const renderKey = (relative, variables) => {
51
- const dir = path.dirname(relative);
52
- const base = path.basename(relative);
53
- const outputBase = dir === "." && base === "_gitignore" ? ".gitignore" : base;
54
- return (0, renderTemplate_1.renderTemplate)(toPosix(dir === "." ? outputBase : path.join(dir, outputBase)), variables);
55
- };
56
- /**
57
- * Render a list of scaffold sources into a `{ posixPath: content }` map, refusing the whole list when two sources render to the same path.
58
- *
59
- * Each content has CRLF normalized to LF and its tokens rendered; each path is rendered the same way, with `/` separators, and a root `_gitignore` becomes `.gitignore`, so a scaffold that ships both is refused as a collision. The collision error names the first colliding path in code-unit order and both source paths, independent of the input order. The returned object has no prototype, so a key such as `__proto__` is an ordinary file path.
60
- *
61
- * @param entries Source paths relative to the scaffold root, with their text.
62
- * @param variables Token values, as for {@link renderTemplate}.
63
- * @returns The rendered file map.
64
- * @throws On a collision or on any token error from {@link renderTemplate}.
65
- *
66
- * @evidence contracts/development/implementation.md#principled-implementation Collisions are found by sorting rendered entries by output path, then source path, and comparing neighbours, which detects a duplicate whenever one exists and reports the smallest colliding path regardless of input order; string relational operators compare UTF-16 code units, so the order does not depend on the host locale; `Object.defineProperty` on a null-prototype object stores `__proto__` as data instead of invoking the setter.
67
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function owns line endings, path rendering, the `.gitignore` rename, and collision refusal for an explicit source list, while `renderScaffold` owns reading the scaffold from disk, so this step works on any list without file-system access.
68
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The `_gitignore` rename is the one path special case, and its basis is npm's documented renaming of `.gitignore` in packed packages; a collision is refused rather than resolved by keeping either source.
69
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the normalization, the path rules and the rename, what a collision reports and that it is order independent, the null prototype, and what throws.
70
- * @evidence contracts/development/implementation.md#efficient-algorithms Each content and path is rendered once with renderTemplate's token-search and string-construction costs. Collision reporting sorts a copy of n rendered entries, using n log n path comparisons whose cost depends on shared path prefixes, then scans neighbours once to choose the smallest collision deterministically.
71
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Every entry renders distinct text once; there is no repeated computation within a call, and a new call receives a new source list.
72
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The rendered list and its sorted copy live only for the call; the returned map holds one string per entry and is owned by the caller.
73
- */
74
- const renderScaffoldEntries = (entries, variables) => {
75
- const rendered = entries.map((entry) => ({
76
- content: (0, renderTemplate_1.renderTemplate)(normalizeLineEndings(entry.content), variables),
77
- relative: renderKey(entry.relative, variables),
78
- source: toPosix(entry.relative),
79
- }));
80
- const ordered = [...rendered].sort((left, right) => left.relative < right.relative
81
- ? -1
82
- : left.relative > right.relative
83
- ? 1
84
- : left.source < right.source
85
- ? -1
86
- : left.source > right.source
87
- ? 1
88
- : 0);
89
- for (let index = 1; index < ordered.length; index++) {
90
- const previous = ordered[index - 1];
91
- const current = ordered[index];
92
- if (previous.relative === current.relative)
93
- throw new Error(`scaffold sources collide at rendered path "${current.relative}": "${previous.source}", "${current.source}"`);
94
- }
95
- const files = Object.create(null);
96
- for (const entry of rendered)
97
- Object.defineProperty(files, entry.relative, {
98
- configurable: true,
99
- enumerable: true,
100
- value: entry.content,
101
- writable: true,
102
- });
103
- return files;
104
- };
105
- exports.renderScaffoldEntries = renderScaffoldEntries;
106
- //# sourceMappingURL=renderScaffoldEntries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderScaffoldEnt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E;YAC3C,YAAY,EAAE,IAAI;YAClB,UAAU,EAAE,IAAI;YAChB,KAAK,EAAE,KAAK,CAAC,OAAO;YACpB,QAAQ,EAAE,IAAI;SACf,CAAC,CAAC;IACL,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AA9CW,QAAA,qBAAqB,GAArB,qBAAqB,CA8ChC"}
@@ -1,17 +0,0 @@
1
- /**
2
- * Render the shared instruction surface: `AGENTS.md`, `CLAUDE.md` and `.agents/skills`, with every `$<name>` placeholder expanded.
3
- *
4
- * The layer is rendered with no tokens, so its bytes are identical for a single production and a workspace root, and explicit sync can compare either against one bundle. A token in an instruction file fails the render.
5
- *
6
- * @returns The instruction files, relative to the directory holding `AGENTS.md`.
7
- * @throws As {@link renderScaffoldLayer} does.
8
- *
9
- * @evidence contracts/development/implementation.md#principled-implementation An empty token table makes the instruction bytes independent of the project name and layout, which is what lets one sync plan serve both installations.
10
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Creation and sync obtain the instruction surface from this one function.
11
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No installation-specific value reaches the instructions; a layout difference belongs to the production or workspace layer.
12
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the content, why no tokens are supplied, and what fails.
13
- * @evidence contracts/development/implementation.md#efficient-algorithms One layer render, with the costs of the reader and renderer.
14
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the installed bundle as it is now.
15
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned map is owned by the caller.
16
- */
17
- export declare const renderScaffoldInstructions: () => Record<string, string>;
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.renderScaffoldInstructions = void 0;
4
- const renderScaffoldLayer_1 = require("./renderScaffoldLayer");
5
- /**
6
- * Render the shared instruction surface: `AGENTS.md`, `CLAUDE.md` and `.agents/skills`, with every `$<name>` placeholder expanded.
7
- *
8
- * The layer is rendered with no tokens, so its bytes are identical for a single production and a workspace root, and explicit sync can compare either against one bundle. A token in an instruction file fails the render.
9
- *
10
- * @returns The instruction files, relative to the directory holding `AGENTS.md`.
11
- * @throws As {@link renderScaffoldLayer} does.
12
- *
13
- * @evidence contracts/development/implementation.md#principled-implementation An empty token table makes the instruction bytes independent of the project name and layout, which is what lets one sync plan serve both installations.
14
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Creation and sync obtain the instruction surface from this one function.
15
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No installation-specific value reaches the instructions; a layout difference belongs to the production or workspace layer.
16
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the content, why no tokens are supplied, and what fails.
17
- * @evidence contracts/development/implementation.md#efficient-algorithms One layer render, with the costs of the reader and renderer.
18
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the installed bundle as it is now.
19
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned map is owned by the caller.
20
- */
21
- const renderScaffoldInstructions = () => (0, renderScaffoldLayer_1.renderScaffoldLayer)("instructions", {});
22
- exports.renderScaffoldInstructions = renderScaffoldInstructions;
23
- //# sourceMappingURL=renderScaffoldInstructions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderScaffoldInstructions.js","sourceRoot":"","sources":["../src/renderScaffoldInstructions.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;AAE5D;;;;;;;;;;;;;;;GAeG;AACI,MAAM,0BAA0B,GAGnC,GAA2B,EAAE,CAAC,IAAA,yCAAmB,EAAC,cAAc,EAAE,EAAE,CAAC,CAAC;AAH7D,QAAA,0BAA0B,GAA1B,0BAA0B,CAGmC"}
@@ -1,20 +0,0 @@
1
- import type { AutoMovieScaffoldLayer } from "./AutoMovieScaffoldLayer";
2
- /**
3
- * Render one bundled scaffold layer into a `{ posixPath: content }` map relative to the directory it installs into.
4
- *
5
- * The layer's files are read with each `$<name>` placeholder expanded by {@link readAutoMovieScaffoldSources}, then rendered by {@link renderScaffoldEntries}: LF line endings, tokens replaced from `variables`, the layer-root `_gitignore` returned as `.gitignore`, and colliding paths refused.
6
- *
7
- * @param layer The layer to render.
8
- * @param variables Token values; a token absent from them fails the render.
9
- * @returns The rendered layer.
10
- * @throws When the layer or shared-skill directory is missing, on a placeholder refusal, or on a token error or path collision.
11
- *
12
- * @evidence contracts/development/implementation.md#principled-implementation Each layer is an ordinary scaffold root, so the existing reader and renderer apply unchanged, including the root `_gitignore` rename per installed directory.
13
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function only joins location, reading and rendering; composition and naming stay with the public renderers.
14
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No layer or file is special-cased here; any failure throws instead of returning part of a layer.
15
- * @evidence contracts/development/common.md#meaningful-documentation The comment states what is read, how it is rendered, and what throws.
16
- * @evidence contracts/development/implementation.md#efficient-algorithms The layer is walked and each file read and rendered once, with the costs of the reader and renderer it calls.
17
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the layer as installed now; a render reads each layer at most once.
18
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Reads close before returning, and the returned map is owned by the caller.
19
- */
20
- export declare const renderScaffoldLayer: (layer: AutoMovieScaffoldLayer, variables: Readonly<Record<string, string>>) => Record<string, string>;
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.renderScaffoldLayer = void 0;
4
- const readAutoMovieScaffoldSources_1 = require("./readAutoMovieScaffoldSources");
5
- const renderScaffoldEntries_1 = require("./renderScaffoldEntries");
6
- const scaffoldAssetDirectory_1 = require("./scaffoldAssetDirectory");
7
- const scaffoldSharedSkillDirectory_1 = require("./scaffoldSharedSkillDirectory");
8
- /**
9
- * Render one bundled scaffold layer into a `{ posixPath: content }` map relative to the directory it installs into.
10
- *
11
- * The layer's files are read with each `$<name>` placeholder expanded by {@link readAutoMovieScaffoldSources}, then rendered by {@link renderScaffoldEntries}: LF line endings, tokens replaced from `variables`, the layer-root `_gitignore` returned as `.gitignore`, and colliding paths refused.
12
- *
13
- * @param layer The layer to render.
14
- * @param variables Token values; a token absent from them fails the render.
15
- * @returns The rendered layer.
16
- * @throws When the layer or shared-skill directory is missing, on a placeholder refusal, or on a token error or path collision.
17
- *
18
- * @evidence contracts/development/implementation.md#principled-implementation Each layer is an ordinary scaffold root, so the existing reader and renderer apply unchanged, including the root `_gitignore` rename per installed directory.
19
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The function only joins location, reading and rendering; composition and naming stay with the public renderers.
20
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No layer or file is special-cased here; any failure throws instead of returning part of a layer.
21
- * @evidence contracts/development/common.md#meaningful-documentation The comment states what is read, how it is rendered, and what throws.
22
- * @evidence contracts/development/implementation.md#efficient-algorithms The layer is walked and each file read and rendered once, with the costs of the reader and renderer it calls.
23
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the layer as installed now; a render reads each layer at most once.
24
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Reads close before returning, and the returned map is owned by the caller.
25
- */
26
- const renderScaffoldLayer = (layer, variables) => (0, renderScaffoldEntries_1.renderScaffoldEntries)((0, readAutoMovieScaffoldSources_1.readAutoMovieScaffoldSources)((0, scaffoldAssetDirectory_1.scaffoldAssetDirectory)(layer), (0, scaffoldSharedSkillDirectory_1.scaffoldSharedSkillDirectory)()), variables);
27
- exports.renderScaffoldLayer = renderScaffoldLayer;
28
- //# sourceMappingURL=renderScaffoldLayer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderScaffoldLayer.js","sourceRoot":"","sources":["../src/renderScaffoldLayer.ts"],"names":[],"mappings":";;;AACA,iFAA8E;AAC9E,mEAAgE;AAChE,qEAAkE;AAClE,iFAA8E;AAE9E;;;;;;;;;;;;;;;;;GAiBG;AACI,MAAM,mBAAmB,GAGF,CAC5B,KAA6B,EAC7B,SAA2C,EACnB,EAAE,CAC1B,IAAA,6CAAqB,EACnB,IAAA,2DAA4B,EAC1B,IAAA,+CAAsB,EAAC,KAAK,CAAC,EAC7B,IAAA,2DAA4B,GAAE,CAC/B,EACD,SAAS,CACV,CAAC;AAbS,QAAA,mBAAmB,GAAnB,mBAAmB,CAa5B"}
@@ -1,19 +0,0 @@
1
- /**
2
- * Replace every `{{key}}` token in `content` with `variables[key]`.
3
- *
4
- * A key is one or more of `A-Z`, `a-z`, `0-9`, `:`, `_`, `@`, `.`, `/`, and `-`, such as `name` or `version:engine`. Everything else is an error, so a mistyped placeholder fails the render instead of shipping a broken file: a `{{` without a later `}}`, a `}}` before any `{{`, an empty, blank, or malformed key, a key that is not an own property of `variables`, and a value that itself contains `{{` or `}}`. A replaced value is never scanned again.
5
- *
6
- * @param content Template text.
7
- * @param variables Values by key; inherited properties are not keys.
8
- * @returns The rendered text.
9
- * @throws On any of the errors listed above, naming the token or offset.
10
- *
11
- * @evidence contracts/development/implementation.md#principled-implementation A left-to-right cursor finds delimiter pairs with indexOf and appends intervening text and selected values. The key pattern excludes braces and each value is checked for delimiters, so substituted values are never rescanned and malformed input throws before a result is returned.
12
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One function serves both file contents and path segments in `renderScaffoldEntries`, so paths and payloads follow the same token rules.
13
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts An unknown key throws rather than being left in place or blanked, and the own-property check keeps `__proto__` or `constructor` from resolving through the prototype.
14
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the key alphabet, every refusal with its reason, that inherited properties are not keys, and that values are not rescanned.
15
- * @evidence contracts/development/implementation.md#efficient-algorithms Delimiter searches advance with the cursor and examine input spans a bounded number of times; key and value checks add their visited lengths. Output uses repeated string concatenation, whose allocation and copying cost depends on the JavaScript engine's string representation, so this owner does not guarantee linear output construction.
16
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call renders one distinct text; `renderScaffoldEntries` calls it once per file content and once per path.
17
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The function builds one output string and retains nothing after returning.
18
- */
19
- export declare const renderTemplate: (content: string, variables: Readonly<Record<string, string>>) => string;
@@ -1,56 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.renderTemplate = void 0;
4
- /**
5
- * Replace every `{{key}}` token in `content` with `variables[key]`.
6
- *
7
- * A key is one or more of `A-Z`, `a-z`, `0-9`, `:`, `_`, `@`, `.`, `/`, and `-`, such as `name` or `version:engine`. Everything else is an error, so a mistyped placeholder fails the render instead of shipping a broken file: a `{{` without a later `}}`, a `}}` before any `{{`, an empty, blank, or malformed key, a key that is not an own property of `variables`, and a value that itself contains `{{` or `}}`. A replaced value is never scanned again.
8
- *
9
- * @param content Template text.
10
- * @param variables Values by key; inherited properties are not keys.
11
- * @returns The rendered text.
12
- * @throws On any of the errors listed above, naming the token or offset.
13
- *
14
- * @evidence contracts/development/implementation.md#principled-implementation A left-to-right cursor finds delimiter pairs with indexOf and appends intervening text and selected values. The key pattern excludes braces and each value is checked for delimiters, so substituted values are never rescanned and malformed input throws before a result is returned.
15
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One function serves both file contents and path segments in `renderScaffoldEntries`, so paths and payloads follow the same token rules.
16
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts An unknown key throws rather than being left in place or blanked, and the own-property check keeps `__proto__` or `constructor` from resolving through the prototype.
17
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the key alphabet, every refusal with its reason, that inherited properties are not keys, and that values are not rescanned.
18
- * @evidence contracts/development/implementation.md#efficient-algorithms Delimiter searches advance with the cursor and examine input spans a bounded number of times; key and value checks add their visited lengths. Output uses repeated string concatenation, whose allocation and copying cost depends on the JavaScript engine's string representation, so this owner does not guarantee linear output construction.
19
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call renders one distinct text; `renderScaffoldEntries` calls it once per file content and once per path.
20
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The function builds one output string and retains nothing after returning.
21
- */
22
- const renderTemplate = (content, variables) => {
23
- let cursor = 0;
24
- let rendered = "";
25
- while (cursor < content.length) {
26
- const opening = content.indexOf("{{", cursor);
27
- const closing = content.indexOf("}}", cursor);
28
- if (closing !== -1 && (opening === -1 || closing < opening))
29
- throw new Error(`unmatched scaffold placeholder closing delimiter at offset ${closing}`);
30
- if (opening === -1) {
31
- rendered += content.slice(cursor);
32
- break;
33
- }
34
- rendered += content.slice(cursor, opening);
35
- const end = content.indexOf("}}", opening + 2);
36
- if (end === -1)
37
- throw new Error(`unmatched scaffold placeholder opening delimiter at offset ${opening}`);
38
- const key = content.slice(opening + 2, end);
39
- if (key.length === 0)
40
- throw new Error("empty scaffold placeholder: {{}}");
41
- if (key.trim().length === 0)
42
- throw new Error(`whitespace scaffold placeholder: {{${key}}}`);
43
- if (/^[A-Za-z0-9:_@./-]+$/u.test(key) === false)
44
- throw new Error(`malformed scaffold placeholder: {{${key}}}`);
45
- if (Object.prototype.hasOwnProperty.call(variables, key) === false)
46
- throw new Error(`unknown scaffold variable: {{${key}}}`);
47
- const value = variables[key];
48
- if (value.includes("{{") || value.includes("}}"))
49
- throw new Error(`scaffold variable {{${key}}} expands to placeholder syntax`);
50
- rendered += value;
51
- cursor = end + 2;
52
- }
53
- return rendered;
54
- };
55
- exports.renderTemplate = renderTemplate;
56
- //# sourceMappingURL=renderTemplate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderTemplate.js","sourceRoot":"","sources":["../src/renderTemplate.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;GAiBG;AACI,MAAM,cAAc,GAGb,CACZ,OAAe,EACf,SAA2C,EACnC,EAAE;IACV,IAAI,MAAM,GAAW,CAAC,CAAC;IACvB,IAAI,QAAQ,GAAW,EAAE,CAAC;IAC1B,OAAO,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;QAC/B,MAAM,OAAO,GAAW,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACtD,MAAM,OAAO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