@automovie/evidence 0.3.3 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (453) hide show
  1. package/README.md +7 -92
  2. package/lib/IAutoMovieDevelopmentProps.d.ts +26 -20
  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 +16 -26
  7. package/lib/createDevelopmentContractClaims.js +45 -30
  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 -11
  13. package/lib/createEvidenceConfig.js +34 -12
  14. package/lib/createEvidenceConfig.js.map +1 -1
  15. package/lib/createResearchClaims.d.ts +5 -13
  16. package/lib/createResearchClaims.js +6 -14
  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 +12 -0
  29. package/lib/internal/assertFilmCatalogLayout.js +144 -0
  30. package/lib/internal/assertFilmCatalogLayout.js.map +1 -0
  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 +5 -0
  38. package/lib/internal/hasMatchingFile.js +20 -0
  39. package/lib/internal/hasMatchingFile.js.map +1 -0
  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 +5 -15
  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 +2 -10
  91. package/lib/narrative/internal/claims/createLayerClaims.js +2 -28
  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 +9 -18
  95. package/lib/narrative/internal/claims/createOutlineClaims.js.map +1 -1
  96. package/lib/narrative/internal/claims/createPopulationObligationClaims.d.ts +4 -14
  97. package/lib/narrative/internal/claims/createPopulationObligationClaims.js +10 -36
  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 +57 -56
  101. package/lib/narrative/internal/claims/createReviewClaims.js.map +1 -1
  102. package/lib/narrative/internal/claims/createSettingCoverageClaim.d.ts +1 -9
  103. package/lib/narrative/internal/claims/createSettingCoverageClaim.js +1 -9
  104. package/lib/narrative/internal/claims/createSettingCoverageClaim.js.map +1 -1
  105. package/lib/narrative/internal/claims/index.d.ts +0 -1
  106. package/lib/narrative/internal/claims/index.js +0 -1
  107. package/lib/narrative/internal/claims/index.js.map +1 -1
  108. package/lib/narrative/internal/collectProductionClaims.d.ts +1 -11
  109. package/lib/narrative/internal/collectProductionClaims.js +2 -15
  110. package/lib/narrative/internal/collectProductionClaims.js.map +1 -1
  111. package/lib/narrative/internal/constructionStage.d.ts +2 -9
  112. package/lib/narrative/internal/constructionStage.js +2 -9
  113. package/lib/narrative/internal/constructionStage.js.map +1 -1
  114. package/lib/narrative/internal/createGraphConfig.d.ts +4 -12
  115. package/lib/narrative/internal/createGraphConfig.js +4 -12
  116. package/lib/narrative/internal/createGraphConfig.js.map +1 -1
  117. package/lib/narrative/internal/index.d.ts +0 -1
  118. package/lib/narrative/internal/index.js +0 -1
  119. package/lib/narrative/internal/index.js.map +1 -1
  120. package/lib/narrative/internal/isCanonLayer.d.ts +2 -9
  121. package/lib/narrative/internal/isCanonLayer.js +2 -9
  122. package/lib/narrative/internal/isCanonLayer.js.map +1 -1
  123. package/lib/narrative/internal/metadataRewrite/ACKNOWLEDGEMENT.d.ts +10 -7
  124. package/lib/narrative/internal/metadataRewrite/ACKNOWLEDGEMENT.js +10 -7
  125. package/lib/narrative/internal/metadataRewrite/ACKNOWLEDGEMENT.js.map +1 -1
  126. package/lib/narrative/internal/metadataRewrite/EvidenceDeclarationKind.d.ts +1 -8
  127. package/lib/narrative/internal/metadataRewrite/HEADING_ACKNOWLEDGEMENT.d.ts +10 -7
  128. package/lib/narrative/internal/metadataRewrite/HEADING_ACKNOWLEDGEMENT.js +10 -7
  129. package/lib/narrative/internal/metadataRewrite/HEADING_ACKNOWLEDGEMENT.js.map +1 -1
  130. package/lib/narrative/internal/metadataRewrite/HEADING_REVIEW.d.ts +10 -7
  131. package/lib/narrative/internal/metadataRewrite/HEADING_REVIEW.js +10 -7
  132. package/lib/narrative/internal/metadataRewrite/HEADING_REVIEW.js.map +1 -1
  133. package/lib/narrative/internal/metadataRewrite/IEvidenceHeading.d.ts +1 -8
  134. package/lib/narrative/internal/metadataRewrite/IEvidenceSection.d.ts +1 -8
  135. package/lib/narrative/internal/metadataRewrite/IMetadataFragment.d.ts +1 -8
  136. package/lib/narrative/internal/metadataRewrite/IProjectionSegment.d.ts +1 -8
  137. package/lib/narrative/internal/metadataRewrite/IProtectedProjection.d.ts +1 -8
  138. package/lib/narrative/internal/metadataRewrite/REVIEW.d.ts +11 -7
  139. package/lib/narrative/internal/metadataRewrite/REVIEW.js +11 -7
  140. package/lib/narrative/internal/metadataRewrite/REVIEW.js.map +1 -1
  141. package/lib/narrative/internal/metadataRewrite/SUSPICIOUS.d.ts +13 -8
  142. package/lib/narrative/internal/metadataRewrite/SUSPICIOUS.js +13 -8
  143. package/lib/narrative/internal/metadataRewrite/SUSPICIOUS.js.map +1 -1
  144. package/lib/narrative/internal/metadataRewrite/UTF8.d.ts +10 -7
  145. package/lib/narrative/internal/metadataRewrite/UTF8.js +10 -7
  146. package/lib/narrative/internal/metadataRewrite/UTF8.js.map +1 -1
  147. package/lib/narrative/internal/metadataRewrite/between.d.ts +1 -11
  148. package/lib/narrative/internal/metadataRewrite/between.js +1 -11
  149. package/lib/narrative/internal/metadataRewrite/between.js.map +1 -1
  150. package/lib/narrative/internal/metadataRewrite/continuation.d.ts +1 -11
  151. package/lib/narrative/internal/metadataRewrite/continuation.js +1 -11
  152. package/lib/narrative/internal/metadataRewrite/continuation.js.map +1 -1
  153. package/lib/narrative/internal/metadataRewrite/declarationKind.d.ts +1 -11
  154. package/lib/narrative/internal/metadataRewrite/declarationKind.js +1 -11
  155. package/lib/narrative/internal/metadataRewrite/declarationKind.js.map +1 -1
  156. package/lib/narrative/internal/metadataRewrite/decode.d.ts +1 -11
  157. package/lib/narrative/internal/metadataRewrite/decode.js +1 -11
  158. package/lib/narrative/internal/metadataRewrite/decode.js.map +1 -1
  159. package/lib/narrative/internal/metadataRewrite/directory.d.ts +1 -11
  160. package/lib/narrative/internal/metadataRewrite/directory.js +1 -11
  161. package/lib/narrative/internal/metadataRewrite/directory.js.map +1 -1
  162. package/lib/narrative/internal/metadataRewrite/errorMessage.d.ts +1 -11
  163. package/lib/narrative/internal/metadataRewrite/errorMessage.js +1 -11
  164. package/lib/narrative/internal/metadataRewrite/errorMessage.js.map +1 -1
  165. package/lib/narrative/internal/metadataRewrite/evidenceHeading.d.ts +1 -11
  166. package/lib/narrative/internal/metadataRewrite/evidenceHeading.js +1 -11
  167. package/lib/narrative/internal/metadataRewrite/evidenceHeading.js.map +1 -1
  168. package/lib/narrative/internal/metadataRewrite/evidenceSections.d.ts +1 -11
  169. package/lib/narrative/internal/metadataRewrite/evidenceSections.js +1 -11
  170. package/lib/narrative/internal/metadataRewrite/evidenceSections.js.map +1 -1
  171. package/lib/narrative/internal/metadataRewrite/findClose.d.ts +1 -11
  172. package/lib/narrative/internal/metadataRewrite/findClose.js +1 -11
  173. package/lib/narrative/internal/metadataRewrite/findClose.js.map +1 -1
  174. package/lib/narrative/internal/metadataRewrite/firstDifference.d.ts +1 -11
  175. package/lib/narrative/internal/metadataRewrite/firstDifference.js +1 -11
  176. package/lib/narrative/internal/metadataRewrite/firstDifference.js.map +1 -1
  177. package/lib/narrative/internal/metadataRewrite/flatFingerprintStart.d.ts +2 -9
  178. package/lib/narrative/internal/metadataRewrite/flatFingerprintStart.js +2 -9
  179. package/lib/narrative/internal/metadataRewrite/flatFingerprintStart.js.map +1 -1
  180. package/lib/narrative/internal/metadataRewrite/invalidUtf8Offset.d.ts +1 -11
  181. package/lib/narrative/internal/metadataRewrite/invalidUtf8Offset.js +1 -11
  182. package/lib/narrative/internal/metadataRewrite/invalidUtf8Offset.js.map +1 -1
  183. package/lib/narrative/internal/metadataRewrite/isDeclaration.d.ts +1 -11
  184. package/lib/narrative/internal/metadataRewrite/isDeclaration.js +1 -11
  185. package/lib/narrative/internal/metadataRewrite/isDeclaration.js.map +1 -1
  186. package/lib/narrative/internal/metadataRewrite/isNodeError.d.ts +1 -11
  187. package/lib/narrative/internal/metadataRewrite/isNodeError.js +1 -11
  188. package/lib/narrative/internal/metadataRewrite/isNodeError.js.map +1 -1
  189. package/lib/narrative/internal/metadataRewrite/lineEnding.d.ts +1 -11
  190. package/lib/narrative/internal/metadataRewrite/lineEnding.js +1 -11
  191. package/lib/narrative/internal/metadataRewrite/lineEnding.js.map +1 -1
  192. package/lib/narrative/internal/metadataRewrite/locate.d.ts +1 -11
  193. package/lib/narrative/internal/metadataRewrite/locate.js +1 -11
  194. package/lib/narrative/internal/metadataRewrite/locate.js.map +1 -1
  195. package/lib/narrative/internal/metadataRewrite/markdownFiles.d.ts +1 -11
  196. package/lib/narrative/internal/metadataRewrite/markdownFiles.js +1 -11
  197. package/lib/narrative/internal/metadataRewrite/markdownFiles.js.map +1 -1
  198. package/lib/narrative/internal/metadataRewrite/metadataOwnership.d.ts +1 -11
  199. package/lib/narrative/internal/metadataRewrite/metadataOwnership.js +1 -11
  200. package/lib/narrative/internal/metadataRewrite/metadataOwnership.js.map +1 -1
  201. package/lib/narrative/internal/metadataRewrite/normalizeFile.d.ts +1 -11
  202. package/lib/narrative/internal/metadataRewrite/normalizeFile.js +1 -11
  203. package/lib/narrative/internal/metadataRewrite/normalizeFile.js.map +1 -1
  204. package/lib/narrative/internal/metadataRewrite/occurrenceOffsets.d.ts +1 -11
  205. package/lib/narrative/internal/metadataRewrite/occurrenceOffsets.js +1 -11
  206. package/lib/narrative/internal/metadataRewrite/occurrenceOffsets.js.map +1 -1
  207. package/lib/narrative/internal/metadataRewrite/occurrences.d.ts +1 -11
  208. package/lib/narrative/internal/metadataRewrite/occurrences.js +1 -11
  209. package/lib/narrative/internal/metadataRewrite/occurrences.js.map +1 -1
  210. package/lib/narrative/internal/metadataRewrite/originalOffset.d.ts +1 -11
  211. package/lib/narrative/internal/metadataRewrite/originalOffset.js +1 -11
  212. package/lib/narrative/internal/metadataRewrite/originalOffset.js.map +1 -1
  213. package/lib/narrative/internal/metadataRewrite/project.d.ts +1 -11
  214. package/lib/narrative/internal/metadataRewrite/project.js +1 -11
  215. package/lib/narrative/internal/metadataRewrite/project.js.map +1 -1
  216. package/lib/narrative/internal/metadataRewrite/protectedFileKind.d.ts +1 -11
  217. package/lib/narrative/internal/metadataRewrite/protectedFileKind.js +1 -11
  218. package/lib/narrative/internal/metadataRewrite/protectedFileKind.js.map +1 -1
  219. package/lib/narrative/internal/metadataRewrite/replacementSafety.d.ts +1 -11
  220. package/lib/narrative/internal/metadataRewrite/replacementSafety.js +1 -11
  221. package/lib/narrative/internal/metadataRewrite/replacementSafety.js.map +1 -1
  222. package/lib/narrative/internal/metadataRewrite/sameMetadata.d.ts +1 -11
  223. package/lib/narrative/internal/metadataRewrite/sameMetadata.js +1 -11
  224. package/lib/narrative/internal/metadataRewrite/sameMetadata.js.map +1 -1
  225. package/lib/narrative/internal/metadataRewrite/selectFiles.d.ts +1 -11
  226. package/lib/narrative/internal/metadataRewrite/selectFiles.js +1 -11
  227. package/lib/narrative/internal/metadataRewrite/selectFiles.js.map +1 -1
  228. package/lib/narrative/internal/metadataRewrite/singleLineDeclaration.d.ts +1 -11
  229. package/lib/narrative/internal/metadataRewrite/singleLineDeclaration.js +1 -11
  230. package/lib/narrative/internal/metadataRewrite/singleLineDeclaration.js.map +1 -1
  231. package/lib/narrative/internal/metadataRewrite/textLocation.d.ts +1 -11
  232. package/lib/narrative/internal/metadataRewrite/textLocation.js +1 -11
  233. package/lib/narrative/internal/metadataRewrite/textLocation.js.map +1 -1
  234. package/lib/narrative/internal/metadataRewrite/validateRenderedSample.d.ts +1 -11
  235. package/lib/narrative/internal/metadataRewrite/validateRenderedSample.js +1 -11
  236. package/lib/narrative/internal/metadataRewrite/validateRenderedSample.js.map +1 -1
  237. package/lib/narrative/internal/metadataRewrite/withoutEnding.d.ts +1 -11
  238. package/lib/narrative/internal/metadataRewrite/withoutEnding.js +1 -11
  239. package/lib/narrative/internal/metadataRewrite/withoutEnding.js.map +1 -1
  240. package/lib/narrative/internal/productionLayers.d.ts +1 -11
  241. package/lib/narrative/internal/productionLayers.js +1 -11
  242. package/lib/narrative/internal/productionLayers.js.map +1 -1
  243. package/lib/narrative/internal/readSettingsFiles.d.ts +4 -12
  244. package/lib/narrative/internal/readSettingsFiles.js +8 -13
  245. package/lib/narrative/internal/readSettingsFiles.js.map +1 -1
  246. package/lib/narrative/internal/references/createCoverageReference.d.ts +2 -10
  247. package/lib/narrative/internal/references/createCoverageReference.js +2 -10
  248. package/lib/narrative/internal/references/createCoverageReference.js.map +1 -1
  249. package/lib/narrative/internal/references/createDiscoveryReferences.d.ts +5 -13
  250. package/lib/narrative/internal/references/createDiscoveryReferences.js +5 -13
  251. package/lib/narrative/internal/references/createDiscoveryReferences.js.map +1 -1
  252. package/lib/narrative/internal/references/createLanguageDiscoveryReferences.d.ts +1 -11
  253. package/lib/narrative/internal/references/createLanguageDiscoveryReferences.js +1 -11
  254. package/lib/narrative/internal/references/createLanguageDiscoveryReferences.js.map +1 -1
  255. package/lib/narrative/internal/references/createLanguagePrincipleReferences.d.ts +3 -13
  256. package/lib/narrative/internal/references/createLanguagePrincipleReferences.js +4 -13
  257. package/lib/narrative/internal/references/createLanguagePrincipleReferences.js.map +1 -1
  258. package/lib/narrative/internal/references/createLineageReference.d.ts +6 -14
  259. package/lib/narrative/internal/references/createLineageReference.js +6 -14
  260. package/lib/narrative/internal/references/createLineageReference.js.map +1 -1
  261. package/lib/narrative/internal/references/createLocalContractReference.d.ts +0 -8
  262. package/lib/narrative/internal/references/createLocalContractReference.js +0 -8
  263. package/lib/narrative/internal/references/createLocalContractReference.js.map +1 -1
  264. package/lib/narrative/internal/references/createPrincipleReferences.d.ts +2 -21
  265. package/lib/narrative/internal/references/createPrincipleReferences.js +6 -35
  266. package/lib/narrative/internal/references/createPrincipleReferences.js.map +1 -1
  267. package/lib/narrative/internal/references/createSettingReferences.d.ts +3 -10
  268. package/lib/narrative/internal/references/createSettingReferences.js +3 -10
  269. package/lib/narrative/internal/references/createSettingReferences.js.map +1 -1
  270. package/lib/narrative/internal/references/createSharedReference.d.ts +7 -16
  271. package/lib/narrative/internal/references/createSharedReference.js +8 -17
  272. package/lib/narrative/internal/references/createSharedReference.js.map +1 -1
  273. package/lib/narrative/internal/references/createUpstreamReference.d.ts +0 -8
  274. package/lib/narrative/internal/references/createUpstreamReference.js +0 -8
  275. package/lib/narrative/internal/references/createUpstreamReference.js.map +1 -1
  276. package/lib/narrative/internal/references/layerFiles.d.ts +4 -13
  277. package/lib/narrative/internal/references/layerFiles.js +5 -15
  278. package/lib/narrative/internal/references/layerFiles.js.map +1 -1
  279. package/lib/narrative/internal/settingsEntryAnchor.d.ts +2 -9
  280. package/lib/narrative/internal/settingsEntryAnchor.js +2 -9
  281. package/lib/narrative/internal/settingsEntryAnchor.js.map +1 -1
  282. package/lib/narrative/internal/topology/createTopologyFiles.d.ts +1 -11
  283. package/lib/narrative/internal/topology/createTopologyFiles.js +1 -11
  284. package/lib/narrative/internal/topology/createTopologyFiles.js.map +1 -1
  285. package/lib/narrative/internal/utilities/BODY_ROOT.d.ts +14 -7
  286. package/lib/narrative/internal/utilities/BODY_ROOT.js +14 -7
  287. package/lib/narrative/internal/utilities/BODY_ROOT.js.map +1 -1
  288. package/lib/narrative/internal/utilities/PACKAGE_DOCS_ROOT.d.ts +15 -7
  289. package/lib/narrative/internal/utilities/PACKAGE_DOCS_ROOT.js +15 -7
  290. package/lib/narrative/internal/utilities/PACKAGE_DOCS_ROOT.js.map +1 -1
  291. package/lib/narrative/internal/utilities/assertProductionEvidenceSources.d.ts +2 -9
  292. package/lib/narrative/internal/utilities/assertProductionEvidenceSources.js +2 -9
  293. package/lib/narrative/internal/utilities/assertProductionEvidenceSources.js.map +1 -1
  294. package/lib/narrative/internal/utilities/createContractDirectory.d.ts +4 -10
  295. package/lib/narrative/internal/utilities/createContractDirectory.js +4 -10
  296. package/lib/narrative/internal/utilities/createContractDirectory.js.map +1 -1
  297. package/lib/narrative/internal/utilities/createContractRoot.d.ts +8 -18
  298. package/lib/narrative/internal/utilities/createContractRoot.js +8 -18
  299. package/lib/narrative/internal/utilities/createContractRoot.js.map +1 -1
  300. package/lib/narrative/internal/utilities/createEvidenceFiles.d.ts +1 -11
  301. package/lib/narrative/internal/utilities/createEvidenceFiles.js +1 -11
  302. package/lib/narrative/internal/utilities/createEvidenceFiles.js.map +1 -1
  303. package/lib/narrative/internal/utilities/createUnitFiles.d.ts +0 -8
  304. package/lib/narrative/internal/utilities/createUnitFiles.js +0 -8
  305. package/lib/narrative/internal/utilities/createUnitFiles.js.map +1 -1
  306. package/lib/narrative/internal/utilities/hasStoryContract.d.ts +9 -0
  307. package/lib/narrative/internal/utilities/hasStoryContract.js +20 -0
  308. package/lib/narrative/internal/utilities/hasStoryContract.js.map +1 -0
  309. package/lib/narrative/internal/utilities/referenceLocation.d.ts +2 -9
  310. package/lib/narrative/internal/utilities/referenceLocation.js +2 -9
  311. package/lib/narrative/internal/utilities/referenceLocation.js.map +1 -1
  312. package/lib/narrative/internal/validateSettingsOutline.d.ts +6 -12
  313. package/lib/narrative/internal/validateSettingsOutline.js +27 -20
  314. package/lib/narrative/internal/validateSettingsOutline.js.map +1 -1
  315. package/lib/narrative/isFirstPartPilot.d.ts +1 -11
  316. package/lib/narrative/isFirstPartPilot.js +1 -11
  317. package/lib/narrative/isFirstPartPilot.js.map +1 -1
  318. package/lib/narrative/verifyEvidenceMetadataRewrite.d.ts +2 -10
  319. package/lib/narrative/verifyEvidenceMetadataRewrite.js +2 -10
  320. package/lib/narrative/verifyEvidenceMetadataRewrite.js.map +1 -1
  321. package/package.json +6 -5
  322. package/src/IAutoMovieDevelopmentProps.ts +27 -20
  323. package/src/IAutoMovieEvidenceConfigProps.ts +19 -18
  324. package/src/IAutoMovieNarrativeProps.ts +10 -8
  325. package/src/IAutoMovieNoNarrativeProps.ts +4 -6
  326. package/src/createDevelopmentContractClaims.ts +46 -30
  327. package/src/createEngineeringClaims.ts +17 -22
  328. package/src/createEvidenceConfig.ts +45 -12
  329. package/src/createResearchClaims.ts +6 -14
  330. package/src/internal/IContractLocation.ts +6 -7
  331. package/src/internal/PRODUCTION_CONTRACTS.ts +14 -7
  332. package/src/internal/SKILLS_ROOT.ts +13 -7
  333. package/src/internal/STORY_CONTRACTS.ts +12 -9
  334. package/src/internal/assertFilmCatalogLayout.ts +173 -0
  335. package/src/internal/assertProductionContractLayout.ts +2 -10
  336. package/src/internal/createReferenceRoot.ts +0 -8
  337. package/src/internal/hasMatchingFile.ts +21 -0
  338. package/src/internal/index.ts +1 -1
  339. package/src/internal/resolveSkillsDirectory.ts +2 -9
  340. package/src/narrative/AuthoredLayer.ts +2 -6
  341. package/src/narrative/EvidenceMetadataRewriteOwnership.ts +0 -5
  342. package/src/narrative/IEvidenceMetadataRenderedSample.ts +1 -8
  343. package/src/narrative/IEvidenceMetadataRewriteFile.ts +1 -8
  344. package/src/narrative/IEvidenceMetadataRewriteProps.ts +1 -8
  345. package/src/narrative/IEvidenceMetadataRewriteReport.ts +1 -8
  346. package/src/narrative/IPackageChecklistClaimProps.ts +2 -7
  347. package/src/narrative/IPackageContractProps.ts +4 -11
  348. package/src/narrative/IPackagePopulationContractProps.ts +1 -8
  349. package/src/narrative/IProductionConfigProps.ts +7 -11
  350. package/src/narrative/IProductionConstruction.ts +3 -10
  351. package/src/narrative/NarrativeLayer.ts +3 -8
  352. package/src/narrative/NarrativeScope.ts +2 -7
  353. package/src/narrative/ProductionStage.ts +2 -6
  354. package/src/narrative/createBriefFiles.ts +5 -12
  355. package/src/narrative/createNarrativeUnitFiles.ts +0 -8
  356. package/src/narrative/createPackageChecklistClaim.ts +5 -15
  357. package/src/narrative/createPackageContract.ts +0 -8
  358. package/src/narrative/createPackagePopulationContract.ts +3 -11
  359. package/src/narrative/createProductionClaims.ts +0 -8
  360. package/src/narrative/createProductionConfig.ts +1 -11
  361. package/src/narrative/createSettingsFiles.ts +0 -8
  362. package/src/narrative/internal/AUTHORED_LAYERS.ts +14 -7
  363. package/src/narrative/internal/claims/createDiscoveryClaim.ts +17 -22
  364. package/src/narrative/internal/claims/createInstructionCoverageClaim.ts +7 -15
  365. package/src/narrative/internal/claims/createLayerClaims.ts +2 -30
  366. package/src/narrative/internal/claims/createOutlineClaims.ts +9 -26
  367. package/src/narrative/internal/claims/createPopulationObligationClaims.ts +12 -53
  368. package/src/narrative/internal/claims/createReviewClaims.ts +57 -64
  369. package/src/narrative/internal/claims/createSettingCoverageClaim.ts +1 -9
  370. package/src/narrative/internal/claims/index.ts +0 -1
  371. package/src/narrative/internal/collectProductionClaims.ts +2 -15
  372. package/src/narrative/internal/constructionStage.ts +2 -9
  373. package/src/narrative/internal/createGraphConfig.ts +4 -12
  374. package/src/narrative/internal/index.ts +0 -1
  375. package/src/narrative/internal/isCanonLayer.ts +2 -9
  376. package/src/narrative/internal/metadataRewrite/ACKNOWLEDGEMENT.ts +10 -7
  377. package/src/narrative/internal/metadataRewrite/EvidenceDeclarationKind.ts +1 -8
  378. package/src/narrative/internal/metadataRewrite/HEADING_ACKNOWLEDGEMENT.ts +10 -7
  379. package/src/narrative/internal/metadataRewrite/HEADING_REVIEW.ts +10 -7
  380. package/src/narrative/internal/metadataRewrite/IEvidenceHeading.ts +1 -8
  381. package/src/narrative/internal/metadataRewrite/IEvidenceSection.ts +1 -8
  382. package/src/narrative/internal/metadataRewrite/IMetadataFragment.ts +1 -8
  383. package/src/narrative/internal/metadataRewrite/IProjectionSegment.ts +1 -8
  384. package/src/narrative/internal/metadataRewrite/IProtectedProjection.ts +1 -8
  385. package/src/narrative/internal/metadataRewrite/REVIEW.ts +11 -7
  386. package/src/narrative/internal/metadataRewrite/SUSPICIOUS.ts +13 -8
  387. package/src/narrative/internal/metadataRewrite/UTF8.ts +10 -7
  388. package/src/narrative/internal/metadataRewrite/between.ts +1 -11
  389. package/src/narrative/internal/metadataRewrite/continuation.ts +1 -11
  390. package/src/narrative/internal/metadataRewrite/declarationKind.ts +1 -11
  391. package/src/narrative/internal/metadataRewrite/decode.ts +1 -11
  392. package/src/narrative/internal/metadataRewrite/directory.ts +1 -11
  393. package/src/narrative/internal/metadataRewrite/errorMessage.ts +1 -11
  394. package/src/narrative/internal/metadataRewrite/evidenceHeading.ts +1 -11
  395. package/src/narrative/internal/metadataRewrite/evidenceSections.ts +1 -11
  396. package/src/narrative/internal/metadataRewrite/findClose.ts +1 -11
  397. package/src/narrative/internal/metadataRewrite/firstDifference.ts +1 -11
  398. package/src/narrative/internal/metadataRewrite/flatFingerprintStart.ts +2 -9
  399. package/src/narrative/internal/metadataRewrite/invalidUtf8Offset.ts +1 -11
  400. package/src/narrative/internal/metadataRewrite/isDeclaration.ts +1 -11
  401. package/src/narrative/internal/metadataRewrite/isNodeError.ts +1 -11
  402. package/src/narrative/internal/metadataRewrite/lineEnding.ts +1 -11
  403. package/src/narrative/internal/metadataRewrite/locate.ts +1 -11
  404. package/src/narrative/internal/metadataRewrite/markdownFiles.ts +1 -11
  405. package/src/narrative/internal/metadataRewrite/metadataOwnership.ts +1 -11
  406. package/src/narrative/internal/metadataRewrite/normalizeFile.ts +1 -11
  407. package/src/narrative/internal/metadataRewrite/occurrenceOffsets.ts +1 -11
  408. package/src/narrative/internal/metadataRewrite/occurrences.ts +1 -11
  409. package/src/narrative/internal/metadataRewrite/originalOffset.ts +1 -11
  410. package/src/narrative/internal/metadataRewrite/project.ts +1 -11
  411. package/src/narrative/internal/metadataRewrite/protectedFileKind.ts +1 -11
  412. package/src/narrative/internal/metadataRewrite/replacementSafety.ts +1 -11
  413. package/src/narrative/internal/metadataRewrite/sameMetadata.ts +1 -11
  414. package/src/narrative/internal/metadataRewrite/selectFiles.ts +1 -11
  415. package/src/narrative/internal/metadataRewrite/singleLineDeclaration.ts +1 -11
  416. package/src/narrative/internal/metadataRewrite/textLocation.ts +1 -11
  417. package/src/narrative/internal/metadataRewrite/validateRenderedSample.ts +1 -11
  418. package/src/narrative/internal/metadataRewrite/withoutEnding.ts +1 -11
  419. package/src/narrative/internal/productionLayers.ts +1 -11
  420. package/src/narrative/internal/readSettingsFiles.ts +8 -13
  421. package/src/narrative/internal/references/createCoverageReference.ts +2 -10
  422. package/src/narrative/internal/references/createDiscoveryReferences.ts +5 -13
  423. package/src/narrative/internal/references/createLanguageDiscoveryReferences.ts +1 -11
  424. package/src/narrative/internal/references/createLanguagePrincipleReferences.ts +4 -14
  425. package/src/narrative/internal/references/createLineageReference.ts +6 -14
  426. package/src/narrative/internal/references/createLocalContractReference.ts +0 -8
  427. package/src/narrative/internal/references/createPrincipleReferences.ts +9 -42
  428. package/src/narrative/internal/references/createSettingReferences.ts +3 -10
  429. package/src/narrative/internal/references/createSharedReference.ts +8 -17
  430. package/src/narrative/internal/references/createUpstreamReference.ts +0 -8
  431. package/src/narrative/internal/references/layerFiles.ts +5 -15
  432. package/src/narrative/internal/settingsEntryAnchor.ts +2 -9
  433. package/src/narrative/internal/topology/createTopologyFiles.ts +1 -11
  434. package/src/narrative/internal/utilities/BODY_ROOT.ts +14 -7
  435. package/src/narrative/internal/utilities/PACKAGE_DOCS_ROOT.ts +15 -7
  436. package/src/narrative/internal/utilities/assertProductionEvidenceSources.ts +2 -9
  437. package/src/narrative/internal/utilities/createContractDirectory.ts +4 -10
  438. package/src/narrative/internal/utilities/createContractRoot.ts +8 -18
  439. package/src/narrative/internal/utilities/createEvidenceFiles.ts +1 -11
  440. package/src/narrative/internal/utilities/createUnitFiles.ts +0 -8
  441. package/src/narrative/internal/utilities/hasStoryContract.ts +21 -0
  442. package/src/narrative/internal/utilities/referenceLocation.ts +2 -9
  443. package/src/narrative/internal/validateSettingsOutline.ts +27 -20
  444. package/src/narrative/isFirstPartPilot.ts +1 -11
  445. package/src/narrative/verifyEvidenceMetadataRewrite.ts +2 -10
  446. package/lib/narrative/internal/REALIZED_LAYERS.d.ts +0 -16
  447. package/lib/narrative/internal/REALIZED_LAYERS.js +0 -19
  448. package/lib/narrative/internal/REALIZED_LAYERS.js.map +0 -1
  449. package/lib/narrative/internal/claims/createExpressionObligationClaims.d.ts +0 -26
  450. package/lib/narrative/internal/claims/createExpressionObligationClaims.js +0 -93
  451. package/lib/narrative/internal/claims/createExpressionObligationClaims.js.map +0 -1
  452. package/src/narrative/internal/REALIZED_LAYERS.ts +0 -18
  453. package/src/narrative/internal/claims/createExpressionObligationClaims.ts +0 -125
