@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
package/README.md CHANGED
@@ -1,100 +1,15 @@
1
1
  # @automovie/evidence
2
2
 
3
- Configures the evidence check of an AutoMovie production. A production's `evidence.config.ts` calls `createEvidenceConfig`, and `@wrtnlabs/evidence` then checks that the production's code, and its writing once `narrative` is set, answers the checklists in its contracts. A production created by `automovie create` already has this package and a working configuration.
3
+ Configure the checklist checks run by `@wrtnlabs/evidence` for an AutoMovie production. A production created by the CLI already has this package and its configuration.
4
4
 
5
- ## Configure
5
+ ## Start
6
6
 
7
- To add the package to a project made another way, run `npm install --save-dev @automovie/evidence @wrtnlabs/evidence` and place the checklists it reads under `.agents/skills`. The package needs Node.js 22.23.2 or later.
7
+ Use Node.js 22.23.2 or later. If you are adding the checks to an existing project, install the packages and the matching scaffold contracts.
8
8
 
9
- ```ts
10
- import { createEvidenceConfig } from "@automovie/evidence";
11
-
12
- export default createEvidenceConfig({ location: import.meta.dirname });
13
- ```
14
-
15
- `location` is the production's absolute directory. With nothing else set, these engineering defaults apply, and the narrative checks are off:
16
-
17
- | Declarations | Answer |
18
- | --- | --- |
19
- | Exported types, interfaces and classes under `src/**/*.ts` | `contracts/development/design.md` |
20
- | Exported functions and class methods under `src/**/*.ts` | `contracts/development/implementation.md` |
21
- | Exported test functions under `test/**/test_*.ts` | `contracts/development/testing.md` |
22
- | All of the above | `contracts/development/common.md` |
23
-
24
- A declaration answers a checklist in its doc comment, with one `@evidence <checklist>#<item>` tag per item followed by the answer.
25
-
26
- The bundled contracts are read from `<location>/.agents/skills`. A production inside a pnpm workspace, where the root holds the one shared skills tree, names that tree, absolute or relative to `location`:
27
-
28
- ```ts
29
- import { createEvidenceConfig } from "@automovie/evidence";
30
-
31
- export default createEvidenceConfig({
32
- location: import.meta.dirname,
33
- skills: "../../../.agents/skills",
34
- });
35
- ```
36
-
37
- The production's own contracts, `work/**` and `language/**`, hold the questions specific to that work and to its language, and live under `<location>/docs/contracts` in either layout.
38
-
39
- ### Narrative
40
-
41
- Add `narrative` when the production writes a screenplay:
42
-
43
- ```ts
44
- export default createEvidenceConfig({
45
- location: import.meta.dirname,
46
- narrative: {
47
- mode: "short",
48
- construction: { brief: "evidence", screenplay: "evidence" },
49
- },
50
- });
51
- ```
52
-
53
- `construction` checks how each layer is built from the one before it. Setting a layer to `"evidence"` turns its check on, and setting a finished layer back to `"disabled"` leaves the layers still running unaffected.
54
-
55
- `short` is a brief under `docs/body/brief` followed by the screenplay, and `long`, the mode of a series, has four layers: settings, treatments, scripts and screenplay. A layer you leave out stays a disabled draft. The checks cover the complete work unless `scope` names the first part that a pilot covers.
56
-
57
- The screenplay is one folder per film with one file per scene: `docs/body/screenplay/<film>/NNN-<scene>.md` for a short, and `docs/body/screenplay/NNN-part/NNN-episode/NNN-<scene>.md` for a series, where each scene file realizes one scene of its episode's script. Both depths are selected on either route.
58
-
59
- `none` checks no narrative layer, for a screenplay no narrative pass writes, and takes no `construction` or `scope`.
60
-
61
- ### Research and development contracts
62
-
63
- Add `research` to hold each study in `docs/research/` to the research contract, and `development` when it builds the film's entities, behaviors and scenes in code:
64
-
65
- ```ts
66
- export default createEvidenceConfig({
67
- location: import.meta.dirname,
68
- research: "evidence",
69
- development: {
70
- entities: "evidence",
71
- behaviors: "evidence",
72
- composition: "evidence",
73
- },
74
- });
75
- ```
76
-
77
- | Option | Checks | Against |
78
- | --- | --- | --- |
79
- | `research` | Each study in `docs/research/` | `contracts/story/shared/principles/research.md` |
80
- | `development.entities` | Exports under `src/entities/` | `contracts/development/entities.md` |
81
- | `development.behaviors` | Exports under `src/laws/`, `src/interactions/` and `src/consequences/` | `contracts/development/behaviors.md` |
82
- | `development.composition` | Exports under `src/composition/` | `contracts/development/composition.md`, citing the screenplay scene files, sections and beats they realize |
83
-
84
- Every screenplay section and beat must be realized by some scene, and every scene file by the film that orders it. Under `narrative: { mode: "none" }` with `development.composition`, every section of `docs/instructions/` must be realized by some composition or entity too, with no exclusion, because no narrative layer cites them. An option you leave out stays disabled.
85
-
86
- ### Your own claims
87
-
88
- A claim binds a set of declarations to the checklist they answer. Top-level `claims` adds claims to the engineering defaults, and `narrative.claims` adds claims to the ones `narrative` configures. Both take `IEvidenceClaim[]` from `@wrtnlabs/evidence`.
89
-
90
- `createEvidenceConfig` is the package's only entry. The `@automovie/evidence/internal` subpath serves this repository's own tests and tools and promises no stability.
91
-
92
- ## Run
93
-
94
- ```bash
95
- npm run evidence
9
+ ```powershell
10
+ npm install --save-dev @automovie/evidence @wrtnlabs/evidence
96
11
  ```
97
12
 
98
- The exit code is 0 for a complete analysis without errors, 1 for violations and 2 for an invalid configuration or incomplete analysis. `npx evidence list` prints the configured targets, `npx evidence inspect <target>` explains one, and `npm run evidence -- --only <targets...>`, optionally with `--shallow`, checks only those targets. The [`@wrtnlabs/evidence` documentation](https://github.com/wrtnlabs/evidence#readme) covers addresses, annotations and fingerprints.
13
+ Use `createEvidenceConfig` in `evidence.config.ts`. Set `location` to the production directory and `skills` to the shared skills directory when the production is in a workspace. Enable the checks that match the work you are doing.
99
14
 
100
- A passing check means the checklists were answered. Whether the writing and the delivered video are good is still decided in review.
15
+ In a generated production, run `pnpm run evidence`. For configuration and target selection, see the [scaffold guide](https://github.com/samchon/automovie/blob/master/packages/template/scaffold/instructions/.agents/skills/evidence/configuration.md) and [Evidence documentation](https://github.com/wrtnlabs/evidence#readme).
@@ -2,38 +2,44 @@
2
2
  * Production-specific development contracts a commissioned film turns on.
3
3
  *
4
4
  * Each stage selects the exported declarations of its source folders against
5
- * one checklist under `contracts/development/` of the shared skills tree, answered in
6
- * their doc comments: entities in `src/entities/` answer `entities.md`, laws,
7
- * interactions and consequences in `src/laws/`, `src/interactions/` and
8
- * `src/consequences/` answer `behaviors.md`, a law naming the study it
9
- * follows in its answer, and scenes and films in `src/composition/` answer `composition.md`, scenes
10
- * citing the screenplay scene file or the sections and beats of it they
11
- * realize and films citing the scene files they order. An omitted stage stays
12
- * `"disabled"`, so ordinary coding and narrative-only work owe none of them.
13
- *
14
- * @evidence contracts/development/design.md#principled-representation One stage per contract mirrors the scaffold's development contracts, so a commission enables exactly the duties its code can establish.
15
- * @evidence contracts/development/design.md#minimal-and-owned-surface Three optional fields with the narrative stage vocabulary; folders, populations and references belong to the claim factory.
16
- * @evidence contracts/development/design.md#prohibited-design-shortcuts No stage is implied by file presence; an absent field is disabled.
17
- * @evidence contracts/development/common.md#meaningful-documentation The comment names each stage's respondents, the scene and film citations and the disabled default.
5
+ * checklists under `contracts/development/` of the shared skills tree, answered
6
+ * in their doc comments: entities in `src/entities/` answer `entities.md`,
7
+ * laws, interactions and consequences in `src/laws/`, `src/interactions/` and
8
+ * `src/consequences/` answer `behaviors.md`, a law naming the study it follows
9
+ * in its answer, scenes in `src/composition/` answer `composition.md`, citing
10
+ * the screenplay scene file or the sections and beats of it they realize,
11
+ * screenplay films answer `films.md`, citing the scene files they order, and a
12
+ * separately selected catalog answers `catalog.md`. Ordinary coding and
13
+ * narrative-only work leave development stages disabled.
18
14
  */
19
15
  export interface IAutoMovieDevelopmentProps {
20
16
  /**
21
17
  * Types, classes, functions and methods under `src/entities/` answer
22
- * `contracts/development/entities.md`.
18
+ * `contracts/development/entities.md`. Submitting entities or composition on
19
+ * a narrative route also connects entity types to its subject records.
23
20
  */
24
21
  entities?: "disabled" | "evidence";
25
22
  /**
26
23
  * Functions and methods under `src/laws/`, `src/interactions/` and
27
- * `src/consequences/` answer `contracts/development/behaviors.md`. A law
28
- * names the study it follows in its answer; no study citation is required.
24
+ * `src/consequences/` answer `contracts/development/behaviors.md`. Cite a
25
+ * skilled behavior's study passage in its studied laws answer.
29
26
  */
30
27
  behaviors?: "disabled" | "evidence";
31
28
  /**
32
29
  * Functions and methods under `src/composition/scenes/` answer
33
- * `contracts/development/composition.md` and cite a screenplay scene file
34
- * or its sections and beats, every section and beat of which must be cited;
35
- * those under `src/composition/films/` answer it and cite the scene files
36
- * they order, every one of which must belong to a film.
30
+ * `contracts/development/composition.md` and cite a screenplay scene file or
31
+ * its sections and beats, every section and beat of which must be cited;
32
+ * those under `src/composition/films/` answer
33
+ * `contracts/development/films.md` and cite the scene files they order, every
34
+ * one of which must belong to a film. Catalog files have their own contract.
37
35
  */
38
36
  composition?: "disabled" | "evidence";
37
+ /**
38
+ * Case functions and the catalog film answer
39
+ * `contracts/development/catalog.md`. The stage requires case sources, the
40
+ * catalog film and its acceptance record. Omission keeps an existing catalog
41
+ * selected under composition Evidence. Use `"disabled"` to clear that
42
+ * selection explicitly.
43
+ */
44
+ catalog?: "disabled" | "evidence";
39
45
  }
@@ -2,14 +2,7 @@ import type { IEvidenceClaim } from "@wrtnlabs/evidence";
2
2
  import type { IAutoMovieDevelopmentProps } from "./IAutoMovieDevelopmentProps";
3
3
  import type { IAutoMovieNarrativeProps } from "./IAutoMovieNarrativeProps";
4
4
  import type { IAutoMovieNoNarrativeProps } from "./IAutoMovieNoNarrativeProps";
5
- /**
6
- * Configures a project's engineering evidence and optional narrative workflow.
7
- *
8
- * @evidence contracts/development/design.md#principled-representation The absolute project location anchors the production's own contracts and an optional skills directory, absolute or relative to that location, anchors the bundled shared ones; native claims configure engineering while an explicit narrative route adds creative relationships and independent-review structure, and mode none adds only the instruction-to-code relation.
9
- * @evidence contracts/development/design.md#minimal-and-owned-surface One object contains the two contract locations, native engineering claims and optional narrative choices, a route with disabled stage defaults or none.
10
- * @evidence contracts/development/design.md#prohibited-design-shortcuts No narrative mode is inferred from existing files or imposed on ordinary coding and standalone assets, and no workspace is inferred from the filesystem: a shared tree elsewhere is named explicitly.
11
- * @evidence contracts/development/common.md#meaningful-documentation Members state path ownership, the shared tree's default, that supplied claims add to the engineering defaults, and narrative opt-in behavior.
12
- */
5
+ /** Configures a project's engineering evidence and optional narrative workflow. */
13
6
  export interface IAutoMovieEvidenceConfigProps {
14
7
  /** Absolute project directory containing the production-owned contracts. */
15
8
  location: string;
@@ -17,23 +10,31 @@ export interface IAutoMovieEvidenceConfigProps {
17
10
  * Directory of the shared `.agents/skills` tree holding the bundled
18
11
  * contracts, absolute or relative to `location`.
19
12
  *
20
- * The engineering and development checklists (`contracts/development/**`)
21
- * and the shared story contracts (`contracts/story/shared/**`) resolve here.
22
- * The production's own `work/**` and `language/**` contracts always resolve
23
- * under `<location>/docs/contracts`, never here. A workspace
24
- * production passes the workspace root's tree; a standalone production omits
25
- * it. Citation addresses are the same either way; only reference roots
26
- * change.
13
+ * The engineering and development checklists (`contracts/development/**`) and
14
+ * the shared story contracts (`contracts/story/**`) resolve here. The
15
+ * production's own `work/**` and `language/**` contracts always resolve under
16
+ * `<location>/docs/contracts`, never here. A workspace production passes the
17
+ * workspace root's tree; a standalone production omits it. Citation addresses
18
+ * are the same either way; only reference roots change.
27
19
  *
28
20
  * @default path.join(location, ".agents", "skills")
29
21
  */
