@automovie/template 0.0.0-stage → 0.0.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 (751) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +37 -2
  3. package/build/resolveTemplateVersions.ts +92 -0
  4. package/build/syncScaffoldInstructions.ts +28 -0
  5. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.d.ts +14 -0
  6. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js +52 -0
  7. package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js.map +1 -0
  8. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.d.ts +2 -0
  9. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js +42 -0
  10. package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js.map +1 -0
  11. package/lib/AutoMovieScaffoldLayer.d.ts +15 -0
  12. package/lib/AutoMovieScaffoldLayer.js +3 -0
  13. package/lib/AutoMovieScaffoldLayer.js.map +1 -0
  14. package/lib/FILE_ATTRIBUTE_DIRECTORY.d.ts +2 -0
  15. package/lib/FILE_ATTRIBUTE_DIRECTORY.js +6 -0
  16. package/lib/FILE_ATTRIBUTE_DIRECTORY.js.map +1 -0
  17. package/lib/IAutoMovieCatalogVersionProps.d.ts +16 -0
  18. package/lib/IAutoMovieCatalogVersionProps.js +3 -0
  19. package/lib/IAutoMovieCatalogVersionProps.js.map +1 -0
  20. package/lib/IAutoMovieScaffoldProps.d.ts +14 -0
  21. package/lib/IAutoMovieScaffoldProps.js +3 -0
  22. package/lib/IAutoMovieScaffoldProps.js.map +1 -0
  23. package/lib/IAutoMovieScaffoldSourceEntry.d.ts +18 -0
  24. package/lib/IAutoMovieScaffoldSourceEntry.js +3 -0
  25. package/lib/IAutoMovieScaffoldSourceEntry.js.map +1 -0
  26. package/lib/IAutoMovieTemplateDependencyVersionsProps.d.ts +17 -0
  27. package/lib/IAutoMovieTemplateDependencyVersionsProps.js +3 -0
  28. package/lib/IAutoMovieTemplateDependencyVersionsProps.js.map +1 -0
  29. package/lib/IAutoMovieWorkspacePackageVersions.d.ts +34 -0
  30. package/lib/IAutoMovieWorkspacePackageVersions.js +3 -0
  31. package/lib/IAutoMovieWorkspacePackageVersions.js.map +1 -0
  32. package/lib/IBoundChild.d.ts +71 -0
  33. package/lib/IBoundChild.js +3 -0
  34. package/lib/IBoundChild.js.map +1 -0
  35. package/lib/IBoundChildStatus.d.ts +20 -0
  36. package/lib/IBoundChildStatus.js +3 -0
  37. package/lib/IBoundChildStatus.js.map +1 -0
  38. package/lib/IBoundParent.d.ts +61 -0
  39. package/lib/IBoundParent.js +3 -0
  40. package/lib/IBoundParent.js.map +1 -0
  41. package/lib/IBoundParentStatus.d.ts +14 -0
  42. package/lib/IBoundParentStatus.js +3 -0
  43. package/lib/IBoundParentStatus.js.map +1 -0
  44. package/lib/ICreateResult.d.ts +27 -0
  45. package/lib/ICreateResult.js +3 -0
  46. package/lib/ICreateResult.js.map +1 -0
  47. package/lib/IScaffoldCompletedFilePublicationOutcome.d.ts +16 -0
  48. package/lib/IScaffoldCompletedFilePublicationOutcome.js +3 -0
  49. package/lib/IScaffoldCompletedFilePublicationOutcome.js.map +1 -0
  50. package/lib/IScaffoldCompletedPublication.d.ts +15 -0
  51. package/lib/IScaffoldCompletedPublication.js +3 -0
  52. package/lib/IScaffoldCompletedPublication.js.map +1 -0
  53. package/lib/IScaffoldFileSnapshot.d.ts +24 -0
  54. package/lib/IScaffoldFileSnapshot.js +3 -0
  55. package/lib/IScaffoldFileSnapshot.js.map +1 -0
  56. package/lib/IScaffoldParentPublicationRequest.d.ts +26 -0
  57. package/lib/IScaffoldParentPublicationRequest.js +3 -0
  58. package/lib/IScaffoldParentPublicationRequest.js.map +1 -0
  59. package/lib/IScaffoldPartialFilePublicationOutcome.d.ts +22 -0
  60. package/lib/IScaffoldPartialFilePublicationOutcome.js +3 -0
  61. package/lib/IScaffoldPartialFilePublicationOutcome.js.map +1 -0
  62. package/lib/IScaffoldPhysicalDirectory.d.ts +20 -0
  63. package/lib/IScaffoldPhysicalDirectory.js +3 -0
  64. package/lib/IScaffoldPhysicalDirectory.js.map +1 -0
  65. package/lib/IScaffoldPosixConstants.d.ts +24 -0
  66. package/lib/IScaffoldPosixConstants.js +3 -0
  67. package/lib/IScaffoldPosixConstants.js.map +1 -0
  68. package/lib/IScaffoldPublicationEntry.d.ts +20 -0
  69. package/lib/IScaffoldPublicationEntry.js +3 -0
  70. package/lib/IScaffoldPublicationEntry.js.map +1 -0
  71. package/lib/IScaffoldPublicationFailure.d.ts +18 -0
  72. package/lib/IScaffoldPublicationFailure.js +3 -0
  73. package/lib/IScaffoldPublicationFailure.js.map +1 -0
  74. package/lib/IScaffoldPublicationOptions.d.ts +17 -0
  75. package/lib/IScaffoldPublicationOptions.js +3 -0
  76. package/lib/IScaffoldPublicationOptions.js.map +1 -0
  77. package/lib/IScaffoldPublicationReceipt.d.ts +25 -0
  78. package/lib/IScaffoldPublicationReceipt.js +3 -0
  79. package/lib/IScaffoldPublicationReceipt.js.map +1 -0
  80. package/lib/IScaffoldRefusedFilePublicationOutcome.d.ts +18 -0
  81. package/lib/IScaffoldRefusedFilePublicationOutcome.js +3 -0
  82. package/lib/IScaffoldRefusedFilePublicationOutcome.js.map +1 -0
  83. package/lib/IScaffoldSyncPlan.d.ts +25 -0
  84. package/lib/IScaffoldSyncPlan.js +3 -0
  85. package/lib/IScaffoldSyncPlan.js.map +1 -0
  86. package/lib/IScaffoldSyncProps.d.ts +16 -0
  87. package/lib/IScaffoldSyncProps.js +3 -0
  88. package/lib/IScaffoldSyncProps.js.map +1 -0
  89. package/lib/IWindowsFileInformation.d.ts +20 -0
  90. package/lib/IWindowsFileInformation.js +3 -0
  91. package/lib/IWindowsFileInformation.js.map +1 -0
  92. package/lib/IWindowsLibrary.d.ts +127 -0
  93. package/lib/IWindowsLibrary.js +3 -0
  94. package/lib/IWindowsLibrary.js.map +1 -0
  95. package/lib/SCAFFOLD_SYNC_STATE_FILE.d.ts +4 -0
  96. package/lib/SCAFFOLD_SYNC_STATE_FILE.js +8 -0
  97. package/lib/SCAFFOLD_SYNC_STATE_FILE.js.map +1 -0
  98. package/lib/ScaffoldFilePublicationOutcome.d.ts +14 -0
  99. package/lib/ScaffoldFilePublicationOutcome.js +3 -0
  100. package/lib/ScaffoldFilePublicationOutcome.js.map +1 -0
  101. package/lib/ScaffoldParentChangedError.d.ts +11 -0
  102. package/lib/ScaffoldParentChangedError.js +19 -0
  103. package/lib/ScaffoldParentChangedError.js.map +1 -0
  104. package/lib/ScaffoldPublicationError.d.ts +17 -0
  105. package/lib/ScaffoldPublicationError.js +46 -0
  106. package/lib/ScaffoldPublicationError.js.map +1 -0
  107. package/lib/assertOrdinaryFile.d.ts +13 -0
  108. package/lib/assertOrdinaryFile.js +20 -0
  109. package/lib/assertOrdinaryFile.js.map +1 -0
  110. package/lib/assertOrdinarySingleLinkFile.d.ts +13 -0
  111. package/lib/assertOrdinarySingleLinkFile.js +22 -0
  112. package/lib/assertOrdinarySingleLinkFile.js.map +1 -0
  113. package/lib/assertScaffoldOwnership.d.ts +13 -0
  114. package/lib/assertScaffoldOwnership.js +24 -0
  115. package/lib/assertScaffoldOwnership.js.map +1 -0
  116. package/lib/assertScaffoldPhysicalDirectory.d.ts +16 -0
  117. package/lib/assertScaffoldPhysicalDirectory.js +26 -0
  118. package/lib/assertScaffoldPhysicalDirectory.js.map +1 -0
  119. package/lib/assertScaffoldProjectName.d.ts +18 -0
  120. package/lib/assertScaffoldProjectName.js +34 -0
  121. package/lib/assertScaffoldProjectName.js.map +1 -0
  122. package/lib/attachScaffoldSyncState.d.ts +18 -0
  123. package/lib/attachScaffoldSyncState.js +30 -0
  124. package/lib/attachScaffoldSyncState.js.map +1 -0
  125. package/lib/captureEmptyScaffoldPhysicalDirectory.d.ts +13 -0
  126. package/lib/captureEmptyScaffoldPhysicalDirectory.js +69 -0
  127. package/lib/captureEmptyScaffoldPhysicalDirectory.js.map +1 -0
  128. package/lib/captureScaffoldFile.d.ts +13 -0
  129. package/lib/captureScaffoldFile.js +67 -0
  130. package/lib/captureScaffoldFile.js.map +1 -0
  131. package/lib/captureScaffoldPhysicalDirectory.d.ts +13 -0
  132. package/lib/captureScaffoldPhysicalDirectory.js +63 -0
  133. package/lib/captureScaffoldPhysicalDirectory.js.map +1 -0
  134. package/lib/combineScaffoldFailures.d.ts +19 -0
  135. package/lib/combineScaffoldFailures.js +32 -0
  136. package/lib/combineScaffoldFailures.js.map +1 -0
  137. package/lib/createAutoMovieCatalogVersionResolver.d.ts +17 -0
  138. package/lib/createAutoMovieCatalogVersionResolver.js +64 -0
  139. package/lib/createAutoMovieCatalogVersionResolver.js.map +1 -0
  140. package/lib/createScaffoldSyncState.d.ts +12 -0
  141. package/lib/createScaffoldSyncState.js +26 -0
  142. package/lib/createScaffoldSyncState.js.map +1 -0
  143. package/lib/createScaffoldVariables.d.ts +25 -0
  144. package/lib/createScaffoldVariables.js +41 -0
  145. package/lib/createScaffoldVariables.js.map +1 -0
  146. package/lib/ensureScaffoldBaseDirectory.d.ts +19 -0
  147. package/lib/ensureScaffoldBaseDirectory.js +89 -0
  148. package/lib/ensureScaffoldBaseDirectory.js.map +1 -0
  149. package/lib/ensureScaffoldFileDirectory.d.ts +25 -0
  150. package/lib/ensureScaffoldFileDirectory.js +103 -0
  151. package/lib/ensureScaffoldFileDirectory.js.map +1 -0
  152. package/lib/index.d.ts +47 -0
  153. package/lib/index.js +64 -0
  154. package/lib/index.js.map +1 -0
  155. package/lib/inside.d.ts +12 -0
  156. package/lib/inside.js +57 -0
  157. package/lib/inside.js.map +1 -0
  158. package/lib/isScaffoldInstruction.d.ts +12 -0
  159. package/lib/isScaffoldInstruction.js +29 -0
  160. package/lib/isScaffoldInstruction.js.map +1 -0
  161. package/lib/listAutoMovieScaffoldFiles.d.ts +17 -0
  162. package/lib/listAutoMovieScaffoldFiles.js +87 -0
  163. package/lib/listAutoMovieScaffoldFiles.js.map +1 -0
  164. package/lib/loadWindowsLibrary.d.ts +13 -0
  165. package/lib/loadWindowsLibrary.js +180 -0
  166. package/lib/loadWindowsLibrary.js.map +1 -0
  167. package/lib/mergeScaffoldFiles.d.ts +18 -0
  168. package/lib/mergeScaffoldFiles.js +37 -0
  169. package/lib/mergeScaffoldFiles.js.map +1 -0
  170. package/lib/missingPath.d.ts +12 -0
  171. package/lib/missingPath.js +18 -0
  172. package/lib/missingPath.js.map +1 -0
  173. package/lib/nativeError.d.ts +12 -0
  174. package/lib/nativeError.js +17 -0
  175. package/lib/nativeError.js.map +1 -0
  176. package/lib/openPosixParent.d.ts +13 -0
  177. package/lib/openPosixParent.js +135 -0
  178. package/lib/openPosixParent.js.map +1 -0
  179. package/lib/openWindowsParent.d.ts +13 -0
  180. package/lib/openWindowsParent.js +224 -0
  181. package/lib/openWindowsParent.js.map +1 -0
  182. package/lib/overwriteScaffoldFile.d.ts +22 -0
  183. package/lib/overwriteScaffoldFile.js +214 -0
  184. package/lib/overwriteScaffoldFile.js.map +1 -0
  185. package/lib/physicalDirectoryIdentity.d.ts +15 -0
  186. package/lib/physicalDirectoryIdentity.js +65 -0
  187. package/lib/physicalDirectoryIdentity.js.map +1 -0
  188. package/lib/physicalVersion.d.ts +13 -0
  189. package/lib/physicalVersion.js +18 -0
  190. package/lib/physicalVersion.js.map +1 -0
  191. package/lib/planScaffoldPublication.d.ts +22 -0
  192. package/lib/planScaffoldPublication.js +100 -0
  193. package/lib/planScaffoldPublication.js.map +1 -0
  194. package/lib/planScaffoldSync.d.ts +14 -0
  195. package/lib/planScaffoldSync.js +102 -0
  196. package/lib/planScaffoldSync.js.map +1 -0
  197. package/lib/publishFiles.d.ts +23 -0
  198. package/lib/publishFiles.js +124 -0
  199. package/lib/publishFiles.js.map +1 -0
  200. package/lib/publishNativeScaffoldFile.d.ts +21 -0
  201. package/lib/publishNativeScaffoldFile.js +211 -0
  202. package/lib/publishNativeScaffoldFile.js.map +1 -0
  203. package/lib/publishScaffoldCandidate.d.ts +24 -0
  204. package/lib/publishScaffoldCandidate.js +70 -0
  205. package/lib/publishScaffoldCandidate.js.map +1 -0
  206. package/lib/readAutoMovieScaffoldSources.d.ts +20 -0
  207. package/lib/readAutoMovieScaffoldSources.js +103 -0
  208. package/lib/readAutoMovieScaffoldSources.js.map +1 -0
  209. package/lib/readScaffoldSyncFile.d.ts +16 -0
  210. package/lib/readScaffoldSyncFile.js +64 -0
  211. package/lib/readScaffoldSyncFile.js.map +1 -0
  212. package/lib/renderScaffold.d.ts +19 -0
  213. package/lib/renderScaffold.js +33 -0
  214. package/lib/renderScaffold.js.map +1 -0
  215. package/lib/renderScaffoldEntries.d.ts +20 -0
  216. package/lib/renderScaffoldEntries.js +106 -0
  217. package/lib/renderScaffoldEntries.js.map +1 -0
  218. package/lib/renderScaffoldInstructions.d.ts +17 -0
  219. package/lib/renderScaffoldInstructions.js +23 -0
  220. package/lib/renderScaffoldInstructions.js.map +1 -0
  221. package/lib/renderScaffoldLayer.d.ts +20 -0
  222. package/lib/renderScaffoldLayer.js +28 -0
  223. package/lib/renderScaffoldLayer.js.map +1 -0
  224. package/lib/renderTemplate.d.ts +19 -0
  225. package/lib/renderTemplate.js +56 -0
  226. package/lib/renderTemplate.js.map +1 -0
  227. package/lib/renderWorkspaceProductionScaffold.d.ts +19 -0
  228. package/lib/renderWorkspaceProductionScaffold.js +30 -0
  229. package/lib/renderWorkspaceProductionScaffold.js.map +1 -0
  230. package/lib/renderWorkspaceScaffold.d.ts +19 -0
  231. package/lib/renderWorkspaceScaffold.js +33 -0
  232. package/lib/renderWorkspaceScaffold.js.map +1 -0
  233. package/lib/replaceSharedScaffoldFile.d.ts +30 -0
  234. package/lib/replaceSharedScaffoldFile.js +106 -0
  235. package/lib/replaceSharedScaffoldFile.js.map +1 -0
  236. package/lib/resolveAutoMovieCatalogVersion.d.ts +19 -0
  237. package/lib/resolveAutoMovieCatalogVersion.js +24 -0
  238. package/lib/resolveAutoMovieCatalogVersion.js.map +1 -0
  239. package/lib/resolveAutoMovieTemplateDependencyVersions.d.ts +19 -0
  240. package/lib/resolveAutoMovieTemplateDependencyVersions.js +62 -0
  241. package/lib/resolveAutoMovieTemplateDependencyVersions.js.map +1 -0
  242. package/lib/resolveScaffoldPosixConstants.d.ts +13 -0
  243. package/lib/resolveScaffoldPosixConstants.js +44 -0
  244. package/lib/resolveScaffoldPosixConstants.js.map +1 -0
  245. package/lib/scaffoldAssetDirectory.d.ts +19 -0
  246. package/lib/scaffoldAssetDirectory.js +63 -0
  247. package/lib/scaffoldAssetDirectory.js.map +1 -0
  248. package/lib/scaffoldPhysicalIdentity.d.ts +18 -0
  249. package/lib/scaffoldPhysicalIdentity.js +22 -0
  250. package/lib/scaffoldPhysicalIdentity.js.map +1 -0
  251. package/lib/scaffoldSharedSkillDirectory.d.ts +17 -0
  252. package/lib/scaffoldSharedSkillDirectory.js +62 -0
  253. package/lib/scaffoldSharedSkillDirectory.js.map +1 -0
  254. package/lib/scaffoldSharedSkillPath.d.ts +17 -0
  255. package/lib/scaffoldSharedSkillPath.js +66 -0
  256. package/lib/scaffoldSharedSkillPath.js.map +1 -0
  257. package/lib/skills/3d-modeling/conditioning.md +82 -0
  258. package/lib/skills/3d-modeling/crafting.md +82 -0
  259. package/lib/skills/3d-modeling/diffusion.md +34 -0
  260. package/lib/skills/3d-modeling/inspection.md +54 -0
  261. package/lib/skills/3d-modeling/lofting.md +43 -0
  262. package/lib/skills/3d-modeling/modularization.md +31 -0
  263. package/lib/skills/3d-modeling/recovery.md +29 -0
  264. package/lib/skills/3d-modeling/rigging.md +97 -0
  265. package/lib/skills/3d-modeling/sources.md +29 -0
  266. package/lib/skills/contracts/development/common.md +13 -0
  267. package/lib/skills/contracts/development/design.md +28 -0
  268. package/lib/skills/contracts/development/implementation.md +49 -0
  269. package/lib/skills/contracts/development/testing.md +27 -0
  270. package/lib/skills/development/repair.md +13 -0
  271. package/lib/skills/documentation/SKILL.md +25 -0
  272. package/lib/skills/documentation/writing.md +51 -0
  273. package/lib/skills/motion/authoring.md +51 -0
  274. package/lib/skills/motion/contacts.md +39 -0
  275. package/lib/skills/motion/laws.md +23 -0
  276. package/lib/skills/motion/layers.md +7 -0
  277. package/lib/skills/motion/transitions.md +27 -0
  278. package/lib/skills/motion/variation.md +23 -0
  279. package/lib/skills/motion/verification.md +36 -0
  280. package/lib/skills/prompting/SKILL.md +80 -0
  281. package/lib/skills/visual-debugging/capture.md +60 -0
  282. package/lib/skills/visual-debugging/comparison.md +35 -0
  283. package/lib/skills/visual-debugging/correction-rounds.md +34 -0
  284. package/lib/skills/visual-debugging/passes.md +29 -0
  285. package/lib/skills/visual-debugging/rendering-cost.md +5 -0
  286. package/lib/syncScaffold.d.ts +19 -0
  287. package/lib/syncScaffold.js +28 -0
  288. package/lib/syncScaffold.js.map +1 -0
  289. package/lib/writeFiles.d.ts +20 -0
  290. package/lib/writeFiles.js +33 -0
  291. package/lib/writeFiles.js.map +1 -0
  292. package/lib/writeScaffoldFile.d.ts +35 -0
  293. package/lib/writeScaffoldFile.js +107 -0
  294. package/lib/writeScaffoldFile.js.map +1 -0
  295. package/lib/writtenVersion.d.ts +13 -0
  296. package/lib/writtenVersion.js +18 -0
  297. package/lib/writtenVersion.js.map +1 -0
  298. package/package.json +59 -3
  299. package/scaffold/instructions/.agents/skills/$documentation +0 -0
  300. package/scaffold/instructions/.agents/skills/$prompting +0 -0
  301. package/scaffold/instructions/.agents/skills/3d-modeling/$conditioning.md +0 -0
  302. package/scaffold/instructions/.agents/skills/3d-modeling/$crafting.md +0 -0
  303. package/scaffold/instructions/.agents/skills/3d-modeling/$diffusion.md +0 -0
  304. package/scaffold/instructions/.agents/skills/3d-modeling/$inspection.md +0 -0
  305. package/scaffold/instructions/.agents/skills/3d-modeling/$lofting.md +0 -0
  306. package/scaffold/instructions/.agents/skills/3d-modeling/$modularization.md +0 -0
  307. package/scaffold/instructions/.agents/skills/3d-modeling/$recovery.md +0 -0
  308. package/scaffold/instructions/.agents/skills/3d-modeling/$rigging.md +0 -0
  309. package/scaffold/instructions/.agents/skills/3d-modeling/$sources.md +0 -0
  310. package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +32 -0
  311. package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +25 -0
  312. package/scaffold/instructions/.agents/skills/audio/SKILL.md +28 -0
  313. package/scaffold/instructions/.agents/skills/audio/acquisition.md +25 -0
  314. package/scaffold/instructions/.agents/skills/audio/local-speech.md +11 -0
  315. package/scaffold/instructions/.agents/skills/audio/sound-effects.md +29 -0
  316. package/scaffold/instructions/.agents/skills/contracts/SKILL.md +41 -0
  317. package/scaffold/instructions/.agents/skills/contracts/development/$common.md +0 -0
  318. package/scaffold/instructions/.agents/skills/contracts/development/$design.md +0 -0
  319. package/scaffold/instructions/.agents/skills/contracts/development/$implementation.md +0 -0
  320. package/scaffold/instructions/.agents/skills/contracts/development/$testing.md +0 -0
  321. package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +22 -0
  322. package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +25 -0
  323. package/scaffold/instructions/.agents/skills/contracts/development/composition.md +29 -0
  324. package/scaffold/instructions/.agents/skills/contracts/development/entities.md +27 -0
  325. package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +42 -0
  326. package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +32 -0
  327. package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +34 -0
  328. package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +44 -0
  329. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +9 -0
  330. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +9 -0
  331. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/narratives.md +9 -0
  332. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/screenplay.md +9 -0
  333. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +9 -0
  334. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/settings.md +9 -0
  335. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/treatments.md +9 -0
  336. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +17 -0
  337. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +9 -0
  338. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +9 -0
  339. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/screenplay.md +9 -0
  340. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +9 -0
  341. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +9 -0
  342. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/screenplay.md +13 -0
  343. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +9 -0
  344. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +9 -0
  345. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +13 -0
  346. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +13 -0
  347. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +13 -0
  348. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +13 -0
  349. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +13 -0
  350. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +13 -0
  351. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +13 -0
  352. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +13 -0
  353. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +13 -0
  354. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/common.md +13 -0
  355. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +13 -0
  356. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +13 -0
  357. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +13 -0
  358. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +13 -0
  359. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/review.md +13 -0
  360. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +17 -0
  361. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +13 -0
  362. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +13 -0
  363. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +13 -0
  364. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +21 -0
  365. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +42 -0
  366. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +8 -0
  367. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +15 -0
  368. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +11 -0
  369. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +25 -0
  370. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +9 -0
  371. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +94 -0
  372. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +20 -0
  373. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +15 -0
  374. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/screenplay.md +11 -0
  375. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +17 -0
  376. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +19 -0
  377. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/screenplay.md +25 -0
  378. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +19 -0
  379. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +17 -0
  380. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +31 -0
  381. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +15 -0
  382. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +43 -0
  383. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +37 -0
  384. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +26 -0
  385. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +26 -0
  386. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +38 -0
  387. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +31 -0
  388. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +21 -0
  389. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +15 -0
  390. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +17 -0
  391. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +41 -0
  392. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +17 -0
  393. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +34 -0
  394. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +37 -0
  395. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +82 -0
  396. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +45 -0
  397. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +34 -0
  398. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +27 -0
  399. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +14 -0
  400. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +12 -0
  401. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +10 -0
  402. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +9 -0
  403. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +9 -0
  404. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/treatments.md +9 -0
  405. package/scaffold/instructions/.agents/skills/development/$repair.md +0 -0
  406. package/scaffold/instructions/.agents/skills/development/SKILL.md +33 -0
  407. package/scaffold/instructions/.agents/skills/development/entities.md +43 -0
  408. package/scaffold/instructions/.agents/skills/development/reuse.md +47 -0
  409. package/scaffold/instructions/.agents/skills/development/source-layout.md +69 -0
  410. package/scaffold/instructions/.agents/skills/development/testing.md +27 -0
  411. package/scaffold/instructions/.agents/skills/evidence/SKILL.md +16 -0
  412. package/scaffold/instructions/.agents/skills/evidence/adoption.md +11 -0
  413. package/scaffold/instructions/.agents/skills/evidence/answering.md +11 -0
  414. package/scaffold/instructions/.agents/skills/evidence/configuration.md +23 -0
  415. package/scaffold/instructions/.agents/skills/image/SKILL.md +69 -0
  416. package/scaffold/instructions/.agents/skills/motion/$authoring.md +0 -0
  417. package/scaffold/instructions/.agents/skills/motion/$contacts.md +0 -0
  418. package/scaffold/instructions/.agents/skills/motion/$laws.md +0 -0
  419. package/scaffold/instructions/.agents/skills/motion/$layers.md +0 -0
  420. package/scaffold/instructions/.agents/skills/motion/$transitions.md +0 -0
  421. package/scaffold/instructions/.agents/skills/motion/$variation.md +0 -0
  422. package/scaffold/instructions/.agents/skills/motion/$verification.md +0 -0
  423. package/scaffold/instructions/.agents/skills/motion/SKILL.md +55 -0
  424. package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +11 -0
  425. package/scaffold/instructions/.agents/skills/motion/control-channels.md +19 -0
  426. package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +25 -0
  427. package/scaffold/instructions/.agents/skills/motion/method-references.md +23 -0
  428. package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +31 -0
  429. package/scaffold/instructions/.agents/skills/motion/retargeting.md +23 -0
  430. package/scaffold/instructions/.agents/skills/motion/segment-review.md +17 -0
  431. package/scaffold/instructions/.agents/skills/motion/staging.md +29 -0
  432. package/scaffold/instructions/.agents/skills/production/SKILL.md +45 -0
  433. package/scaffold/instructions/.agents/skills/production/assembly.md +30 -0
  434. package/scaffold/instructions/.agents/skills/production/media-records.md +29 -0
  435. package/scaffold/instructions/.agents/skills/production/project-context.md +25 -0
  436. package/scaffold/instructions/.agents/skills/production/stage-caches.md +30 -0
  437. package/scaffold/instructions/.agents/skills/production/sustained-runs.md +21 -0
  438. package/scaffold/instructions/.agents/skills/production/sync-and-reorganization.md +21 -0
  439. package/scaffold/instructions/.agents/skills/review/SKILL.md +24 -0
  440. package/scaffold/instructions/.agents/skills/review/delivery-review.md +65 -0
  441. package/scaffold/instructions/.agents/skills/review/estimation.md +48 -0
  442. package/scaffold/instructions/.agents/skills/review/independent-reading.md +39 -0
  443. package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +53 -0
  444. package/scaffold/instructions/.agents/skills/review/source-review.md +31 -0
  445. package/scaffold/instructions/.agents/skills/story/SKILL.md +20 -0
  446. package/scaffold/instructions/.agents/skills/story/correction/SKILL.md +13 -0
  447. package/scaffold/instructions/.agents/skills/story/correction/inspection.md +29 -0
  448. package/scaffold/instructions/.agents/skills/story/correction/repair.md +35 -0
  449. package/scaffold/instructions/.agents/skills/story/document-layout.md +38 -0
  450. package/scaffold/instructions/.agents/skills/story/evidence/SKILL.md +13 -0
  451. package/scaffold/instructions/.agents/skills/story/evidence/answer-placement.md +13 -0
  452. package/scaffold/instructions/.agents/skills/story/evidence/answer-writing.md +23 -0
  453. package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +17 -0
  454. package/scaffold/instructions/.agents/skills/story/layers/brief.md +29 -0
  455. package/scaffold/instructions/.agents/skills/story/layers/notation.md +34 -0
  456. package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +15 -0
  457. package/scaffold/instructions/.agents/skills/story/layers/scripts.md +11 -0
  458. package/scaffold/instructions/.agents/skills/story/layers/settings.md +39 -0
  459. package/scaffold/instructions/.agents/skills/story/layers/treatments.md +9 -0
  460. package/scaffold/instructions/.agents/skills/story/naturalness/SKILL.md +13 -0
  461. package/scaffold/instructions/.agents/skills/story/naturalness/rewriting.md +17 -0
  462. package/scaffold/instructions/.agents/skills/story/naturalness/transfer.md +11 -0
  463. package/scaffold/instructions/.agents/skills/story/planning/SKILL.md +15 -0
  464. package/scaffold/instructions/.agents/skills/story/planning/direction.md +14 -0
  465. package/scaffold/instructions/.agents/skills/story/planning/discovery.md +20 -0
  466. package/scaffold/instructions/.agents/skills/story/planning/requirements.md +25 -0
  467. package/scaffold/instructions/.agents/skills/story/planning/research.md +25 -0
  468. package/scaffold/instructions/.agents/skills/story/workflow.md +61 -0
  469. package/scaffold/instructions/.agents/skills/video/SKILL.md +29 -0
  470. package/scaffold/instructions/.agents/skills/video/diffusion.md +33 -0
  471. package/scaffold/instructions/.agents/skills/video/generation.md +27 -0
  472. package/scaffold/instructions/.agents/skills/video/prompts.md +51 -0
  473. package/scaffold/instructions/.agents/skills/visual-debugging/$capture.md +0 -0
  474. package/scaffold/instructions/.agents/skills/visual-debugging/$comparison.md +0 -0
  475. package/scaffold/instructions/.agents/skills/visual-debugging/$correction-rounds.md +0 -0
  476. package/scaffold/instructions/.agents/skills/visual-debugging/$passes.md +0 -0
  477. package/scaffold/instructions/.agents/skills/visual-debugging/$rendering-cost.md +0 -0
  478. package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +30 -0
  479. package/scaffold/instructions/AGENTS.md +96 -0
  480. package/scaffold/instructions/CLAUDE.md +1 -0
  481. package/scaffold/production/PROJECT.md +3 -0
  482. package/scaffold/production/README.md +146 -0
  483. package/scaffold/production/_gitignore +20 -0
  484. package/scaffold/production/evidence.config.ts +12 -0
  485. package/scaffold/production/index.html +20 -0
  486. package/scaffold/production/lint.config.ts +46 -0
  487. package/scaffold/production/package.json +54 -0
  488. package/scaffold/production/src/IFilm.ts +41 -0
  489. package/scaffold/production/src/IFilmProduction.ts +80 -0
  490. package/scaffold/production/src/clampProductionSeconds.ts +21 -0
  491. package/scaffold/production/src/composition/films/index.ts +10 -0
  492. package/scaffold/production/src/composition/films/starter.ts +45 -0
  493. package/scaffold/production/src/executable/capture.ts +487 -0
  494. package/scaffold/production/src/executable/physics.ts +48 -0
  495. package/scaffold/production/src/executable/planCaptureStills.ts +65 -0
  496. package/scaffold/production/src/executable/recovery/node/artifact/archiveAutoMovieRecoveryModel.ts +171 -0
  497. package/scaffold/production/src/executable/recovery/node/artifact/createAutoMovieRecoveryArtifact.ts +268 -0
  498. package/scaffold/production/src/executable/recovery/node/artifact/index.ts +3 -0
  499. package/scaffold/production/src/executable/recovery/node/artifact/writeAutoMovieRecoveryArtifact.ts +303 -0
  500. package/scaffold/production/src/executable/recovery/node/cli.ts +12 -0
  501. package/scaffold/production/src/executable/recovery/node/index.ts +9 -0
  502. package/scaffold/production/src/executable/recovery/node/internal/IAutoMovieRecoveryMemoryUsage.ts +25 -0
  503. package/scaffold/production/src/executable/recovery/node/internal/RecoveryFileVectorTable.ts +95 -0
  504. package/scaffold/production/src/executable/recovery/node/internal/RecoveryFileVectorTableInput.ts +50 -0
  505. package/scaffold/production/src/executable/recovery/node/internal/createRecoveryFileVectorTable.ts +181 -0
  506. package/scaffold/production/src/executable/recovery/node/internal/observeRecoveryAtlas.ts +492 -0
  507. package/scaffold/production/src/executable/recovery/node/internal/readAutoMovieRecoveryBoundedFile.ts +57 -0
  508. package/scaffold/production/src/executable/recovery/node/internal/readRecoveryCameraImages.ts +80 -0
  509. package/scaffold/production/src/executable/recovery/node/internal/readRecoveryFixedReference.ts +26 -0
  510. package/scaffold/production/src/executable/recovery/node/internal/recovery.ts +272 -0
  511. package/scaffold/production/src/executable/recovery/node/internal/recoveryAtlas.ts +152 -0
  512. package/scaffold/production/src/executable/recovery/node/internal/recoveryCameraMap.ts +113 -0
  513. package/scaffold/production/src/executable/recovery/node/internal/recoveryCameraScene.ts +117 -0
  514. package/scaffold/production/src/executable/recovery/node/internal/recoveryCameras.ts +158 -0
  515. package/scaffold/production/src/executable/recovery/node/internal/recoveryContourPath.ts +185 -0
  516. package/scaffold/production/src/executable/recovery/node/internal/recoveryImages.ts +176 -0
  517. package/scaffold/production/src/executable/recovery/node/internal/recoveryLocal.ts +151 -0
  518. package/scaffold/production/src/executable/recovery/node/internal/recoveryOpen.ts +237 -0
  519. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryContourFileMesh.ts +265 -0
  520. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryMeshSpool.ts +252 -0
  521. package/scaffold/production/src/executable/recovery/node/mesh/index.ts +3 -0
  522. package/scaffold/production/src/executable/recovery/node/mesh/readAutoMovieRecoveryMeshFrontier.ts +239 -0
  523. package/scaffold/production/src/executable/recovery/node/publishAutoMovieRecoveryArtifact.ts +63 -0
  524. package/scaffold/production/src/executable/recovery/node/reconstruction/index.ts +1 -0
  525. package/scaffold/production/src/executable/recovery/node/reconstruction/reconstructAutoMovieRecoveryLocal.ts +473 -0
  526. package/scaffold/production/src/executable/recovery/node/runAutoMovieRecoveryCommand.ts +148 -0
  527. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureError.ts +1 -0
  528. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureErrorCode.ts +1 -0
  529. package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessWaitUntil.ts +1 -0
  530. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureOptions.ts +79 -0
  531. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureSession.ts +39 -0
  532. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessFrameWriter.ts +20 -0
  533. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessLocator.ts +1 -0
  534. package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessPage.ts +1 -0
  535. package/scaffold/production/src/executable/render/headlessCapture/createHeadlessCaptureAdapter.ts +92 -0
  536. package/scaffold/production/src/executable/render/headlessCapture/index.ts +9 -0
  537. package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoOptions.ts +128 -0
  538. package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoResult.ts +43 -0
  539. package/scaffold/production/src/executable/render/node/IProductionRenditionClip.ts +44 -0
  540. package/scaffold/production/src/executable/render/node/acquireViewerBrowser.ts +24 -0
  541. package/scaffold/production/src/executable/render/node/addProductionMp4Sample.ts +89 -0
  542. package/scaffold/production/src/executable/render/node/appendLosslessVideoClip.ts +62 -0
  543. package/scaffold/production/src/executable/render/node/assembleProductionChunkVideoMp4.ts +167 -0
  544. package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionClips.ts +184 -0
  545. package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionVideo.ts +127 -0
  546. package/scaffold/production/src/executable/render/node/assertProductionRenditionClipDelivery.ts +102 -0
  547. package/scaffold/production/src/executable/render/node/cache/IAutoMovieDirectoryArtifactStore.ts +59 -0
  548. package/scaffold/production/src/executable/render/node/cache/IAutoMovieViewerFrameCacheReport.ts +30 -0
  549. package/scaffold/production/src/executable/render/node/cache/cacheViewerCaptureSession.ts +187 -0
  550. package/scaffold/production/src/executable/render/node/cache/composeViewerFrameKeys.ts +55 -0
  551. package/scaffold/production/src/executable/render/node/cache/createAutoMovieArtifactMiddleware.ts +107 -0
  552. package/scaffold/production/src/executable/render/node/cache/createAutoMovieDirectoryArtifactStore.ts +203 -0
  553. package/scaffold/production/src/executable/render/node/cache/digestAutoMovieSourceTree.ts +66 -0
  554. package/scaffold/production/src/executable/render/node/cache/readViewerFrameStates.ts +95 -0
  555. package/scaffold/production/src/executable/render/node/capture/DEFAULT_CHROME_EXECUTABLE.ts +11 -0
  556. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageOperationFailure.ts +13 -0
  557. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeArtifact.ts +30 -0
  558. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeOptions.ts +51 -0
  559. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceMetadata.ts +27 -0
  560. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderArtifact.ts +44 -0
  561. package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderOptions.ts +43 -0
  562. package/scaffold/production/src/executable/render/node/capture/IAutoMovieSequenceDissolvePixelCheck.ts +39 -0
  563. package/scaffold/production/src/executable/render/node/capture/captureRenderAndSee.ts +233 -0
  564. package/scaffold/production/src/executable/render/node/capture/captureSequenceRenderAndSee.ts +377 -0
  565. package/scaffold/production/src/executable/render/node/capture/index.ts +14 -0
  566. package/scaffold/production/src/executable/render/node/capture/preserveCleanupFailure.ts +34 -0
  567. package/scaffold/production/src/executable/render/node/capture/renderAndSeeCommand.ts +169 -0
  568. package/scaffold/production/src/executable/render/node/capture/renderSequenceAndSeeCommand.ts +165 -0
  569. package/scaffold/production/src/executable/render/node/capture/verifySequenceDissolvePixels.ts +179 -0
  570. package/scaffold/production/src/executable/render/node/conformProductionRenditionVideoMp4.ts +86 -0
  571. package/scaffold/production/src/executable/render/node/conformProductionVisualDeliveryVideoMp4.ts +230 -0
  572. package/scaffold/production/src/executable/render/node/decodeAutoMovieDelivery.ts +253 -0
  573. package/scaffold/production/src/executable/render/node/equalRational.ts +36 -0
  574. package/scaffold/production/src/executable/render/node/exactProductionClockProduct.ts +26 -0
  575. package/scaffold/production/src/executable/render/node/exportModelToGLB.ts +267 -0
  576. package/scaffold/production/src/executable/render/node/index.ts +27 -0
  577. package/scaffold/production/src/executable/render/node/loadModelGltfCore.ts +18 -0
  578. package/scaffold/production/src/executable/render/node/mixAutoMovieAudioCues.ts +74 -0
  579. package/scaffold/production/src/executable/render/node/muxProductionFeatureMp4.ts +170 -0
  580. package/scaffold/production/src/executable/render/node/neutralTrackPresentation.ts +59 -0
  581. package/scaffold/production/src/executable/render/node/normalizeProductionH264Mp4.ts +110 -0
  582. package/scaffold/production/src/executable/render/node/openLosslessVideoTrack.ts +81 -0
  583. package/scaffold/production/src/executable/render/node/parseMp4.ts +46 -0
  584. package/scaffold/production/src/executable/render/node/parseProductionMp4Output.ts +70 -0
  585. package/scaffold/production/src/executable/render/node/parseProductionRenditionClip.ts +92 -0
  586. package/scaffold/production/src/executable/render/node/planViewerVideo.ts +140 -0
  587. package/scaffold/production/src/executable/render/node/probeParsedProductionVideoMp4.ts +48 -0
  588. package/scaffold/production/src/executable/render/node/probeProductionPngPicture.ts +223 -0
  589. package/scaffold/production/src/executable/render/node/probeProductionRenderedMedia.ts +355 -0
  590. package/scaffold/production/src/executable/render/node/probeProductionVideoMp4.ts +27 -0
  591. package/scaffold/production/src/executable/render/node/probeVideoTrack.ts +220 -0
  592. package/scaffold/production/src/executable/render/node/productionRenditionVideoPlan.ts +149 -0
  593. package/scaffold/production/src/executable/render/node/recordViewerPlayback.ts +137 -0
  594. package/scaffold/production/src/executable/render/node/renderViewerFrames.ts +139 -0
  595. package/scaffold/production/src/executable/render/node/renderViewerVideo.ts +301 -0
  596. package/scaffold/production/src/executable/render/node/renderViewerVideoSession.ts +75 -0
  597. package/scaffold/production/src/executable/render/node/residentMp4Box.ts +36 -0
  598. package/scaffold/production/src/executable/render/node/residentPngJs.ts +26 -0
  599. package/scaffold/production/src/executable/render/node/runViewerVideoEncoder.ts +58 -0
  600. package/scaffold/production/src/executable/render/node/sameSampleDescription.ts +43 -0
  601. package/scaffold/production/src/executable/render/node/sameSampleFlags.ts +28 -0
  602. package/scaffold/production/src/executable/render/node/sampleBytes.ts +46 -0
  603. package/scaffold/production/src/executable/render/node/sampleDescription.ts +40 -0
  604. package/scaffold/production/src/executable/render/node/sampleOptions.ts +37 -0
  605. package/scaffold/production/src/executable/render/node/serializeDescriptionBox.ts +29 -0
  606. package/scaffold/production/src/executable/render/node/trimProductionAudioPresentation.ts +115 -0
  607. package/scaffold/production/src/executable/render/node/verifySampleStorage.ts +86 -0
  608. package/scaffold/production/src/executable/render/node/writeViewerFrameSheet.ts +101 -0
  609. package/scaffold/production/src/executable/render.ts +92 -0
  610. package/scaffold/production/src/executable/review.ts +54 -0
  611. package/scaffold/production/src/executable/viewer/inspection/createViewerDiskSource.ts +119 -0
  612. package/scaffold/production/src/executable/viewer/inspection/readViewerMaintainedSourceFiles.ts +64 -0
  613. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureError.ts +41 -0
  614. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureErrorCode.ts +22 -0
  615. package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessWaitUntil.ts +18 -0
  616. package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessLocator.ts +32 -0
  617. package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessPage.ts +130 -0
  618. package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureOptions.ts +38 -0
  619. package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureSession.ts +41 -0
  620. package/scaffold/production/src/executable/viewer/node/capture/createViewerCaptureSession.ts +154 -0
  621. package/scaffold/production/src/executable/viewer/node/capture/index.ts +8 -0
  622. package/scaffold/production/src/executable/viewer/node/index.ts +2 -0
  623. package/scaffold/production/src/executable/viewer/node/raster/AutoMovieRasterLighting.ts +221 -0
  624. package/scaffold/production/src/executable/viewer/node/raster/AutoMovieRasterSheet.ts +175 -0
  625. package/scaffold/production/src/executable/viewer/node/raster/AutoMovieRasterTarget.ts +282 -0
  626. package/scaffold/production/src/executable/viewer/node/raster/IAutoMovieSceneRaster.ts +62 -0
  627. package/scaffold/production/src/executable/viewer/node/raster/IRasterizeAutoMovieSceneProps.ts +34 -0
  628. package/scaffold/production/src/executable/viewer/node/raster/encodeAutoMovieRasterPng.ts +77 -0
  629. package/scaffold/production/src/executable/viewer/node/raster/index.ts +8 -0
  630. package/scaffold/production/src/executable/viewer/node/raster/rasterizeAutoMovieScene.ts +594 -0
  631. package/scaffold/production/src/executable/viewer/node/raster/stampAutoMovieRasterLabel.ts +120 -0
  632. package/scaffold/production/src/executable/viewer/process/ProcessOwnership.ts +102 -0
  633. package/scaffold/production/src/executable/viewer/process/internal/IProcessChildObservation.ts +18 -0
  634. package/scaffold/production/src/executable/viewer/process/internal/IProcessOwnershipHost.ts +70 -0
  635. package/scaffold/production/src/executable/viewer/process/internal/ProcessOwnershipController.ts +125 -0
  636. package/scaffold/production/src/executable/viewer/process/internal/WindowsProcessOwnershipPrograms.ts +52 -0
  637. package/scaffold/production/src/executable/viewer/process/internal/createNodeProcessOwnershipHost.ts +41 -0
  638. package/scaffold/production/src/executable/viewer/process/internal/decodeLinuxProcessIdentity.ts +22 -0
  639. package/scaffold/production/src/executable/viewer/process/internal/decodePosixProcessIdentity.ts +24 -0
  640. package/scaffold/production/src/executable/viewer/process/internal/decodeWindowsProcessResult.ts +24 -0
  641. package/scaffold/production/src/executable/viewer/process/internal/readNativeProcessIdentity.ts +45 -0
  642. package/scaffold/production/src/executable/viewer/process/internal/requireProcessId.ts +15 -0
  643. package/scaffold/production/src/executable/viewer/process/internal/resolveProcessIdentityReadError.ts +15 -0
  644. package/scaffold/production/src/executable/viewer/process/internal/runWindowsProcessOperation.ts +41 -0
  645. package/scaffold/production/src/executable/viewer/process/internal/selectProcessOwnershipTree.ts +68 -0
  646. package/scaffold/production/src/main.ts +197 -0
  647. package/scaffold/production/src/selectFilm.ts +34 -0
  648. package/scaffold/production/test/features/executable/test_plan_capture_stills.ts +75 -0
  649. package/scaffold/production/test/features/test_clamp_production_seconds.ts +39 -0
  650. package/scaffold/production/test/features/test_select_film.ts +59 -0
  651. package/scaffold/production/test/features/testing/test_test_execution.ts +57 -0
  652. package/scaffold/production/test/features/testing/test_test_selection.ts +78 -0
  653. package/scaffold/production/test/helpers/assessTestExecution.ts +22 -0
  654. package/scaffold/production/test/helpers/selectTestFiles.ts +79 -0
  655. package/scaffold/production/test/index.ts +64 -0
  656. package/scaffold/production/test/tsconfig.json +6 -0
  657. package/scaffold/production/tsconfig.json +34 -0
  658. package/scaffold/production/tsconfig.test.json +9 -0
  659. package/scaffold/production/vite.config.ts +35 -0
  660. package/scaffold/workspace/README.md +42 -0
  661. package/scaffold/workspace/_gitignore +9 -0
  662. package/scaffold/workspace/package.json +19 -0
  663. package/scaffold/workspace/pnpm-workspace.yaml +46 -0
  664. package/src/AUTOMOVIE_TEMPLATE_CATALOGS.ts +48 -0
  665. package/src/AUTOMOVIE_TEMPLATE_VERSIONS.ts +39 -0
  666. package/src/AutoMovieScaffoldLayer.ts +18 -0
  667. package/src/FILE_ATTRIBUTE_DIRECTORY.ts +2 -0
  668. package/src/IAutoMovieCatalogVersionProps.ts +18 -0
  669. package/src/IAutoMovieScaffoldProps.ts +14 -0
  670. package/src/IAutoMovieScaffoldSourceEntry.ts +19 -0
  671. package/src/IAutoMovieTemplateDependencyVersionsProps.ts +19 -0
  672. package/src/IAutoMovieWorkspacePackageVersions.ts +44 -0
  673. package/src/IBoundChild.ts +86 -0
  674. package/src/IBoundChildStatus.ts +24 -0
  675. package/src/IBoundParent.ts +65 -0
  676. package/src/IBoundParentStatus.ts +15 -0
  677. package/src/ICreateResult.ts +35 -0
  678. package/src/IScaffoldCompletedFilePublicationOutcome.ts +17 -0
  679. package/src/IScaffoldCompletedPublication.ts +17 -0
  680. package/src/IScaffoldFileSnapshot.ts +28 -0
  681. package/src/IScaffoldParentPublicationRequest.ts +29 -0
  682. package/src/IScaffoldPartialFilePublicationOutcome.ts +25 -0
  683. package/src/IScaffoldPhysicalDirectory.ts +22 -0
  684. package/src/IScaffoldPosixConstants.ts +30 -0
  685. package/src/IScaffoldPublicationEntry.ts +22 -0
  686. package/src/IScaffoldPublicationFailure.ts +18 -0
  687. package/src/IScaffoldPublicationOptions.ts +19 -0
  688. package/src/IScaffoldPublicationReceipt.ts +29 -0
  689. package/src/IScaffoldRefusedFilePublicationOutcome.ts +20 -0
  690. package/src/IScaffoldSyncPlan.ts +26 -0
  691. package/src/IScaffoldSyncProps.ts +16 -0
  692. package/src/IWindowsFileInformation.ts +24 -0
  693. package/src/IWindowsLibrary.ts +148 -0
  694. package/src/SCAFFOLD_SYNC_STATE_FILE.ts +5 -0
  695. package/src/ScaffoldFilePublicationOutcome.ts +18 -0
  696. package/src/ScaffoldParentChangedError.ts +14 -0
  697. package/src/ScaffoldPublicationError.ts +58 -0
  698. package/src/assertOrdinaryFile.ts +20 -0
  699. package/src/assertOrdinarySingleLinkFile.ts +26 -0
  700. package/src/assertScaffoldOwnership.ts +29 -0
  701. package/src/assertScaffoldPhysicalDirectory.ts +29 -0
  702. package/src/assertScaffoldProjectName.ts +34 -0
  703. package/src/attachScaffoldSyncState.ts +30 -0
  704. package/src/captureEmptyScaffoldPhysicalDirectory.ts +45 -0
  705. package/src/captureScaffoldFile.ts +34 -0
  706. package/src/captureScaffoldPhysicalDirectory.ts +34 -0
  707. package/src/combineScaffoldFailures.ts +35 -0
  708. package/src/createAutoMovieCatalogVersionResolver.ts +117 -0
  709. package/src/createScaffoldSyncState.ts +33 -0
  710. package/src/createScaffoldVariables.ts +50 -0
  711. package/src/ensureScaffoldBaseDirectory.ts +55 -0
  712. package/src/ensureScaffoldFileDirectory.ts +75 -0
  713. package/src/index.ts +48 -0
  714. package/src/inside.ts +25 -0
  715. package/src/isScaffoldInstruction.ts +29 -0
  716. package/src/listAutoMovieScaffoldFiles.ts +56 -0
  717. package/src/loadWindowsLibrary.ts +277 -0
  718. package/src/mergeScaffoldFiles.ts +39 -0
  719. package/src/missingPath.ts +16 -0
  720. package/src/nativeError.ts +15 -0
  721. package/src/openPosixParent.ts +155 -0
  722. package/src/openWindowsParent.ts +305 -0
  723. package/src/overwriteScaffoldFile.ts +262 -0
  724. package/src/physicalDirectoryIdentity.ts +33 -0
  725. package/src/physicalVersion.ts +18 -0
  726. package/src/planScaffoldPublication.ts +100 -0
  727. package/src/planScaffoldSync.ts +122 -0
  728. package/src/publishFiles.ts +120 -0
  729. package/src/publishNativeScaffoldFile.ts +287 -0
  730. package/src/publishScaffoldCandidate.ts +94 -0
  731. package/src/readAutoMovieScaffoldSources.ts +82 -0
  732. package/src/readScaffoldSyncFile.ts +66 -0
  733. package/src/renderScaffold.ts +43 -0
  734. package/src/renderScaffoldEntries.ts +110 -0
  735. package/src/renderScaffoldInstructions.ts +22 -0
  736. package/src/renderScaffoldLayer.ts +38 -0
  737. package/src/renderTemplate.ts +62 -0
  738. package/src/renderWorkspaceProductionScaffold.ts +35 -0
  739. package/src/renderWorkspaceScaffold.ts +43 -0
  740. package/src/replaceSharedScaffoldFile.ts +88 -0
  741. package/src/resolveAutoMovieCatalogVersion.ts +27 -0
  742. package/src/resolveAutoMovieTemplateDependencyVersions.ts +70 -0
  743. package/src/resolveScaffoldPosixConstants.ts +50 -0
  744. package/src/scaffoldAssetDirectory.ts +30 -0
  745. package/src/scaffoldPhysicalIdentity.ts +21 -0
  746. package/src/scaffoldSharedSkillDirectory.ts +25 -0
  747. package/src/scaffoldSharedSkillPath.ts +31 -0
  748. package/src/syncScaffold.ts +38 -0
  749. package/src/writeFiles.ts +48 -0
  750. package/src/writeScaffoldFile.ts +88 -0
  751. package/src/writtenVersion.ts +19 -0
