@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
@@ -1,55 +1,173 @@
1
+ import { parse } from "@babel/parser";
1
2
  import fs from "node:fs";
2
3
  import path from "node:path";
3
4
 
4
5
  import { hasMatchingFile } from "./hasMatchingFile";
5
6
 
6
7
  /**
7
- * Check the catalog inputs when a production submits a programmed film or
8
- * scene to composition Evidence. A starter or an isolated catalog can be
9
- * developed before any film exists. The director verifies registration,
10
- * playback and the scope of each case at the handoff.
8
+ * Check the inputs for a separate catalog. An explicit selection always
9
+ * requires its inputs. With composition alone, existing catalog artifacts
10
+ * retain the catalog check. The director verifies registration, playback and
11
+ * the tested conditions at the handoff.
11
12
  *
12
13
  * @param location Absolute production directory.
13
- * @throws Error listing every missing catalog input.
14
- *
15
- * @evidence contracts/development/implementation.md#principled-implementation Production films and scenes trigger the same layout that the scaffold specifies. A catalog case, the catalog film and its acceptance record serve different consumers and are checked together.
16
- * @evidence contracts/development/implementation.md#clear-and-simple-structure A source glob determines applicability, followed by one check for each fixed input and one for the case population.
17
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The generated starter, film registry, catalog and declaration files supply no production performance. File presence establishes only layout, and the director still has to replay the actual cases.
18
- * @evidence contracts/development/implementation.md#efficient-algorithms Two scoped source searches and two fixed file probes run during configuration, outside film evaluation.
19
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each configuration observes current files, including newly added cases.
20
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The synchronous filesystem calls retain no handles or state.
21
- * @evidence contracts/development/common.md#meaningful-documentation Names the submission that opens the check, the starter exception, the failure and the judgment retained by the director.
14
+ * @param required Whether the production selected the catalog explicitly.
15
+ * @returns Whether the production selected the catalog.
16
+ * @throws Error listing the missing film, record or case sources.
22
17
  */