30
22
  skills?: string;
31
23
  /** Native claims added to the default source and test engineering claims. */
32
24
  claims?: IEvidenceClaim[];
33
- /** Omit for ordinary coding and standalone assets; provide a route for video writing, or mode none for a screenplay no narrative pass writes. */
25
+ /**
26
+ * Omit for ordinary coding and standalone assets; provide a route for video
27
+ * writing, or mode none for a screenplay no narrative pass writes.
28
+ */
34
29
  narrative?: IAutoMovieNarrativeProps | IAutoMovieNoNarrativeProps;
35
- /** Entity, behavior and composition development contracts; omitted stages stay disabled. */
30
+ /**
31
+ * Selects development contracts for entities, behaviors, composition and a
32
+ * separate review catalog.
33
+ */
36
34
  development?: IAutoMovieDevelopmentProps;
37
- /** Research studies answer the story research principles when `"evidence"`; disabled by default. */
35
+ /**
36
+ * Overrides research selection. By default a short selects all studies once
37
+ * one exists beyond the index. Other routes leave research disabled.
38
+ */
38
39
  research?: "disabled" | "evidence";
39
40
  }
@@ -2,17 +2,19 @@ import type { IEvidenceClaim } from "@wrtnlabs/evidence";
2
2
  import type { IProductionConstruction } from "./narrative/IProductionConstruction";
