@automovie/evidence 0.3.4 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/README.md +7 -102
  2. package/lib/IAutoMovieDevelopmentProps.d.ts +24 -21
  3. package/lib/IAutoMovieEvidenceConfigProps.d.ts +19 -18
  4. package/lib/IAutoMovieNarrativeProps.d.ts +10 -8
  5. package/lib/IAutoMovieNoNarrativeProps.d.ts +4 -6
  6. package/lib/createDevelopmentContractClaims.d.ts +15 -23
  7. package/lib/createDevelopmentContractClaims.js +22 -25
  8. package/lib/createDevelopmentContractClaims.js.map +1 -1
  9. package/lib/createEngineeringClaims.d.ts +16 -21
  10. package/lib/createEngineeringClaims.js +15 -20
  11. package/lib/createEngineeringClaims.js.map +1 -1
  12. package/lib/createEvidenceConfig.d.ts +7 -14
  13. package/lib/createEvidenceConfig.js +12 -16
  14. package/lib/createEvidenceConfig.js.map +1 -1
  15. package/lib/createResearchClaims.d.ts +4 -12
  16. package/lib/createResearchClaims.js +4 -12
  17. package/lib/createResearchClaims.js.map +1 -1
  18. package/lib/internal/IContractLocation.d.ts +6 -7
  19. package/lib/internal/PRODUCTION_CONTRACTS.d.ts +14 -7
  20. package/lib/internal/PRODUCTION_CONTRACTS.js +14 -7
  21. package/lib/internal/PRODUCTION_CONTRACTS.js.map +1 -1
  22. package/lib/internal/SKILLS_ROOT.d.ts +13 -7
  23. package/lib/internal/SKILLS_ROOT.js +13 -7
  24. package/lib/internal/SKILLS_ROOT.js.map +1 -1
  25. package/lib/internal/STORY_CONTRACTS.d.ts +12 -9
  26. package/lib/internal/STORY_CONTRACTS.js +12 -9
  27. package/lib/internal/STORY_CONTRACTS.js.map +1 -1
  28. package/lib/internal/assertFilmCatalogLayout.d.ts +8 -14
  29. package/lib/internal/assertFilmCatalogLayout.js +128 -33
  30. package/lib/internal/assertFilmCatalogLayout.js.map +1 -1
  31. package/lib/internal/assertProductionContractLayout.d.ts +2 -10
  32. package/lib/internal/assertProductionContractLayout.js +2 -10
  33. package/lib/internal/assertProductionContractLayout.js.map +1 -1
  34. package/lib/internal/createReferenceRoot.d.ts +0 -8
  35. package/lib/internal/createReferenceRoot.js +0 -8
  36. package/lib/internal/createReferenceRoot.js.map +1 -1
  37. package/lib/internal/hasMatchingFile.d.ts +2 -10
  38. package/lib/internal/hasMatchingFile.js +2 -10
  39. package/lib/internal/hasMatchingFile.js.map +1 -1
  40. package/lib/internal/resolveSkillsDirectory.d.ts +2 -9
  41. package/lib/internal/resolveSkillsDirectory.js +2 -9
  42. package/lib/internal/resolveSkillsDirectory.js.map +1 -1
  43. package/lib/narrative/AuthoredLayer.d.ts +2 -6
  44. package/lib/narrative/EvidenceMetadataRewriteOwnership.d.ts +0 -5
  45. package/lib/narrative/IEvidenceMetadataRenderedSample.d.ts +1 -8
  46. package/lib/narrative/IEvidenceMetadataRewriteFile.d.ts +1 -8
  47. package/lib/narrative/IEvidenceMetadataRewriteProps.d.ts +1 -8
  48. package/lib/narrative/IEvidenceMetadataRewriteReport.d.ts +1 -8
  49. package/lib/narrative/IPackageChecklistClaimProps.d.ts +2 -7
  50. package/lib/narrative/IPackageContractProps.d.ts +4 -11
  51. package/lib/narrative/IPackagePopulationContractProps.d.ts +1 -8
  52. package/lib/narrative/IProductionConfigProps.d.ts +7 -11
  53. package/lib/narrative/IProductionConstruction.d.ts +3 -10
  54. package/lib/narrative/NarrativeLayer.d.ts +3 -8
  55. package/lib/narrative/NarrativeScope.d.ts +2 -7
  56. package/lib/narrative/ProductionStage.d.ts +2 -6
  57. package/lib/narrative/createBriefFiles.d.ts +5 -12
  58. package/lib/narrative/createBriefFiles.js +5 -12
  59. package/lib/narrative/createBriefFiles.js.map +1 -1
  60. package/lib/narrative/createNarrativeUnitFiles.d.ts +0 -8
  61. package/lib/narrative/createNarrativeUnitFiles.js +0 -8
  62. package/lib/narrative/createNarrativeUnitFiles.js.map +1 -1
  63. package/lib/narrative/createPackageChecklistClaim.d.ts +3 -11
  64. package/lib/narrative/createPackageChecklistClaim.js +3 -11
  65. package/lib/narrative/createPackageChecklistClaim.js.map +1 -1
  66. package/lib/narrative/createPackageContract.d.ts +0 -8
  67. package/lib/narrative/createPackageContract.js +0 -8
  68. package/lib/narrative/createPackageContract.js.map +1 -1
  69. package/lib/narrative/createPackagePopulationContract.d.ts +3 -11
  70. package/lib/narrative/createPackagePopulationContract.js +3 -11
  71. package/lib/narrative/createPackagePopulationContract.js.map +1 -1
  72. package/lib/narrative/createProductionClaims.d.ts +0 -8
  73. package/lib/narrative/createProductionClaims.js +0 -8
  74. package/lib/narrative/createProductionClaims.js.map +1 -1
  75. package/lib/narrative/createProductionConfig.d.ts +1 -11
  76. package/lib/narrative/createProductionConfig.js +1 -11
  77. package/lib/narrative/createProductionConfig.js.map +1 -1
  78. package/lib/narrative/createSettingsFiles.d.ts +0 -8
  79. package/lib/narrative/createSettingsFiles.js +0 -8
  80. package/lib/narrative/createSettingsFiles.js.map +1 -1
  81. package/lib/narrative/internal/AUTHORED_LAYERS.d.ts +14 -7
  82. package/lib/narrative/internal/AUTHORED_LAYERS.js +14 -7
  83. package/lib/narrative/internal/AUTHORED_LAYERS.js.map +1 -1
  84. package/lib/narrative/internal/claims/createDiscoveryClaim.d.ts +17 -22
  85. package/lib/narrative/internal/claims/createDiscoveryClaim.js +17 -22
  86. package/lib/narrative/internal/claims/createDiscoveryClaim.js.map +1 -1
  87. package/lib/narrative/internal/claims/createInstructionCoverageClaim.d.ts +7 -15
  88. package/lib/narrative/internal/claims/createInstructionCoverageClaim.js +7 -15
  89. package/lib/narrative/internal/claims/createInstructionCoverageClaim.js.map +1 -1
  90. package/lib/narrative/internal/claims/createLayerClaims.d.ts +0 -8
  91. package/lib/narrative/internal/claims/createLayerClaims.js +0 -8
  92. package/lib/narrative/internal/claims/createLayerClaims.js.map +1 -1
  93. package/lib/narrative/internal/claims/createOutlineClaims.d.ts +6 -14
  94. package/lib/narrative/internal/claims/createOutlineClaims.js +6 -14
  95. package/lib/narrative/internal/claims/createOutlineClaims.js.map +1 -1
  96. package/lib/narrative/internal/claims/createPopulationObligationClaims.d.ts +3 -12
  97. package/lib/narrative/internal/claims/createPopulationObligationClaims.js +3 -12
  98. package/lib/narrative/internal/claims/createPopulationObligationClaims.js.map +1 -1
  99. package/lib/narrative/internal/claims/createReviewClaims.d.ts +11 -19
  100. package/lib/narrative/internal/claims/createReviewClaims.js +54 -39
  101. package/lib/narrative/internal/claims/createReviewClaims.js.map +1 -1
  102. package/lib/narrative/internal/claims/createSettingCoverageClaim.d.ts +0 -8
  103. package/lib/narrative/internal/claims/createSettingCoverageClaim.js +0 -8
  104. package/lib/narrative/internal/claims/createSettingCoverageClaim.js.map +1 -1
  105. package/lib/narrative/internal/collectProductionClaims.d.ts +1 -11
  106. package/lib/narrative/internal/collectProductionClaims.js +1 -11
  107. package/lib/narrative/internal/collectProductionClaims.js.map +1 -1
  108. package/lib/narrative/internal/constructionStage.d.ts +2 -9
  109. package/lib/narrative/internal/constructionStage.js +2 -9
  110. package/lib/narrative/internal/constructionStage.js.map +1 -1
  111. package/lib/narrative/internal/createGraphConfig.d.ts +4 -12
  112. package/lib/narrative/internal/createGraphConfig.js +4 -12
  113. package/lib/narrative/internal/createGraphConfig.js.map +1 -1
  114. package/lib/narrative/internal/isCanonLayer.d.ts +2 -9
  115. package/lib/narrative/internal/isCanonLayer.js +2 -9
  116. package/lib/narrative/internal/isCanonLayer.js.map +1 -1
  117. package/lib/narrative/internal/metadataRewrite/ACKNOWLEDGEMENT.d.ts +10 -7
  118. package/lib/narrative/internal/metadataRewrite/ACKNOWLEDGEMENT.js +10 -7
  119. package/lib/narrative/internal/metadataRewrite/ACKNOWLEDGEMENT.js.map +1 -1
  120. package/lib/narrative/internal/metadataRewrite/EvidenceDeclarationKind.d.ts +1 -8
  121. package/lib/narrative/internal/metadataRewrite/HEADING_ACKNOWLEDGEMENT.d.ts +10 -7
  122. package/lib/narrative/internal/metadataRewrite/HEADING_ACKNOWLEDGEMENT.js +10 -7
  123. package/lib/narrative/internal/metadataRewrite/HEADING_ACKNOWLEDGEMENT.js.map +1 -1
  124. package/lib/narrative/internal/metadataRewrite/HEADING_REVIEW.d.ts +10 -7
  125. package/lib/narrative/internal/metadataRewrite/HEADING_REVIEW.js +10 -7
  126. package/lib/narrative/internal/metadataRewrite/HEADING_REVIEW.js.map +1 -1
  127. package/lib/narrative/internal/metadataRewrite/IEvidenceHeading.d.ts +1 -8
  128. package/lib/narrative/internal/metadataRewrite/IEvidenceSection.d.ts +1 -8
  129. package/lib/narrative/internal/metadataRewrite/IMetadataFragment.d.ts +1 -8
  130. package/lib/narrative/internal/metadataRewrite/IProjectionSegment.d.ts +1 -8
  131. package/lib/narrative/internal/metadataRewrite/IProtectedProjection.d.ts +1 -8
  132. package/lib/narrative/internal/metadataRewrite/REVIEW.d.ts +11 -7
  133. package/lib/narrative/internal/metadataRewrite/REVIEW.js +11 -7
  134. package/lib/narrative/internal/metadataRewrite/REVIEW.js.map +1 -1
  135. package/lib/narrative/internal/metadataRewrite/SUSPICIOUS.d.ts +13 -8
  136. package/lib/narrative/internal/metadataRewrite/SUSPICIOUS.js +13 -8
  137. package/lib/narrative/internal/metadataRewrite/SUSPICIOUS.js.map +1 -1
  138. package/lib/narrative/internal/metadataRewrite/UTF8.d.ts +10 -7
  139. package/lib/narrative/internal/metadataRewrite/UTF8.js +10 -7
  140. package/lib/narrative/internal/metadataRewrite/UTF8.js.map +1 -1
  141. package/lib/narrative/internal/metadataRewrite/between.d.ts +1 -11
  142. package/lib/narrative/internal/metadataRewrite/between.js +1 -11
  143. package/lib/narrative/internal/metadataRewrite/between.js.map +1 -1
  144. package/lib/narrative/internal/metadataRewrite/continuation.d.ts +1 -11
  145. package/lib/narrative/internal/metadataRewrite/continuation.js +1 -11
  146. package/lib/narrative/internal/metadataRewrite/continuation.js.map +1 -1
  147. package/lib/narrative/internal/metadataRewrite/declarationKind.d.ts +1 -11
  148. package/lib/narrative/internal/metadataRewrite/declarationKind.js +1 -11
  149. package/lib/narrative/internal/metadataRewrite/declarationKind.js.map +1 -1
  150. package/lib/narrative/internal/metadataRewrite/decode.d.ts +1 -11
  151. package/lib/narrative/internal/metadataRewrite/decode.js +1 -11
  152. package/lib/narrative/internal/metadataRewrite/decode.js.map +1 -1
  153. package/lib/narrative/internal/metadataRewrite/directory.d.ts +1 -11
  154. package/lib/narrative/internal/metadataRewrite/directory.js +1 -11
  155. package/lib/narrative/internal/metadataRewrite/directory.js.map +1 -1
  156. package/lib/narrative/internal/metadataRewrite/errorMessage.d.ts +1 -11
  157. package/lib/narrative/internal/metadataRewrite/errorMessage.js +1 -11
  158. package/lib/narrative/internal/metadataRewrite/errorMessage.js.map +1 -1
  159. package/lib/narrative/internal/metadataRewrite/evidenceHeading.d.ts +1 -11
  160. package/lib/narrative/internal/metadataRewrite/evidenceHeading.js +1 -11
  161. package/lib/narrative/internal/metadataRewrite/evidenceHeading.js.map +1 -1
  162. package/lib/narrative/internal/metadataRewrite/evidenceSections.d.ts +1 -11
  163. package/lib/narrative/internal/metadataRewrite/evidenceSections.js +1 -11
  164. package/lib/narrative/internal/metadataRewrite/evidenceSections.js.map +1 -1
  165. package/lib/narrative/internal/metadataRewrite/findClose.d.ts +1 -11
  166. package/lib/narrative/internal/metadataRewrite/findClose.js +1 -11
  167. package/lib/narrative/internal/metadataRewrite/findClose.js.map +1 -1
  168. package/lib/narrative/internal/metadataRewrite/firstDifference.d.ts +1 -11
  169. package/lib/narrative/internal/metadataRewrite/firstDifference.js +1 -11
  170. package/lib/narrative/internal/metadataRewrite/firstDifference.js.map +1 -1
  171. package/lib/narrative/internal/metadataRewrite/flatFingerprintStart.d.ts +2 -9
  172. package/lib/narrative/internal/metadataRewrite/flatFingerprintStart.js +2 -9
  173. package/lib/narrative/internal/metadataRewrite/flatFingerprintStart.js.map +1 -1
  174. package/lib/narrative/internal/metadataRewrite/invalidUtf8Offset.d.ts +1 -11
  175. package/lib/narrative/internal/metadataRewrite/invalidUtf8Offset.js +1 -11
  176. package/lib/narrative/internal/metadataRewrite/invalidUtf8Offset.js.map +1 -1
  177. package/lib/narrative/internal/metadataRewrite/isDeclaration.d.ts +1 -11
  178. package/lib/narrative/internal/metadataRewrite/isDeclaration.js +1 -11
  179. package/lib/narrative/internal/metadataRewrite/isDeclaration.js.map +1 -1
  180. package/lib/narrative/internal/metadataRewrite/isNodeError.d.ts +1 -11
  181. package/lib/narrative/internal/metadataRewrite/isNodeError.js +1 -11
  182. package/lib/narrative/internal/metadataRewrite/isNodeError.js.map +1 -1
  183. package/lib/narrative/internal/metadataRewrite/lineEnding.d.ts +1 -11
  184. package/lib/narrative/internal/metadataRewrite/lineEnding.js +1 -11
  185. package/lib/narrative/internal/metadataRewrite/lineEnding.js.map +1 -1
  186. package/lib/narrative/internal/metadataRewrite/locate.d.ts +1 -11
  187. package/lib/narrative/internal/metadataRewrite/locate.js +1 -11
  188. package/lib/narrative/internal/metadataRewrite/locate.js.map +1 -1
  189. package/lib/narrative/internal/metadataRewrite/markdownFiles.d.ts +1 -11
  190. package/lib/narrative/internal/metadataRewrite/markdownFiles.js +1 -11
  191. package/lib/narrative/internal/metadataRewrite/markdownFiles.js.map +1 -1
  192. package/lib/narrative/internal/metadataRewrite/metadataOwnership.d.ts +1 -11
  193. package/lib/narrative/internal/metadataRewrite/metadataOwnership.js +1 -11
  194. package/lib/narrative/internal/metadataRewrite/metadataOwnership.js.map +1 -1
  195. package/lib/narrative/internal/metadataRewrite/normalizeFile.d.ts +1 -11
  196. package/lib/narrative/internal/metadataRewrite/normalizeFile.js +1 -11
  197. package/lib/narrative/internal/metadataRewrite/normalizeFile.js.map +1 -1
  198. package/lib/narrative/internal/metadataRewrite/occurrenceOffsets.d.ts +1 -11
  199. package/lib/narrative/internal/metadataRewrite/occurrenceOffsets.js +1 -11
  200. package/lib/narrative/internal/metadataRewrite/occurrenceOffsets.js.map +1 -1
  201. package/lib/narrative/internal/metadataRewrite/occurrences.d.ts +1 -11
  202. package/lib/narrative/internal/metadataRewrite/occurrences.js +1 -11
  203. package/lib/narrative/internal/metadataRewrite/occurrences.js.map +1 -1
  204. package/lib/narrative/internal/metadataRewrite/originalOffset.d.ts +1 -11
  205. package/lib/narrative/internal/metadataRewrite/originalOffset.js +1 -11
  206. package/lib/narrative/internal/metadataRewrite/originalOffset.js.map +1 -1
  207. package/lib/narrative/internal/metadataRewrite/project.d.ts +1 -11
  208. package/lib/narrative/internal/metadataRewrite/project.js +1 -11
  209. package/lib/narrative/internal/metadataRewrite/project.js.map +1 -1
  210. package/lib/narrative/internal/metadataRewrite/protectedFileKind.d.ts +1 -11
  211. package/lib/narrative/internal/metadataRewrite/protectedFileKind.js +1 -11
  212. package/lib/narrative/internal/metadataRewrite/protectedFileKind.js.map +1 -1
  213. package/lib/narrative/internal/metadataRewrite/replacementSafety.d.ts +1 -11
  214. package/lib/narrative/internal/metadataRewrite/replacementSafety.js +1 -11
  215. package/lib/narrative/internal/metadataRewrite/replacementSafety.js.map +1 -1
  216. package/lib/narrative/internal/metadataRewrite/sameMetadata.d.ts +1 -11
  217. package/lib/narrative/internal/metadataRewrite/sameMetadata.js +1 -11
  218. package/lib/narrative/internal/metadataRewrite/sameMetadata.js.map +1 -1
  219. package/lib/narrative/internal/metadataRewrite/selectFiles.d.ts +1 -11
  220. package/lib/narrative/internal/metadataRewrite/selectFiles.js +1 -11
  221. package/lib/narrative/internal/metadataRewrite/selectFiles.js.map +1 -1
  222. package/lib/narrative/internal/metadataRewrite/singleLineDeclaration.d.ts +1 -11
  223. package/lib/narrative/internal/metadataRewrite/singleLineDeclaration.js +1 -11
  224. package/lib/narrative/internal/metadataRewrite/singleLineDeclaration.js.map +1 -1
  225. package/lib/narrative/internal/metadataRewrite/textLocation.d.ts +1 -11
  226. package/lib/narrative/internal/metadataRewrite/textLocation.js +1 -11
  227. package/lib/narrative/internal/metadataRewrite/textLocation.js.map +1 -1
  228. package/lib/narrative/internal/metadataRewrite/validateRenderedSample.d.ts +1 -11
  229. package/lib/narrative/internal/metadataRewrite/validateRenderedSample.js +1 -11
  230. package/lib/narrative/internal/metadataRewrite/validateRenderedSample.js.map +1 -1
  231. package/lib/narrative/internal/metadataRewrite/withoutEnding.d.ts +1 -11
  232. package/lib/narrative/internal/metadataRewrite/withoutEnding.js +1 -11
  233. package/lib/narrative/internal/metadataRewrite/withoutEnding.js.map +1 -1
  234. package/lib/narrative/internal/productionLayers.d.ts +1 -11
  235. package/lib/narrative/internal/productionLayers.js +1 -11
  236. package/lib/narrative/internal/productionLayers.js.map +1 -1
  237. package/lib/narrative/internal/readSettingsFiles.d.ts +4 -12
  238. package/lib/narrative/internal/readSettingsFiles.js +8 -13
  239. package/lib/narrative/internal/readSettingsFiles.js.map +1 -1
  240. package/lib/narrative/internal/references/createCoverageReference.d.ts +2 -10
  241. package/lib/narrative/internal/references/createCoverageReference.js +2 -10
  242. package/lib/narrative/internal/references/createCoverageReference.js.map +1 -1
  243. package/lib/narrative/internal/references/createDiscoveryReferences.d.ts +5 -13
  244. package/lib/narrative/internal/references/createDiscoveryReferences.js +5 -13
  245. package/lib/narrative/internal/references/createDiscoveryReferences.js.map +1 -1
  246. package/lib/narrative/internal/references/createLanguageDiscoveryReferences.d.ts +1 -11
  247. package/lib/narrative/internal/references/createLanguageDiscoveryReferences.js +1 -11
  248. package/lib/narrative/internal/references/createLanguageDiscoveryReferences.js.map +1 -1
  249. package/lib/narrative/internal/references/createLanguagePrincipleReferences.d.ts +2 -9
  250. package/lib/narrative/internal/references/createLanguagePrincipleReferences.js +2 -9
  251. package/lib/narrative/internal/references/createLanguagePrincipleReferences.js.map +1 -1
  252. package/lib/narrative/internal/references/createLineageReference.d.ts +6 -14
  253. package/lib/narrative/internal/references/createLineageReference.js +6 -14
  254. package/lib/narrative/internal/references/createLineageReference.js.map +1 -1
  255. package/lib/narrative/internal/references/createLocalContractReference.d.ts +0 -8
  256. package/lib/narrative/internal/references/createLocalContractReference.js +0 -8
  257. package/lib/narrative/internal/references/createLocalContractReference.js.map +1 -1
  258. package/lib/narrative/internal/references/createPrincipleReferences.d.ts +0 -8
  259. package/lib/narrative/internal/references/createPrincipleReferences.js +0 -8
  260. package/lib/narrative/internal/references/createPrincipleReferences.js.map +1 -1
  261. package/lib/narrative/internal/references/createSettingReferences.d.ts +3 -10
  262. package/lib/narrative/internal/references/createSettingReferences.js +3 -10
  263. package/lib/narrative/internal/references/createSettingReferences.js.map +1 -1
  264. package/lib/narrative/internal/references/createSharedReference.d.ts +7 -15
  265. package/lib/narrative/internal/references/createSharedReference.js +7 -15
  266. package/lib/narrative/internal/references/createSharedReference.js.map +1 -1
  267. package/lib/narrative/internal/references/createUpstreamReference.d.ts +0 -8
  268. package/lib/narrative/internal/references/createUpstreamReference.js +0 -8
  269. package/lib/narrative/internal/references/createUpstreamReference.js.map +1 -1
  270. package/lib/narrative/internal/references/layerFiles.d.ts +4 -12
  271. package/lib/narrative/internal/references/layerFiles.js +4 -12
  272. package/lib/narrative/internal/references/layerFiles.js.map +1 -1
  273. package/lib/narrative/internal/settingsEntryAnchor.d.ts +2 -9
  274. package/lib/narrative/internal/settingsEntryAnchor.js +2 -9
  275. package/lib/narrative/internal/settingsEntryAnchor.js.map +1 -1
  276. package/lib/narrative/internal/topology/createTopologyFiles.d.ts +1 -11
  277. package/lib/narrative/internal/topology/createTopologyFiles.js +1 -11
  278. package/lib/narrative/internal/topology/createTopologyFiles.js.map +1 -1
  279. package/lib/narrative/internal/utilities/BODY_ROOT.d.ts +14 -7
  280. package/lib/narrative/internal/utilities/BODY_ROOT.js +14 -7
  281. package/lib/narrative/internal/utilities/BODY_ROOT.js.map +1 -1
  282. package/lib/narrative/internal/utilities/PACKAGE_DOCS_ROOT.d.ts +15 -7
  283. package/lib/narrative/internal/utilities/PACKAGE_DOCS_ROOT.js +15 -7
  284. package/lib/narrative/internal/utilities/PACKAGE_DOCS_ROOT.js.map +1 -1
  285. package/lib/narrative/internal/utilities/assertProductionEvidenceSources.d.ts +2 -9
  286. package/lib/narrative/internal/utilities/assertProductionEvidenceSources.js +2 -9
  287. package/lib/narrative/internal/utilities/assertProductionEvidenceSources.js.map +1 -1
  288. package/lib/narrative/internal/utilities/createContractDirectory.d.ts +4 -10
  289. package/lib/narrative/internal/utilities/createContractDirectory.js +4 -10
  290. package/lib/narrative/internal/utilities/createContractDirectory.js.map +1 -1
  291. package/lib/narrative/internal/utilities/createContractRoot.d.ts +6 -12
  292. package/lib/narrative/internal/utilities/createContractRoot.js +6 -12
  293. package/lib/narrative/internal/utilities/createContractRoot.js.map +1 -1
  294. package/lib/narrative/internal/utilities/createEvidenceFiles.d.ts +1 -11
  295. package/lib/narrative/internal/utilities/createEvidenceFiles.js +1 -11
  296. package/lib/narrative/internal/utilities/createEvidenceFiles.js.map +1 -1
  297. package/lib/narrative/internal/utilities/createUnitFiles.d.ts +0 -8
  298. package/lib/narrative/internal/utilities/createUnitFiles.js +0 -8
  299. package/lib/narrative/internal/utilities/createUnitFiles.js.map +1 -1
  300. package/lib/narrative/internal/utilities/hasStoryContract.d.ts +0 -8
  301. package/lib/narrative/internal/utilities/hasStoryContract.js +0 -8
  302. package/lib/narrative/internal/utilities/hasStoryContract.js.map +1 -1
  303. package/lib/narrative/internal/utilities/referenceLocation.d.ts +2 -9
  304. package/lib/narrative/internal/utilities/referenceLocation.js +2 -9
  305. package/lib/narrative/internal/utilities/referenceLocation.js.map +1 -1
  306. package/lib/narrative/internal/validateSettingsOutline.d.ts +6 -12
  307. package/lib/narrative/internal/validateSettingsOutline.js +27 -20
  308. package/lib/narrative/internal/validateSettingsOutline.js.map +1 -1
  309. package/lib/narrative/isFirstPartPilot.d.ts +1 -11
  310. package/lib/narrative/isFirstPartPilot.js +1 -11
  311. package/lib/narrative/isFirstPartPilot.js.map +1 -1
  312. package/lib/narrative/verifyEvidenceMetadataRewrite.d.ts +2 -10
  313. package/lib/narrative/verifyEvidenceMetadataRewrite.js +2 -10
  314. package/lib/narrative/verifyEvidenceMetadataRewrite.js.map +1 -1
  315. package/package.json +6 -5
  316. package/src/IAutoMovieDevelopmentProps.ts +25 -21
  317. package/src/IAutoMovieEvidenceConfigProps.ts +19 -18
  318. package/src/IAutoMovieNarrativeProps.ts +10 -8
  319. package/src/IAutoMovieNoNarrativeProps.ts +4 -6
  320. package/src/createDevelopmentContractClaims.ts +23 -25
  321. package/src/createEngineeringClaims.ts +17 -22
  322. package/src/createEvidenceConfig.ts +16 -16
  323. package/src/createResearchClaims.ts +4 -12
  324. package/src/internal/IContractLocation.ts +6 -7
  325. package/src/internal/PRODUCTION_CONTRACTS.ts +14 -7
  326. package/src/internal/SKILLS_ROOT.ts +13 -7
  327. package/src/internal/STORY_CONTRACTS.ts +12 -9
  328. package/src/internal/assertFilmCatalogLayout.ts +160 -42
  329. package/src/internal/assertProductionContractLayout.ts +2 -10
  330. package/src/internal/createReferenceRoot.ts +0 -8
  331. package/src/internal/hasMatchingFile.ts +2 -10
  332. package/src/internal/index.ts +1 -1
  333. package/src/internal/resolveSkillsDirectory.ts +2 -9
  334. package/src/narrative/AuthoredLayer.ts +2 -6
  335. package/src/narrative/EvidenceMetadataRewriteOwnership.ts +0 -5
  336. package/src/narrative/IEvidenceMetadataRenderedSample.ts +1 -8
  337. package/src/narrative/IEvidenceMetadataRewriteFile.ts +1 -8
  338. package/src/narrative/IEvidenceMetadataRewriteProps.ts +1 -8
  339. package/src/narrative/IEvidenceMetadataRewriteReport.ts +1 -8
  340. package/src/narrative/IPackageChecklistClaimProps.ts +2 -7
  341. package/src/narrative/IPackageContractProps.ts +4 -11
  342. package/src/narrative/IPackagePopulationContractProps.ts +1 -8
  343. package/src/narrative/IProductionConfigProps.ts +7 -11
  344. package/src/narrative/IProductionConstruction.ts +3 -10
  345. package/src/narrative/NarrativeLayer.ts +3 -8
  346. package/src/narrative/NarrativeScope.ts +2 -7
  347. package/src/narrative/ProductionStage.ts +2 -6
  348. package/src/narrative/createBriefFiles.ts +5 -12
  349. package/src/narrative/createNarrativeUnitFiles.ts +0 -8
  350. package/src/narrative/createPackageChecklistClaim.ts +3 -11
  351. package/src/narrative/createPackageContract.ts +0 -8
  352. package/src/narrative/createPackagePopulationContract.ts +3 -11
  353. package/src/narrative/createProductionClaims.ts +0 -8
  354. package/src/narrative/createProductionConfig.ts +1 -11
  355. package/src/narrative/createSettingsFiles.ts +0 -8
  356. package/src/narrative/internal/AUTHORED_LAYERS.ts +14 -7
  357. package/src/narrative/internal/claims/createDiscoveryClaim.ts +17 -22
  358. package/src/narrative/internal/claims/createInstructionCoverageClaim.ts +7 -15
  359. package/src/narrative/internal/claims/createLayerClaims.ts +0 -8
  360. package/src/narrative/internal/claims/createOutlineClaims.ts +6 -14
  361. package/src/narrative/internal/claims/createPopulationObligationClaims.ts +3 -12
  362. package/src/narrative/internal/claims/createReviewClaims.ts +54 -39
  363. package/src/narrative/internal/claims/createSettingCoverageClaim.ts +0 -8
  364. package/src/narrative/internal/collectProductionClaims.ts +1 -11
  365. package/src/narrative/internal/constructionStage.ts +2 -9
  366. package/src/narrative/internal/createGraphConfig.ts +4 -12
  367. package/src/narrative/internal/isCanonLayer.ts +2 -9
  368. package/src/narrative/internal/metadataRewrite/ACKNOWLEDGEMENT.ts +10 -7
  369. package/src/narrative/internal/metadataRewrite/EvidenceDeclarationKind.ts +1 -8
  370. package/src/narrative/internal/metadataRewrite/HEADING_ACKNOWLEDGEMENT.ts +10 -7
  371. package/src/narrative/internal/metadataRewrite/HEADING_REVIEW.ts +10 -7
  372. package/src/narrative/internal/metadataRewrite/IEvidenceHeading.ts +1 -8
  373. package/src/narrative/internal/metadataRewrite/IEvidenceSection.ts +1 -8
  374. package/src/narrative/internal/metadataRewrite/IMetadataFragment.ts +1 -8
  375. package/src/narrative/internal/metadataRewrite/IProjectionSegment.ts +1 -8
  376. package/src/narrative/internal/metadataRewrite/IProtectedProjection.ts +1 -8
  377. package/src/narrative/internal/metadataRewrite/REVIEW.ts +11 -7
  378. package/src/narrative/internal/metadataRewrite/SUSPICIOUS.ts +13 -8
  379. package/src/narrative/internal/metadataRewrite/UTF8.ts +10 -7
  380. package/src/narrative/internal/metadataRewrite/between.ts +1 -11
  381. package/src/narrative/internal/metadataRewrite/continuation.ts +1 -11
  382. package/src/narrative/internal/metadataRewrite/declarationKind.ts +1 -11
  383. package/src/narrative/internal/metadataRewrite/decode.ts +1 -11
  384. package/src/narrative/internal/metadataRewrite/directory.ts +1 -11
  385. package/src/narrative/internal/metadataRewrite/errorMessage.ts +1 -11
  386. package/src/narrative/internal/metadataRewrite/evidenceHeading.ts +1 -11
  387. package/src/narrative/internal/metadataRewrite/evidenceSections.ts +1 -11
  388. package/src/narrative/internal/metadataRewrite/findClose.ts +1 -11
  389. package/src/narrative/internal/metadataRewrite/firstDifference.ts +1 -11
  390. package/src/narrative/internal/metadataRewrite/flatFingerprintStart.ts +2 -9
  391. package/src/narrative/internal/metadataRewrite/invalidUtf8Offset.ts +1 -11
  392. package/src/narrative/internal/metadataRewrite/isDeclaration.ts +1 -11
  393. package/src/narrative/internal/metadataRewrite/isNodeError.ts +1 -11
  394. package/src/narrative/internal/metadataRewrite/lineEnding.ts +1 -11
  395. package/src/narrative/internal/metadataRewrite/locate.ts +1 -11
  396. package/src/narrative/internal/metadataRewrite/markdownFiles.ts +1 -11
  397. package/src/narrative/internal/metadataRewrite/metadataOwnership.ts +1 -11
  398. package/src/narrative/internal/metadataRewrite/normalizeFile.ts +1 -11
  399. package/src/narrative/internal/metadataRewrite/occurrenceOffsets.ts +1 -11
  400. package/src/narrative/internal/metadataRewrite/occurrences.ts +1 -11
  401. package/src/narrative/internal/metadataRewrite/originalOffset.ts +1 -11
  402. package/src/narrative/internal/metadataRewrite/project.ts +1 -11
  403. package/src/narrative/internal/metadataRewrite/protectedFileKind.ts +1 -11
  404. package/src/narrative/internal/metadataRewrite/replacementSafety.ts +1 -11
  405. package/src/narrative/internal/metadataRewrite/sameMetadata.ts +1 -11
  406. package/src/narrative/internal/metadataRewrite/selectFiles.ts +1 -11
  407. package/src/narrative/internal/metadataRewrite/singleLineDeclaration.ts +1 -11
  408. package/src/narrative/internal/metadataRewrite/textLocation.ts +1 -11
  409. package/src/narrative/internal/metadataRewrite/validateRenderedSample.ts +1 -11
  410. package/src/narrative/internal/metadataRewrite/withoutEnding.ts +1 -11
  411. package/src/narrative/internal/productionLayers.ts +1 -11
  412. package/src/narrative/internal/readSettingsFiles.ts +8 -13
  413. package/src/narrative/internal/references/createCoverageReference.ts +2 -10
  414. package/src/narrative/internal/references/createDiscoveryReferences.ts +5 -13
  415. package/src/narrative/internal/references/createLanguageDiscoveryReferences.ts +1 -11
  416. package/src/narrative/internal/references/createLanguagePrincipleReferences.ts +2 -9
  417. package/src/narrative/internal/references/createLineageReference.ts +6 -14
  418. package/src/narrative/internal/references/createLocalContractReference.ts +0 -8
  419. package/src/narrative/internal/references/createPrincipleReferences.ts +0 -8
  420. package/src/narrative/internal/references/createSettingReferences.ts +3 -10
  421. package/src/narrative/internal/references/createSharedReference.ts +7 -15
  422. package/src/narrative/internal/references/createUpstreamReference.ts +0 -8
  423. package/src/narrative/internal/references/layerFiles.ts +4 -12
  424. package/src/narrative/internal/settingsEntryAnchor.ts +2 -9
  425. package/src/narrative/internal/topology/createTopologyFiles.ts +1 -11
  426. package/src/narrative/internal/utilities/BODY_ROOT.ts +14 -7
  427. package/src/narrative/internal/utilities/PACKAGE_DOCS_ROOT.ts +15 -7
  428. package/src/narrative/internal/utilities/assertProductionEvidenceSources.ts +2 -9
  429. package/src/narrative/internal/utilities/createContractDirectory.ts +4 -10
  430. package/src/narrative/internal/utilities/createContractRoot.ts +6 -12
  431. package/src/narrative/internal/utilities/createEvidenceFiles.ts +1 -11
  432. package/src/narrative/internal/utilities/createUnitFiles.ts +0 -8
  433. package/src/narrative/internal/utilities/hasStoryContract.ts +0 -8
  434. package/src/narrative/internal/utilities/referenceLocation.ts +2 -9
  435. package/src/narrative/internal/validateSettingsOutline.ts +27 -20
  436. package/src/narrative/isFirstPartPilot.ts +1 -11
  437. package/src/narrative/verifyEvidenceMetadataRewrite.ts +2 -10