23
- export function assertFilmCatalogLayout(location: string): void {
24
- const scenes: string = "src/composition/scenes";
25
- const films: string = "src/composition/films";
26
- const catalog: string = `${films}/catalog.ts`;
27
- const cases: string = `${scenes}/catalog/**/*.ts`;
28
- const declarations: string = "**/*.d.ts";
29
- if (
30
- !hasMatchingFile(
31
- location,
32
- [`${scenes}/**/*.ts`, `${films}/**/*.ts`],
33
- [
34
- `${scenes}/catalog/**`,
35
- catalog,
36
- `${films}/index.ts`,
37
- `${films}/starter.ts`,
38
- declarations,
39
- ],
40
- )
41
- )
42
- return;
18
+ export function assertFilmCatalogLayout(
19
+ location: string,
20
+ required: boolean,
21
+ ): boolean {
22
+ const catalog: string = "src/composition/films/catalog.ts";
23
+ const record: string = "docs/acceptance/catalog.md";
24
+ const cases: string = "src/composition/scenes/catalog/**/*.ts";
25
+ const hasFilm: boolean = hasMatchingFile(location, catalog, []);
26
+ const sources: string[] = fs
27
+ .globSync(cases, { cwd: location, exclude: ["**/*.d.ts"] })
28
+ .map((file: string): string => path.join(location, file))
29
+ .filter(
30
+ (file: string): boolean =>
31
+ fs.statSync(file, { throwIfNoEntry: false })?.isFile() === true,
32
+ );
33
+ if (!required && !hasFilm && sources.length === 0) return false;
43
34
 
44
- const missing: string[] = [catalog, "docs/acceptance/catalog.md"].filter(
45
- (file: string): boolean =>
46
- !fs
47
- .statSync(path.join(location, file), { throwIfNoEntry: false })
48
- ?.isFile(),
49
- );
50
- if (!hasMatchingFile(location, cases, [declarations])) missing.push(cases);
51
- if (missing.length)
35
+ const missing: string[] = [];
36
+ if (!hasFilm || !hasCatalogFunction(path.join(location, catalog)))
37
+ missing.push(catalog);
38
+ if (!hasMatchingFile(location, record, [])) missing.push(record);
39
+ if (!sources.some(hasCatalogFunction)) missing.push(cases);
40
+ if (missing.length !== 0)
52
41
  throw new Error(
53
- `Film composition requires its review catalog. Missing: ${missing.join(", ")}`,
42
+ `Review catalog is incomplete. Missing: ${missing.join(", ")}`,
54
43
  );
44
+ return true;
45
+ }
46
+
47
+ /** Top-level declarations and publication statements in a catalog module. */
48
+ type CatalogStatement = ReturnType<typeof parse>["program"]["body"][number];
49
+
50
+ /** An expression assigned to a variable or class field. */
51
+ type CatalogExpression = NonNullable<
52
+ Extract<
53
+ CatalogStatement,
54
+ { type: "VariableDeclaration" }
55
+ >["declarations"][number]["init"]
56
+ >;
57
+
58
+ /** Checks the source-owned function surface without executing the production. */
59
+ function hasCatalogFunction(file: string): boolean {
60
+ const source: string = fs.readFileSync(file, "utf8");
61
+ let module: ReturnType<typeof parse>;
62
+ try {
63
+ module = parse(source, {
64
+ sourceType: "module",
65
+ plugins: ["typescript", "decorators-legacy"],
66
+ });
67
+ } catch {
68
+ return false;
69
+ }
70
+ return hasExportedCatalogFunction(module.program.body);
71
+ }
72
+
73
+ /** Finds a callable declaration directly exported or published by local name. */
74
+ function hasExportedCatalogFunction(statements: CatalogStatement[]): boolean {
75
+ const local: Set<string> = new Set();
76
+ const exported: Set<string> = new Set();
77
+ for (const statement of statements) {
78
+ if (statement.type === "ExportNamedDeclaration") {
79
+ if (statement.exportKind === "type" || statement.source) continue;
80
+ if (
81
+ statement.declaration &&
82
+ callableNames(statement.declaration).length !== 0
83
+ )
84
+ return true;
85
+ for (const specifier of statement.specifiers)
86
+ if (
87
+ specifier.type === "ExportSpecifier" &&
88
+ specifier.exportKind !== "type"
89
+ )
90
+ exported.add(specifier.local.name);
91
+ } else if (statement.type === "ExportDefaultDeclaration") {
92
+ const declaration: typeof statement.declaration = statement.declaration;
93
+ if (declaration.type === "Identifier") exported.add(declaration.name);
94
+ else if (
95
+ declaration.type === "FunctionDeclaration" ||
96
+ (declaration.type === "ClassDeclaration" &&
97
+ hasPublicCaseMethod(declaration)) ||
98
+ (declaration.type !== "ClassDeclaration" &&
99
+ declaration.type !== "TSDeclareFunction" &&
100
+ isCallableExpression(declaration))
101
+ )
102
+ return true;
103
+ } else {
104
+ for (const name of callableNames(statement)) local.add(name);
105
+ }
106
+ }
107
+ return [...exported].some((name: string): boolean => local.has(name));
108
+ }
109
+
110
+ /** Returns names with function implementations in a local declaration. */
111
+ function callableNames(statement: CatalogStatement): string[] {
112
+ if (statement.type === "FunctionDeclaration")
113
+ return statement.id ? [statement.id.name] : [];
114
+ if (statement.type === "ClassDeclaration")
115
+ return statement.id && !statement.declare && hasPublicCaseMethod(statement)
116
+ ? [statement.id.name]
117
+ : [];
118
+ if (statement.type === "TSModuleDeclaration")
119
+ return !statement.declare &&
120
+ statement.id.type === "Identifier" &&
121
+ statement.body?.type === "TSModuleBlock" &&
122
+ hasExportedCatalogFunction(statement.body.body)
123
+ ? [statement.id.name]
124
+ : [];
125
+ if (statement.type !== "VariableDeclaration" || statement.kind !== "const")
126
+ return [];
127
+ return statement.declarations.flatMap((binding): string[] =>
128
+ binding.id.type === "Identifier" && isCallableExpression(binding.init)
129
+ ? [binding.id.name]
130
+ : [],
131
+ );
132
+ }
133
+
134
+ /** Recognizes publicly callable methods and function-valued fields. */
135
+ function hasPublicCaseMethod(
136
+ declaration: Extract<CatalogStatement, { type: "ClassDeclaration" }>,
137
+ ): boolean {
138
+ return declaration.body.body.some((member): boolean => {
139
+ if (
140
+ (member.type !== "ClassMethod" && member.type !== "ClassProperty") ||
141
+ member.accessibility === "private" ||
142
+ member.accessibility === "protected"
143
+ )
144
+ return false;
145
+ if (member.type === "ClassMethod") return member.kind === "method";
146
+
147
+ const annotation: typeof member.typeAnnotation = member.typeAnnotation;
148
+ if (annotation?.type !== "TSTypeAnnotation")
149
+ return isCallableExpression(member.value);
150
+ let type: typeof annotation.typeAnnotation = annotation.typeAnnotation;
151
+ while (type.type === "TSParenthesizedType") type = type.typeAnnotation;
152
+ return isCallableExpression(member.value, type.type === "TSFunctionType");
153
+ });
154
+ }
155
+
156
+ /** Looks through type annotations to the attached function expression. */
157
+ function isCallableExpression(
158
+ expression: CatalogExpression | null | undefined,
159
+ allowFactory: boolean = false,
160
+ ): boolean {
161
+ while (
162
+ expression?.type === "TSAsExpression" ||
163
+ expression?.type === "TSNonNullExpression" ||
164
+ expression?.type === "TSSatisfiesExpression" ||
165
+ expression?.type === "TSTypeAssertion"
166
+ )
167
+ expression = expression.expression;
168
+ return (
169
+ expression?.type === "ArrowFunctionExpression" ||
170
+ expression?.type === "FunctionExpression" ||
171
+ (allowFactory && expression?.type === "CallExpression")
172
+ );
55
173
  }
@@ -13,19 +13,11 @@ import { STORY_CONTRACTS } from "./STORY_CONTRACTS";
13
13
  * `docs/contracts/{work,language}`. Their duties are admitted only when their
14
14
  * files exist where they now belong, so a production left in the old layout
15
15
  * would silently lose every language and work duty instead of failing. Either
16
- * legacy directory therefore stops configuration, and the error names each
17
- * one with its new home. Nothing is read from the old location.
16
+ * legacy directory therefore stops configuration, and the error names each one
17
+ * with its new home. Nothing is read from the old location.
18
18
  *
19
19
  * @param location Absolute production directory; read, not retained.
20
20
  * @throws Error naming every legacy directory found and where it moves.
21
- *
22
- * @evidence contracts/development/implementation.md#principled-implementation Directory existence under the production location is the exact signal of the retired layout, because the old tree held only production-owned families; `fs.existsSync` follows the installed filesystem, and the message is built from the same layout constants the factories use.
23
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One guard owns the migration refusal, called by createEvidenceConfig and by the narrative source assertion, so neither the configuration entry nor any contract factory carries legacy knowledge.
24
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The guard refuses rather than falls back: no reference, probe or root reads the old location, and every legacy family found is reported in one error instead of the first alone.
25
- * @evidence contracts/development/implementation.md#efficient-algorithms Two existence probes and a message linear in the found directories.
26
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each configuration build observes the filesystem anew; caching would hide a migration made between builds.
27
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Synchronous probes leave no handle, task or retained state.
28
- * @evidence contracts/development/common.md#meaningful-documentation States the move, why a stale layout must fail loudly, that nothing is read from the old location, and the parameter and failure.
29
21
  */
30
22
  export function assertProductionContractLayout(location: string): void {
31
23
  const moves: string[] = (["work", "language"] as const)
@@ -12,14 +12,6 @@ import path from "node:path";
12
12
  * @param location Absolute production directory holding `evidence.config.ts`.
13
13
  * @param directory Absolute directory the root must reach.
14
14
  * @returns The `/`-separated relative root, or `.` for the production itself.
15
- *
16
- * @evidence contracts/development/implementation.md#principled-implementation `path.relative` between two absolute directories gives the path native Evidence resolves back against the configuration directory; replacing `\` with `/` keeps Windows output portable. Directories on different Windows drives have no relative path, and Node then returns the absolute target, which passes through unchanged.
17
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One function owns the location-to-root rule for the engineering defaults and both story contract owners, instead of repeating the relative-and-normalize steps at each reference.
18
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No root is special-cased; an empty relative path becomes `.` because an empty root names no directory.
19
- * @evidence contracts/development/implementation.md#efficient-algorithms One relative-path computation and one replacement, linear in the path lengths.
20
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A pure path computation coordinates no work across requests.
21
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Only the returned string outlives the call.
22
- * @evidence contracts/development/common.md#meaningful-documentation States how native Evidence resolves the result, the portable separators, the parameters and the `.` result.
23
15
  */
24
16
  export function createReferenceRoot(
25
17
  location: string,
@@ -2,16 +2,8 @@ import fs from "node:fs";
2
2
  import path from "node:path";
3
3
 
4
4
  /**
5
- * Returns whether a glob selects a regular file under the production root.
6
- * A link to a file counts. A directory with a source extension does not.
7
- *
8
- * @evidence contracts/development/implementation.md#principled-implementation The glob resolves includes and exclusions against the same root used to stat its matches. Stat follows file links.
9
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One predicate serves case, film and study discovery.
10
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A matching path counts only when its current target is a file.
11
- * @evidence contracts/development/implementation.md#efficient-algorithms Only matching paths are probed, stopping at the first file.
12
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each configuration needs the current source tree.
13
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The synchronous search keeps no handles or cached results.
14
- * @evidence contracts/development/common.md#meaningful-documentation Specifies the root and how matching directories and links are treated.
5
+ * Returns whether a glob selects a regular file under the production root. A
6
+ * link to a file counts. A directory with a source extension does not.
15
7
  */
16
8
  export function hasMatchingFile(
17
9
  cwd: string,
@@ -11,4 +11,4 @@ export * from "../createDevelopmentContractClaims";
11
11
  export * from "../createEngineeringClaims";
12
12
  export * from "../createResearchClaims";
13
13
  export * from "../narrative";
14
- export * from "../narrative/internal";
14
+ export * from "../narrative/internal";
@@ -11,16 +11,9 @@ import { SKILLS_ROOT } from "./SKILLS_ROOT";
11
11
  * the working directory, so a workspace production can write
12
12
  * `"../../../.agents/skills"` and get the same tree from any process.
13
13
  *
14
- * @param contracts The production location and optional shared tree; read, not retained.
14
+ * @param contracts The production location and optional shared tree; read, not
15
+ * retained.
15
16
  * @returns The absolute shared skills directory.
16
- *
17
- * @evidence contracts/development/implementation.md#principled-implementation Node's `path.resolve` anchors a relative value at the absolute production location, and `path.join` builds the default from the scaffold's `.agents/skills` layout.
18
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One function owns both the default and the resolution rule, so the configuration entry, the narrative assertion and every shared contract lookup agree on the shared tree.
19
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A relative value is resolved against the production, never the working directory; no workspace layout is inferred from the filesystem.
20
- * @evidence contracts/development/implementation.md#efficient-algorithms One path resolution or join, linear in the path length.
21
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A pure path computation coordinates no work across requests.
22
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Only the returned string outlives the call.
23
- * @evidence contracts/development/common.md#meaningful-documentation States the standalone default, how a relative value resolves, and the parameter and result.
24
17
  */
25
18
  export function resolveSkillsDirectory(contracts: IContractLocation): string {
26
19
  if (contracts.skills === undefined)
@@ -1,14 +1,10 @@
1
1
  import type { NarrativeLayer } from "./NarrativeLayer";
2
2
 
3
3
  /**
4
- * Names every authored layer: the canon the narrative layers inherit and the narrative layers themselves.
4
+ * Names every authored layer: the canon the narrative layers inherit and the
5
+ * narrative layers themselves.
5
6
  *
6
7
  * Settings is the long route's canon and brief the short route's; each is a
7
8
  * source layer with no parent of its own.
8
- *
9
- * @evidence contracts/development/design.md#principled-representation The union adds the two canon layers, long-route settings and short-route brief, to the three narrative layers, so dependency keys identify both the documentary parent and its adaptations.
10
- * @evidence contracts/development/design.md#minimal-and-owned-surface Extending NarrativeLayer with the canon literals lets common dependency keys include canon without a separate parallel key type.
11
- * @evidence contracts/development/design.md#prohibited-design-shortcuts Only the five supported layer literals are admitted; this alias supplies no runtime branch or ownership inference.
12
- * @evidence contracts/development/common.md#meaningful-documentation The comment distinguishes the two canon layers, their routes and the inherited narrative layers.
13
9
  */
14
10
  export type AuthoredLayer = "settings" | "brief" | NarrativeLayer;
@@ -7,11 +7,6 @@
7
7
  * leaving delimiters, inter-section blank lines, and the other declaration
8
8
  * family protected. `fingerprints` owns only the structural hash token in a
9
9
  * review header, never an identical token in its target or reason.
10
- *
11
- * @evidence contracts/development/design.md#principled-representation A closed union limits mutations to comments, acknowledgements, reviews or fingerprint tokens.
12
- * @evidence contracts/development/design.md#minimal-and-owned-surface This vocabulary is shared by runtime validation and projection.
13
- * @evidence contracts/development/design.md#prohibited-design-shortcuts These alternatives are structural protocol regions, not consumer exceptions.
14
- * @evidence contracts/development/common.md#meaningful-documentation The comment defines delimiters, reasons and surrounding bytes protected for each ownership.
15
10
  */
16
11
  export type EvidenceMetadataRewriteOwnership =
17
12
  | "comments"
@@ -1,11 +1,4 @@
1
- /**
2
- * One human-readable sample taken from metadata after a bulk rewrite.
3
- *
4
- * @evidence contracts/development/design.md#principled-representation A record identifies exact declaration text by normalized path, one-based line, language and confirmer.
5
- * @evidence contracts/development/design.md#minimal-and-owned-surface Explicit audit data can be matched against parsed candidate declarations.
6
- * @evidence contracts/development/design.md#prohibited-design-shortcuts This record does not independently prove a render was viewed; validation checks identity and text consistency.
7
- * @evidence contracts/development/common.md#meaningful-documentation Properties define normalization, source-line units, excluded delimiters and confirmer identity.
8
- */
1
+ /** One human-readable sample taken from metadata after a bulk rewrite. */
9
2
  export interface IEvidenceMetadataRenderedSample {
10
3
  /** Slash-normalized protected path containing the sampled declaration. */
11
4
  file: string;
@@ -1,11 +1,4 @@
1
- /**
2
- * One protected file proven unchanged outside structural evidence comments.
3
- *
4
- * @evidence contracts/development/design.md#principled-representation A result pairs a selected path with metadata change status and protected-projection SHA-256.
5
- * @evidence contracts/development/design.md#minimal-and-owned-surface File evidence is exposed without returning complete retained projections.
6
- * @evidence contracts/development/design.md#prohibited-design-shortcuts The hash describes protected bytes for the selected ownership rather than literary approval.
7
- * @evidence contracts/development/common.md#meaningful-documentation Properties define path roots, structural metadata change and the hashed representation.
8
- */
1
+ /** One protected file proven unchanged outside structural evidence comments. */
9
2
  export interface IEvidenceMetadataRewriteFile {
10
3
  /** Slash-normalized path relative to both compared roots. */
11
4
  file: string;
@@ -1,14 +1,7 @@
1
1
  import type { EvidenceMetadataRewriteOwnership } from "./EvidenceMetadataRewriteOwnership";
2
2
  import type { IEvidenceMetadataRenderedSample } from "./IEvidenceMetadataRenderedSample";
3
3
 
4
- /**
5
- * Selects the two trees and exact Markdown population of a metadata rewrite.
6
- *
7
- * @evidence contracts/development/design.md#principled-representation One record selects original and candidate roots, ownership and optional paths and sample.
8
- * @evidence contracts/development/design.md#minimal-and-owned-surface The request groups one comparison boundary without positional coupling.
9
- * @evidence contracts/development/design.md#prohibited-design-shortcuts Optional population and bulk fields express supported operations without waiving byte protection.
10
- * @evidence contracts/development/common.md#meaningful-documentation Properties state root roles, omitted-files union semantics and bulk sample requirements.
11
- */
4
+ /** Selects the two trees and exact Markdown population of a metadata rewrite. */
12
5
  export interface IEvidenceMetadataRewriteProps {
13
6
  /** Immutable tree containing the bytes before the scoped operation. */
14
7
  beforeRoot: string;
@@ -2,14 +2,7 @@ import type { EvidenceMetadataRewriteOwnership } from "./EvidenceMetadataRewrite
2
2
  import type { IEvidenceMetadataRenderedSample } from "./IEvidenceMetadataRenderedSample";
3
3
  import type { IEvidenceMetadataRewriteFile } from "./IEvidenceMetadataRewriteFile";
4
4
 
5
- /**
6
- * Reproducible result of one successful evidence-metadata rewrite check.
7
- *
8
- * @evidence contracts/development/design.md#principled-representation A successful result carries ownership, bulk state, sorted file results and a validated optional sample.
9
- * @evidence contracts/development/design.md#minimal-and-owned-surface The report separates comparison evidence from the input request.
10
- * @evidence contracts/development/design.md#prohibited-design-shortcuts The coordinator creates this report only after diagnostics are empty.
11
- * @evidence contracts/development/common.md#meaningful-documentation Properties identify sorted coverage and when sample data is included.
12
- */
5
+ /** Reproducible result of one successful evidence-metadata rewrite check. */
13
6
  export interface IEvidenceMetadataRewriteReport {
14
7
  /** Exact mutable metadata region this report proved. */
15
8
  ownership: EvidenceMetadataRewriteOwnership;
@@ -7,13 +7,8 @@ import type { ProductionStage } from "./ProductionStage";
7
7
  *
8
8
  * A work owns contracts the shared config cannot state for it: a scale target,
9
9
  * a language-specific text floor, an episode-end standard. Each is a checklist
10
- * its selected hosts answer item by item, and the wiring is the same every
11
- * time — only the document, the hosts, and when the claim is off differ.
12
- *
13
- * @evidence contracts/development/design.md#principled-representation The object groups work-contract paths, addressed inside the production's `docs/contracts`, host selectors, explicit symbol granularity and activation flags for createPackageChecklistClaim; the checklist default is documented on its member.
14
- * @evidence contracts/development/design.md#minimal-and-owned-surface One object owns document selection, host granularity and activation so createPackageChecklistClaim validates the relationship together.
15
- * @evidence contracts/development/design.md#prohibited-design-shortcuts Exact work paths and symbol validity are enforced by createPackageChecklistClaim rather than hidden type-level assumptions.
16
- * @evidence contracts/development/common.md#meaningful-documentation Members explain document-relative addressing, body-relative hosts, required host granularity, the checklist default and optional deferral.
10
+ * its selected hosts answer item by item, and the wiring is the same every time
11
+ * — only the document, the hosts, and when the claim is off differ.
17
12
  */
18
13
  export interface IPackageChecklistClaimProps {
19
14
  /** Names the claim in diagnostics. State what the hosts must reach. */
@@ -4,14 +4,7 @@ import type { AuthoredLayer } from "./AuthoredLayer";
4
4
  import type { NarrativeScope } from "./NarrativeScope";
5
5
  import type { ProductionStage } from "./ProductionStage";
6
6
 
7
- /**
8
- * Describes one contract this work adopted, and the layers that answer it.
9
- *
10
- * @evidence contracts/development/design.md#principled-representation The object groups one adopted document set with owning layer stages; explicit symbol/checklist options preserve the distinction between per-unit and distributed duties.
11
- * @evidence contracts/development/design.md#minimal-and-owned-surface A document set and layer-stage map avoid repeated per-layer declarations while retaining explicit host/checklist granularity.
12
- * @evidence contracts/development/design.md#prohibited-design-shortcuts createPackageContract validates owning layers and delegates path/host constraints; the type suppresses no evidence.
13
- * @evidence contracts/development/common.md#meaningful-documentation Members state citation paths, layer ownership, defaults, pilot scope and per-host versus distributed answering.
14
- */
7
+ /** Describes one contract this work adopted, and the layers that answer it. */
15
8
  export interface IPackageContractProps {
16
9
  /**
17
10
  * Names the contract as its hosts cite it, such as
@@ -50,9 +43,9 @@ export interface IPackageContractProps {
50
43
  * Chooses whether every selected host answers every target independently.
51
44
  *
52
45
  * Keep `false` for an ordinary distributed relationship whose actual hosts
53
- * cover the targets between them. A whole-population comparison instead
54
- * uses `createPackagePopulationContract`, which the layer's documents answer
55
- * once at file level.
46
+ * cover the targets between them. A whole-population comparison instead uses
47
+ * `createPackagePopulationContract`, which the layer's documents answer once
48
+ * at file level.
56
49
  *
57
50
  * @default true
58
51
  */
@@ -2,14 +2,7 @@ import type { AuthoredLayer } from "./AuthoredLayer";
2
2
  import type { NarrativeScope } from "./NarrativeScope";
3
3
  import type { ProductionStage } from "./ProductionStage";
4
4
 
5
- /**
6
- * Describes one work-specific duty answered once per complete layer.
7
- *
8
- * @evidence contracts/development/design.md#principled-representation The object represents one exact work obligation document and its owning populations, with pilot-only deferral separate from pass activation.
9
- * @evidence contracts/development/design.md#minimal-and-owned-surface One duty document and layer-stage map express once-per-layer obligations separately from per-H2 checklists.
10
- * @evidence contracts/development/design.md#prohibited-design-shortcuts createPackagePopulationContract enforces exact obligation paths and pilot-only deferral; the interface adds no bypass.
11
- * @evidence contracts/development/common.md#meaningful-documentation Members state tracked obligation addressing, complete-population ownership and pilot-only deferral.
12
- */
5
+ /** Describes one work-specific duty answered once per complete layer. */
13
6
  export interface IPackagePopulationContractProps {
14
7
  /** One tracked work-contract document containing population H2 duties. */
15
8
  document: string;
@@ -3,16 +3,12 @@ import type { IEvidenceClaim } from "@wrtnlabs/evidence";
3
3
  import type { IProductionConstruction } from "./IProductionConstruction";
4
4
  import type { NarrativeScope } from "./NarrativeScope";
5
5
 
6
- /**
7
- * Selects narrative claim families, their stages and additional native claims.
8
- *
9
- * @evidence contracts/development/design.md#principled-representation The route, absolute location, optional absolute shared skills tree, authored scope and construction stages select native narrative respondents; extra claims and engineering support remain ordinary native claims.
10
- * @evidence contracts/development/design.md#minimal-and-owned-surface One configuration object groups the options needed by the shared claim collector.
11
- * @evidence contracts/development/design.md#prohibited-design-shortcuts Stages select structural evidence and never certify creative completion; native Evidence evaluates the resulting graph.
12
- * @evidence contracts/development/common.md#meaningful-documentation Members explain route, location, the shared skills tree and its default, scope, stages and additive claims; the production owns independent creative review.
13
- */
6
+ /** Selects narrative claim families, their stages and additional native claims. */
14
7
  export interface IProductionConfigProps {
15
- /** Chooses four-layer long work, short brief plus screenplay, or standalone assets. */
8
+ /**
9
+ * Chooses four-layer long work, short brief plus screenplay, or standalone
10
+ * assets.
11
+ */
16
12
  mode: "long" | "short" | "asset";
17
13
 
18
14
  /** Engineering duties participate globally without a narrative parent. */
@@ -30,8 +26,8 @@ export interface IProductionConfigProps {
30
26
  *
31
27
  * Use its absolute directory. A workspace passes its root tree, so the shared
32
28
  * story contracts resolve there, while the production's own `work` and
33
- * `language` contracts always stay under `<location>/docs/contracts`. Omit it for a
34
- * standalone production, whose shared contracts sit under its own
29
+ * `language` contracts always stay under `<location>/docs/contracts`. Omit it
30
+ * for a standalone production, whose shared contracts sit under its own
35
31
  * `.agents/skills`.
36
32
  *
37
33
  * @default path.join(location, ".agents", "skills")
@@ -1,13 +1,6 @@
1
1
  import type { ProductionStage } from "./ProductionStage";
2
2
 
3
- /**
4
- * Selects each layer's construction stage and its native parent references.
5
- *
6
- * @evidence contracts/development/design.md#principled-representation The stage object selects route-specific construction claims and a long-route outline override; native references carry the actual parents, while independent review judges their completion.
7
- * @evidence contracts/development/design.md#minimal-and-owned-surface Scalar layer stages and the optional outline override express the actual construction chain without an alternate scripts edition.
8
- * @evidence contracts/development/design.md#prohibited-design-shortcuts Runtime source validation rejects invalid stages and unsupported tuples rather than treating the interface as proof of validity.
9
- * @evidence contracts/development/common.md#meaningful-documentation Members define the long-route outline fallback, the optional short-route brief and actual screenplay prerequisites for all three narrative routes.
10
- */
3
+ /** Selects each layer's construction stage and its native parent references. */
11
4
  export interface IProductionConstruction {
12
5
  /**
13
6
  * Sets the long-route settings outline document's own construction stage.
@@ -48,8 +41,8 @@ export interface IProductionConstruction {
48
41
  * Sets the screenplay construction stage.
49
42
  *
50
43
  * Requires approved scripts and treatments construction in long productions.
51
- * Short productions require approved brief construction, and compact
52
- * short productions approved settings construction.
44
+ * Short productions require approved brief construction, and compact short
45
+ * productions approved settings construction.
53
46
  */
54
47
  screenplay: ProductionStage;
55
48
  }
@@ -2,13 +2,8 @@
2
2
  * Names the authored narrative layers, in pipeline order.
3
3
  *
4
4
  * `treatments` fixes what happens as one flat ordered sequence of event units,
5
- * grouped by nothing and partitioned for no reader. `scripts` designs
6
- * the part and episode partition, scene progression and draft exchanges.
7
- * `screenplay` authors the final action, dialogue, sound and edit from those decisions.
8
- *
9
- * @evidence contracts/development/design.md#principled-representation The closed union names flat treatments, partitioned scripts and final screenplay, retaining their distinct authoring responsibilities.
10
- * @evidence contracts/development/design.md#minimal-and-owned-surface Three literals keep treatments, scripts and final screenplay distinct without another runtime hierarchy.
11
- * @evidence contracts/development/design.md#prohibited-design-shortcuts Each literal names an actual authoring layer; no consumer exception or fabricated release partition is admitted.
12
- * @evidence contracts/development/common.md#meaningful-documentation The prose distinguishes flat events, scripts-designed partitions and final visible action/dialogue/sound/edit intent.
5
+ * grouped by nothing and partitioned for no reader. `scripts` designs the part
6
+ * and episode partition, scene progression and draft exchanges. `screenplay`
7
+ * authors the final action, dialogue, sound and edit from those decisions.
13
8
  */
14
9
  export type NarrativeLayer = "treatments" | "scripts" | "screenplay";
@@ -5,13 +5,8 @@
5
5
  * axes. `treatments` is a flat sequence of event units and never partitions the
6
6
  * work for release, so nothing selects it: during a pilot the layer holds only
7
7
  * the pilot's events, and after the complete-work reset it holds every event.
8
- * `scripts` and `screenplay` carry the part and episode partition that `scripts`
9
- * designs, so a pilot names the one part it authors.
10
- *
11
- * @evidence contracts/development/design.md#principled-representation The discriminated union selects all authored parts or one explicitly named first part; flat treatments retain the events currently authored rather than a fictitious release partition.
12
- * @evidence contracts/development/design.md#minimal-and-owned-surface The discriminant selects full work or one exact first part while leaving treatments unpartitioned.
13
- * @evidence contracts/development/design.md#prohibited-design-shortcuts The template literal fixes only the 001 prefix; createNarrativeUnitFiles validates the remaining lower-kebab spelling.
14
- * @evidence contracts/development/common.md#meaningful-documentation The prose explains separate narrative axes, pilot treatments content and exact named script/screenplay part.
8
+ * `scripts` and `screenplay` carry the part and episode partition that
9
+ * `scripts` designs, so a pilot names the one part it authors.
15
10
  */
16
11
  export type NarrativeScope =
17
12
  | {
@@ -1,9 +1,5 @@
1
1
  /**
2
- * Authoring stages select claims; independent readers decide creative completion.
3
- *
4
- * @evidence contracts/development/design.md#principled-representation The two literal stages express enabled structural evidence versus disabled duties, leaving completion to independent review.
5
- * @evidence contracts/development/design.md#minimal-and-owned-surface The two literals express participation without mixing authoring status and approval.
6
- * @evidence contracts/development/design.md#prohibited-design-shortcuts Disabled is declared configuration rather than a diagnostic fallback; independent readers own completion.
7
- * @evidence contracts/development/common.md#meaningful-documentation The comment distinguishes claim selection from independent creative completion.
2
+ * Authoring stages select claims; independent readers decide creative
3
+ * completion.
8
4
  */
9
5
  export type ProductionStage = "disabled" | "evidence";
@@ -1,19 +1,12 @@
1
1
  import { SETTINGS_DOMAINS } from "./internal/SETTINGS_DOMAINS";
2
2
 
3
3
  /**
4
- * Selects a short's brief canon: the scaffold's domain folders under `docs/body/brief`.
4
+ * Selects a short's brief canon: the scaffold's domain folders under
5
+ * `docs/body/brief`.
5
6
  *
6
- * The brief keeps the settings domain layout, `brief/<domain>/<subject>.md`,
7
- * so the same reader, which refuses mixed layouts, and the same citations
8
- * serve both canon layers.
9
- *
10
- * @evidence contracts/development/implementation.md#principled-implementation One glob per scaffold domain admits the brief's canon, sharing SETTINGS_DOMAINS with the settings selector and reader so the layouts cannot drift; no top-level glob is admitted because the reader refuses a mixed layout.
11
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The selector only describes the brief population; the shared reader owns concrete ordering and layout checks.
12
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Only the declared domain folders are admitted; arbitrary nesting is not.
13
- * @evidence contracts/development/common.md#meaningful-documentation The comment states the brief root, its domain layout and why it matches settings.
14
- * @evidence contracts/development/implementation.md#efficient-algorithms The result has one entry per domain, built in time linear in the fixed domain list.
15
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each caller receives a separate array; the trivial allocation coordinates no reusable work or mutable shared selection.
16
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The returned array is bounded by the fixed domain list and the function retains no per-call state.
7
+ * The brief keeps the settings domain layout, `brief/<domain>/<subject>.md`, so
8
+ * the same reader, which refuses mixed layouts, and the same citations serve
9
+ * both canon layers.
17
10
  */
18
11
  export function createBriefFiles(): string[] {
19
12
  return SETTINGS_DOMAINS.map(
@@ -16,14 +16,6 @@ import type { NarrativeScope } from "./NarrativeScope";
16
16
  * misplaced scene file owe their answers instead of silently losing them.
17
17
  *
18
18
  * The selector is relative to the body root.
19
- *
20
- * @evidence contracts/development/implementation.md#principled-implementation Layer-specific globs select flat numbered treatments, episode files of scripts, and screenplay scene files in a short's film folder or long work's episode folders, narrowing scripts and screenplay to an exact first part for a pilot.
21
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The selector owns only relative narrative population paths; callers add the body root.
22
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Short film folders and numbered long partitions are supported production layouts; no file or production name controls selection, and first-part pilots remain confined to their exact directory.
23
- * @evidence contracts/development/common.md#meaningful-documentation The prose states each layer's partition, the scene-file screenplay layout, pilot behavior and root relativity.
24
- * @evidence contracts/development/implementation.md#efficient-algorithms Complete-work returns one or two fixed-size globs; pilot validation and interpolation take time and output space proportional to the selected part string length.
25
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work This selector builds one result from supplied values and coordinates no cross-request work; independent arrays avoid shared mutable selector state.
26
- * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Only the returned small selector array survives the call; no descriptor, task or module cache is acquired.
27
19
  */
28
20
  export function createNarrativeUnitFiles(props: {
29
21
  /** The narrative layer whose unit files are selected. */