@@ -5,16 +5,12 @@ import type { IAutoMovieEvidenceConfigProps } from "./IAutoMovieEvidenceConfigPr
5
5
  *
6
6
  * The shared skills tree is resolved once: its absolute directory goes to the
7
7
  * narrative factories, which keep production-owned work and language contracts
8
- * under `<location>/docs/contracts`, and its root relative to `location` goes to the default
9
- * engineering, development and research claims. Caller-supplied `claims` are
10
- * added after the defaults as written, so they name their own root.
11
- *
12
- * @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.
13
- * @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.
14
- * @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.
15
- * @evidence contracts/development/implementation.md#efficient-algorithms Two legacy-layout existence probes precede work, and mode none adds one instruction-directory probe; engineering creation allocates fixed defaults and clones supplied claims after them; narrative creation additionally discovers current contract files and expands a fixed number of layer families.
16
- * @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.
17
- * @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.
18
- * @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.
8
+ * under `<location>/docs/contracts`, and its root relative to `location` goes
9
+ * to the default engineering, development and research claims. Caller-supplied
10
+ * `claims` are added after the defaults as written, so they name their own
11
+ * root. A short narrative includes its studies by default once one exists.
12
+ * Catalog selection checks the three catalog inputs before building claims.
13
+ * Ordinary film composition can be checked directly against the screenplay. On
14
+ * a story route the production's entity types cite their subject records.
19
15
  */