@@ -2,25 +2,21 @@
2
2
  * Production-specific development contracts a commissioned film turns on.
3
3
  *
4
4
  * Each stage selects the exported declarations of its source folders against
5
- * one checklist under `contracts/development/` of the shared skills tree, answered in
6
- * their doc comments: entities in `src/entities/` answer `entities.md`, laws,
7
- * interactions and consequences in `src/laws/`, `src/interactions/` and
8
- * `src/consequences/` answer `behaviors.md`, a law naming the study it
9
- * follows in its answer, and scenes and films in `src/composition/` answer `composition.md`, scenes
10
- * citing the screenplay scene file or the sections and beats of it they
11
- * realize and films citing the scene files they order. An omitted stage stays
12
- * `"disabled"`, so ordinary coding and narrative-only work owe none of them.
13
- *
14
- * @evidence contracts/development/design.md#principled-representation One stage per contract mirrors the scaffold's development contracts, so a commission enables exactly the duties its code can establish.
15
- * @evidence contracts/development/design.md#minimal-and-owned-surface Three optional fields with the narrative stage vocabulary; folders, populations and references belong to the claim factory.
16
- * @evidence contracts/development/design.md#prohibited-design-shortcuts No stage is implied by file presence; an absent field is disabled.
17
- * @evidence contracts/development/common.md#meaningful-documentation The comment names each stage's respondents, the scene and film citations and the disabled default.
5
+ * checklists under `contracts/development/` of the shared skills tree, answered
6
+ * in their doc comments: entities in `src/entities/` answer `entities.md`,
7
+ * laws, interactions and consequences in `src/laws/`, `src/interactions/` and
8
+ * `src/consequences/` answer `behaviors.md`, a law naming the study it follows
9
+ * in its answer, scenes in `src/composition/` answer `composition.md`, citing
10
+ * the screenplay scene file or the sections and beats of it they realize,
11
+ * screenplay films answer `films.md`, citing the scene files they order, and a
12
+ * separately selected catalog answers `catalog.md`. Ordinary coding and
13
+ * narrative-only work leave development stages disabled.
18
14
  */