3
3
  import type { NarrativeScope } from "./narrative/NarrativeScope";
4
4
  /**
5
- * Opts into narrative evidence using native claims and selected authored stages.
6
- *
7
- * @evidence contracts/development/design.md#principled-representation Mode chooses the actual layers; omitted stages remain disabled drafts, and omitted scope selects the complete work.
8
- * @evidence contracts/development/design.md#minimal-and-owned-surface Narrative options extend the engineering configuration without a parallel claim-owner representation.
9
- * @evidence contracts/development/design.md#prohibited-design-shortcuts Additional claims use the native Evidence shape and preserve their own selectors, references and review settings.
10
- * @evidence contracts/development/common.md#meaningful-documentation Fields define the route, stage defaults, authored scope and ordinary additional claims.
5
+ * Opts into narrative evidence using native claims and selected authored
6
+ * stages.
11
7
  */
12
8
  export interface IAutoMovieNarrativeProps {
13
- /** Long retains four layers; short writes its brief canon, then the screenplay, with no treatments, scripts or outline. */
9
+ /**
10
+ * Long retains four layers; short writes its brief canon, then the
11
+ * screenplay, with no treatments, scripts or outline.
12
+ */
14
13
  mode: "long" | "short";
15
- /** Unspecified layers are disabled drafts; an omitted outline follows settings. */
14
+ /**
15
+ * Unspecified layers are disabled drafts; an omitted outline follows
16
+ * settings.
17
+ */
16
18
  construction?: Partial<IProductionConstruction>;
17
19
  /** Defaults to the complete work; a pilot must identify its exact first part. */
18
20
  scope?: NarrativeScope;
@@ -2,14 +2,12 @@ import type { IEvidenceClaim } from "@wrtnlabs/evidence";
2
2
  /**
3
3
  * Declares that no narrative layer is checked, for a screenplay no narrative
4
4
  * pass writes.
5
- *
6
- * @evidence contracts/development/design.md#principled-representation The choice is named by its own mode rather than left to an omitted option, and with an enabled composition stage the code then realizes every instruction section that no narrative layer cites.
7
- * @evidence contracts/development/design.md#minimal-and-owned-surface The mode and additional native claims are the only members; layer stages and scope belong to the narrative routes.
8
- * @evidence contracts/development/design.md#prohibited-design-shortcuts No stage or scope field exists, so none can be written and silently ignored.
9
- * @evidence contracts/development/common.md#meaningful-documentation The comment states when the choice applies and what each member does.
10
5
  */
11
6
  export interface IAutoMovieNoNarrativeProps {
12
- /** Checks no narrative layer; with an enabled composition stage, the composition and entities must realize every instruction section instead. */
7
+ /**
8
+ * Checks no narrative layer; with an enabled composition stage, the
9
+ * composition and entities must realize every instruction section instead.
10
+ */
13
11
  mode: "none";
14
12
  /** Additional native claims for the production's actual respondents. */
15
13
  claims?: IEvidenceClaim[];
@@ -4,32 +4,22 @@ import type { IAutoMovieDevelopmentProps } from "./IAutoMovieDevelopmentProps";
4
4
  * Creates the claims of the enabled production-specific development contracts.
5
5
  *
6
6
  * Each enabled stage selects the exported declarations of its source folders
7
- * and requires each to answer every item of
8
- * `contracts/development/<stage>.md` in its doc comment, read from the skills
9
- * tree at `props.skills`, by default the production's own `.agents/skills`.
10
- * Entities answer with their types, classes, functions and methods, because an
11
- * entity is a class whose methods are its capabilities. Behaviors (laws,
12
- * interactions and consequences) answer their checklist alone: most only
13
- * compose installed actions and follow no study, and a study can serve the
14
- * screenplay without any code, so neither direction of a study relation
15
- * holds for every production. A law names the study it follows in its
16
- * answer, which review judges.
17
- * Scenes cite the screenplay scene file, or the sections and beats of it they
18
- * realize, and every H2 section and H3 beat must be realized; films cite each
19
- * scene file they order, and every scene file must belong to a film. With
20
- * `instructions`, the composition and entities must also realize every
21
- * instruction section, which no narrative layer then cites, with no
22
- * exclusion. Entities answer their checklist alone too, because their
23
- * settings citations are judged by review rather than required for every
24
- * settings heading.
25
- *
26
- * @evidence contracts/development/implementation.md#principled-implementation Native TypeScript claims carry the checklist, and a second Markdown reference uses native target coverage to make the screenplay-section-and-beat-to-scene and scene-file-to-film relations mechanical, while entities and behaviors carry the checklist alone; `instructions` adds the instruction-to-code relation with the same coverage, no checklist and no exclusion, because a user requirement cannot be waived by its realizer.
27
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One table maps each checklist population to its stage, folders, symbol kinds and cited population, and the one instruction relation, which has no checklist, follows it; disabled stages produce no claim, and the one props object carries the stages, the instruction switch and where the checklists are read.
28
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Source folders are the scaffold layout's documented locations, not fixture paths; nothing is inferred from file presence.
29
- * @evidence contracts/development/common.md#meaningful-documentation The comment states each stage's respondents, the relation it enforces and which skills tree holds the checklists; the `skills` member states its form and default, and `instructions` when the code must realize every instruction section.
30
- * @evidence contracts/development/implementation.md#efficient-algorithms Builds at most five fixed-size claim trees in constant time; it performs no discovery or file I/O.
31
- * @evidence contracts/development/implementation.md#reuse-equivalent-work Fresh objects are returned so one configuration's edits cannot reach another; there is no expensive shared work.
32
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned claims; nothing is retained.
7
+ * and requires each to answer every item of its checklist under
8
+ * `contracts/development/` in its doc comment, read from the skills tree at
9
+ * `props.skills`, by default the production's own `.agents/skills`. Entities
10
+ * answer `entities.md` with their types, classes, functions and methods,
11
+ * because an entity is a class whose methods are its capabilities. Behaviors
12
+ * (laws, interactions and consequences) answer `behaviors.md`. For skilled
13
+ * practice, the studied laws answer cites the observations used to coordinate
14
+ * even installed actions. A study can also serve the screenplay alone. Scenes
15
+ * answer `composition.md` and cite the screenplay scene file, or the sections
16
+ * and beats of it they realize, and every H2 section and H3 beat must be
17
+ * realized; screenplay films answer `films.md` and cite each scene file they
18
+ * order, and every scene file must belong to a film. A selected catalog's cases
19
+ * and review film answer `catalog.md`. With `instructions`, the composition and
20
+ * entities must also realize every instruction section, which no narrative
21
+ * layer then cites, with no exclusion. The public configuration adds coverage
22
+ * of the route's subject records when entities or composition are submitted.
33
23
  */
34
24
  export declare function createDevelopmentContractClaims(props?: IAutoMovieDevelopmentProps & {
35
25
  /**
@@ -6,32 +6,22 @@ const SKILLS_ROOT_1 = require("./internal/SKILLS_ROOT");
6
6
  * Creates the claims of the enabled production-specific development contracts.
7
7
  *
8
8
  * Each enabled stage selects the exported declarations of its source folders
9
- * and requires each to answer every item of
10
- * `contracts/development/<stage>.md` in its doc comment, read from the skills
11
- * tree at `props.skills`, by default the production's own `.agents/skills`.
12
- * Entities answer with their types, classes, functions and methods, because an
13
- * entity is a class whose methods are its capabilities. Behaviors (laws,
14
- * interactions and consequences) answer their checklist alone: most only
15
- * compose installed actions and follow no study, and a study can serve the
16
- * screenplay without any code, so neither direction of a study relation
17
- * holds for every production. A law names the study it follows in its
18
- * answer, which review judges.
19
- * Scenes cite the screenplay scene file, or the sections and beats of it they
20
- * realize, and every H2 section and H3 beat must be realized; films cite each
21
- * scene file they order, and every scene file must belong to a film. With
22
- * `instructions`, the composition and entities must also realize every
23
- * instruction section, which no narrative layer then cites, with no
24
- * exclusion. Entities answer their checklist alone too, because their
25
- * settings citations are judged by review rather than required for every
26
- * settings heading.
27
- *
28
- * @evidence contracts/development/implementation.md#principled-implementation Native TypeScript claims carry the checklist, and a second Markdown reference uses native target coverage to make the screenplay-section-and-beat-to-scene and scene-file-to-film relations mechanical, while entities and behaviors carry the checklist alone; `instructions` adds the instruction-to-code relation with the same coverage, no checklist and no exclusion, because a user requirement cannot be waived by its realizer.
29
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One table maps each checklist population to its stage, folders, symbol kinds and cited population, and the one instruction relation, which has no checklist, follows it; disabled stages produce no claim, and the one props object carries the stages, the instruction switch and where the checklists are read.
30
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Source folders are the scaffold layout's documented locations, not fixture paths; nothing is inferred from file presence.
31
- * @evidence contracts/development/common.md#meaningful-documentation The comment states each stage's respondents, the relation it enforces and which skills tree holds the checklists; the `skills` member states its form and default, and `instructions` when the code must realize every instruction section.
32
- * @evidence contracts/development/implementation.md#efficient-algorithms Builds at most five fixed-size claim trees in constant time; it performs no discovery or file I/O.
33
- * @evidence contracts/development/implementation.md#reuse-equivalent-work Fresh objects are returned so one configuration's edits cannot reach another; there is no expensive shared work.
34
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned claims; nothing is retained.
9
+ * and requires each to answer every item of its checklist under
10
+ * `contracts/development/` in its doc comment, read from the skills tree at
11
+ * `props.skills`, by default the production's own `.agents/skills`. Entities
12
+ * answer `entities.md` with their types, classes, functions and methods,
13
+ * because an entity is a class whose methods are its capabilities. Behaviors
14
+ * (laws, interactions and consequences) answer `behaviors.md`. For skilled
15
+ * practice, the studied laws answer cites the observations used to coordinate
16
+ * even installed actions. A study can also serve the screenplay alone. Scenes
17
+ * answer `composition.md` and cite the screenplay scene file, or the sections
18
+ * and beats of it they realize, and every H2 section and H3 beat must be
19
+ * realized; screenplay films answer `films.md` and cite each scene file they
20
+ * order, and every scene file must belong to a film. A selected catalog's cases
21
+ * and review film answer `catalog.md`. With `instructions`, the composition and
22
+ * entities must also realize every instruction section, which no narrative
23
+ * layer then cites, with no exclusion. The public configuration adds coverage
24
+ * of the route's subject records when entities or composition are submitted.
35
25
  */
36
26
  function createDevelopmentContractClaims(props = {}) {
37
27
  const screenplay = ["docs/body/screenplay/**/*.md"];
@@ -39,12 +29,14 @@ function createDevelopmentContractClaims(props = {}) {
39
29
  {
40
30
  stage: "entities",
41
31
  name: "entities",
32
+ checklist: "entities",
42
33
  files: ["src/entities/**/*.ts"],
43
34
  symbol: ["type", "function"],
44
35
  },
45
36
  {
46
37
  stage: "behaviors",
47
38
  name: "behaviors",
39
+ checklist: "behaviors",
48
40
  files: [
49
41
  "src/laws/**/*.ts",
50
42
  "src/interactions/**/*.ts",
@@ -55,17 +47,35 @@ function createDevelopmentContractClaims(props = {}) {
55
47
  {
56
48
  stage: "composition",
57
49
  name: "scenes",
58
- files: ["src/composition/scenes/**/*.ts"],
50
+ checklist: "composition",
51
+ files: [
52
+ "src/composition/scenes/**/*.ts",
53
+ "!src/composition/scenes/catalog/**",
54
+ ],
59
55
  symbol: ["function"],
60
56
  cited: { type: "markdown", files: screenplay, symbol: ["h2", "h3"] },
61
57
  },
62
58
  {
63
59
  stage: "composition",
64
60
  name: "films",
65
- files: ["src/composition/films/**/*.ts"],
61
+ checklist: "films",
62
+ files: [
63
+ "src/composition/films/**/*.ts",
64
+ "!src/composition/films/catalog.ts",
65
+ ],
66
66
  symbol: ["function"],
67
67
  cited: { type: "markdown", files: screenplay, symbol: "file" },
68
68
  },
69
+ {
70
+ stage: "catalog",
71
+ name: "review catalog",
72
+ checklist: "catalog",
73
+ files: [
74
+ "src/composition/scenes/catalog/**/*.ts",
75
+ "src/composition/films/catalog.ts",
76
+ ],
77
+ symbol: ["function"],
78
+ },
69
79
  ];
70
80
  const claims = populations
71
81
  .filter((entry) => props[entry.stage] === "evidence")
@@ -78,7 +88,7 @@ function createDevelopmentContractClaims(props = {}) {
78
88
  {
79
89
  type: "markdown",
80
90
  root: props.skills ?? SKILLS_ROOT_1.SKILLS_ROOT,
81
- files: [`contracts/development/${entry.stage}.md`],
91
+ files: [`contracts/development/${entry.checklist}.md`],
82
92
  symbol: "h2",
83
93
  checklist: true,
84
94
  },
@@ -89,7 +99,12 @@ function createDevelopmentContractClaims(props = {}) {
89
99
  claims.push({
90
100
  name: "the code realizes every instruction section",
91
101
  type: "typescript",
92
- files: ["src/composition/**/*.ts", "src/entities/**/*.ts"],
102
+ files: [
103
+ "src/composition/**/*.ts",
104
+ "!src/composition/scenes/catalog/**",
105
+ "!src/composition/films/catalog.ts",
106
+ "src/entities/**/*.ts",
107
+ ],
93
108
  symbol: ["type", "function"],
94
109
  reference: {
95
110
  type: "markdown",
@@ -1 +1 @@
1
- {"version":3,"file":"createDevelopmentContractClaims.js","sourceRoot":"","sources":["../src/createDevelopmentContractClaims.ts"],"names":[],"mappings":";;;AAOA,wDAAqD;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,yCACE,KAAK,GAiBD,EAAE;IAEN,MAAM,UAAU,GAAa,CAAC,8BAA8B,CAAC,CAAC;IAC9D,MAAM,WAAW,GAMX;QACJ;YACE,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,CAAC,sBAAsB,CAAC;YAC/B,MAAM,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;SAC7B;QACD;YACE,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE;gBACL,kBAAkB;gBAClB,0BAA0B;gBAC1B,0BAA0B;aAC3B;YACD,MAAM,EAAE,CAAC,UAAU,CAAC;SACrB;QACD;YACE,KAAK,EAAE,aAAa;YACpB,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,CAAC,gCAAgC,CAAC;YACzC,MAAM,EAAE,CAAC,UAAU,CAAC;YACpB,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE;SACrE;QACD;YACE,KAAK,EAAE,aAAa;YACpB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,CAAC,+BAA+B,CAAC;YACxC,MAAM,EAAE,CAAC,UAAU,CAAC;YACpB,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE;SAC/D;KACF,CAAC;IACF,MAAM,MAAM,GAAqB,WAAW;SACzC,MAAM,CAAC,CAAC,KAAK,EAAW,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,UAAU,CAAC;SAC7D,GAAG,CACF,CAAC,KAAK,EAAkB,EAAE,CAAC,CAAC;QAC1B,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC;QACvB,MAAM,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC;QACzB,SAAS,EAAE;YACT;gBACE,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,KAAK,CAAC,MAAM,IAAI,yBAAW;gBACjC,KAAK,EAAE,CAAC,yBAAyB,KAAK,CAAC,KAAK,KAAK,CAAC;gBAClD,MAAM,EAAE,IAAI;gBACZ,SAAS,EAAE,IAAI;aAChB;YACD,GAAG,CAAC,KAAK,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;SACrE;KACF,CAAC,CACH,CAAC;IACJ,IAAI,KAAK,CAAC,YAAY,KAAK,IAAI,IAAI,KAAK,CAAC,WAAW,KAAK,UAAU;QACjE,MAAM,CAAC,IAAI,CAAC;YACV,IAAI,EAAE,6CAA6C;YACnD,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,CAAC,yBAAyB,EAAE,sBAAsB,CAAC;YAC1D,MAAM,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;YAC5B,SAAS,EAAE;gBACT,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,CAAC,wBAAwB,CAAC;gBACjC,MAAM,EAAE,IAAI;gBACZ,iBAAiB,EAAE,IAAI;aACxB;SACF,CAAC,CAAC;IACL,OAAO,MAAM,CAAC;AAChB,CAAC"}
1
+ {"version":3,"file":"createDevelopmentContractClaims.js","sourceRoot":"","sources":["../src/createDevelopmentContractClaims.ts"],"names":[],"mappings":";;;AAOA,wDAAqD;AAErD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,yCACE,KAAK,GAiBD,EAAE;IAEN,MAAM,UAAU,GAAa,CAAC,8BAA8B,CAAC,CAAC;IAC9D,MAAM,WAAW,GAOX;QACJ;YACE,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,UAAU;YAChB,SAAS,EAAE,UAAU;YACrB,KAAK,EAAE,CAAC,sBAAsB,CAAC;YAC/B,MAAM,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;SAC7B;QACD;YACE,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE;gBACL,kBAAkB;gBAClB,0BAA0B;gBAC1B,0BAA0B;aAC3B;YACD,MAAM,EAAE,CAAC,UAAU,CAAC;SACrB;QACD;YACE,KAAK,EAAE,aAAa;YACpB,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,aAAa;YACxB,KAAK,EAAE;gBACL,gCAAgC;gBAChC,oCAAoC;aACrC;YACD,MAAM,EAAE,CAAC,UAAU,CAAC;YACpB,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE;SACrE;QACD;YACE,KAAK,EAAE,aAAa;YACpB,IAAI,EAAE,OAAO;YACb,SAAS,EAAE,OAAO;YAClB,KAAK,EAAE;gBACL,+BAA+B;gBAC/B,mCAAmC;aACpC;YACD,MAAM,EAAE,CAAC,UAAU,CAAC;YACpB,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE;SAC/D;QACD;YACE,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,gBAAgB;YACtB,SAAS,EAAE,SAAS;YACpB,KAAK,EAAE;gBACL,wCAAwC;gBACxC,kCAAkC;aACnC;YACD,MAAM,EAAE,CAAC,UAAU,CAAC;SACrB;KACF,CAAC;IACF,MAAM,MAAM,GAAqB,WAAW;SACzC,MAAM,CAAC,CAAC,KAAK,EAAW,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,UAAU,CAAC;SAC7D,GAAG,CACF,CAAC,KAAK,EAAkB,EAAE,CAAC,CAAC;QAC1B,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC;QACvB,MAAM,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC;QACzB,SAAS,EAAE;YACT;gBACE,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,KAAK,CAAC,MAAM,IAAI,yBAAW;gBACjC,KAAK,EAAE,CAAC,yBAAyB,KAAK,CAAC,SAAS,KAAK,CAAC;gBACtD,MAAM,EAAE,IAAI;gBACZ,SAAS,EAAE,IAAI;aAChB;YACD,GAAG,CAAC,KAAK,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;SACrE;KACF,CAAC,CACH,CAAC;IACJ,IAAI,KAAK,CAAC,YAAY,KAAK,IAAI,IAAI,KAAK,CAAC,WAAW,KAAK,UAAU;QACjE,MAAM,CAAC,IAAI,CAAC;YACV,IAAI,EAAE,6CAA6C;YACnD,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE;gBACL,yBAAyB;gBACzB,oCAAoC;gBACpC,mCAAmC;gBACnC,sBAAsB;aACvB;YACD,MAAM,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;YAC5B,SAAS,EAAE;gBACT,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,CAAC,wBAAwB,CAAC;gBACjC,MAAM,EAAE,IAAI;gBACZ,iBAAiB,EAAE,IAAI;aACxB;SACF,CAAC,CAAC;IACL,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -4,30 +4,25 @@ import type { IEvidenceClaim } from "@wrtnlabs/evidence";
4
4
  *
5
5
  * Use the result when extending, rather than replacing, the default engineering
6
6
  * population. Every exported source declaration and test answers the common
7
- * checklist; exported types, interfaces and classes also answer the design
8
- * checklist, exported functions and class methods the implementation checklist,
9
- * and exported test functions the testing checklist. The paths are read from
10
- * the skills tree at `skills`, by default the production's own
11
- * `.agents/skills`; a workspace production names the shared tree at the
12
- * workspace root instead, such as `../../../.agents/skills`. By default the
13
- * paths are the scaffold's
7
+ * checklist, except scenes, films and catalog cases under `src/composition/`,
8
+ * which realize a screenplay rather than serve callers and document that
9
+ * realization under their own composition, films and catalog contracts;
10
+ * exported types, interfaces and classes also answer the design checklist,
11
+ * exported functions and class methods the implementation checklist, and
12
+ * exported test functions the testing checklist. The paths are read from the
13
+ * skills tree at `skills`, by default the production's own `.agents/skills`; a
14
+ * workspace production names the shared tree at the workspace root instead,
15
+ * such as `../../../.agents/skills`. By default the paths are the scaffold's
14
16
  * `contracts/development/{common,design,implementation,testing}.md`.
15
17
  *
16
18
  * Each claim selects exactly the declarations that owe its checklists, so tests
17
19
  * answer common and testing in one claim, while source types and functions,
18
20
  * which owe different checklists, share common through a separate claim; a
19
- * claim reports an answer on a declaration outside its population as unhosted. A production created before that layout passes its
20
- * own paths instead, such as `common: null` with one `contracts/common.md` for
21
- * both design and implementation, which then selects types and functions in a
22
- * single claim as before.
23
- *
24
- * @evidence contracts/development/implementation.md#principled-implementation Native TypeScript symbol kinds separate declarations that describe a shape (type) from those that compute (function); one claim per population keeps every acknowledgement on a host its claim selects, and equal design and implementation paths collapse into one claim for the same reason.
25
- * @evidence contracts/development/implementation.md#clear-and-simple-structure This factory owns only the default engineering population, independent of narrative graph construction; the optional paths and skills root name the checklists without changing which declarations owe them.
26
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The documented src/test conventions are production defaults, not fixture paths or tailored expected answers; a supplied path replaces only its checklist file, a supplied skills root moves only where they are read, and a null common path removes only the shared claim.
27
- * @evidence contracts/development/common.md#meaningful-documentation The comment explains which declarations answer which checklist, how claims follow their populations, fresh ownership, extension, the workspace skills root and the legacy form; each option states its role.
28
- * @evidence contracts/development/implementation.md#efficient-algorithms Allocates at most four fixed-size claim trees in constant time and space; it performs no discovery or file I/O.
29
- * @evidence contracts/development/implementation.md#reuse-equivalent-work Fresh objects are intentional so editing one configuration cannot contaminate another; there is no expensive shared work to cache.
30
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned claim trees; this function retains no references, handles, or tasks.
21
+ * claim reports an answer on a declaration outside its population as unhosted.
22
+ * A production created before that layout passes its own paths instead, such as
23
+ * `common: null` with one `contracts/common.md` for both design and
24
+ * implementation, which then selects types and functions in a single claim as
25
+ * before.
31
26
  */
32
27
  export declare function createEngineeringClaims(props?: {
33
28
  /**
@@ -45,8 +40,8 @@ export declare function createEngineeringClaims(props?: {
45
40
  /** Testing checklist path from `skills`, answered by tests. */
46
41
  tests?: string;
47
42
  /**
48
- * Reference root of the skills tree holding the checklists, relative to
49
- * the directory of `evidence.config.ts` with `/` separators; `..` segments
43
+ * Reference root of the skills tree holding the checklists, relative to the
44
+ * directory of `evidence.config.ts` with `/` separators; `..` segments
50
45
  * reach a workspace's shared tree.
51
46
  *
52
47
  * @default ".agents/skills"
@@ -7,30 +7,25 @@ const SKILLS_ROOT_1 = require("./internal/SKILLS_ROOT");
7
7
  *
8
8
  * Use the result when extending, rather than replacing, the default engineering
9
9
  * population. Every exported source declaration and test answers the common
10
- * checklist; exported types, interfaces and classes also answer the design
11
- * checklist, exported functions and class methods the implementation checklist,
12
- * and exported test functions the testing checklist. The paths are read from
13
- * the skills tree at `skills`, by default the production's own
14
- * `.agents/skills`; a workspace production names the shared tree at the
15
- * workspace root instead, such as `../../../.agents/skills`. By default the
16
- * paths are the scaffold's
10
+ * checklist, except scenes, films and catalog cases under `src/composition/`,
11
+ * which realize a screenplay rather than serve callers and document that
12
+ * realization under their own composition, films and catalog contracts;
13
+ * exported types, interfaces and classes also answer the design checklist,
14
+ * exported functions and class methods the implementation checklist, and
15
+ * exported test functions the testing checklist. The paths are read from the
16
+ * skills tree at `skills`, by default the production's own `.agents/skills`; a
17
+ * workspace production names the shared tree at the workspace root instead,
18
+ * such as `../../../.agents/skills`. By default the paths are the scaffold's
17
19
  * `contracts/development/{common,design,implementation,testing}.md`.
18
20
  *
19
21
  * Each claim selects exactly the declarations that owe its checklists, so tests
20
22
  * answer common and testing in one claim, while source types and functions,
21
23
  * which owe different checklists, share common through a separate claim; a
22
- * claim reports an answer on a declaration outside its population as unhosted. A production created before that layout passes its
23
- * own paths instead, such as `common: null` with one `contracts/common.md` for
24
- * both design and implementation, which then selects types and functions in a
25
- * single claim as before.
26
- *
27
- * @evidence contracts/development/implementation.md#principled-implementation Native TypeScript symbol kinds separate declarations that describe a shape (type) from those that compute (function); one claim per population keeps every acknowledgement on a host its claim selects, and equal design and implementation paths collapse into one claim for the same reason.
28
- * @evidence contracts/development/implementation.md#clear-and-simple-structure This factory owns only the default engineering population, independent of narrative graph construction; the optional paths and skills root name the checklists without changing which declarations owe them.
29
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The documented src/test conventions are production defaults, not fixture paths or tailored expected answers; a supplied path replaces only its checklist file, a supplied skills root moves only where they are read, and a null common path removes only the shared claim.
30
- * @evidence contracts/development/common.md#meaningful-documentation The comment explains which declarations answer which checklist, how claims follow their populations, fresh ownership, extension, the workspace skills root and the legacy form; each option states its role.
31
- * @evidence contracts/development/implementation.md#efficient-algorithms Allocates at most four fixed-size claim trees in constant time and space; it performs no discovery or file I/O.
32
- * @evidence contracts/development/implementation.md#reuse-equivalent-work Fresh objects are intentional so editing one configuration cannot contaminate another; there is no expensive shared work to cache.
33
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned claim trees; this function retains no references, handles, or tasks.
24
+ * claim reports an answer on a declaration outside its population as unhosted.
25
+ * A production created before that layout passes its own paths instead, such as
26
+ * `common: null` with one `contracts/common.md` for both design and
27
+ * implementation, which then selects types and functions in a single claim as
28
+ * before.
34
29
  */
35
30
  function createEngineeringClaims(props = {}) {
36
31
  const common = props.common === undefined
@@ -86,7 +81,7 @@ function createEngineeringClaims(props = {}) {
86
81
  {
87
82
  name: "production documentation",
88
83
  type: "typescript",
89
- files: ["src/**/*.ts"],
84
+ files: ["src/**/*.ts", "!src/composition/**"],
90
85
  symbol: ["type", "function"],
91
86
  reference: checklist(common),
92
87
  },
@@ -1 +1 @@
1
- {"version":3,"file":"createEngineeringClaims.js","sourceRoot":"","sources":["../src/createEngineeringClaims.ts"],"names":[],"mappings":";;;AAEA,wDAAqD;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,iCACE,KAAK,GA2BD,EAAE;IAEN,MAAM,MAAM,GACV,KAAK,CAAC,MAAM,KAAK,SAAS;QACxB,CAAC,CAAC,iCAAiC;QACnC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC;IACnB,MAAM,MAAM,GAAW,KAAK,CAAC,MAAM,IAAI,iCAAiC,CAAC;IACzE,MAAM,cAAc,GAClB,KAAK,CAAC,cAAc,IAAI,yCAAyC,CAAC;IACpE,MAAM,SAAS,GAAG,CAAC,GAAG,KAAe,EAA+B,EAAE,CAAC,CAAC;QACtE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,KAAK,CAAC,MAAM,IAAI,yBAAW;QACjC,KAAK;QACL,MAAM,EAAE,IAAI;QACZ,SAAS,EAAE,IAAI;KAChB,CAAC,CAAC;IACH,MAAM,KAAK,GAAW,KAAK,CAAC,KAAK,IAAI,kCAAkC,CAAC;IACxE,OAAO;QACL,GAAG,CAAC,MAAM,KAAK,cAAc;YAC3B,CAAC,CAAC;gBACE;oBACE,IAAI,EAAE,mBAAmB;oBACzB,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,CAAC,aAAa,CAAC;oBACtB,MAAM,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;oBAC5B,SAAS,EAAE,SAAS,CAAC,MAAM,CAAC;iBACJ;aAC3B;YACH,CAAC,CAAC;gBACE;oBACE,IAAI,EAAE,kBAAkB;oBACxB,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,CAAC,aAAa,CAAC;oBACtB,MAAM,EAAE,MAAM;oBACd,SAAS,EAAE,SAAS,CAAC,MAAM,CAAC;iBACJ;gBAC1B;oBACE,IAAI,EAAE,sBAAsB;oBAC5B,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,CAAC,aAAa,CAAC;oBACtB,MAAM,EAAE,UAAU;oBAClB,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC;iBACZ;aAC3B,CAAC;QACN;YACE,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,CAAC,mBAAmB,CAAC;YAC5B,MAAM,EAAE,UAAU;YAClB,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC;SACzE;QACD,GAAG,CAAC,MAAM,KAAK,IAAI;YACjB,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC;gBACE;oBACE,IAAI,EAAE,0BAA0B;oBAChC,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,CAAC,aAAa,CAAC;oBACtB,MAAM,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;oBAC5B,SAAS,EAAE,SAAS,CAAC,MAAM,CAAC;iBACJ;aAC3B,CAAC;KACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createEngineeringClaims.js","sourceRoot":"","sources":["../src/createEngineeringClaims.ts"],"names":[],"mappings":";;;AAEA,wDAAqD;AAErD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,iCACE,KAAK,GA2BD,EAAE;IAEN,MAAM,MAAM,GACV,KAAK,CAAC,MAAM,KAAK,SAAS;QACxB,CAAC,CAAC,iCAAiC;QACnC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC;IACnB,MAAM,MAAM,GAAW,KAAK,CAAC,MAAM,IAAI,iCAAiC,CAAC;IACzE,MAAM,cAAc,GAClB,KAAK,CAAC,cAAc,IAAI,yCAAyC,CAAC;IACpE,MAAM,SAAS,GAAG,CAAC,GAAG,KAAe,EAA+B,EAAE,CAAC,CAAC;QACtE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,KAAK,CAAC,MAAM,IAAI,yBAAW;QACjC,KAAK;QACL,MAAM,EAAE,IAAI;QACZ,SAAS,EAAE,IAAI;KAChB,CAAC,CAAC;IACH,MAAM,KAAK,GAAW,KAAK,CAAC,KAAK,IAAI,kCAAkC,CAAC;IACxE,OAAO;QACL,GAAG,CAAC,MAAM,KAAK,cAAc;YAC3B,CAAC,CAAC;gBACE;oBACE,IAAI,EAAE,mBAAmB;oBACzB,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,CAAC,aAAa,CAAC;oBACtB,MAAM,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;oBAC5B,SAAS,EAAE,SAAS,CAAC,MAAM,CAAC;iBACJ;aAC3B;YACH,CAAC,CAAC;gBACE;oBACE,IAAI,EAAE,kBAAkB;oBACxB,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,CAAC,aAAa,CAAC;oBACtB,MAAM,EAAE,MAAM;oBACd,SAAS,EAAE,SAAS,CAAC,MAAM,CAAC;iBACJ;gBAC1B;oBACE,IAAI,EAAE,sBAAsB;oBAC5B,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,CAAC,aAAa,CAAC;oBACtB,MAAM,EAAE,UAAU;oBAClB,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC;iBACZ;aAC3B,CAAC;QACN;YACE,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,CAAC,mBAAmB,CAAC;YAC5B,MAAM,EAAE,UAAU;YAClB,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC;SACzE;QACD,GAAG,CAAC,MAAM,KAAK,IAAI;YACjB,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC;gBACE;oBACE,IAAI,EAAE,0BAA0B;oBAChC,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,CAAC,aAAa,EAAE,qBAAqB,CAAC;oBAC7C,MAAM,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;oBAC5B,SAAS,EAAE,SAAS,CAAC,MAAM,CAAC;iBACJ;aAC3B,CAAC;KACP,CAAC;AACJ,CAAC"}