20
16
  export declare function createEvidenceConfig(props: IAutoMovieEvidenceConfigProps): IEvidenceConfig;
@@ -9,8 +9,10 @@ const node_path_1 = __importDefault(require("node:path"));
9
9
  const createDevelopmentContractClaims_1 = require("./createDevelopmentContractClaims");
10
10
  const createEngineeringClaims_1 = require("./createEngineeringClaims");
11
11
  const createResearchClaims_1 = require("./createResearchClaims");
12
+ const assertFilmCatalogLayout_1 = require("./internal/assertFilmCatalogLayout");
12
13
  const assertProductionContractLayout_1 = require("./internal/assertProductionContractLayout");
13
14
  const createReferenceRoot_1 = require("./internal/createReferenceRoot");
15
+ const hasMatchingFile_1 = require("./internal/hasMatchingFile");
14
16
  const resolveSkillsDirectory_1 = require("./internal/resolveSkillsDirectory");
15
17
  const createProductionConfig_1 = require("./narrative/createProductionConfig");
16
18
  /**
@@ -18,22 +20,22 @@ const createProductionConfig_1 = require("./narrative/createProductionConfig");
18
20
  *
19
21
  * The shared skills tree is resolved once: its absolute directory goes to the
20
22
  * 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.
24
- *
25
- * @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.
26
- * @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.
27
- * @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.
28
- * @evidence contracts/development/implementation.md#efficient-algorithms Two legacy-layout existence probes precede work, and mode none adds one instruction-directory probe; engineering creation allocates fixed defaults and clones supplied claims after them; narrative creation additionally discovers current contract files and expands a fixed number of layer families.
29
- * @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.
30
- * @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.
31
- * @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.
23
+ * under `<location>/docs/contracts`, and its root relative to `location` goes
24
+ * to the default engineering, development and research claims. Caller-supplied
25
+ * `claims` are added after the defaults as written, so they name their own
26
+ * root. A short narrative includes its studies by default once one exists.
27
+ * Catalog selection checks the three catalog inputs before building claims.
28
+ * Ordinary film composition can be checked directly against the screenplay. On
29
+ * a story route the production's entity types cite their subject records.
32
30
  */