19
15
  export interface IAutoMovieDevelopmentProps {
20
16
  /**
21
17
  * Types, classes, functions and methods under `src/entities/` answer
22
- * `contracts/development/entities.md`. Submitting entities or composition
23
- * on a narrative route also connects entity types to its subject records.
18
+ * `contracts/development/entities.md`. Submitting entities or composition on
19
+ * a narrative route also connects entity types to its subject records.
24
20
  */
25
21
  entities?: "disabled" | "evidence";
26
22
 
@@ -33,12 +29,20 @@ export interface IAutoMovieDevelopmentProps {
33
29
 
34
30
  /**
35
31
  * Functions and methods under `src/composition/scenes/` answer
36
- * `contracts/development/composition.md` and cite a screenplay scene file
37
- * or its sections and beats, every section and beat of which must be cited;
38
- * those under `src/composition/films/` answer it and cite the scene files
39
- * they order, every one of which must belong to a film. Catalog sources
40
- * answer the composition checklist alone. Submitting programmed film or
41
- * scene sources requires the catalog film, case sources and acceptance record.
32
+ * `contracts/development/composition.md` and cite a screenplay scene file or
33
+ * its sections and beats, every section and beat of which must be cited;
34
+ * those under `src/composition/films/` answer
35
+ * `contracts/development/films.md` and cite the scene files they order, every
36
+ * one of which must belong to a film. Catalog files have their own contract.
42
37
  */
43
38
  composition?: "disabled" | "evidence";
39
+
40
+ /**
41
+ * Case functions and the catalog film answer
42
+ * `contracts/development/catalog.md`. The stage requires case sources, the
43
+ * catalog film and its acceptance record. Omission keeps an existing catalog
44
+ * selected under composition Evidence. Use `"disabled"` to clear that
45
+ * selection explicitly.
46
+ */
47
+ catalog?: "disabled" | "evidence";
44
48
  }
@@ -4,14 +4,7 @@ import type { IAutoMovieDevelopmentProps } from "./IAutoMovieDevelopmentProps";
4
4
  import type { IAutoMovieNarrativeProps } from "./IAutoMovieNarrativeProps";
5
5
  import type { IAutoMovieNoNarrativeProps } from "./IAutoMovieNoNarrativeProps";
6
6
 
7
- /**
8
- * Configures a project's engineering evidence and optional narrative workflow.
9
- *
10
- * @evidence contracts/development/design.md#principled-representation The absolute project location anchors the production's own contracts and an optional skills directory, absolute or relative to that location, anchors the bundled shared ones; native claims configure engineering while an explicit narrative route adds creative relationships and independent-review structure, and mode none adds only the instruction-to-code relation.
11
- * @evidence contracts/development/design.md#minimal-and-owned-surface One object contains the two contract locations, native engineering claims and optional narrative choices, a route with disabled stage defaults or none.
12
- * @evidence contracts/development/design.md#prohibited-design-shortcuts No narrative mode is inferred from existing files or imposed on ordinary coding and standalone assets, and no workspace is inferred from the filesystem: a shared tree elsewhere is named explicitly.
13
- * @evidence contracts/development/common.md#meaningful-documentation Members state path ownership, the shared tree's default, that supplied claims add to the engineering defaults, and narrative opt-in behavior.
14
- */
7
+ /** Configures a project's engineering evidence and optional narrative workflow. */
15
8
  export interface IAutoMovieEvidenceConfigProps {
16
9
  /** Absolute project directory containing the production-owned contracts. */
17
10
  location: string;
@@ -20,13 +13,12 @@ export interface IAutoMovieEvidenceConfigProps {
20
13
  * Directory of the shared `.agents/skills` tree holding the bundled
21
14
  * contracts, absolute or relative to `location`.
22
15
  *
23
- * The engineering and development checklists (`contracts/development/**`)
24
- * and the shared story contracts (`contracts/story/**`) resolve here.
25
- * The production's own `work/**` and `language/**` contracts always resolve
26
- * under `<location>/docs/contracts`, never here. A workspace
27
- * production passes the workspace root's tree; a standalone production omits
28
- * it. Citation addresses are the same either way; only reference roots
29
- * change.
16
+ * The engineering and development checklists (`contracts/development/**`) and
17
+ * the shared story contracts (`contracts/story/**`) resolve here. The
18
+ * production's own `work/**` and `language/**` contracts always resolve under
19
+ * `<location>/docs/contracts`, never here. A workspace production passes the
20
+ * workspace root's tree; a standalone production omits it. Citation addresses
21
+ * are the same either way; only reference roots change.
30
22
  *
31
23
  * @default path.join(location, ".agents", "skills")
32
24
  */
@@ -35,12 +27,21 @@ export interface IAutoMovieEvidenceConfigProps {
35
27
  /** Native claims added to the default source and test engineering claims. */
36
28
  claims?: IEvidenceClaim[];
37
29
 
38
- /** Omit for ordinary coding and standalone assets; provide a route for video writing, or mode none for a screenplay no narrative pass writes. */
30
+ /**
31
+ * Omit for ordinary coding and standalone assets; provide a route for video
32
+ * writing, or mode none for a screenplay no narrative pass writes.
33
+ */
39
34
  narrative?: IAutoMovieNarrativeProps | IAutoMovieNoNarrativeProps;
40
35
 
41
- /** Entity, behavior and composition development contracts; omitted stages stay disabled. */
36
+ /**
37
+ * Selects development contracts for entities, behaviors, composition and a
38
+ * separate review catalog.
39
+ */
42
40
  development?: IAutoMovieDevelopmentProps;
43
41
 
44
- /** Overrides research selection. By default a short selects all studies once one exists beyond the index. Other routes leave research disabled. */
42
+ /**
43
+ * Overrides research selection. By default a short selects all studies once
44
+ * one exists beyond the index. Other routes leave research disabled.
45
+ */
45
46
  research?: "disabled" | "evidence";
46
47
  }
@@ -4,18 +4,20 @@ import type { IProductionConstruction } from "./narrative/IProductionConstructio
4
4
  import type { NarrativeScope } from "./narrative/NarrativeScope";
5
5
 
6
6
  /**
7
- * Opts into narrative evidence using native claims and selected authored stages.
8
- *
9
- * @evidence contracts/development/design.md#principled-representation Mode chooses the actual layers; omitted stages remain disabled drafts, and omitted scope selects the complete work.
10
- * @evidence contracts/development/design.md#minimal-and-owned-surface Narrative options extend the engineering configuration without a parallel claim-owner representation.
11
- * @evidence contracts/development/design.md#prohibited-design-shortcuts Additional claims use the native Evidence shape and preserve their own selectors, references and review settings.
12
- * @evidence contracts/development/common.md#meaningful-documentation Fields define the route, stage defaults, authored scope and ordinary additional claims.
7
+ * Opts into narrative evidence using native claims and selected authored
8
+ * stages.
13
9
  */
14
10
  export interface IAutoMovieNarrativeProps {
15
- /** Long retains four layers; short writes its brief canon, then the screenplay, with no treatments, scripts or outline. */
11
+ /**
12
+ * Long retains four layers; short writes its brief canon, then the
13
+ * screenplay, with no treatments, scripts or outline.
14
+ */
16
15
  mode: "long" | "short";
17
16
 
18
- /** Unspecified layers are disabled drafts; an omitted outline follows settings. */
17
+ /**
18
+ * Unspecified layers are disabled drafts; an omitted outline follows
19
+ * settings.
20
+ */
19
21
  construction?: Partial<IProductionConstruction>;
20
22
 
21
23
  /** Defaults to the complete work; a pilot must identify its exact first part. */
@@ -3,14 +3,12 @@ import type { IEvidenceClaim } from "@wrtnlabs/evidence";
3
3
  /**
4
4
  * Declares that no narrative layer is checked, for a screenplay no narrative
5
5
  * pass writes.
6
- *
7
- * @evidence contracts/development/design.md#principled-representation The choice is named by its own mode rather than left to an omitted option, and with an enabled composition stage the code then realizes every instruction section that no narrative layer cites.
8
- * @evidence contracts/development/design.md#minimal-and-owned-surface The mode and additional native claims are the only members; layer stages and scope belong to the narrative routes.
9
- * @evidence contracts/development/design.md#prohibited-design-shortcuts No stage or scope field exists, so none can be written and silently ignored.
10
- * @evidence contracts/development/common.md#meaningful-documentation The comment states when the choice applies and what each member does.
11
6
  */
12
7
  export interface IAutoMovieNoNarrativeProps {
13
- /** Checks no narrative layer; with an enabled composition stage, the composition and entities must realize every instruction section instead. */
8
+ /**
9
+ * Checks no narrative layer; with an enabled composition stage, the
10
+ * composition and entities must realize every instruction section instead.
11
+ */
14
12
  mode: "none";
15
13
 
16
14
  /** Additional native claims for the production's actual respondents. */
@@ -11,30 +11,22 @@ import { SKILLS_ROOT } from "./internal/SKILLS_ROOT";
11
11
  * Creates the claims of the enabled production-specific development contracts.
12
12
  *
13
13
  * Each enabled stage selects the exported declarations of its source folders
14
- * and requires each to answer every item of
15
- * `contracts/development/<stage>.md` in its doc comment, read from the skills
16
- * tree at `props.skills`, by default the production's own `.agents/skills`.
17
- * Entities answer with their types, classes, functions and methods, because an
18
- * entity is a class whose methods are its capabilities. Behaviors (laws,
19
- * interactions and consequences) answer the behaviors checklist. For skilled
14
+ * and requires each to answer every item of its checklist under
15
+ * `contracts/development/` in its doc comment, read from the skills tree at
16
+ * `props.skills`, by default the production's own `.agents/skills`. Entities
17
+ * answer `entities.md` with their types, classes, functions and methods,
18
+ * because an entity is a class whose methods are its capabilities. Behaviors
19
+ * (laws, interactions and consequences) answer `behaviors.md`. For skilled
20
20
  * practice, the studied laws answer cites the observations used to coordinate
21
- * even installed actions. A study can also serve the screenplay alone.
22
- * Scenes cite the screenplay scene file, or the sections and beats of it they
23
- * realize, and every H2 section and H3 beat must be realized; films cite each
24
- * scene file they order, and every scene file must belong to a film. Catalog
25
- * scenes and the catalog film answer the composition checklist alone. With
26
- * `instructions`, the composition and entities must also realize every
27
- * instruction section, which no narrative layer then cites, with no
28
- * exclusion. The public configuration adds coverage of the route's subject
29
- * records when entities or composition are submitted.
30
- *
31
- * @evidence contracts/development/implementation.md#principled-implementation Native TypeScript claims carry the checklist, and a second Markdown reference uses native target coverage to make the screenplay-section-and-beat-to-scene and scene-file-to-film relations mechanical, while entities and behaviors carry the checklist alone; `instructions` adds the instruction-to-code relation with the same coverage, no checklist and no exclusion, because a user requirement cannot be waived by its realizer.
32
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One table maps each checklist population to its stage, folders, symbol kinds and cited population, and the one instruction relation, which has no checklist, follows it; disabled stages produce no claim, and the one props object carries the stages, the instruction switch and where the checklists are read.
33
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Source folders are the scaffold layout's documented locations, not fixture paths; nothing is inferred from file presence.
34
- * @evidence contracts/development/common.md#meaningful-documentation The comment states each stage's respondents, the relation it enforces and which skills tree holds the checklists; the `skills` member states its form and default, and `instructions` when the code must realize every instruction section.
35
- * @evidence contracts/development/implementation.md#efficient-algorithms Builds at most six fixed-size claim trees in constant time without file I/O.
36
- * @evidence contracts/development/implementation.md#reuse-equivalent-work Fresh objects are returned so one configuration's edits cannot reach another; there is no expensive shared work.
37
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned claims; nothing is retained.
21
+ * even installed actions. A study can also serve the screenplay alone. Scenes
22
+ * answer `composition.md` and cite the screenplay scene file, or the sections
23
+ * and beats of it they realize, and every H2 section and H3 beat must be
24
+ * realized; screenplay films answer `films.md` and cite each scene file they
25
+ * order, and every scene file must belong to a film. A selected catalog's cases
26
+ * and review film answer `catalog.md`. With `instructions`, the composition and
27
+ * entities must also realize every instruction section, which no narrative
28
+ * layer then cites, with no exclusion. The public configuration adds coverage
29
+ * of the route's subject records when entities or composition are submitted.
38
30
  */
39
31
  export function createDevelopmentContractClaims(
40
32
  props: IAutoMovieDevelopmentProps & {
@@ -60,6 +52,7 @@ export function createDevelopmentContractClaims(
60
52
  const populations: {
61
53
  stage: keyof IAutoMovieDevelopmentProps;
62
54
  name: string;
55
+ checklist: string;
63
56
  files: string[];
64
57
  symbol: EvidenceProgrammingSymbol[];
65
58
  cited?: IEvidenceMarkdownReference;
@@ -67,12 +60,14 @@ export function createDevelopmentContractClaims(
67
60
  {
68
61
  stage: "entities",
69
62
  name: "entities",
63
+ checklist: "entities",
70
64
  files: ["src/entities/**/*.ts"],
71
65
  symbol: ["type", "function"],
72
66
  },
73
67
  {
74
68
  stage: "behaviors",
75
69
  name: "behaviors",
70
+ checklist: "behaviors",
76
71
  files: [
77
72
  "src/laws/**/*.ts",
78
73
  "src/interactions/**/*.ts",
@@ -83,6 +78,7 @@ export function createDevelopmentContractClaims(
83
78
  {
84
79
  stage: "composition",
85
80
  name: "scenes",
81
+ checklist: "composition",
86
82
  files: [
87
83
  "src/composition/scenes/**/*.ts",
88
84
  "!src/composition/scenes/catalog/**",
@@ -93,6 +89,7 @@ export function createDevelopmentContractClaims(
93
89
  {
94
90
  stage: "composition",
95
91
  name: "films",
92
+ checklist: "films",
96
93
  files: [
97
94
  "src/composition/films/**/*.ts",
98
95
  "!src/composition/films/catalog.ts",
@@ -101,8 +98,9 @@ export function createDevelopmentContractClaims(
101
98
  cited: { type: "markdown", files: screenplay, symbol: "file" },
102
99
  },
103
100
  {
104
- stage: "composition",
101
+ stage: "catalog",
105
102
  name: "review catalog",
103
+ checklist: "catalog",
106
104
  files: [
107
105
  "src/composition/scenes/catalog/**/*.ts",
108
106
  "src/composition/films/catalog.ts",
@@ -122,7 +120,7 @@ export function createDevelopmentContractClaims(
122
120
  {
123
121
  type: "markdown",
124
122
  root: props.skills ?? SKILLS_ROOT,
125
- files: [`contracts/development/${entry.stage}.md`],
123
+ files: [`contracts/development/${entry.checklist}.md`],
126
124
  symbol: "h2",
127
125
  checklist: true,
128
126
  },
@@ -7,30 +7,25 @@ import { SKILLS_ROOT } from "./internal/SKILLS_ROOT";
7
7
  *
8
8
  * Use the result when extending, rather than replacing, the default engineering
9
9
  * population. Every exported source declaration and test answers the common
10
- * checklist; exported types, interfaces and classes also answer the design
11
- * checklist, exported functions and class methods the implementation checklist,
12
- * and exported test functions the testing checklist. The paths are read from
13
- * the skills tree at `skills`, by default the production's own
14
- * `.agents/skills`; a workspace production names the shared tree at the
15
- * workspace root instead, such as `../../../.agents/skills`. By default the
16
- * paths are the scaffold's
10
+ * checklist, except scenes, films and catalog cases under `src/composition/`,
11
+ * which realize a screenplay rather than serve callers and document that
12
+ * realization under their own composition, films and catalog contracts;
13
+ * exported types, interfaces and classes also answer the design checklist,
14
+ * exported functions and class methods the implementation checklist, and
15
+ * exported test functions the testing checklist. The paths are read from the
16
+ * skills tree at `skills`, by default the production's own `.agents/skills`; a
17
+ * workspace production names the shared tree at the workspace root instead,
18
+ * such as `../../../.agents/skills`. By default the paths are the scaffold's
17
19
  * `contracts/development/{common,design,implementation,testing}.md`.
18
20
  *
19
21
  * Each claim selects exactly the declarations that owe its checklists, so tests
20
22
  * answer common and testing in one claim, while source types and functions,
21
23
  * which owe different checklists, share common through a separate claim; a
22
- * claim reports an answer on a declaration outside its population as unhosted. A production created before that layout passes its
23
- * own paths instead, such as `common: null` with one `contracts/common.md` for
24
- * both design and implementation, which then selects types and functions in a
25
- * single claim as before.
26
- *
27
- * @evidence contracts/development/implementation.md#principled-implementation Native TypeScript symbol kinds separate declarations that describe a shape (type) from those that compute (function); one claim per population keeps every acknowledgement on a host its claim selects, and equal design and implementation paths collapse into one claim for the same reason.
28
- * @evidence contracts/development/implementation.md#clear-and-simple-structure This factory owns only the default engineering population, independent of narrative graph construction; the optional paths and skills root name the checklists without changing which declarations owe them.
29
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The documented src/test conventions are production defaults, not fixture paths or tailored expected answers; a supplied path replaces only its checklist file, a supplied skills root moves only where they are read, and a null common path removes only the shared claim.
30
- * @evidence contracts/development/common.md#meaningful-documentation The comment explains which declarations answer which checklist, how claims follow their populations, fresh ownership, extension, the workspace skills root and the legacy form; each option states its role.
31
- * @evidence contracts/development/implementation.md#efficient-algorithms Allocates at most four fixed-size claim trees in constant time and space; it performs no discovery or file I/O.
32
- * @evidence contracts/development/implementation.md#reuse-equivalent-work Fresh objects are intentional so editing one configuration cannot contaminate another; there is no expensive shared work to cache.
33
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned claim trees; this function retains no references, handles, or tasks.
24
+ * claim reports an answer on a declaration outside its population as unhosted.
25
+ * A production created before that layout passes its own paths instead, such as
26
+ * `common: null` with one `contracts/common.md` for both design and
27
+ * implementation, which then selects types and functions in a single claim as
28
+ * before.
34
29
  */
35
30
  export function createEngineeringClaims(
36
31
  props: {
@@ -53,8 +48,8 @@ export function createEngineeringClaims(
53
48
  tests?: string;
54
49
 
55
50
  /**
56
- * Reference root of the skills tree holding the checklists, relative to
57
- * the directory of `evidence.config.ts` with `/` separators; `..` segments
51
+ * Reference root of the skills tree holding the checklists, relative to the
52
+ * directory of `evidence.config.ts` with `/` separators; `..` segments
58
53
  * reach a workspace's shared tree.
59
54
  *
60
55
  * @default ".agents/skills"
@@ -117,7 +112,7 @@ export function createEngineeringClaims(
117
112
  {
118
113
  name: "production documentation",
119
114
  type: "typescript",
120
- files: ["src/**/*.ts"],
115
+ files: ["src/**/*.ts", "!src/composition/**"],
121
116
  symbol: ["type", "function"],
122
117
  reference: checklist(common),
123
118
  } satisfies IEvidenceClaim,
@@ -18,20 +18,13 @@ import { createProductionConfig } from "./narrative/createProductionConfig";
18
18
  *
19
19
  * The shared skills tree is resolved once: its absolute directory goes to the
20
20
  * narrative factories, which keep production-owned work and language contracts
21
- * under `<location>/docs/contracts`, and its root relative to `location` goes to the default
22
- * engineering, development and research claims. Caller-supplied `claims` are
23
- * added after the defaults as written, so they name their own root. A short
24
- * narrative includes its studies by default once one exists.
25
- * Film composition validates its catalog inputs before building claims.
26
- * On a story route the production's entity types cite their subject records.
27
- *
28
- * @evidence contracts/development/implementation.md#principled-implementation An absolute project location and a resolved absolute shared skills tree anchor the native engineering defaults and optional narrative selectors; native Evidence resolves the relative root against the configuration directory, the location, and caller-supplied claims are cloned before composition.
29
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One options object selects engineering alone, engineering whose code realizes every instruction section when narrative mode is none and `docs/instructions` exists, or delegates narrative claim composition to createProductionConfig; resolveSkillsDirectory and createReferenceRoot own the shared-tree default, validation and spelling.
30
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The returned object is an ordinary native configuration; this function neither evaluates diagnostics nor grants creative approval, an omitted skills tree yields exactly the standalone roots, and assertProductionContractLayout refuses a production still keeping its own contracts in the retired skills location rather than letting their duties vanish.
31
- * @evidence contracts/development/implementation.md#efficient-algorithms Only submitted entities or composition on a story route probe for subject files. Only an omitted research option on the short route probes for studies. Enabled composition checks catalog inputs and mode none probes for instructions.
32
- * @evidence contracts/development/implementation.md#reuse-equivalent-work The shared tree is resolved once per call and reused by every factory; the layout guard repeats its two probes inside a narrative build so createProductionConfig called directly stays guarded; each call owns fresh option and claim copies, and filesystem-dependent narrative composition is not cached across calls.
33
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned configuration; this function retains no registry, native process or open resource.
34
- * @evidence contracts/development/common.md#meaningful-documentation The comment states how the shared tree reaches each factory and that supplied claims keep their own root; the input types explain routes, disabled stage defaults and additional native claims.
21
+ * under `<location>/docs/contracts`, and its root relative to `location` goes
22
+ * to the default engineering, development and research claims. Caller-supplied
23
+ * `claims` are added after the defaults as written, so they name their own
24
+ * root. A short narrative includes its studies by default once one exists.
25
+ * Catalog selection checks the three catalog inputs before building claims.
26
+ * Ordinary film composition can be checked directly against the screenplay. On
27
+ * a story route the production's entity types cite their subject records.
35
28
  */
36
29
  export function createEvidenceConfig(
37
30
  props: IAutoMovieEvidenceConfigProps,
@@ -41,8 +34,14 @@ export function createEvidenceConfig(
41
34
  "Evidence location must be an absolute project directory, such as import.meta.dirname.",
42
35
  );
43
36
  assertProductionContractLayout(props.location);
44
- if (props.development?.composition === "evidence")
45
- assertFilmCatalogLayout(props.location);
37
+ const catalog: boolean =
38
+ (props.development?.catalog === "evidence" ||
39
+ (props.development?.catalog === undefined &&
40
+ props.development?.composition === "evidence")) &&
41
+ assertFilmCatalogLayout(
42
+ props.location,
43
+ props.development?.catalog === "evidence",
44
+ );
46
45
  const skills: string = resolveSkillsDirectory(props);
47
46
  const root: string = createReferenceRoot(props.location, skills);
48
47
 
@@ -53,6 +52,7 @@ export function createEvidenceConfig(
53
52
  claims.push(
54
53
  ...createDevelopmentContractClaims({
55
54
  ...props.development,
55
+ catalog: catalog ? "evidence" : "disabled",
56
56
  skills: root,
57
57
  instructions:
58
58
  props.narrative?.mode === "none" &&
@@ -10,18 +10,10 @@ import { STORY_CONTRACTS } from "./internal/STORY_CONTRACTS";
10
10
  * Each study in `docs/research/`, apart from its index, answers every item of
11
11
  * `contracts/story/principles/research.md`, read from the skills tree at
12
12
  * `skills`, by default the production's own `.agents/skills`. The citation
13
- * address, `principles/research.md`, is the same wherever that tree
14
- * lives. Like the other story layers, the answers live apart from the study,
15
- * in `docs/evidence/construction/files/research/`, under an H1 naming the
16
- * study's path, so the study stays a plain synthesis its readers use.
17
- *
18
- * @evidence contracts/development/implementation.md#principled-implementation A native Markdown file claim with detached evidence files keeps the study's text free of answers while each study still owes every research item; the reference root joins the given skills root with the installed `contracts/story` layout, which native Evidence resolves against the configuration directory.
19
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One claim with fixed study and answer locations; the caller decides whether to enable it and where the shared skills tree is.
20
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The study, index and answer paths are the scaffold layout's documented locations, not fixture paths; the default root is the standalone layout.
21
- * @evidence contracts/development/implementation.md#efficient-algorithms Builds one fixed-size claim tree in constant time; it performs no discovery or file I/O.
22
- * @evidence contracts/development/implementation.md#reuse-equivalent-work A fresh object is returned so one configuration's edits cannot reach another.
23
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned claim; nothing is retained.
24
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the respondents, the contract, which tree it is read from and where the answers live; the option states its form and default.
13
+ * address, `principles/research.md`, is the same wherever that tree lives. Like
14
+ * the other story layers, the answers live apart from the study, in
15
+ * `docs/evidence/construction/files/research/`, under an H1 naming the study's
16
+ * path, so the study stays a plain synthesis its readers use.
25
17
  */
26
18
  export function createResearchClaims(
27
19
  props: {
@@ -1,18 +1,17 @@
1
1
  /**
2
- * Locates the two contract owners one production's contracts come from: the production itself and the shared skills tree.
2
+ * Locates the two contract owners one production's contracts come from: the
3
+ * production itself and the shared skills tree.
3
4
  *
4
5
  * The production's own `work` and `language` contracts always live under
5
6
  * `<location>/docs/contracts`. The bundled shared contracts live under
6
7
  * `skills`, which a workspace points at its one shared tree; a standalone
7
8
  * production omits it and keeps them under its own `.agents/skills`.
8
- *
9
- * @evidence contracts/development/design.md#principled-representation Two absolute directories represent the two owners a contract can have, the production and the shared bundle; the optional member encodes the standalone layout, where the shared bundle sits under the production's own `.agents/skills`.
10
- * @evidence contracts/development/design.md#minimal-and-owned-surface Only the two directories that decide where a contract resolves; route, stages and claims stay with the configuration types that carry this shape.
11
- * @evidence contracts/development/design.md#prohibited-design-shortcuts No flag says "workspace": the owner is the directory itself, and an omitted `skills` is the standalone default rather than a guessed location.
12
- * @evidence contracts/development/common.md#meaningful-documentation The comment states which families each directory owns and the omitted default; the members state they are absolute.
13
9
  */
14
10
  export interface IContractLocation {
15
- /** Absolute production directory whose `docs/contracts` holds its `work` and `language` contracts. */
11
+ /**
12
+ * Absolute production directory whose `docs/contracts` holds its `work` and
13
+ * `language` contracts.
14
+ */
16
15
  location: string;
17
16
 
18
17
  /**
@@ -8,12 +8,19 @@
8
8
  * rather than in a skills tree, so a workspace's shared `.agents/skills` holds
9
9
  * only bundled contracts.
10
10
  *
11
- * Principled implementation: The scaffold places production-owned contracts under `docs/contracts`; the portable spelling is used both as a reference root and, split on `/`, as a filesystem path under the production location.
12
- * Clear and simple design: One constant supplies every production-owned root: local language references, the discovery claim over `work/**`, and the work-local package claims.
13
- * Prohibited implementation shortcuts: The value is the installed layout, not a fixture path; no fallback to the retired `.agents/skills/contracts/story` location exists, which assertProductionContractLayout refuses instead.
14
- * Meaningful documentation: The prose states which families live here, the address-to-file mapping and why they are outside the skills tree.
15
- * Efficient algorithms: A constant string with no computation.
16
- * Reuse equivalent work: Every consumer reads the same immutable string.
17
- * Bound retention and release resources: One fixed string for the module lifetime.
11
+ * Principled implementation: The scaffold places production-owned contracts
12
+ * under `docs/contracts`; the portable spelling is used both as a reference
13
+ * root and, split on `/`, as a filesystem path under the production location.
14
+ * Clear and simple design: One constant supplies every production-owned root:
15
+ * local language references, the discovery claim over `work/**`, and the
16
+ * work-local package claims. Prohibited implementation shortcuts: The value is
17
+ * the installed layout, not a fixture path; no fallback to the retired
18
+ * `.agents/skills/contracts/story` location exists, which
19
+ * assertProductionContractLayout refuses instead. Meaningful documentation: The
20
+ * prose states which families live here, the address-to-file mapping and why
21
+ * they are outside the skills tree. Efficient algorithms: A constant string
22
+ * with no computation. Reuse equivalent work: Every consumer reads the same
23
+ * immutable string. Bound retention and release resources: One fixed string for
24
+ * the module lifetime.
18
25
  */
19
26
  export const PRODUCTION_CONTRACTS: string = "docs/contracts";
@@ -8,12 +8,18 @@
8
8
  * `contracts/story/{work,language}` is the retired location
9
9
  * assertProductionContractLayout refuses.
10
10
  *
11
- * Principled implementation: The scaffold installs `.agents/skills` at a production's root; this spelling is that layout contract, written with portable separators because Evidence reference roots are portable relative paths.
12
- * Clear and simple design: One constant supplies the default shared tree, the default engineering, development and research reference roots, and the retired location the layout guard probes.
13
- * Prohibited implementation shortcuts: The value is the installed layout, not a fixture or host path; a workspace overrides the shared tree through `skills`.
14
- * Meaningful documentation: The prose states which contracts live here in standalone and workspace productions.
15
- * Efficient algorithms: A constant string with no computation.
16
- * Reuse equivalent work: Every consumer reads the same immutable string.
17
- * Bound retention and release resources: One fixed string for the module lifetime.
11
+ * Principled implementation: The scaffold installs `.agents/skills` at a
12
+ * production's root; this spelling is that layout contract, written with
13
+ * portable separators because Evidence reference roots are portable relative
14
+ * paths. Clear and simple design: One constant supplies the default shared
15
+ * tree, the default engineering, development and research reference roots, and
16
+ * the retired location the layout guard probes. Prohibited implementation
17
+ * shortcuts: The value is the installed layout, not a fixture or host path; a
18
+ * workspace overrides the shared tree through `skills`. Meaningful
19
+ * documentation: The prose states which contracts live here in standalone and
20
+ * workspace productions. Efficient algorithms: A constant string with no
21
+ * computation. Reuse equivalent work: Every consumer reads the same immutable
22
+ * string. Bound retention and release resources: One fixed string for the
23
+ * module lifetime.
18
24
  */
19
25
  export const SKILLS_ROOT: string = ".agents/skills";
@@ -1,16 +1,19 @@
1
1
  /**
2
2
  * Names the story contract tree inside a skills tree.
3
3
  *
4
- * Its checklist families ship directly in this directory. The `work/`
5
- * and `language/` families a production adopts live in its `docs/contracts`
4
+ * Its checklist families ship directly in this directory. The `work/` and
5
+ * `language/` families a production adopts live in its `docs/contracts`
6
6
  * instead; under a production's own skills tree they mark the retired layout.
7
7
  *
8
- * Principled implementation: The scaffold installs story contracts at `contracts/story` under a skills tree; the portable spelling joins the shared skills tree for shared contracts and the research root, and the production's own skills tree only for the retired-layout guard.
9
- * Clear and simple design: One constant serves every shared story root and the legacy guard.
10
- * Prohibited implementation shortcuts: The value is the installed layout, not a fixture path.
11
- * Meaningful documentation: The prose names the families and which tree owns each.
12
- * Efficient algorithms: A constant string with no computation.
13
- * Reuse equivalent work: Every consumer reads the same immutable string.
14
- * Bound retention and release resources: One fixed string for the module lifetime.
8
+ * Principled implementation: The scaffold installs story contracts at
9
+ * `contracts/story` under a skills tree; the portable spelling joins the shared
10
+ * skills tree for shared contracts and the research root, and the production's
11
+ * own skills tree only for the retired-layout guard. Clear and simple design:
12
+ * One constant serves every shared story root and the legacy guard. Prohibited
13
+ * implementation shortcuts: The value is the installed layout, not a fixture
14
+ * path. Meaningful documentation: The prose names the families and which tree
15
+ * owns each. Efficient algorithms: A constant string with no computation. Reuse
16
+ * equivalent work: Every consumer reads the same immutable string. Bound
17
+ * retention and release resources: One fixed string for the module lifetime.
15
18
  */
16
19
  export const STORY_CONTRACTS: string = "contracts/story";