@@ -0,0 +1,29 @@
1
+ # Inspection
2
+
3
+ Author inspection, evidence correction and independent review share this method. The selected contracts own the failure conditions and exceptions; the table only records their application.
4
+
5
+ ## Isolated context
6
+
7
+ Launch the author's model through an available subagent or separate-session tool, within its authorization, with no inherited conversation or working memory, passing only the job and input file paths. Calling the current context fresh does not isolate it; if no tool or authorization is available, report the task as unperformed.
8
+
9
+ ## Independent classification
10
+
11
+ Give the classifier the current body and needed neighbors, the selected contracts and the actual parents or frozen original, and nothing of the author's explanations, evidence or earlier verdicts.
12
+
13
+ For scripts and screenplay, classify every sentence against every applicable named failure. For narrative construction, also pair each paragraph with its parent passages, or the brief for a short, to test [parent differentiation](../../contracts/story/shared/principles/narratives.md#parent-differentiation), and compare inherited names, address, quantities, dates, places, states and certainty with the parents.
14
+
15
+ Record the revision and covered ranges, list the tested failures once, and give one row per sentence with its locator and the names of the failures found, or `-`.
16
+
17
+ An ambiguous candidate is decided in context by the recipient loss; ambiguity alone is not yes. Keep the raw table in ignored `.cache/` and its supported findings in the accountable record.
18
+
19
+ Lock the whole initial table before author defenses. The author repairs or raises a factual objection, and the classifier resolves it without substituting intent for the recipient's judgment. Record every member of each recurring cause, and send uncovered recurring losses to discovery.
20
+
21
+ ## Verify changed work
22
+
23
+ Keep the same author through the correction cycle.
24
+
25
+ Classify each changed sentence, its neighbors and every statement whose meaning depends on it; changed parents or requirements reopen their comparisons. Do not reverse an unchanged classification for a preferred reading, only for new body, parent, source or contract evidence. A repaired passage receives another yes only for a clear applicable failure.
26
+
27
+ The cycle is complete when coverage is complete and no unprotected yes remains after the affected rows are rechecked.
28
+
29
+ Read the changed passages together for a new common pattern or fidelity loss under [cause rounds](repair.md#cause-rounds). A clean table is neither independent approval nor whole-work completion; independent review closes the pass under [narrative rounds](../../review/narrative-rounds.md).
@@ -0,0 +1,35 @@
1
+ # Repair
2
+
3
+ Identify the earliest owner, the consumers that use it, the current pass and the closed boundaries before changing the work. For a requested revision, name the change, what the user wants preserved and the smallest useful scope, then trace its impact through dependent facts, scenes, assets, performance and edit.
4
+
5
+ ## Upstream defects
6
+
7
+ A construction author who finds a missing, conflicting or unrealizable parent decision repairs its earliest owner before writing from it, using the selected [upstream questions](../../contracts/story/SKILL.md); a downstream workaround leaves every other consumer with the defect. During expression work, report it instead of changing frozen content.
8
+
9
+ ## Cause rounds
10
+
11
+ The entry rule of [repairing a finished round by cause](../../../../AGENTS.md#attitude) takes this form for a narrative body. Complete [inspection](inspection.md) before editing. Group the findings by cause, including every member of a recurring class, and repair each cause where its action or explanation belongs, recomposing a passage when cutting would lose its meaning.
12
+
13
+ Reconcile dependent statements, quotations, values and [answers](../evidence/answer-writing.md) in the same repair, then read the changed passages and the whole progression for new uniformity, fidelity losses and broken seams before the next round.
14
+
15
+ ## Closed passes
16
+
17
+ Completed layers stay closed when their bodies or parents change: do not reopen their evidence, reviews or approvals. Remove answers for deleted H2s, write answers for new ones only, and report other diagnostics without repairing them, keeping the original failed reports.
18
+
19
+ After expression transfer, hand off the repaired body with its working edition, frozen original and unfiltered report; a pending or stale transfer check remains a failure.
20
+
21
+ Replacing a unit from scratch removes its obsolete answers, editions, reviews and replaced descendants while keeping other material; a reused filename grants no approval, and the new unit begins its own cycle.
22
+
23
+ ## Concretization {#concretization}
24
+
25
+ When scene composition must make a decision the screenplay left vague, the decision belongs to the screenplay, not to the code. Add it to the beat's record in the screenplay body in the same change, and when another scene or film must keep it, add it to settings or the brief as a new anchored fact citing the beat.
26
+
27
+ A closed screenplay stays closed: the edited beat keeps its answers and reviews, its stale fingerprint is reported as a remaining diagnostic under [closed passes](#closed-passes), and the next review of that screenplay reads the beat afresh.
28
+
29
+ An exchange, an outcome or a reaction is never a concretization. A screenplay that lacks one is defective and returns to its author under [upstream defects](#upstream-defects).
30
+
31
+ ## Scope expansion
32
+
33
+ A first-part pilot needs the user's commission and its exact part. Settings stay work-wide; the other layers cover the slice with its lineage, and the result states what the slice cannot establish.
34
+
35
+ To expand, reconfigure through [evidence configuration](../../evidence/configuration.md), reset the affected passes together, design the complete treatment sequence including the pilot, and establish whole-population evidence and review; pilot approval cannot stand for the whole work.
@@ -0,0 +1,38 @@
1
+ # Document layout
2
+
3
+ Each creative document, its evidence and its review has a default location here, and supplied work enters through intake. These are default locations, not a request to create empty trees.
4
+
5
+ The evidence and review locations below are the installed evidence package's defaults, and its documentation owns supported layouts and selectors. This table is the one place the skills show them; [evidence configuration](../evidence/configuration.md) owns their use.
6
+
7
+ ## Documents
8
+
9
+ Commit instructions, creative bodies and evidence answers. Review, naturalness and revision working records stay local.
10
+
11
+ Keep one current record per purpose, identified by its actual inputs; Git preserves earlier tracked editions. Raw logs, classification tables, run records and temporary comparisons belong in ignored `.cache/`, with their relevant conclusions in the current record.
12
+
13
+ | Location, when used | Owns |
14
+ | --- | --- |
15
+ | `docs/instructions/*.md` | Creative requirements, source boundaries and identified delegated writing choices |
16
+ | `docs/body/settings/<domain>/<subject>.md` | One subject's facts, one file per subject, with H2 facets and anchored H3 facts, in the domains `world`, `cast`, `crowds`, `props`, `sets`, `cinematography` and `sound` |
17
+ | `docs/body/settings/outline/index.md` | Domain and file navigation without duplicating facts |
18
+ | `docs/body/brief/<domain>/<subject>.md` | A short's shared decisions in the settings domains, with its fixed conditions in `world/work.md` |
19
+ | `docs/body/treatments/NNN-event.md` | Flat ordered events, causes, consequences, and information release |
20
+ | `docs/body/scripts/NNN-part/NNN-episode.md` | Executable scenes and release partition, with part indexes |
21
+ | `docs/body/screenplay/<film>.md`, or `NNN-part/NNN-episode.md` for several videos | Complete final audiovisual text, one file per delivered video, from whose path the [film name](../development/source-layout.md#source) derives; long work preserves its script partition |
22
+ | `docs/research/index.md`, `docs/research/<discipline>/<topic>.md` | The source index and the studies of each practice and style: laws, outcome tables and measurable targets, under [research](planning/research.md) |
23
+ | `references/`, ignored `references/private/` | Retained research originals: permitted copies, and those whose rights are unconfirmed |
24
+ | `docs/contracts/work/...`, `docs/contracts/language/...` | This production's own story contracts supplementing the shared ones, cited as `work/...` and `language/...`; discovery writes `work/discovery/results.md` |
25
+ | `docs/contracts/statements/...` | The statements of this production's own contracts, which no evidence stage selects |
26
+ | `docs/acceptance/<film>.md` | The film's tracked acceptance record, and in `catalog.md` the catalog's accepted cases, under [delivery review](../review/delivery-review.md#acceptance-record) |
27
+ | `docs/evidence/construction/{units,files}/<layer>/...` | Separate construction answers for units and whole files, including `files/research/` for the research studies |
28
+ | Ignored `docs/review/{draft,final}/<layer>/<relative-file>.md` | Current independent unit reviews mirroring the actual body or working edition |
29
+ | Ignored `docs/review/{draft,final}/<layer>/verdict/index.md` | Current complete-population verdict, findings and author decisions |
30
+ | Ignored `docs/naturalness/`, `docs/revision/` | Frozen and working screenplay editions retained while their cycle needs them |
31
+
32
+ `PROJECT.md` is kept under [project context](../production/project-context.md) and generation requests under [media records](../production/media-records.md).
33
+
34
+ A part can be an act, release block, or another division suited to the format. An episode file can hold a suitable sequence in a continuous film; its filename does not force an episodic release. Narrative partition and [source organization](../development/source-layout.md) are separate choices.
35
+
36
+ ## Intake of existing work
37
+
38
+ Identify supplied settings, scripts or completed works by their original source revision or retained reference. Through [instructions](planning/requirements.md#requirements), record their identity, adopted requirements, fixed quotations, and reinterpretation boundaries. Existing finished work supplies material and choices to assess; it does not approve this production's layers.
@@ -0,0 +1,13 @@
1
+ ---
2
+ name: story-evidence
3
+ description: Writes and places the answers a narrative body gives its story contracts. Use once a layer's stage is enabled.
4
+ ---
5
+
6
+ # Story evidence
7
+
8
+ Answer the [story contracts](../../contracts/story/SKILL.md) from the corrected body; graph configuration belongs to [evidence](../../evidence/SKILL.md).
9
+
10
+ | Task | Read |
11
+ | --- | --- |
12
+ | Write accountable answers from the current body | [Answer writing](answer-writing.md) |
13
+ | Place answers, working comments and exclusions | [Answer placement](answer-placement.md) |
@@ -0,0 +1,13 @@
1
+ # Answer placement
2
+
3
+ Construction answers remain detached from creative bodies, in the unit and file locations the [document layout](../document-layout.md#documents) gives. The document's H1 identifies the exact body file or file-and-anchor address, followed by Evidence headings and supporting prose. The installed evidence package's documentation owns the native address and annotation syntax.
4
+
5
+ Detached documents do not support exclusion or exclusion-review rows. Put a permitted exclusion in the actual host unit's HTML comment, or use the designated discovery carrier for a discovery negative. State the inspected scope and exact inapplicability; a population exclusion requires the entire population to be inapplicable.
6
+
7
+ Script expression answers belong to its detached construction units and population files. Screenplay naturalness answers stay in HTML comments attached to their working unit in the working edition.
8
+
9
+ Place H2-owned answers directly beneath their H2, before its subordinate H3 headings, and a file answer before the file's first heading. Keep them with that edition when reviewed text is transferred; [expression transfer](../naturalness/transfer.md#transfer) owns the comment-free transfer and [upstream repair](../correction/repair.md) its closed-proof boundary.
10
+
11
+ Review records and their fingerprints follow [narrative rounds](../../review/narrative-rounds.md).
12
+
13
+ A work- or language-specific question is adopted through [adoption](../../evidence/adoption.md), which also says where it lives; a unit answers for its own behavior and a designated population respondent for a whole-work duty.
@@ -0,0 +1,23 @@
1
+ # Answer writing
2
+
3
+ Read the whole selected respondent and the parents it needs, find its questions through the [story contracts](../../contracts/story/SKILL.md), and repair discovered causes under [cause rounds](../correction/repair.md#cause-rounds) before answering.
4
+
5
+ Resolve an overview question first so local repairs follow its direction. An answer establishes the corrected work; it cannot argue missing material into existence or overturn a locked recipient loss.
6
+
7
+ Support each assertion with exact quotations and owner addresses checked against the current body or parent, and check claimed counts, sequence, causes, places and states across the whole scope.
8
+
9
+ Where an item has statements, follow [items and statements](../../contracts/SKILL.md#items-and-statements) before answering.
10
+
11
+ Answer only what the question asks; an unneeded inventory becomes a stale fact. Group a repeated cause and cite its grounds once.
12
+
13
+ An inapplicable question states its inspected scope and reason through the mechanism its relationship permits, and a population exclusion requires the whole population to be inapplicable. [Answer placement](answer-placement.md) says where each answer goes.
14
+
15
+ After an edit within the open pass, reconcile its dependent answers in the same repair; changes touching closed work follow [upstream repair](../correction/repair.md).
16
+
17
+ Hand the body and answers to [workflow](../workflow.md) for construction or [expression transfer](../naturalness/transfer.md) for expression. Independent [review](../../review/narrative-rounds.md) judges the body before auditing these answers, and a refreshed hash grants no creative judgment.
18
+
19
+ ## Grounds for retaining a candidate
20
+
21
+ A named expression failure follows its contract's [decision and exception rule](../../contracts/story/shared/naturalness/common.md#reads-as-written). For another candidate, write an alternative carrying the same information, access and pressure without the form and compare the two, recording the gain or loss in ignored notes and the decision in the accountable record.
22
+
23
+ Deletion, a function label, precedent or earlier protection cannot establish what the expression achieves. After an independent finding, the comparison guides repair rather than acquittal; a working function whose form fails is recomposed, and a defective inherited value returns to its earliest owner under [upstream repair](../correction/repair.md#upstream-defects).
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: story-layers
3
+ description: Writes each narrative layer, settings or a short's brief, treatments, scripts and the final screenplay, and the notation they use. Use when constructing or correcting a layer's body.
4
+ ---
5
+
6
+ # Layers
7
+
8
+ Each layer makes its own contribution and hands usable decisions to its next recipient, as [workflow](../workflow.md#creative-ownership) assigns them.
9
+
10
+ | Task | Read |
11
+ | --- | --- |
12
+ | Establish usable facts, their records and finding guide | [Settings](settings.md) |
13
+ | Establish a short's shared decisions | [Brief](brief.md) |
14
+ | Decide events, consequences and information release | [Treatments](treatments.md) |
15
+ | Partition the work and execute scenes | [Scripts](scripts.md) |
16
+ | Compose the final audiovisual experience, including a short | [Screenplay](screenplay.md) |
17
+ | Choose scene, speech and sound notation | [Notation](notation.md) |
@@ -0,0 +1,29 @@
1
+ # Brief
2
+
3
+ A short's canon: the decisions its screenplays must keep true, written once and cited by every film, under the brief questions in the [story contracts](../../contracts/story/SKILL.md). The brief is prose for readers and never describes code.
4
+
5
+ Read the [instructions](../planning/requirements.md#requirements) and finish [discovery](../planning/discovery.md) first, research every practice the films show through [research](../planning/research.md), and work backward from the planned films to the decisions they need.
6
+
7
+ ## Records
8
+
9
+ Give each subject one file in its domain, `docs/body/brief/<domain>/<subject>.md`, in the settings domains `world`, `cast`, `crowds`, `props`, `sets`, `cinematography` and `sound`.
10
+
11
+ Keep the work's fixed conditions in `docs/body/brief/world/work.md`:
12
+
13
+ - each film's running time and frame, in agreement with the [delivery profile](../../production/project-context.md);
14
+ - the adopted representation and what it cannot show;
15
+ - one line per film.
16
+
17
+ Each file has one H1 naming the subject, an H2 per facet and an H3 per decision with an explicit anchor; screenplays cite a decision by its path and anchor, so never reuse or renumber one.
18
+
19
+ Write only the facets the planned films use, and keep measurements out, under the [settings rule](settings.md#records).
20
+
21
+ User-fixed interpretations are canon; report a conflict between an instruction and its source instead of changing it.
22
+
23
+ Embed a subject's canon images, generated under [image](../../image/SKILL.md), from `media/diffusion/images/<domain>/`, as [settings](settings.md#records) records do.
24
+
25
+ ## Growth
26
+
27
+ The brief grows from writing, as a series bible does. When a screenplay finds a brief decision missing, contradictory or unrealizable, repair the brief before writing from it under [upstream repair](../correction/repair.md#upstream-defects). When a decision one screenplay made must hold in another scene or film, add it here as a new anchored decision citing the establishing unit, under [closed passes](../correction/repair.md#closed-passes).
28
+
29
+ Complete the brief's decisions, explanation and organization in [construction](../workflow.md#construction).
@@ -0,0 +1,34 @@
1
+ # Notation
2
+
3
+ Unless the commission adopts another form, use conventional screenplay blocks: a scene heading such as `INT. LOCATION - DAY`, short present-tense action paragraphs of what can be seen or heard, and a consistent speaker cue before each dialogue block, as the [BBC format](https://downloads.bbc.co.uk/writersroom/scripts/screenplay.pdf) and [Final Draft elements](https://www.finaldraft.com/learn/screenplay-formatting-elements/) show. Break paragraphs at changes of action, response or attention, and mark off-screen speech, voiceover, overlap, screen text and time shifts where they would otherwise be ambiguous.
4
+
5
+ Read the blocks as a continuous sequence, each entry following the preceding exit; final duration comes from the performed action, speech, pauses and edit.
6
+
7
+ ## Identities
8
+
9
+ The H1 names the film, each H2 is a scene and each H3 a beat, every heading with an explicit anchor such as `{#s03}` and `{#s03-b04}`. Headings are addresses for code, evidence and reviews; they prescribe neither shot boundaries nor duration.
10
+
11
+ Never reuse or renumber an anchor: a removed scene or beat keeps its heading over the single line `OMITTED`, and an inserted one takes a new anchor such as `{#s03-b04a}`, so an existing citation never silently points at different content.
12
+
13
+ ## Records {#records}
14
+
15
+ Directly under the scene heading, a breakdown list names by settings or brief link everything the scene's beats use, in these categories: cast, crowds, props, sets, wardrobe and makeup state, effects, sound, camera and lighting. Each beat's action and dialogue blocks end with its beat record:
16
+
17
+ ```markdown
18
+ ### Mara cues the lift {#s03-b04}
19
+
20
+ <action and dialogue blocks>
21
+
22
+ - Cast: [Mara](../settings/cast/mara.md#lead-hand), [Jun](../settings/cast/jun.md#hesitates-before-jumps)
23
+ - Intent: Mara cues a lift with a press of her hand; Jun reads it a beat late.
24
+ - Outcome: the lift lands short, as [the partnering table](../../research/dance/lifts.md#outcomes) allows for a late read.
25
+ - Consequence: Mara braces under Jun's weight; Jun lands off balance; Jun's sleeve tears at the seam.
26
+ - Space: the pair drifts from center stage toward the downstage wing; the conductor turns to follow them.
27
+ - Camera: medium two-shot, eye level, slow push in.
28
+ - Sound: dialogue none; foley shoe scuffs and fabric; ambience hall air; effects none; music VI the on-stage quartet continues.
29
+ - Continuity: Jun's left shoe, loosened in s02-b07, is still untied.
30
+ ```
31
+
32
+ Music names its usage: `BI` background instrumental, `BV` background vocal, `VI` visual instrumental and `VV` visual vocal, a source the picture shows. A layer with nothing in it says `none`, because silence is a decision.
33
+
34
+ Breakdown and beat records are notation, like scene headings: expression review does not judge them as prose, and the expression pass rewrites the blocks around them and keeps their decisions.
@@ -0,0 +1,15 @@
1
+ # Screenplay
2
+
3
+ Compose the audience's complete viewing and listening experience, understandable without its parents, under the screenplay questions in the [story contracts](../../contracts/story/SKILL.md). Choose what is seen and heard, how attention moves, and when the audience recognizes, waits and connects, through speech, action, reactions, sound, detail, duration and transitions in [readable notation](notation.md). A fixed view, silence, caption or narration serves the form when its contribution earns the attention.
4
+
5
+ For long work, extract concise notes of the required identities, decisions, states, chronology, space and audience knowledge from completed treatments and scripts, draft in an [isolated context](../correction/inspection.md#isolated-context) with those notes, the requirements and fixed quotations, then compare against the actual parents.
6
+
7
+ Keep the decided event order while composing the realization afresh under [parent differentiation](../../contracts/story/shared/principles/narratives.md#parent-differentiation). A short composes events, action and realization from its [brief](brief.md) and research.
8
+
9
+ On either route, write only what the adopted representation and frame can show, as the canon's scope record states them. A polygon man has no face, so its attention is the turn of its head and torso, and a fact it cannot carry reaches a generated film through canon images and the generation prompt.
10
+
11
+ The screenplay is the last place a decision can be made: motion, sound and assembly realize it, and a film [only composes](../../contracts/development/composition.md#composition-only). So write every beat in terms the modules can perform: from the settings facts of the people, objects and places in it, with each action named as one the installed motion vocabulary performs or as the research law that describes it, under [what needs a study](../planning/research.md#what-needs-a-study).
12
+
13
+ Decide the beat completely in its [beat record](notation.md#records), as the [beat-decisions question](../../contracts/story/shared/principles/screenplay.md#beat-decisions) asks. A beat that no installed action, cited law or outcome table can produce is repaired here or at its settings or brief owner before code is written from it.
14
+
15
+ A defective parent is repaired under [upstream repair](../correction/repair.md#upstream-defects). Before evidence, read the whole progression in viewing order, then inspect and repair under [cause rounds](../correction/repair.md#cause-rounds) and complete the passes through [workflow](../workflow.md).
@@ -0,0 +1,11 @@
1
+ # Scripts
2
+
3
+ Realize completed treatments as scenes performers and filmmakers can execute, under the [script principles](../../contracts/story/shared/principles/scripts.md) and [population duties](../../contracts/story/shared/obligations/scripts.md).
4
+
5
+ After [discovery](../planning/discovery.md), map treatments to their scenes and settle the scene, sequence and release units by actual viewing material, keeping stable H1 and H2 identities for the final screenplay.
6
+
7
+ Build each scene around what its participants do, encounter and change: actual dialogue, action, reaction and performance in playable order, with usable space, light, sound and view, in readable [notation](notation.md).
8
+
9
+ Keep the inherited event chronology while creating the scene's own execution under [parent differentiation](../../contracts/story/shared/principles/narratives.md#parent-differentiation), cite every realized treatment, and repair a defective parent under [upstream repair](../correction/repair.md#upstream-defects).
10
+
11
+ Before evidence, read the whole script as reader, performer and filmmaker, then inspect and repair under [cause rounds](../correction/repair.md#cause-rounds), comparing neighboring units for the [distribution](../../contracts/story/shared/naturalness/obligations/scripts.md#execution-distribution) of execution. Scripts complete content and expression together in [construction](../workflow.md#construction).
@@ -0,0 +1,39 @@
1
+ # Settings
2
+
3
+ Write down the decisions about the world, its people, places and objects that later authors, artists and performers must keep true, specific enough to hold the work to and findable without reconstructing the world, under the settings questions in the [story contracts](../../contracts/story/SKILL.md). Settings are prose for readers; they never describe code.
4
+
5
+ Read the [instructions](../planning/requirements.md#requirements) and finish [discovery](../planning/discovery.md) first, and work backward from the anticipated scenes to the facts they need.
6
+
7
+ Settings belong to the long route; a short writes its [brief](brief.md) instead. Baseline states belong here; the events that change or reveal them belong to [treatments](treatments.md).
8
+
9
+ ## Records
10
+
11
+ Give each subject one file in its domain under the [document layout](../document-layout.md): one H1 naming the subject, an H2 per facet and an H3 per fact with an explicit anchor such as `{#hesitates-before-jumps}`. Later layers cite a fact by its file path and anchor, so never reuse or renumber one.
12
+
13
+ Write only the facets the planned scenes and arcs use; an unused facet is left out rather than marked `N/A`, and a dimension the commission excludes is excluded once in the work's scope record, which also states the adopted representation and what it cannot show.
14
+
15
+ Measurements such as dimensions, light positions and timings go to [research](../planning/research.md) for their sources and to code for their values, unless the value is itself a story decision.
16
+
17
+ | Domain | Facets the scenes may need |
18
+ | --- | --- |
19
+ | `world` | Rules of the world and of any practice shown, such as a sport's or ceremony's rules; time of day, weather and season defaults; tone |
20
+ | `cast` | Identity; the body facts a polygon man's parameters derive from, and canon images; wardrobe, makeup and wounds by story day; carried props; movement style; repertoire and proficiency; habits and tells, each with its trigger and response; speech and voice; values, worldview and motives; relationships; knowledge; state changes over story time |
21
+ | `crowds` | Makeup, arrangement and what the crowd does and reacts to |
22
+ | `props` | Form, material and markings; how people hold, use or ride it; state changes; vehicles and animals included |
23
+ | `sets` | Shape, zones and landmarks; routes, entrances and levels; dressing; how people use the space; state changes |
24
+ | `cinematography` | The look: framing grammar, camera movement style, lighting style and grade |
25
+ | `sound` | Ambience and music palettes; voices belong to the cast |
26
+
27
+ User-fixed interpretations are canon. Research open facts through [research](../planning/research.md), attaching support and uncertainty to the facts they qualify, and report a conflict between an instruction and its source instead of changing canon.
28
+
29
+ Embed a subject's canon images, generated under [image](../../image/SKILL.md), from `media/diffusion/images/<domain>/`, such as `![Mara, front](../../../../media/diffusion/images/cast/mara-front.png)` in `docs/body/settings/cast/mara.md`; when an image and the text disagree, repair whichever is wrong.
30
+
31
+ ## Outline and changes
32
+
33
+ Keep `outline/index.md` as a finding guide: domain H2s and file H3s in reading order, each file entry anchored by its settings-relative path without `.md` and with `/` replaced by `--`, and each record citing its entry.
34
+
35
+ Before splitting or moving records, map old addresses to their new owners and update links and consumers together under [sync and reorganization](../../production/sync-and-reorganization.md), keeping address migration separate from content changes; moved records keep the [closed-pass boundary](../correction/repair.md#closed-passes).
36
+
37
+ Keep settings current as a continuity record: when a treatment, script or screenplay establishes a lasting state that later units or code must keep, such as a wound, a learned habit or a revealed relationship, add it as a new anchored fact in its subject's state facet, citing the establishing unit, in the same repair. A new fact receives its own answers and review under [closed passes](../correction/repair.md#closed-passes) and leaves existing judgments in place.
38
+
39
+ Complete the facts, their explanation and their organization in [construction](../workflow.md#construction).
@@ -0,0 +1,9 @@
1
+ # Treatments
2
+
3
+ Turn completed settings into decided events another author can execute: causes, choices, exchanges, costs, results, and the state and information later events inherit, under the [treatment principles](../../contracts/story/shared/principles/treatments.md) and [population duties](../../contracts/story/shared/obligations/treatments.md). Finish [discovery](../planning/discovery.md) first and write one H1 per event file with anchored H2s for its decisions.
4
+
5
+ Design from the first encounter with the promised experience through accumulating consequences, setup and payoff to the ending, including parallel developments and changes in audience knowledge.
6
+
7
+ Cite the settings each event uses, and decide the details that determine cause or result while leaving dialogue, blocking and final realization to their owners; [scripts](scripts.md) choose the partition.
8
+
9
+ Read the whole sequence in screen order before evidence, because clear events can still omit a cause or payoff. A defective inherited fact is repaired under [upstream repair](../correction/repair.md#upstream-defects) before designing from it.
@@ -0,0 +1,13 @@
1
+ ---
2
+ name: story-naturalness
3
+ description: Rewrites the final screenplay's expression against its frozen construction and transfers the result. Use for the screenplay expression pass.
4
+ ---
5
+
6
+ # Naturalness
7
+
8
+ Rewrite how the screenplay is seen and heard while its decided meaning stays frozen.
9
+
10
+ | Task | Read |
11
+ | --- | --- |
12
+ | Rewrite expression against its frozen meaning | [Rewriting](rewriting.md) |
13
+ | Freeze, submit or transfer expression work | [Transfer](transfer.md) |
@@ -0,0 +1,17 @@
1
+ # Rewriting
2
+
3
+ Recompose the final screenplay's audiovisual expression while keeping its completed construction, under the naturalness questions in the [story contracts](../../contracts/story/SKILL.md).
4
+
5
+ Read the annotation-free frozen edition as its performer or audience first, recording both its losses and what already works.
6
+
7
+ Compose from the scene's people, purpose, pressure and rhythm, choosing the audience's access, distance and emphasis through image, sound, speech, performance, juxtaposition, silence and transitions, and read each exchange in order with its action.
8
+
9
+ Compare meaning in both directions with the frozen construction under [expression fidelity](../../contracts/story/shared/naturalness/common.md#expression-fidelity), and report a construction defect to its owner instead of changing it.
10
+
11
+ Reread the whole progression against the first experience and the [audiovisual voice](../../contracts/story/shared/naturalness/screenplay.md#audiovisual-voice), then correct details under [inspection](../correction/inspection.md) and [cause rounds](../correction/repair.md#cause-rounds); a clean sentence table does not establish the continuous effect.
12
+
13
+ ## Revision cycles
14
+
15
+ One construction cycle receives one comprehensive rewrite, completed under [transfer](transfer.md). Changed-sentence counts and distance from the original do not measure improvement.
16
+
17
+ A further requested revision starts from the previous working edition and its reviews, compares meaning with the initial frozen construction and expression with the previous edition, and keeps that frozen baseline throughout; a unit replaced from scratch starts new construction.
@@ -0,0 +1,11 @@
1
+ # Expression transfer
2
+
3
+ Work in the ignored frozen and working locations of the [document layout](../document-layout.md), with matching relative paths and the same H1 and H2 identities and order. Write the complete working edition while its pass is disabled, following the [rewriting](rewriting.md), and finish author inspection, fidelity comparison and cause corrections before opening evidence.
4
+
5
+ ## Transfer
6
+
7
+ Open the working edition's stage and claims together, write the answers in comments, and submit the working and frozen inputs through [narrative rounds](../../review/narrative-rounds.md).
8
+
9
+ After the closing round, copy each working file to its body counterpart with HTML comments removed and every other byte preserved; the initial transfer must equal the reviewed edition exactly, and until it happens nothing downstream may consume the text.
10
+
11
+ Construction evidence and approval stay closed against the frozen construction, and an unchanged working edition keeps its naturalness review. Later semantic changes follow [closed passes](../correction/repair.md#closed-passes) without restoring the old working edition.
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: story-planning
3
+ description: Settles what the writing must serve before any layer is written: adopted requirements, direction, research and uncovered work requirements. Use before settings or a short's brief, or when a requirement changes.
4
+ ---
5
+
6
+ # Planning
7
+
8
+ Settle what the layers will serve before writing them, because a layer can only realize what was decided before it.
9
+
10
+ | Task | Read |
11
+ | --- | --- |
12
+ | Adopt, change or withdraw creative requirements | [Requirements](requirements.md) |
13
+ | Develop a direction within delegated authority | [Direction](direction.md) |
14
+ | Study a practice, appearance or source before writing it | [Research](research.md) |
15
+ | Find and assign uncovered work requirements | [Discovery](discovery.md) |
@@ -0,0 +1,14 @@
1
+ # Direction
2
+
3
+ Identify the fixed conditions, the delegated choices and what supplied material must keep, and research the audience and nearby works only where they inform those choices. When the premise is open, compare materially different directions, distinguished by situation, pursuit, forces, progression or ending, and choose the one that best serves the commission, settling as far as delegation allows:
4
+
5
+ - who or what the audience follows, the starting situation, consequential choices and costs, and the destination;
6
+ - what sustains attention across the requested duration;
7
+ - the audience's access to information and the intended image, sound, tone, rhythm and form;
8
+ - what closes, what stays open and what later authors may decide afresh.
9
+
10
+ Record why the direction serves the work in the [requirements](requirements.md#requirements).
11
+
12
+ When scale is open, choose a provisional duration from the turns and material to enact, and revisit it against performed scenes; text length is not running time.
13
+
14
+ Changing a user-fixed condition needs the user's authority.
@@ -0,0 +1,20 @@
1
+ # Discovery
2
+
3
+ Before bulk writing, break the adopted instructions, references, research and delegated choices into consequential elements and assign each to its existing owner or a missing one, under the discovery questions in the [story contracts](../../contracts/story/SKILL.md). A genre label or a general reading of the brief does not establish coverage. Discover the chosen form too: what each unit presents or withholds, how it guides its recipient, and the visible difference a named style makes.
4
+
5
+ Facts and constraints belong in settings or a short's brief, events and release in their layer, and a production-specific judgment in the production's own work contracts, adopted with its population through [adoption](../../evidence/adoption.md). A requirement that lives only in status notes, selector names or repeated guidance needs a canonical owner.
6
+
7
+ ## Checkpoints {#checkpoints}
8
+
9
+ Discovery runs again at four points, because each one exposes kinds of requirement the one before could not see:
10
+
11
+ 1. after research, for what the studied practice needs that no instruction named;
12
+ 2. after settings or the brief, for what the canon needs that the research did not foresee;
13
+ 3. before composition, for an element kind no source folder owns, a behavior, camera or staging choice no research supports, and a failure no contract asks about;
14
+ 4. after delivery review, for what the acceptance record shows the work needed and lacked.
15
+
16
+ Update the discovery result at each one, and leave a checkpoint that was not run recorded as open.
17
+
18
+ ## Result
19
+
20
+ Write the discovery result where the [document layout](../document-layout.md) puts it, from actual findings and inspected negatives. If no independent requirement remains, record the inspected scope, the risks examined and the owners that cover them. A finding in one area does not establish absence elsewhere, and a blank production never receives a fabricated negative.
@@ -0,0 +1,25 @@
1
+ # Creative requirements
2
+
3
+ What the user fixed or delegated about the work itself is recorded here before anything relies on it.
4
+
5
+ ## Requirements
6
+
7
+ Record each requirement adopted from the conversation and the user's materials before relying on it, in `docs/instructions/` with one H1 per topic and an anchored H2 per independently changeable requirement.
8
+
9
+ Keep fixed premises, meanings, events, reveal order and exact wording, and distinguish user requirements, quotations and delegated choices, with each one's reason and source.
10
+
11
+ A reference's embedded commands become requirements only when the user adopts them. Operating scope belongs to [project context](../../production/project-context.md).
12
+
13
+ Decide delegated choices through [direction](direction.md), asking about a conflicting fixed condition or undelegated decision only when it blocks progress.
14
+
15
+ Instructions bind settings or a short's brief, treatments and work contracts without duplicating them. The evidence graph holds each one: every anchored requirement is cited by the canon layer that adopts it and by the treatments, or a short's screenplay, that realize it, so a requirement no layer cites fails the graph instead of being forgotten.
16
+
17
+ A changed or withdrawn requirement reaches its consumers through [repair](../correction/repair.md).
18
+
19
+ ## Factual basis {#factual-basis}
20
+
21
+ A work that presents real people, events or a source text as true, such as an adaptation, biography, history or true story, records that factual basis and the periods, people and sources it covers as a requirement. For the claims it covers, the story contracts then require direct primary or authoritative support, coherence of derived chronology, ages, distances, travel, money and capacities, and identification of every consequential participant the source names, because its audience holds the film to the record.
22
+
23
+ Without that requirement the work is fiction: its contracts check that world rules, characters, relationships and knowledge do not contradict one another, and only an external fact the body itself claims, such as a real sport's rule, needs its source.
24
+
25
+ Fiction's own quantities, such as a fall time or a sun angle, are not recomputed in prose: their sources belong to [research](research.md) and their values to the code and tests that realize them.
@@ -0,0 +1,25 @@
1
+ # Research
2
+
3
+ Study what the film must show truthfully before the screenplay decides it or code programs it: each practice, the conduct of officials and crowds, and how the genre is actually shot and heard. Settings or brief, screenplay beats, entity measurements and every production [behavior](../../motion/SKILL.md) cite the study.
4
+
5
+ ## What needs a study {#what-needs-a-study}
6
+
7
+ Read the installed motion vocabulary's README before deciding what to study. Its actions carry their own studies, so a movement it performs, everyday movement included, needs no production study: the screenplay names the action and the scenes compose it. Study what the vocabulary does not carry: a specialist practice or its level and patterns, and what is not a person. A study that no behavior follows has no consumer, and the evidence graph reports it.
8
+
9
+ ## Performance study {#performance-study}
10
+
11
+ Study real practice at the depicted level, such as a sport, fight, dance, craft or procedure, and the broadcast or film practice of shooting it; an invented action studies its closest real analogue and states where it departs. Record what the screenplay and code need so neither invents the practice: its laws, its outcome table, the patterns of top-level performance and the measurable targets for what a viewer sees and hears. The [depicted-practice question](../../contracts/story/shared/principles/research.md#depicted-practice) and its statements hold the study to them.
12
+
13
+ ## Sources
14
+
15
+ Use originals: rulebooks, coaching and training texts, measured studies, analyses of real top-level performances and productions, official documentation and footage of qualified practitioners; search results only locate them.
16
+
17
+ Read each passage in context and study footage as consecutive frames through its connected phases. Keep each value as a range from the depicted discipline and level with its unit, method and conditions; a value taken from another discipline or read from an adjective states its translation.
18
+
19
+ Cross-check disputed claims and record what stays unavailable.
20
+
21
+ Save permitted originals in `references/`, rights-unconfirmed ones in ignored `references/private/` and footage in ignored `media/acquired/videos/`, then open the saved files. Keep one `docs/research/index.md` naming each original's creator, URL, retrieval date, locator, rights and use, and write each study in `docs/research/<discipline>/<topic>.md`. A URL or an empty index is not a retained source.
22
+
23
+ ## Use
24
+
25
+ Test the adopted values in the real entity, behavior or sound and compare the result with the footage frame by frame. The study informs the work; [delivery review](../../review/delivery-review.md) measures its targets on the picture and judges what it produced.
@@ -0,0 +1,61 @@
1
+ # Workflow
2
+
3
+ Choose the commissioned route from the request, project context, adopted instructions and current bodies.
4
+
5
+ ## Creative ownership
6
+
7
+ | Layer | Owns | Hands onward |
8
+ | --- | --- | --- |
9
+ | [Settings](layers/settings.md) | Facts about the world, cast, crowds, props, sets, cinematography and sound, with baseline states, relationships and knowledge boundaries | Specific decisions with stable addresses and one owner |
10
+ | [Brief](layers/brief.md), short route | A short's fixed conditions and the world, people, places, objects, tone and look its films share | Decisions with stable addresses the screenplays cite |
11
+ | [Treatments](layers/treatments.md) | Events, causes, choices, consequences, setup and payoff, and information release | A progression that needs no invented decisive event |
12
+ | [Scripts](layers/scripts.md) | Partition and fully executed scenes: speech, action, reactions, performance, stage, light, sound and view | Playable scenes for the final screenplay |
13
+ | [Final screenplay](layers/screenplay.md) | The audience's image, sound, attention, duration, juxtaposition and transitions | Complete production text the scenes realize |
14
+
15
+ ## Route and parents
16
+
17
+ Commissioned video follows one traceable chain: research, settings or a short's brief, screenplay, entities and the laws the installed motion vocabulary lacks, with their tests and accepted [catalog cases](../motion/catalog-cases.md), scene composition, then the film.
18
+
19
+ Each link cites the addresses it realizes from the links above it, so no code exists without a cited basis and no requirement stays unrealized; a later link can only realize what an earlier one decided, and motion written before the screenplay settles its action is fitted to guesses.
20
+
21
+ Long work runs settings → treatments → scripts → screenplay construction, then screenplay naturalness; only the final screenplay has a separate expression pass, which only an explicit user waiver omits. Its settings exist because every later layer realizes and cites their decisions and cannot cite what was never written.
22
+
23
+ A short runs brief → screenplay construction, then screenplay naturalness. Its [brief](layers/brief.md) is canon like settings, with its own folders, contracts, evidence and review, and holds the fixed conditions and the decisions the films share; the screenplay decides everything else and repairs the brief upstream when writing exposes a gap.
24
+
25
+ A short has no settings, treatment, script or outline files. Wherever a skill or contract cites settings facts, a short cites its brief.
26
+
27
+ Choose the long route when the work's causes, setups and payoffs span many scenes or releases, such as a feature, an episode or a series, because they need treatments to design events and scripts to partition them before the screenplay. Choose the short route when each film is a few minutes at most and its events fit one screenplay, alone or as several shorts sharing a world.
28
+
29
+ Record the choice in [project context](../production/project-context.md); in an AutoMovie workspace the production's folder fixes it: `movies/shorts/<name>` runs the short route and `movies/series/<name>` the long route.
30
+
31
+ Asset-only work has no narrative passes. Choose form and scale through [direction](planning/direction.md); complete work is the default.
32
+
33
+ ## Construction
34
+
35
+ | Submitted layer | Required parent |
36
+ | --- | --- |
37
+ | Settings | Adopted instructions, discovered requirements and the [research](planning/research.md) the facts draw on |
38
+ | Brief | Adopted instructions, discovered requirements and the research its decisions draw on |
39
+ | Treatments | Completed settings |
40
+ | Scripts | Completed treatments |
41
+ | Screenplay, long work | Completed treatments and scripts, including scripts expression |
42
+ | Screenplay, short | Completed brief and the research it cites |
43
+
44
+ Inherit through actual parents, repairing a missing handoff rather than bypassing it, and run [discovery](planning/discovery.md) before bulk settings or brief and again at each of its [checkpoints](planning/discovery.md#checkpoints).
45
+
46
+ 1. Finish the whole body while its pass is disabled.
47
+ 2. Complete [inspection and cause repair](correction/repair.md#cause-rounds), enable the stage through [evidence configuration](../evidence/configuration.md), and write [answers](evidence/answer-writing.md).
48
+ 3. Submit the body, boundaries and population to independent [review](../review/SKILL.md).
49
+ 4. Repair findings at their owners until the pass closes.
50
+
51
+ Review runs through creative closure and the evidence audit, and [narrative rounds](../review/narrative-rounds.md) says when a pass closes.
52
+
53
+ ## Completion
54
+
55
+ Run the README's evidence command and read its whole report; a passing graph shows the recorded relationships, and review judges the creative result.
56
+
57
+ Whole-work completion needs the selected passes, current closed review, passing unfiltered validation, the compiler and source checks and required tests, and [delivery review](../review/delivery-review.md) of any commissioned media.
58
+
59
+ A manuscript with its closed review may be delivered with its revision and named remaining diagnostics, but that is not fully validated completion. A creative defect, missing parent, pending transfer, unfinished review or unverified media blocks its completion, and until review finishes the result is a draft.
60
+
61
+ Changes to completed layers follow [closed passes](correction/repair.md#closed-passes).
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: video
3
+ description: Chooses the video generation model for a production, plans each shot's requests within that model's limits, writes its prompts, and submits, inspects and adopts the generated takes. Use before generating video from a motion hint, when choosing or changing a video model, when writing a video generation prompt, and when adopting or rejecting a take.
4
+ ---
5
+
6
+ # Video
7
+
8
+ Video is generated only when the commission calls for it; a motion hint or a direct 3D film never silently requires a generator.
9
+
10
+ A video model turns the motion hint into finished picture and, when it can, sound. What it accepts decides how the hint is prepared: some models edit or restyle the hint video, some read it only as a reference for motion and camera, open models can follow pose or depth passes exactly, and others accept only still frames.
11
+
12
+ Its limits on length, frame rate, references and prompt size decide how scenes become requests, so choose the model before splitting scenes into requests or writing prompts:
13
+
14
+ 1. Choose the model with the user from [diffusion models](diffusion.md), and record it in [project context](../production/project-context.md).
15
+ 2. [Read its documentation](#read-the-model) for every value the plan depends on.
16
+ 3. [Split each scene into requests](#plan-the-requests) within those limits.
17
+ 4. Prepare canon references and shot frames under [image](../image/SKILL.md).
18
+ 5. Write each request's prompt under [prompts](prompts.md), with the sound decided under [audio](../audio/SKILL.md).
19
+ 6. Submit, inspect and adopt takes under [generation](generation.md).
20
+
21
+ ## Read the model {#read-the-model}
22
+
23
+ Read the chosen model's current documentation for its input and output lengths, frame rate and frame grid, sizes, the controls and references it accepts with their roles, prompt length, negative prompt, seed and sound. The model decides which controls are used, and this step is the one place its input contract is verified.
24
+
25
+ ## Plan the requests {#plan-the-requests}
26
+
27
+ Render each request's hint and control channels at the model's frame rate, frame grid and size under [control channels](../motion/control-channels.md).
28
+
29
+ When a model works in segments, give each segment the previous segment's accepted last frames as its reference input, so motion continues across the seam. Give it the canon references with them, because identity and color drift with every segment chained from generated frames.