33
31
  function createEvidenceConfig(props) {
34
32
  if (!node_path_1.default.isAbsolute(props.location))
35
33
  throw new Error("Evidence location must be an absolute project directory, such as import.meta.dirname.");
36
34
  (0, assertProductionContractLayout_1.assertProductionContractLayout)(props.location);
35
+ const catalog = (props.development?.catalog === "evidence" ||
36
+ (props.development?.catalog === undefined &&
37
+ props.development?.composition === "evidence")) &&
38
+ (0, assertFilmCatalogLayout_1.assertFilmCatalogLayout)(props.location, props.development?.catalog === "evidence");
37
39
  const skills = (0, resolveSkillsDirectory_1.resolveSkillsDirectory)(props);
38
40
  const root = (0, createReferenceRoot_1.createReferenceRoot)(props.location, skills);
39
41
  const claims = [
@@ -42,11 +44,31 @@ function createEvidenceConfig(props) {
42
44
  ];
43
45
  claims.push(...(0, createDevelopmentContractClaims_1.createDevelopmentContractClaims)({
44
46
  ...props.development,
47
+ catalog: catalog ? "evidence" : "disabled",
45
48
  skills: root,
46
49
  instructions: props.narrative?.mode === "none" &&
47
50
  node_fs_1.default.existsSync(node_path_1.default.join(props.location, "docs", "instructions")),
48
51
  }));
49
- if (props.research === "evidence")
52
+ if ((props.development?.entities === "evidence" ||
53
+ props.development?.composition === "evidence") &&
54
+ (props.narrative?.mode === "short" || props.narrative?.mode === "long")) {
55
+ const layer = props.narrative.mode === "short" ? "brief" : "settings";
56
+ const subjects = ["cast", "crowds", "props", "sets"].map((domain) => `docs/body/${layer}/${domain}/*.md`);
57
+ if ((0, hasMatchingFile_1.hasMatchingFile)(props.location, subjects, []))
58
+ claims.push({
59
+ name: `production entities cite ${layer} subjects`,
60
+ type: "typescript",
61
+ files: ["src/entities/**/*.ts"],
62
+ symbol: "type",
63
+ reference: { type: "markdown", files: subjects, symbol: "file" },
64
+ });
65
+ }
66
+ if (props.research === "evidence" ||
67
+ (props.research === undefined &&
68
+ props.narrative?.mode === "short" &&
69
+ (0, hasMatchingFile_1.hasMatchingFile)(props.location, "docs/research/**/*.md", [
70
+ "docs/research/index.md",
71
+ ])))
50
72
  claims.push(...(0, createResearchClaims_1.createResearchClaims)({ skills: root }));
51
73
  if (props.narrative === undefined)
52
74
  return { severity: "error", claims };
@@ -1 +1 @@
1
- {"version":3,"file":"createEvidenceConfig.js","sourceRoot":"","sources":["../src/createEvidenceConfig.ts"],"names":[],"mappings":";;;;;;AACA,sDAAyB;AACzB,0DAA6B;AAG7B,uFAAoF;AACpF,uEAAoE;AACpE,iEAA8D;AAC9D,8FAA2F;AAC3F,wEAAqE;AACrE,8EAA2E;AAC3E,+EAA4E;AAE5E;;;;;;;;;;;;;;;;GAgBG;AACH,8BACE,KAAoC;IAEpC,IAAI,CAAC,mBAAI,CAAC,UAAU,CAAC,KAAK,CAAC,QAAQ,CAAC;QAClC,MAAM,IAAI,KAAK,CACb,uFAAuF,CACxF,CAAC;IACJ,IAAA,+DAA8B,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC/C,MAAM,MAAM,GAAW,IAAA,+CAAsB,EAAC,KAAK,CAAC,CAAC;IACrD,MAAM,IAAI,GAAW,IAAA,yCAAmB,EAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAEjE,MAAM,MAAM,GAAqB;QAC/B,GAAG,IAAA,iDAAuB,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QAC5C,GAAG,eAAe,CAAC,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC;KACvC,CAAC;IACF,MAAM,CAAC,IAAI,CACT,GAAG,IAAA,iEAA+B,EAAC;QACjC,GAAG,KAAK,CAAC,WAAW;QACpB,MAAM,EAAE,IAAI;QACZ,YAAY,EACV,KAAK,CAAC,SAAS,EAAE,IAAI,KAAK,MAAM;YAChC,iBAAE,CAA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AE,uBAAuB,EAAE;gBACvD,wBAAwB;aACzB,CAAC,CAAC;QAEL,MAAM,CAAC,IAAI,CAAC,GAAG,IAAA,2CAAoB,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACzD,IAAI,KAAK,CAAC,SAAS,KAAK,SAAS;QAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAExE,iFAAiF;IACjF,IAAI,KAAK,CAAC,SAAS,CAAC,IAAI,KAAK,MAAM;QACjC,OAAO;YACL,QAAQ,EAAE,OAAO;YACjB,MAAM,EAAE,CAAC,GAAG,MAAM,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;SACtE,CAAC;IAEJ,OAAO,IAAA,+CAAsB,EAAC;QAC5B,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,MAAM;QACN,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI;QAC1B,cAAc,EAAE,eAAe,CAC7B,KAAK,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,CACnD;QACD,YAAY,EAAE;YACZ,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,UAAU;YACtB,OAAO,EAAE,UAAU;YACnB,UAAU,EAAE,UAAU;YACtB,GAAG,eAAe,CAAC,KAAK,CAAC,SAAS,CAAC,YAAY,IAAI,EAAE,CAAC;SACvD;QACD,aAAa,EAAE,MAAM;QACrB,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,IAAI,EAAE,CAAC;KACtD,CAAC,CAAC;AACL,CAAC"}
@@ -4,20 +4,12 @@ import type { IEvidenceClaim } from "@wrtnlabs/evidence";
4
4
  * principles.
5
5
  *
6
6
  * Each study in `docs/research/`, apart from its index, answers every item of
7
- * `contracts/story/shared/principles/research.md`, read from the skills tree at
7
+ * `contracts/story/principles/research.md`, read from the skills tree at
8
8
  * `skills`, by default the production's own `.agents/skills`. The citation
9
- * address, `shared/principles/research.md`, is the same wherever that tree
10
- * lives. Like the other story layers, the answers live apart from the study,
11
- * in `docs/evidence/construction/files/research/`, under an H1 naming the
12
- * study's path, so the study stays a plain synthesis its readers use.
13
- *
14
- * @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.
15
- * @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.
16
- * @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.
17
- * @evidence contracts/development/implementation.md#efficient-algorithms Builds one fixed-size claim tree in constant time; it performs no discovery or file I/O.
18
- * @evidence contracts/development/implementation.md#reuse-equivalent-work A fresh object is returned so one configuration's edits cannot reach another.
19
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned claim; nothing is retained.
20
- * @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.
9
+ * address, `principles/research.md`, is the same wherever that tree lives. Like
10
+ * the other story layers, the answers live apart from the study, in
11
+ * `docs/evidence/construction/files/research/`, under an H1 naming the study's
12
+ * path, so the study stays a plain synthesis its readers use.
21
13
  */
22
14
  export declare function createResearchClaims(props?: {
23
15
  /**
@@ -8,20 +8,12 @@ const STORY_CONTRACTS_1 = require("./internal/STORY_CONTRACTS");
8
8
  * principles.
9
9
  *
10
10
  * Each study in `docs/research/`, apart from its index, answers every item of
11
- * `contracts/story/shared/principles/research.md`, read from the skills tree at
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, `shared/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
  function createResearchClaims(props = {}) {
27
19
  return [
@@ -34,7 +26,7 @@ function createResearchClaims(props = {}) {
34
26
  reference: {
35
27
  type: "markdown",
36
28
  root: `${props.skills ?? SKILLS_ROOT_1.SKILLS_ROOT}/${STORY_CONTRACTS_1.STORY_CONTRACTS}`,
37
- files: ["shared/principles/research.md"],
29
+ files: ["principles/research.md"],
38
30
  symbol: "h2",
39
31
  checklist: true,
40
32
  },
@@ -1 +1 @@
1
- {"version":3,"file":"createResearchClaims.js","sourceRoot":"","sources":["../src/createResearchClaims.ts"],"names":[],"mappings":";;;AAEA,wDAAqD;AACrD,gEAA6D;AAE7D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,8BACE,KAAK,GASD,EAAE;IAEN,OAAO;QACL;YACE,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,CAAC,uBAAuB,EAAE,yBAAyB,CAAC;YAC3D,aAAa,EAAE,CAAC,mDAAmD,CAAC;YACpE,MAAM,EAAE,MAAM;YACd,SAAS,EAAE;gBACT,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,GAAG,KAAK,CAAC,MAAM,IAAI,yBAAW,IAAI,iCAAe,EAAE;gBACzD,KAAK,EAAE,CAAC,+BAA+B,CAAC;gBACxC,MAAM,EAAE,IAAI;gBACZ,SAAS,EAAE,IAAI;aAChB;SACF;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createResearchClaims.js","sourceRoot":"","sources":["../src/createResearchClaims.ts"],"names":[],"mappings":";;;AAEA,wDAAqD;AACrD,gEAA6D;AAE7D;;;;;;;;;;;GAWG;AACH,8BACE,KAAK,GASD,EAAE;IAEN,OAAO;QACL;YACE,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,CAAC,uBAAuB,EAAE,yBAAyB,CAAC;YAC3D,aAAa,EAAE,CAAC,mDAAmD,CAAC;YACpE,MAAM,EAAE,MAAM;YACd,SAAS,EAAE;gBACT,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,GAAG,KAAK,CAAC,MAAM,IAAI,yBAAW,IAAI,iCAAe,EAAE;gBACzD,KAAK,EAAE,CAAC,wBAAwB,CAAC;gBACjC,MAAM,EAAE,IAAI;gBACZ,SAAS,EAAE,IAAI;aAChB;SACF;KACF,CAAC;AACJ,CAAC"}
@@ -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
  * Absolute directory of the shared `.agents/skills` tree holding the bundled
@@ -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 declare const PRODUCTION_CONTRACTS: string;
@@ -11,13 +11,20 @@ exports.PRODUCTION_CONTRACTS = void 0;
11
11
  * rather than in a skills tree, so a workspace's shared `.agents/skills` holds
12
12
  * only bundled contracts.
13
13
  *
14
- * 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.
15
- * 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.
16
- * 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.
17
- * Meaningful documentation: The prose states which families live here, the address-to-file mapping and why they are outside the skills tree.
18
- * Efficient algorithms: A constant string with no computation.
19
- * Reuse equivalent work: Every consumer reads the same immutable string.
20
- * Bound retention and release resources: One fixed string for the module lifetime.
14
+ * Principled implementation: The scaffold places production-owned contracts
15
+ * under `docs/contracts`; the portable spelling is used both as a reference
16
+ * root and, split on `/`, as a filesystem path under the production location.
17
+ * Clear and simple design: One constant supplies every production-owned root:
18
+ * local language references, the discovery claim over `work/**`, and the
19
+ * work-local package claims. Prohibited implementation shortcuts: The value is
20
+ * the installed layout, not a fixture path; no fallback to the retired
21
+ * `.agents/skills/contracts/story` location exists, which
22
+ * assertProductionContractLayout refuses instead. Meaningful documentation: The
23
+ * prose states which families live here, the address-to-file mapping and why
24
+ * they are outside the skills tree. Efficient algorithms: A constant string
25
+ * with no computation. Reuse equivalent work: Every consumer reads the same
26
+ * immutable string. Bound retention and release resources: One fixed string for
27
+ * the module lifetime.
21
28
  */
22
29
  exports.PRODUCTION_CONTRACTS = "docs/contracts";
23
30
  //# sourceMappingURL=PRODUCTION_CONTRACTS.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PRODUCTION_CONTRACTS.js","sourceRoot":"","sources":["../../src/internal/PRODUCTION_CONTRACTS.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;GAiBG;AACU,QAAA,oBAAoB,GAAW,gBAAgB,CAAC"}
1
+ {"version":3,"file":"PRODUCTION_CONTRACTS.js","sourceRoot":"","sources":["../../src/internal/PRODUCTION_CONTRACTS.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACU,QAAA,oBAAoB,GAAW,gBAAgB,CAAC"}
@@ -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 declare const SKILLS_ROOT: string;
@@ -11,13 +11,19 @@ exports.SKILLS_ROOT = void 0;
11
11
  * `contracts/story/{work,language}` is the retired location
12
12
  * assertProductionContractLayout refuses.
13
13
  *
14
- * 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.
15
- * 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.
16
- * Prohibited implementation shortcuts: The value is the installed layout, not a fixture or host path; a workspace overrides the shared tree through `skills`.
17
- * Meaningful documentation: The prose states which contracts live here in standalone and workspace productions.
18
- * Efficient algorithms: A constant string with no computation.
19
- * Reuse equivalent work: Every consumer reads the same immutable string.
20
- * Bound retention and release resources: One fixed string for the module lifetime.
14
+ * Principled implementation: The scaffold installs `.agents/skills` at a
15
+ * production's root; this spelling is that layout contract, written with
16
+ * portable separators because Evidence reference roots are portable relative
17
+ * paths. Clear and simple design: One constant supplies the default shared
18
+ * tree, the default engineering, development and research reference roots, and
19
+ * the retired location the layout guard probes. Prohibited implementation
20
+ * shortcuts: The value is the installed layout, not a fixture or host path; a
21
+ * workspace overrides the shared tree through `skills`. Meaningful
22
+ * documentation: The prose states which contracts live here in standalone and
23
+ * workspace productions. Efficient algorithms: A constant string with no
24
+ * computation. Reuse equivalent work: Every consumer reads the same immutable
25
+ * string. Bound retention and release resources: One fixed string for the
26
+ * module lifetime.
21
27
  */
22
28
  exports.SKILLS_ROOT = ".agents/skills";
23
29
  //# sourceMappingURL=SKILLS_ROOT.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SKILLS_ROOT.js","sourceRoot":"","sources":["../../src/internal/SKILLS_ROOT.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;GAiBG;AACU,QAAA,WAAW,GAAW,gBAAgB,CAAC"}
1
+ {"version":3,"file":"SKILLS_ROOT.js","sourceRoot":"","sources":["../../src/internal/SKILLS_ROOT.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACU,QAAA,WAAW,GAAW,gBAAgB,CAAC"}
@@ -1,16 +1,19 @@
1
1
  /**
2
2
  * Names the story contract tree inside a skills tree.
3
3
  *
4
- * Its `shared/` family ships with the scaffold's bundled skills. 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 declare const STORY_CONTRACTS: string;
@@ -4,17 +4,20 @@ exports.STORY_CONTRACTS = void 0;
4
4
  /**
5
5
  * Names the story contract tree inside a skills tree.
6
6
  *
7
- * Its `shared/` family ships with the scaffold's bundled skills. The `work/`
8
- * and `language/` families a production adopts live in its `docs/contracts`
7
+ * Its checklist families ship directly in this directory. The `work/` and
8
+ * `language/` families a production adopts live in its `docs/contracts`
9
9
  * instead; under a production's own skills tree they mark the retired layout.
10
10
  *
11
- * 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.
12
- * Clear and simple design: One constant serves every shared story root and the legacy guard.
13
- * Prohibited implementation shortcuts: The value is the installed layout, not a fixture path.
14
- * Meaningful documentation: The prose names the families and which tree owns each.
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 story contracts at
12
+ * `contracts/story` under a skills tree; the portable spelling joins the shared
13
+ * skills tree for shared contracts and the research root, and the production's
14
+ * own skills tree only for the retired-layout guard. Clear and simple design:
15
+ * One constant serves every shared story root and the legacy guard. Prohibited
16
+ * implementation shortcuts: The value is the installed layout, not a fixture
17
+ * path. Meaningful documentation: The prose names the families and which tree
18
+ * owns each. Efficient algorithms: A constant string with no computation. Reuse
19
+ * equivalent work: Every consumer reads the same immutable string. Bound
20
+ * retention and release resources: One fixed string for the module lifetime.
18
21
  */
19
22
  exports.STORY_CONTRACTS = "contracts/story";
20
23
  //# sourceMappingURL=STORY_CONTRACTS.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"STORY_CONTRACTS.js","sourceRoot":"","sources":["../../src/internal/STORY_CONTRACTS.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;GAcG;AACU,QAAA,eAAe,GAAW,iBAAiB,CAAC"}
1
+ {"version":3,"file":"STORY_CONTRACTS.js","sourceRoot":"","sources":["../../src/internal/STORY_CONTRACTS.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;GAiBG;AACU,QAAA,eAAe,GAAW,iBAAiB,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Check the inputs for a separate catalog. An explicit selection always
3
+ * requires its inputs. With composition alone, existing catalog artifacts
4
+ * retain the catalog check. The director verifies registration, playback and
5
+ * the tested conditions at the handoff.
6
+ *
7
+ * @param location Absolute production directory.
8
+ * @param required Whether the production selected the catalog explicitly.
9
+ * @returns Whether the production selected the catalog.
10
+ * @throws Error listing the missing film, record or case sources.
11
+ */
12
+ export declare function assertFilmCatalogLayout(location: string, required: boolean): boolean;
@@ -0,0 +1,144 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.assertFilmCatalogLayout = assertFilmCatalogLayout;
7
+ const parser_1 = require("@babel/parser");
8
+ const node_fs_1 = __importDefault(require("node:fs"));
9
+ const node_path_1 = __importDefault(require("node:path"));
10
+ const hasMatchingFile_1 = require("./hasMatchingFile");
11
+ /**
12
+ * Check the inputs for a separate catalog. An explicit selection always
13
+ * requires its inputs. With composition alone, existing catalog artifacts
14
+ * retain the catalog check. The director verifies registration, playback and
15
+ * the tested conditions at the handoff.
16
+ *
17
+ * @param location Absolute production directory.
18
+ * @param required Whether the production selected the catalog explicitly.
19
+ * @returns Whether the production selected the catalog.
20
+ * @throws Error listing the missing film, record or case sources.
21
+ */
22
+ function assertFilmCatalogLayout(location, required) {
23
+ const catalog = "src/composition/films/catalog.ts";
24
+ const record = "docs/acceptance/catalog.md";
25
+ const cases = "src/composition/scenes/catalog/**/*.ts";
26
+ const hasFilm = (0, hasMatchingFile_1.hasMatchingFile)(location, catalog, []);
27
+ const sources = node_fs_1.default
28
+ .globSync(cases, { cwd: location, exclude: ["**/*.d.ts"] })
29
+ .map((file) => node_path_1.default.join(location, file))
30
+ .filter((file) => node_fs_1.default.statSync(file, { throwIfNoEntry: false })?.isFile() === true);
31
+ if (!required && !hasFilm && sources.length === 0)
32
+ return false;
33
+ const missing = [];
34
+ if (!hasFilm || !hasCatalogFunction(node_path_1.default.join(location, catalog)))
35
+ missing.push(catalog);
36
+ if (!(0, hasMatchingFile_1.hasMatchingFile)(location, record, []))
37
+ missing.push(record);
38
+ if (!sources.some(hasCatalogFunction))
39
+ missing.push(cases);
40
+ if (missing.length !== 0)
41
+ throw new Error(`Review catalog is incomplete. Missing: ${missing.join(", ")}`);
42
+ return true;
43
+ }
44
+ /** Checks the source-owned function surface without executing the production. */
45
+ function hasCatalogFunction(file) {
46
+ const source = node_fs_1.default.readFileSync(file, "utf8");
47
+ let module;
48
+ try {
49
+ module = (0, parser_1.parse)(source, {
50
+ sourceType: "module",
51
+ plugins: ["typescript", "decorators-legacy"],
52
+ });
53
+ }
54
+ catch {
55
+ return false;
56
+ }
57
+ return hasExportedCatalogFunction(module.program.body);
58
+ }
59
+ /** Finds a callable declaration directly exported or published by local name. */
60
+ function hasExportedCatalogFunction(statements) {
61
+ const local = new Set();
62
+ const exported = new Set();
63
+ for (const statement of statements) {
64
+ if (statement.type === "ExportNamedDeclaration") {
65
+ if (statement.exportKind === "type" || statement.source)
66
+ continue;
67
+ if (statement.declaration &&
68
+ callableNames(statement.declaration).length !== 0)
69
+ return true;
70
+ for (const specifier of statement.specifiers)
71
+ if (specifier.type === "ExportSpecifier" &&
72
+ specifier.exportKind !== "type")
73
+ exported.add(specifier.local.name);
74
+ }
75
+ else if (statement.type === "ExportDefaultDeclaration") {
76
+ const declaration = statement.declaration;
77
+ if (declaration.type === "Identifier")
78
+ exported.add(declaration.name);
79
+ else if (declaration.type === "FunctionDeclaration" ||
80
+ (declaration.type === "ClassDeclaration" &&
81
+ hasPublicCaseMethod(declaration)) ||
82
+ (declaration.type !== "ClassDeclaration" &&
83
+ declaration.type !== "TSDeclareFunction" &&
84
+ isCallableExpression(declaration)))
85
+ return true;
86
+ }
87
+ else {
88
+ for (const name of callableNames(statement))
89
+ local.add(name);
90
+ }
91
+ }
92
+ return [...exported].some((name) => local.has(name));
93
+ }
94
+ /** Returns names with function implementations in a local declaration. */
95
+ function callableNames(statement) {
96
+ if (statement.type === "FunctionDeclaration")
97
+ return statement.id ? [statement.id.name] : [];
98
+ if (statement.type === "ClassDeclaration")
99
+ return statement.id && !statement.declare && hasPublicCaseMethod(statement)
100
+ ? [statement.id.name]
101
+ : [];
102
+ if (statement.type === "TSModuleDeclaration")
103
+ return !statement.declare &&
104
+ statement.id.type === "Identifier" &&
105
+ statement.body?.type === "TSModuleBlock" &&
106
+ hasExportedCatalogFunction(statement.body.body)
107
+ ? [statement.id.name]
108
+ : [];
109
+ if (statement.type !== "VariableDeclaration" || statement.kind !== "const")
110
+ return [];
111
+ return statement.declarations.flatMap((binding) => binding.id.type === "Identifier" && isCallableExpression(binding.init)
112
+ ? [binding.id.name]
113
+ : []);
114
+ }
115
+ /** Recognizes publicly callable methods and function-valued fields. */
116
+ function hasPublicCaseMethod(declaration) {
117
+ return declaration.body.body.some((member) => {
118
+ if ((member.type !== "ClassMethod" && member.type !== "ClassProperty") ||
119
+ member.accessibility === "private" ||
120
+ member.accessibility === "protected")
121
+ return false;
122
+ if (member.type === "ClassMethod")
123
+ return member.kind === "method";
124
+ const annotation = member.typeAnnotation;
125
+ if (annotation?.type !== "TSTypeAnnotation")
126
+ return isCallableExpression(member.value);
127
+ let type = annotation.typeAnnotation;
128
+ while (type.type === "TSParenthesizedType")
129
+ type = type.typeAnnotation;
130
+ return isCallableExpression(member.value, type.type === "TSFunctionType");
131
+ });
132
+ }
133
+ /** Looks through type annotations to the attached function expression. */
134
+ function isCallableExpression(expression, allowFactory = false) {
135
+ while (expression?.type === "TSAsExpression" ||
136
+ expression?.type === "TSNonNullExpression" ||
137
+ expression?.type === "TSSatisfiesExpression" ||
138
+ expression?.type === "TSTypeAssertion")
139
+ expression = expression.expression;
140
+ return (expression?.type === "ArrowFunctionExpression" ||
141
+ expression?.type === "FunctionExpression" ||
142
+ (allowFactory && expression?.type === "CallExpression"));
143
+ }
144
+ //# sourceMappingURL=assertFilmCatalogLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assertFilmCatalogLayout.js","sourceRoot":"","sources":["../../src/internal/assertFilmCatalogLayout.ts"],"names":[],"mappings":";;;;;;AAAA,0CAAsC;AACtC,sDAAyB;AACzB,0DAA6B;AAE7B,uDAAoD;AAEpD;;;;;;;;;;GAUG;AACH,iCACE,QAAgB,EAChB,QAAiB;IAEjB,MAAM,OAAO,GAAW,kCAAkC,CAAC;IAC3D,MAAM,MAAM,GAAW,4BAA4B,CAAC;IACpD,MAAM,KAAK,GAAW,wCAAwC,CAAC;IAC/D,MAAM,OAAO,GAAY,IAAA,iCAAe,EAAC,QAAQ,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC;IAChE,MAAM,OAAO,GAAa,iBAAE;SACzB,QAAQ,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;SAC1D,GAAG,CAAC,CAAC,IAAY,EAAU,EAAE,CAAC,mBAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;SACxD,MAAM,CACL,CAAC,IAAY,EAAW,EAAE,CACxB,iBAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,IAAI,CAClE,CAAC;IACJ,IAAI,CAAC,QAAQ,IAAI,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAEhE,MAAM,OAAO,GAAa,EAAE,CAAC;IAC7B,IAAI,CAAC,OAAO,IAAI,CAAC,kBAAkB,CAAC,mBAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QAC/D,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACxB,IAAI,CAAC,IAAA,iCAAe,EAAC,QAAQ,EAAE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