@automovie/evidence 0.1.0 → 0.3.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 (177) hide show
  1. package/README.md +14 -10
  2. package/lib/IAutoMovieDevelopmentProps.d.ts +11 -10
  3. package/lib/IAutoMovieEvidenceConfigProps.d.ts +9 -8
  4. package/lib/IAutoMovieNarrativeProps.d.ts +0 -3
  5. package/lib/IAutoMovieNoNarrativeProps.d.ts +16 -0
  6. package/lib/{narrative/IProductionLayerStages.js → IAutoMovieNoNarrativeProps.js} +1 -1
  7. package/lib/IAutoMovieNoNarrativeProps.js.map +1 -0
  8. package/lib/createDevelopmentContractClaims.d.ts +26 -14
  9. package/lib/createDevelopmentContractClaims.js +35 -21
  10. package/lib/createDevelopmentContractClaims.js.map +1 -1
  11. package/lib/createEvidenceConfig.d.ts +3 -3
  12. package/lib/createEvidenceConfig.js +19 -12
  13. package/lib/createEvidenceConfig.js.map +1 -1
  14. package/lib/index.d.ts +7 -8
  15. package/lib/index.js +1 -8
  16. package/lib/index.js.map +1 -1
  17. package/lib/internal/index.d.ts +5 -0
  18. package/lib/internal/index.js +7 -0
  19. package/lib/internal/index.js.map +1 -1
  20. package/lib/internal/resolveSkillsDirectory.d.ts +8 -9
  21. package/lib/internal/resolveSkillsDirectory.js +9 -12
  22. package/lib/internal/resolveSkillsDirectory.js.map +1 -1
  23. package/lib/narrative/IPackageChecklistClaimProps.d.ts +5 -10
  24. package/lib/narrative/IPackageContractProps.d.ts +0 -8
  25. package/lib/narrative/IPackagePopulationContractProps.d.ts +1 -9
  26. package/lib/narrative/IProductionConfigProps.d.ts +1 -10
  27. package/lib/narrative/createBriefFiles.d.ts +2 -2
  28. package/lib/narrative/createBriefFiles.js +2 -2
  29. package/lib/narrative/createNarrativeUnitFiles.d.ts +19 -12
  30. package/lib/narrative/createNarrativeUnitFiles.js +22 -17
  31. package/lib/narrative/createNarrativeUnitFiles.js.map +1 -1
  32. package/lib/narrative/createPackageChecklistClaim.js +5 -10
  33. package/lib/narrative/createPackageChecklistClaim.js.map +1 -1
  34. package/lib/narrative/createPackageContract.d.ts +3 -3
  35. package/lib/narrative/createPackageContract.js +3 -8
  36. package/lib/narrative/createPackageContract.js.map +1 -1
  37. package/lib/narrative/createPackagePopulationContract.d.ts +7 -7
  38. package/lib/narrative/createPackagePopulationContract.js +10 -18
  39. package/lib/narrative/createPackagePopulationContract.js.map +1 -1
  40. package/lib/narrative/index.d.ts +0 -4
  41. package/lib/narrative/index.js +0 -4
  42. package/lib/narrative/index.js.map +1 -1
  43. package/lib/narrative/internal/REALIZED_LAYERS.d.ts +1 -1
  44. package/lib/narrative/internal/REALIZED_LAYERS.js +1 -1
  45. package/lib/narrative/internal/claims/createDiscoveryClaim.d.ts +11 -3
  46. package/lib/narrative/internal/claims/createDiscoveryClaim.js +17 -5
  47. package/lib/narrative/internal/claims/createDiscoveryClaim.js.map +1 -1
  48. package/lib/narrative/internal/claims/createExpressionObligationClaims.d.ts +9 -8
  49. package/lib/narrative/internal/claims/createExpressionObligationClaims.js +15 -22
  50. package/lib/narrative/internal/claims/createExpressionObligationClaims.js.map +1 -1
  51. package/lib/narrative/internal/claims/createInstructionCoverageClaim.d.ts +6 -4
  52. package/lib/narrative/internal/claims/createInstructionCoverageClaim.js +7 -5
  53. package/lib/narrative/internal/claims/createInstructionCoverageClaim.js.map +1 -1
  54. package/lib/narrative/internal/claims/createLayerClaims.d.ts +9 -9
  55. package/lib/narrative/internal/claims/createLayerClaims.js +45 -65
  56. package/lib/narrative/internal/claims/createLayerClaims.js.map +1 -1
  57. package/lib/narrative/internal/claims/createOutlineClaims.js +8 -8
  58. package/lib/narrative/internal/claims/createOutlineClaims.js.map +1 -1
  59. package/lib/narrative/internal/claims/createPopulationObligationClaims.d.ts +3 -3
  60. package/lib/narrative/internal/claims/createPopulationObligationClaims.js +5 -5
  61. package/lib/narrative/internal/claims/createPopulationObligationClaims.js.map +1 -1
  62. package/lib/narrative/internal/claims/createReviewClaims.d.ts +8 -8
  63. package/lib/narrative/internal/claims/createReviewClaims.js +64 -77
  64. package/lib/narrative/internal/claims/createReviewClaims.js.map +1 -1
  65. package/lib/narrative/internal/claims/createSettingCoverageClaim.d.ts +1 -1
  66. package/lib/narrative/internal/claims/createSettingCoverageClaim.js +6 -7
  67. package/lib/narrative/internal/claims/createSettingCoverageClaim.js.map +1 -1
  68. package/lib/narrative/internal/collectProductionClaims.js +5 -2
  69. package/lib/narrative/internal/collectProductionClaims.js.map +1 -1
  70. package/lib/narrative/internal/index.d.ts +0 -1
  71. package/lib/narrative/internal/index.js +0 -1
  72. package/lib/narrative/internal/index.js.map +1 -1
  73. package/lib/narrative/internal/readSettingsFiles.d.ts +6 -5
  74. package/lib/narrative/internal/readSettingsFiles.js +12 -9
  75. package/lib/narrative/internal/readSettingsFiles.js.map +1 -1
  76. package/lib/narrative/internal/references/createCoverageReference.d.ts +1 -2
  77. package/lib/narrative/internal/references/createCoverageReference.js +2 -2
  78. package/lib/narrative/internal/references/createCoverageReference.js.map +1 -1
  79. package/lib/narrative/internal/references/createDiscoveryReferences.d.ts +2 -2
  80. package/lib/narrative/internal/references/createDiscoveryReferences.js +2 -2
  81. package/lib/narrative/internal/references/createLanguagePrincipleReferences.d.ts +7 -6
  82. package/lib/narrative/internal/references/createLanguagePrincipleReferences.js +7 -7
  83. package/lib/narrative/internal/references/createLanguagePrincipleReferences.js.map +1 -1
  84. package/lib/narrative/internal/references/createLineageReference.d.ts +7 -8
  85. package/lib/narrative/internal/references/createLineageReference.js +8 -8
  86. package/lib/narrative/internal/references/createLineageReference.js.map +1 -1
  87. package/lib/narrative/internal/references/createPrincipleReferences.d.ts +9 -8
  88. package/lib/narrative/internal/references/createPrincipleReferences.js +12 -12
  89. package/lib/narrative/internal/references/createPrincipleReferences.js.map +1 -1
  90. package/lib/narrative/internal/references/createSettingReferences.d.ts +3 -4
  91. package/lib/narrative/internal/references/createSettingReferences.js +6 -6
  92. package/lib/narrative/internal/references/createSettingReferences.js.map +1 -1
  93. package/lib/narrative/internal/references/layerFiles.d.ts +5 -5
  94. package/lib/narrative/internal/references/layerFiles.js +5 -5
  95. package/lib/narrative/internal/topology/createTopologyFiles.d.ts +1 -1
  96. package/lib/narrative/internal/topology/createTopologyFiles.js +1 -1
  97. package/lib/narrative/internal/utilities/BODY_ROOT.d.ts +15 -0
  98. package/lib/narrative/internal/utilities/BODY_ROOT.js +20 -0
  99. package/lib/narrative/internal/utilities/BODY_ROOT.js.map +1 -0
  100. package/lib/narrative/internal/utilities/PACKAGE_DOCS_ROOT.d.ts +6 -6
  101. package/lib/narrative/internal/utilities/PACKAGE_DOCS_ROOT.js +6 -6
  102. package/lib/narrative/internal/utilities/assertProductionEvidenceSources.js +6 -19
  103. package/lib/narrative/internal/utilities/assertProductionEvidenceSources.js.map +1 -1
  104. package/lib/narrative/internal/utilities/createUnitFiles.d.ts +4 -6
  105. package/lib/narrative/internal/utilities/createUnitFiles.js +5 -7
  106. package/lib/narrative/internal/utilities/createUnitFiles.js.map +1 -1
  107. package/lib/narrative/internal/utilities/index.d.ts +1 -1
  108. package/lib/narrative/internal/utilities/index.js +1 -1
  109. package/lib/narrative/internal/utilities/index.js.map +1 -1
  110. package/lib/narrative/internal/utilities/referenceLocation.d.ts +6 -9
  111. package/lib/narrative/internal/utilities/referenceLocation.js +9 -14
  112. package/lib/narrative/internal/utilities/referenceLocation.js.map +1 -1
  113. package/package.json +8 -4
  114. package/src/IAutoMovieDevelopmentProps.ts +11 -10
  115. package/src/IAutoMovieEvidenceConfigProps.ts +9 -8
  116. package/src/IAutoMovieNarrativeProps.ts +0 -4
  117. package/src/IAutoMovieNoNarrativeProps.ts +18 -0
  118. package/src/createDevelopmentContractClaims.ts +43 -22
  119. package/src/createEvidenceConfig.ts +23 -13
  120. package/src/index.ts +8 -8
  121. package/src/internal/index.ts +7 -0
  122. package/src/internal/resolveSkillsDirectory.ts +9 -12
  123. package/src/narrative/IPackageChecklistClaimProps.ts +5 -11
  124. package/src/narrative/IPackageContractProps.ts +0 -9
  125. package/src/narrative/IPackagePopulationContractProps.ts +1 -10
  126. package/src/narrative/IProductionConfigProps.ts +1 -11
  127. package/src/narrative/createBriefFiles.ts +2 -2
  128. package/src/narrative/createNarrativeUnitFiles.ts +28 -20
  129. package/src/narrative/createPackageChecklistClaim.ts +5 -10
  130. package/src/narrative/createPackageContract.ts +3 -15
  131. package/src/narrative/createPackagePopulationContract.ts +11 -26
  132. package/src/narrative/index.ts +0 -4
  133. package/src/narrative/internal/REALIZED_LAYERS.ts +1 -1
  134. package/src/narrative/internal/claims/createDiscoveryClaim.ts +20 -6
  135. package/src/narrative/internal/claims/createExpressionObligationClaims.ts +15 -24
  136. package/src/narrative/internal/claims/createInstructionCoverageClaim.ts +8 -6
  137. package/src/narrative/internal/claims/createLayerClaims.ts +48 -78
  138. package/src/narrative/internal/claims/createOutlineClaims.ts +8 -8
  139. package/src/narrative/internal/claims/createPopulationObligationClaims.ts +5 -5
  140. package/src/narrative/internal/claims/createReviewClaims.ts +69 -91
  141. package/src/narrative/internal/claims/createSettingCoverageClaim.ts +5 -7
  142. package/src/narrative/internal/collectProductionClaims.ts +7 -5
  143. package/src/narrative/internal/index.ts +0 -1
  144. package/src/narrative/internal/readSettingsFiles.ts +14 -9
  145. package/src/narrative/internal/references/createCoverageReference.ts +1 -3
  146. package/src/narrative/internal/references/createDiscoveryReferences.ts +2 -2
  147. package/src/narrative/internal/references/createLanguagePrincipleReferences.ts +8 -9
  148. package/src/narrative/internal/references/createLineageReference.ts +7 -9
  149. package/src/narrative/internal/references/createPrincipleReferences.ts +13 -14
  150. package/src/narrative/internal/references/createSettingReferences.ts +5 -8
  151. package/src/narrative/internal/references/layerFiles.ts +5 -5
  152. package/src/narrative/internal/topology/createTopologyFiles.ts +1 -1
  153. package/src/narrative/internal/utilities/BODY_ROOT.ts +17 -0
  154. package/src/narrative/internal/utilities/PACKAGE_DOCS_ROOT.ts +6 -6
  155. package/src/narrative/internal/utilities/assertProductionEvidenceSources.ts +6 -25
  156. package/src/narrative/internal/utilities/createUnitFiles.ts +5 -7
  157. package/src/narrative/internal/utilities/index.ts +1 -1
  158. package/src/narrative/internal/utilities/referenceLocation.ts +8 -18
  159. package/lib/narrative/AuthoredPass.d.ts +0 -16
  160. package/lib/narrative/AuthoredPass.js +0 -3
  161. package/lib/narrative/AuthoredPass.js.map +0 -1
  162. package/lib/narrative/IProductionLayerStages.d.ts +0 -15
  163. package/lib/narrative/IProductionLayerStages.js.map +0 -1
  164. package/lib/narrative/internal/hasNaturalness.d.ts +0 -14
  165. package/lib/narrative/internal/hasNaturalness.js +0 -19
  166. package/lib/narrative/internal/hasNaturalness.js.map +0 -1
  167. package/lib/narrative/internal/utilities/passRoot.d.ts +0 -16
  168. package/lib/narrative/internal/utilities/passRoot.js +0 -22
  169. package/lib/narrative/internal/utilities/passRoot.js.map +0 -1
  170. package/lib/narrative/stripNaturalnessComments.d.ts +0 -12
  171. package/lib/narrative/stripNaturalnessComments.js +0 -34
  172. package/lib/narrative/stripNaturalnessComments.js.map +0 -1
  173. package/src/narrative/AuthoredPass.ts +0 -16
  174. package/src/narrative/IProductionLayerStages.ts +0 -16
  175. package/src/narrative/internal/hasNaturalness.ts +0 -17
  176. package/src/narrative/internal/utilities/passRoot.ts +0 -20
  177. package/src/narrative/stripNaturalnessComments.ts +0 -31
@@ -6,7 +6,7 @@ import type { AuthoredLayer } from "../AuthoredLayer";
6
6
  * below, so a question about the words themselves can only be asked here.
7
7
  *
8
8
  * Principled implementation: The set names scripts and screenplay as the only layers holding literal expression rather than documentary plans.
9
- * Clear and simple design: Naturalness question discovery shares this two-layer eligibility vocabulary.
9
+ * Clear and simple design: layerFiles reads this two-layer eligibility vocabulary for every contract family that asks about literal text.
10
10
  * Prohibited implementation shortcuts: The literal layers express supported domain responsibility and do not depend on caller or fixture identities.
11
11
  * Meaningful documentation: The prose states the ordering or expression-versus-plan distinction needed by consumers.
12
12
  * Efficient algorithms: Initialization stores a fixed four-element array or two-element set; iteration is bounded by that vocabulary and set membership is expected constant time.
@@ -8,7 +8,7 @@ exports.REALIZED_LAYERS = void 0;
8
8
  * below, so a question about the words themselves can only be asked here.
9
9
  *
10
10
  * Principled implementation: The set names scripts and screenplay as the only layers holding literal expression rather than documentary plans.
11
- * Clear and simple design: Naturalness question discovery shares this two-layer eligibility vocabulary.
11
+ * Clear and simple design: layerFiles reads this two-layer eligibility vocabulary for every contract family that asks about literal text.
12
12
  * Prohibited implementation shortcuts: The literal layers express supported domain responsibility and do not depend on caller or fixture identities.
13
13
  * Meaningful documentation: The prose states the ordering or expression-versus-plan distinction needed by consumers.
14
14
  * Efficient algorithms: Initialization stores a fixed four-element array or two-element set; iteration is bounded by that vocabulary and set membership is expected constant time.
@@ -21,11 +21,19 @@ import type { IProductionConfigProps } from "../../IProductionConfigProps";
21
21
  * one a work declared has to be possible in a single file; scattered through
22
22
  * the contracts it means reading the contracts to find out what was skipped.
23
23
  *
24
- * @evidence contracts/development/implementation.md#principled-implementation Open-world duties target shared/language discovery H2s while their hosts are the production's own work-contract files, rooted by createContractRoot at its own `docs/contracts` even when a workspace keeps the shared targets elsewhere, with negative findings centralized on one discovery carrier and stage activation derived from construction.
24
+ * Every layer's claim shares those hosts, and a citation resolves only to a
25
+ * contract some active claim selects. A finished layer turned back to
26
+ * `disabled` would therefore leave its recorded findings unresolvable for the
27
+ * layers still running. The claim stays active while its layer or any later
28
+ * layer of the route is in `evidence`: the route closes its layers in order,
29
+ * so an earlier layer's findings are written and stay checked, while a layer
30
+ * not yet reached owes none.
31
+ *
32
+ * @evidence contracts/development/implementation.md#principled-implementation Open-world duties target shared/language discovery H2s while their hosts are the production's own work-contract files, rooted by createContractRoot at its own `docs/contracts` even when a workspace keeps the shared targets elsewhere, with negative findings centralized on one discovery carrier; the claim is active while its layer or a later layer of the route is in evidence, so a closed earlier layer's findings keep resolving.
25
33
  * @evidence contracts/development/implementation.md#clear-and-simple-structure The claim factory owns this contract-to-contract relation rather than asking manuscript units to testify about whether their contract was discovered.
26
34
  * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The one negative-results carrier is the declared discovery workflow, and canon layers omit narrative-layer questions through the shared reference factory rather than a consumer exception.
27
- * @evidence contracts/development/common.md#meaningful-documentation The prose identifies adopted-rule hosts, truthful negative findings, the single negative carrier and why manuscript hosts cannot answer this relation.
28
- * @evidence contracts/development/implementation.md#efficient-algorithms The factory constructs one claim and a fixed-size discovery-reference list; its one optional language-file existence probe and path operations dominate fixed population work, independent of manuscript length.
35
+ * @evidence contracts/development/common.md#meaningful-documentation The prose identifies adopted-rule hosts, truthful negative findings, the single negative carrier, why manuscript hosts cannot answer this relation and why a closed earlier layer's claim stays active.
36
+ * @evidence contracts/development/implementation.md#efficient-algorithms The factory scans at most four route stages and constructs one claim and a fixed-size discovery-reference list; its one optional language-file existence probe and path operations dominate fixed population work, independent of manuscript length.
29
37
  * @evidence contracts/development/implementation.md#reuse-equivalent-work Shared and language discovery reference builders own their selection rules; the optional language contract is probed on each config construction so installation changes are not hidden behind a cache.
30
38
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned claim and references are caller-owned, with a fixed family count; the synchronous existence probe exposes no retained handle or background task.
31
39
  */
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createDiscoveryClaim = createDiscoveryClaim;
4
4
  const constructionStage_1 = require("../constructionStage");
5
+ const productionLayers_1 = require("../productionLayers");
5
6
  const createDiscoveryReferences_1 = require("../references/createDiscoveryReferences");
6
7
  const createContractRoot_1 = require("../utilities/createContractRoot");
7
8
  /**
@@ -24,16 +25,27 @@ const createContractRoot_1 = require("../utilities/createContractRoot");
24
25
  * one a work declared has to be possible in a single file; scattered through
25
26
  * the contracts it means reading the contracts to find out what was skipped.
26
27
  *
27
- * @evidence contracts/development/implementation.md#principled-implementation Open-world duties target shared/language discovery H2s while their hosts are the production's own work-contract files, rooted by createContractRoot at its own `docs/contracts` even when a workspace keeps the shared targets elsewhere, with negative findings centralized on one discovery carrier and stage activation derived from construction.
28
+ * Every layer's claim shares those hosts, and a citation resolves only to a
29
+ * contract some active claim selects. A finished layer turned back to
30
+ * `disabled` would therefore leave its recorded findings unresolvable for the
31
+ * layers still running. The claim stays active while its layer or any later
32
+ * layer of the route is in `evidence`: the route closes its layers in order,
33
+ * so an earlier layer's findings are written and stay checked, while a layer
34
+ * not yet reached owes none.
35
+ *
36
+ * @evidence contracts/development/implementation.md#principled-implementation Open-world duties target shared/language discovery H2s while their hosts are the production's own work-contract files, rooted by createContractRoot at its own `docs/contracts` even when a workspace keeps the shared targets elsewhere, with negative findings centralized on one discovery carrier; the claim is active while its layer or a later layer of the route is in evidence, so a closed earlier layer's findings keep resolving.
28
37
  * @evidence contracts/development/implementation.md#clear-and-simple-structure The claim factory owns this contract-to-contract relation rather than asking manuscript units to testify about whether their contract was discovered.
29
38
  * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The one negative-results carrier is the declared discovery workflow, and canon layers omit narrative-layer questions through the shared reference factory rather than a consumer exception.
30
- * @evidence contracts/development/common.md#meaningful-documentation The prose identifies adopted-rule hosts, truthful negative findings, the single negative carrier and why manuscript hosts cannot answer this relation.
31
- * @evidence contracts/development/implementation.md#efficient-algorithms The factory constructs one claim and a fixed-size discovery-reference list; its one optional language-file existence probe and path operations dominate fixed population work, independent of manuscript length.
39
+ * @evidence contracts/development/common.md#meaningful-documentation The prose identifies adopted-rule hosts, truthful negative findings, the single negative carrier, why manuscript hosts cannot answer this relation and why a closed earlier layer's claim stays active.
40
+ * @evidence contracts/development/implementation.md#efficient-algorithms The factory scans at most four route stages and constructs one claim and a fixed-size discovery-reference list; its one optional language-file existence probe and path operations dominate fixed population work, independent of manuscript length.
32
41
  * @evidence contracts/development/implementation.md#reuse-equivalent-work Shared and language discovery reference builders own their selection rules; the optional language contract is probed on each config construction so installation changes are not hidden behind a cache.
33
42
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned claim and references are caller-owned, with a fixed family count; the synchronous existence probe exposes no retained handle or background task.
34
43
  */
35
44
  function createDiscoveryClaim(props, layer) {
36
- const stage = (0, constructionStage_1.constructionStage)(props, layer);
45
+ const route = (0, productionLayers_1.productionLayers)(props);
46
+ const disabled = route
47
+ .slice(route.indexOf(layer))
48
+ .every((later) => (0, constructionStage_1.constructionStage)(props, later) === "disabled");
37
49
  return {
38
50
  name: `the ${layer} work-specific contract accounts for its open-world discovery duties`,
39
51
  type: "markdown",
@@ -41,7 +53,7 @@ function createDiscoveryClaim(props, layer) {
41
53
  files: ["work/**/*.md"],
42
54
  evidenceExcludeCarriers: ["work/discovery/results.md"],
43
55
  symbol: "file",
44
- disabled: stage === "disabled",
56
+ disabled,
45
57
  reference: (0, createDiscoveryReferences_1.createDiscoveryReferences)(props, layer),
46
58
  };
47
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"createDiscoveryClaim.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createDiscoveryClaim.ts"],"names":[],"mappings":";;;AAKA,4DAAyD;AACzD,uFAAoF;AACpF,wEAAqE;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,8BACE,KAA6B,EAC7B,KAAoB;IAEpB,MAAM,KAAK,GAAoB,IAAA,qCAAiB,EAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,OAAO;QACL,IAAI,EAAE,OAAO,KAAK,sEAAsE;QACxF,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,IAAA,uCAAkB,EAAC,KAAK,EAAE,MAAM,CAAC;QACvC,KAAK,EAAE,CAAC,cAAc,CAAC;QACvB,uBAAuB,EAAE,CAAC,2BAA2B,CAAC;QACtD,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,KAAK,KAAK,UAAU;QAC9B,SAAS,EAAE,IAAA,qDAAyB,EAAC,KAAK,EAAE,KAAK,CAAC;KACnD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createDiscoveryClaim.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createDiscoveryClaim.ts"],"names":[],"mappings":";;;AAIA,4DAAyD;AACzD,0DAAuD;AACvD,uFAAoF;AACpF,wEAAqE;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,8BACE,KAA6B,EAC7B,KAAoB;IAEpB,MAAM,KAAK,GAA6B,IAAA,mCAAgB,EAAC,KAAK,CAAC,CAAC;IAChE,MAAM,QAAQ,GAAY,KAAK;SAC5B,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SAC3B,KAAK,CACJ,CAAC,KAAoB,EAAW,EAAE,CAChC,IAAA,qCAAiB,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,UAAU,CACjD,CAAC;IACJ,OAAO;QACL,IAAI,EAAE,OAAO,KAAK,sEAAsE;QACxF,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,IAAA,uCAAkB,EAAC,KAAK,EAAE,MAAM,CAAC;QACvC,KAAK,EAAE,CAAC,cAAc,CAAC;QACvB,uBAAuB,EAAE,CAAC,2BAA2B,CAAC;QACtD,MAAM,EAAE,MAAM;QACd,QAAQ;QACR,SAAS,EAAE,IAAA,qDAAyB,EAAC,KAAK,EAAE,KAAK,CAAC;KACnD,CAAC;AACJ,CAAC"}
@@ -2,22 +2,23 @@ import type { IEvidenceClaim } from "@wrtnlabs/evidence";
2
2
  import type { AuthoredLayer } from "../../AuthoredLayer";
3
3
  import type { IProductionConfigProps } from "../../IProductionConfigProps";
4
4
  /**
5
- * Creates population expression claims for the edition that settles its language.
5
+ * Creates the scripts population expression claims.
6
6
  *
7
7
  * A population question about expression, such as which sentence frames recur
8
8
  * or how endings converge, is about the language of the finished layer.
9
- * Scripts settles that language in construction; final screenplay settles it
10
- * in naturalness. The finished population answers once at file level under
11
- * the same stage as its unit expression questions.
9
+ * Scripts settle that language in construction, so the script population
10
+ * answers once at file level under the scripts construction stage. The
11
+ * screenplay settles its speech in construction too, under its realized-speech
12
+ * principles, and owes no separate expression family.
12
13
  *
13
14
  * The contract files sit under `naturalness/obligations`, a folder the unit
14
15
  * checklists never select, so a population duty cannot leak into a per-unit
15
16
  * checklist. A package whose contract predates the folder has no such claim.
16
17
  *
17
- * @evidence contracts/development/implementation.md#principled-implementation Only expression-bearing layers receive file-level obligation claims in their finished edition; installed shared and language files are selected separately, each requiring exactly one respondent for every population item; createContractDirectory probes shared documents in the shared skills tree and language documents in the production's own `docs/contracts`.
18
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Expression population questions have their own file-level family; scripts use construction and screenplay uses naturalness without leaking whole-population duties into unit checklists.
19
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts An absent optional obligation document produces no claim under the supported older-contract layout; settings/treatments have no independent naturalness stage by contract.
20
- * @evidence contracts/development/common.md#meaningful-documentation The prose identifies finished-text respondents, file-level population semantics, layer-specific activation and optional older contract families.
18
+ * @evidence contracts/development/implementation.md#principled-implementation Only scripts receive file-level expression obligation claims, under their construction stage; installed shared and language files are selected separately, each requiring exactly one respondent for every population item; createContractDirectory probes shared documents in the shared skills tree and language documents in the production's own `docs/contracts`.
19
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure Expression population questions have their own file-level family under scripts construction without leaking whole-population duties into unit checklists.
20
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts An absent optional obligation document produces no claim under the supported older-contract layout; every other layer finishes its language in its own construction questions.
21
+ * @evidence contracts/development/common.md#meaningful-documentation The prose identifies the scripts respondents, file-level population semantics, construction activation and optional older contract families.
21
22
  * @evidence contracts/development/implementation.md#efficient-algorithms layerFiles supplies at most four candidate documents per scope; a bounded number of synchronous existence probes and path constructions dominate, and returned claims/references are fixed in count.
22
23
  * @evidence contracts/development/implementation.md#reuse-equivalent-work Both scopes reuse layerFiles and shared reference constructors; existence is refreshed for each config build because installed contract files can change between builds.
23
24
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only bounded claim arrays and reference objects survive under caller ownership; fs.existsSync calls retain no exposed descriptor and there is no process-wide family cache.
@@ -6,50 +6,44 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.createExpressionObligationClaims = createExpressionObligationClaims;
7
7
  const node_fs_1 = __importDefault(require("node:fs"));
8
8
  const node_path_1 = __importDefault(require("node:path"));
9
- const REALIZED_LAYERS_1 = require("../REALIZED_LAYERS");
10
9
  const constructionStage_1 = require("../constructionStage");
11
- const hasNaturalness_1 = require("../hasNaturalness");
12
10
  const createLocalContractReference_1 = require("../references/createLocalContractReference");
13
11
  const createSharedReference_1 = require("../references/createSharedReference");
14
12
  const layerFiles_1 = require("../references/layerFiles");
13
+ const BODY_ROOT_1 = require("../utilities/BODY_ROOT");
15
14
  const createContractDirectory_1 = require("../utilities/createContractDirectory");
16
15
  const createUnitFiles_1 = require("../utilities/createUnitFiles");
17
- const passRoot_1 = require("../utilities/passRoot");
18
16
  /**
19
- * Creates population expression claims for the edition that settles its language.
17
+ * Creates the scripts population expression claims.
20
18
  *
21
19
  * A population question about expression, such as which sentence frames recur
22
20
  * or how endings converge, is about the language of the finished layer.
23
- * Scripts settles that language in construction; final screenplay settles it
24
- * in naturalness. The finished population answers once at file level under
25
- * the same stage as its unit expression questions.
21
+ * Scripts settle that language in construction, so the script population
22
+ * answers once at file level under the scripts construction stage. The
23
+ * screenplay settles its speech in construction too, under its realized-speech
24
+ * principles, and owes no separate expression family.
26
25
  *
27
26
  * The contract files sit under `naturalness/obligations`, a folder the unit
28
27
  * checklists never select, so a population duty cannot leak into a per-unit
29
28
  * checklist. A package whose contract predates the folder has no such claim.
30
29
  *
31
- * @evidence contracts/development/implementation.md#principled-implementation Only expression-bearing layers receive file-level obligation claims in their finished edition; installed shared and language files are selected separately, each requiring exactly one respondent for every population item; createContractDirectory probes shared documents in the shared skills tree and language documents in the production's own `docs/contracts`.
32
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Expression population questions have their own file-level family; scripts use construction and screenplay uses naturalness without leaking whole-population duties into unit checklists.
33
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts An absent optional obligation document produces no claim under the supported older-contract layout; settings/treatments have no independent naturalness stage by contract.
34
- * @evidence contracts/development/common.md#meaningful-documentation The prose identifies finished-text respondents, file-level population semantics, layer-specific activation and optional older contract families.
30
+ * @evidence contracts/development/implementation.md#principled-implementation Only scripts receive file-level expression obligation claims, under their construction stage; installed shared and language files are selected separately, each requiring exactly one respondent for every population item; createContractDirectory probes shared documents in the shared skills tree and language documents in the production's own `docs/contracts`.
31
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure Expression population questions have their own file-level family under scripts construction without leaking whole-population duties into unit checklists.
32
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts An absent optional obligation document produces no claim under the supported older-contract layout; every other layer finishes its language in its own construction questions.
33
+ * @evidence contracts/development/common.md#meaningful-documentation The prose identifies the scripts respondents, file-level population semantics, construction activation and optional older contract families.
35
34
  * @evidence contracts/development/implementation.md#efficient-algorithms layerFiles supplies at most four candidate documents per scope; a bounded number of synchronous existence probes and path constructions dominate, and returned claims/references are fixed in count.
36
35
  * @evidence contracts/development/implementation.md#reuse-equivalent-work Both scopes reuse layerFiles and shared reference constructors; existence is refreshed for each config build because installed contract files can change between builds.
37
36
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only bounded claim arrays and reference objects survive under caller ownership; fs.existsSync calls retain no exposed descriptor and there is no process-wide family cache.
38
37
  */
39
38
  function createExpressionObligationClaims(props, layer) {
40
- if (!REALIZED_LAYERS_1.REALIZED_LAYERS.has(layer))
39
+ if (layer !== "scripts")
41
40
  return [];
42
- const revised = (0, hasNaturalness_1.hasNaturalness)(layer);
43
- const stage = revised
44
- ? props.naturalness.screenplay
45
- : (0, constructionStage_1.constructionStage)(props, layer);
46
- const disabled = stage === "disabled";
41
+ const disabled = (0, constructionStage_1.constructionStage)(props, layer) === "disabled";
47
42
  const directory = "naturalness/obligations";
48
43
  const shared = (0, layerFiles_1.layerFiles)(layer)
49
44
  .filter((file) => exists(props, "shared", `${directory}/${file}`))
50
45
  .map((file) => claim({
51
46
  disabled,
52
- revised,
53
47
  layer,
54
48
  scope: props.narrativeScope,
55
49
  reference: (0, createSharedReference_1.createSharedReference)({
@@ -72,7 +66,6 @@ function createExpressionObligationClaims(props, layer) {
72
66
  : [
73
67
  claim({
74
68
  disabled,
75
- revised,
76
69
  layer,
77
70
  scope: props.narrativeScope,
78
71
  reference,
@@ -81,12 +74,12 @@ function createExpressionObligationClaims(props, layer) {
81
74
  });
82
75
  return [...shared, ...language];
83
76
  }
84
- /** Creates one claim whose finished documents answer each item exactly once. */
77
+ /** Creates one claim whose layer documents answer each item exactly once. */
85
78
  function claim(props) {
86
79
  return {
87
- name: `${props.layer} ${props.revised ? "final" : "draft"} documents answer each ${props.reference.files[0]} item once`,
80
+ name: `${props.layer} documents answer each ${props.reference.files[0]} item once`,
88
81
  type: "markdown",
89
- root: (0, passRoot_1.passRoot)(props.revised ? "final" : "draft"),
82
+ root: BODY_ROOT_1.BODY_ROOT,
90
83
  files: (0, createUnitFiles_1.createUnitFiles)(props.layer, props.scope),
91
84
  symbol: "file",
92
85
  disabled: props.disabled,
@@ -1 +1 @@
1
- {"version":3,"file":"createExpressionObligationClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createExpressionObligationClaims.ts"],"names":[],"mappings":";;;;;;AAIA,sDAAyB;AACzB,0DAA6B;AAM7B,wDAAqD;AACrD,4DAAyD;AACzD,sDAAmD;AACnD,6FAA0F;AAC1F,+EAA4E;AAC5E,yDAAsD;AACtD,kFAA+E;AAC/E,kEAA+D;AAC/D,oDAAiD;AAEjD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,0CACE,KAA6B,EAC7B,KAAoB;IAEpB,IAAI,CAAC,iCAAe,CAAC,GAAG,CAAC,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAC3C,MAAM,OAAO,GAAY,IAAA,+BAAc,EAAC,KAAK,CAAC,CAAC;IAC/C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AAc;oBAC3B,SAAS;iBACV,CAAC;aACH,CAAC;IACR,CAAC,CACF,CAAC;IAEF,OAAO,CAAC,GAAG,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAC;AAClC,CAAC;AAED,gFAAgF;AAChF,SAAS,KAAK,CAAC,KAMd;IACC,OAAO;QACL,IAAI,EAAE,GAAG,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,0BAA0B,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY;QACvH,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,IAAA,mBAAQ,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;QACjD,KAAK,EAAE,IAAA,iCAAe,EAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QAChD,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,SAAS,EAAE,EAAE,GAAG,KAAK,CAAC,SAAS,EAAE,cAAc,EAAE,IAAI,EAAE;KACxD,CAAC;AACJ,CAAC;AAED,0EAA0E;AAC1E,SAAS,MAAM,CACb,SAA4B,EAC5B,KAA4B,EAC5B,IAAY;IAEZ,OAAO,iBAAE,CAAC,UAAU,CAClB,mBAAI,CAAC,IAAI,CACP,IAAA,iDAAuB,EAAC,SAAS,EAAE,KAAK,CAAC,EACzC,KAAK,EACL,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CACnB,CACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createExpressionObligationClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createExpressionObligationClaims.ts"],"names":[],"mappings":";;;;;;AAIA,sDAAyB;AACzB,0DAA6B;AAK7B,4DAAyD;AACzD,6FAA0F;AAC1F,+EAA4E;AAC5E,yDAAsD;AACtD,sDAAmD;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,KAAK,EAAE,KAAK,CAAC,cAAc;oBAC3B,SAAS;iBACV,CAAC;aACH,CAAC;IACR,CAAC,CACF,CAAC;IAEF,OAAO,CAAC,GAAG,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAC;AAClC,CAAC;AAED,6EAA6E;AAC7E,SAAS,KAAK,CAAC,KAKd;IACC,OAAO;QACL,IAAI,EAAE,GAAG,KAAK,CAAC,KAAK,0BAA0B,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY;QAClF,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,qBAAS;QACf,KAAK,EAAE,IAAA,iCAAe,EAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QAChD,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,SAAS,EAAE,EAAE,GAAG,KAAK,CAAC,SAAS,EAAE,cAAc,EAAE,IAAI,EAAE;KACxD,CAAC;AACJ,CAAC;AAED,0EAA0E;AAC1E,SAAS,MAAM,CACb,SAA4B,EAC5B,KAA4B,EAC5B,IAAY;IAEZ,OAAO,iBAAE,CAAC,UAAU,CAClB,mBAAI,CAAC,IAAI,CACP,IAAA,iDAAuB,EAAC,SAAS,EAAE,KAAK,CAAC,EACzC,KAAK,EACL,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CACnB,CACF,CAAC;AACJ,CAAC"}
@@ -1,13 +1,15 @@
1
1
  import type { IEvidenceClaim } from "@wrtnlabs/evidence";
2
2
  import type { IProductionConfigProps } from "../../IProductionConfigProps";
3
3
  /**
4
- * Tracks instruction adoption in canon, settings or a short's brief, and realization in treatments or a short's screenplay.
4
+ * Tracks instruction adoption in long work's settings, and realization in treatments or a short's screenplay.
5
5
  * Each layer covers the targets independently through its own construction
6
6
  * hosts and stage. Settings accounts for every adopted requirement; treatments
7
- * can exclude requirements outside its selected narrative population.
7
+ * can exclude requirements outside its selected narrative population. A
8
+ * short's brief holds only what the commission leaves open, so it owes no
9
+ * instruction citation and its screenplay realizes every requirement.
8
10
  * Instructions remain targets only. No instructions folder means no claim.
9
11
  *
10
- * @evidence contracts/development/implementation.md#principled-implementation When docs/instructions exists, selected draft H2 hosts independently cover every instruction H2; treatments may exclude out-of-population requirements while canon or short screenplay may not.
12
+ * @evidence contracts/development/implementation.md#principled-implementation When docs/instructions exists, selected body H2 hosts independently cover every instruction H2; treatments may exclude out-of-population requirements while settings or short screenplay may not.
11
13
  * @evidence contracts/development/implementation.md#clear-and-simple-structure The optional instruction input stays a reference population rather than becoming another authored host tree.
12
14
  * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The treatments exclusion difference follows narrative-population scope; an absent instruction directory returns undefined rather than manufacturing an input requirement.
13
15
  * @evidence contracts/development/common.md#meaningful-documentation The prose states adoption versus realization, independent stage ownership, target-only instructions and the absent-directory result.
@@ -15,4 +17,4 @@ import type { IProductionConfigProps } from "../../IProductionConfigProps";
15
17
  * @evidence contracts/development/implementation.md#reuse-equivalent-work The shared unit-selector and stage-normalization helpers are reused; the directory is observed on every build so a cached absence cannot suppress newly supplied instructions.
16
18
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The optional returned claim owns a constant-count selector/reference structure; existence probing creates no retained handle, and no task or global cache is started.
17
19
  */
18
- export declare function createInstructionCoverageClaim(props: IProductionConfigProps, layer: "settings" | "brief" | "treatments" | "screenplay"): IEvidenceClaim | undefined;
20
+ export declare function createInstructionCoverageClaim(props: IProductionConfigProps, layer: "settings" | "treatments" | "screenplay"): IEvidenceClaim | undefined;
@@ -7,17 +7,19 @@ exports.createInstructionCoverageClaim = createInstructionCoverageClaim;
7
7
  const node_fs_1 = __importDefault(require("node:fs"));
8
8
  const node_path_1 = __importDefault(require("node:path"));
9
9
  const constructionStage_1 = require("../constructionStage");
10
+ const BODY_ROOT_1 = require("../utilities/BODY_ROOT");
10
11
  const PACKAGE_DOCS_ROOT_1 = require("../utilities/PACKAGE_DOCS_ROOT");
11
12
  const createUnitFiles_1 = require("../utilities/createUnitFiles");
12
- const passRoot_1 = require("../utilities/passRoot");
13
13
  /**
14
- * Tracks instruction adoption in canon, settings or a short's brief, and realization in treatments or a short's screenplay.
14
+ * Tracks instruction adoption in long work's settings, and realization in treatments or a short's screenplay.
15
15
  * Each layer covers the targets independently through its own construction
16
16
  * hosts and stage. Settings accounts for every adopted requirement; treatments
17
- * can exclude requirements outside its selected narrative population.
17
+ * can exclude requirements outside its selected narrative population. A
18
+ * short's brief holds only what the commission leaves open, so it owes no
19
+ * instruction citation and its screenplay realizes every requirement.
18
20
  * Instructions remain targets only. No instructions folder means no claim.
19
21
  *
20
- * @evidence contracts/development/implementation.md#principled-implementation When docs/instructions exists, selected draft H2 hosts independently cover every instruction H2; treatments may exclude out-of-population requirements while canon or short screenplay may not.
22
+ * @evidence contracts/development/implementation.md#principled-implementation When docs/instructions exists, selected body H2 hosts independently cover every instruction H2; treatments may exclude out-of-population requirements while settings or short screenplay may not.
21
23
  * @evidence contracts/development/implementation.md#clear-and-simple-structure The optional instruction input stays a reference population rather than becoming another authored host tree.
22
24
  * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The treatments exclusion difference follows narrative-population scope; an absent instruction directory returns undefined rather than manufacturing an input requirement.
23
25
  * @evidence contracts/development/common.md#meaningful-documentation The prose states adoption versus realization, independent stage ownership, target-only instructions and the absent-directory result.
@@ -33,7 +35,7 @@ function createInstructionCoverageClaim(props, layer) {
33
35
  return {
34
36
  name: `the ${layer} canon realizes every user instruction`,
35
37
  type: "markdown",
36
- root: (0, passRoot_1.passRoot)("draft"),
38
+ root: BODY_ROOT_1.BODY_ROOT,
37
39
  files: (0, createUnitFiles_1.createUnitFiles)(layer, props.narrativeScope),
38
40
  symbol: "h2",
39
41
  disabled: stage === "disabled",
@@ -1 +1 @@
1
- {"version":3,"file":"createInstructionCoverageClaim.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createInstructionCoverageClaim.ts"],"names":[],"mappings":";;;;;;AACA,sDAAyB;AACzB,0DAA6B;AAI7B,4DAAyD;AACzD,sEAAmE;AACnE,kEAA+D;AAC/D,oDAAiD;AAEjD;;;;;;;;;;;;;;GAcG;AACH,wCACE,KAA6B,EAC7B,KAAyD;IAEzD,MAAM,KAAK,GAAoB,IAAA,qCAAiB,EAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,MAAM,SAAS,GAAW,mBAAI,CAAC,IAAI,CACjC,KAAK,CAAC,QAAQ,EACd,qCAAiB,EACjB,cAAc,CACf,CAAC;IACF,IAAI,CAAC,iBAAE,CAAC,UAAU,CAAC,SAAS,CAAC;QAAE,OAAO,SAAS,CAAC;IAChD,OAAO;QACL,IAAI,EAAE,OAAO,KAAK,wCAAwC;QAC1D,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,IAAA,mBAAQ,EAAC,OAAO,CAAC;QACvB,KAAK,EAAE,IAAA,iCAAe,EAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC;QACnD,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,KAAK,KAAK,UAAU;QAC9B,SAAS,EAAE;YACT,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,qCAAiB;YACvB,KAAK,EAAE,CAAC,mBAAmB,CAAC;YAC5B,MAAM,EAAE,IAAI;YACZ,iBAAiB,EAAE,KAAK,KAAK,YAAY;SAC1C;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createInstructionCoverageClaim.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createInstructionCoverageClaim.ts"],"names":[],"mappings":";;;;;;AACA,sDAAyB;AACzB,0DAA6B;AAI7B,4DAAyD;AACzD,sDAAmD;AACnD,sEAAmE;AACnE,kEAA+D;AAE/D;;;;;;;;;;;;;;;;GAgBG;AACH,wCACE,KAA6B,EAC7B,KAA+C;IAE/C,MAAM,KAAK,GAAoB,IAAA,qCAAiB,EAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,MAAM,SAAS,GAAW,mBAAI,CAAC,IAAI,CACjC,KAAK,CAAC,QAAQ,EACd,qCAAiB,EACjB,cAAc,CACf,CAAC;IACF,IAAI,CAAC,iBAAE,CAAC,UAAU,CAAC,SAAS,CAAC;QAAE,OAAO,SAAS,CAAC;IAChD,OAAO;QACL,IAAI,EAAE,OAAO,KAAK,wCAAwC;QAC1D,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,qBAAS;QACf,KAAK,EAAE,IAAA,iCAAe,EAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC;QACnD,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,KAAK,KAAK,UAAU;QAC9B,SAAS,EAAE;YACT,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,qCAAiB;YACvB,KAAK,EAAE,CAAC,mBAAmB,CAAC;YAC5B,MAAM,EAAE,IAAI;YACZ,iBAAiB,EAAE,KAAK,KAAK,YAAY;SAC1C;KACF,CAAC;AACJ,CAAC"}
@@ -12,18 +12,18 @@ import type { IProductionConfigProps } from "../../IProductionConfigProps";
12
12
  * What differs between layers is which parents exist. Canon, settings or a
13
13
  * short's brief, inherits nothing, so it has no construction file claim.
14
14
  * Treatments account for settings, and a short's screenplay for its brief.
15
- * Scripts realize the treatments they divide, and screenplay additionally preserves
16
- * the script partition exactly.
15
+ * Scripts realize the treatments they divide. A long screenplay keeps the
16
+ * script partition: each screenplay scene file realizes exactly one script
17
+ * scene H2, so a script episode file becomes the screenplay episode folder of
18
+ * its scene files.
17
19
  *
18
- * Construction hosts body; screenplay naturalness hosts working text against
19
- * frozen construction. Script construction also answers expression questions,
20
- * because a frozen content-preserving revision cannot repair content-shaped
21
- * speech defects where those questions find them.
20
+ * Script construction also answers the expression questions, because scripts
21
+ * settle their own language and no later pass revises it.
22
22
  *
23
- * @evidence contracts/development/implementation.md#principled-implementation Construction H2 claims, file inheritance and independent naturalness claims use native reference flags for per-unit checklists, treatment coverage and exact script/frozen lineage; naturalness hosts the working tree and targets its frozen construction.
23
+ * @evidence contracts/development/implementation.md#principled-implementation Construction H2 claims and file inheritance use native reference flags for per-unit checklists, treatment coverage and exact script-scene lineage, where each screenplay scene file cites the one script scene H2 it realizes; scripts construction also selects its expression family.
24
24
  * @evidence contracts/development/implementation.md#clear-and-simple-structure One layer factory centralizes stage/root/parent choices, while population obligations, discovery and review remain separate factories with their distinct respondents.
25
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Short screenplay cites its actual brief and compact short its actual settings without invented treatment or script parents; canon has no inherited file claim, and only screenplay receives separate naturalness claims, while scripts construction selects its expression questions.
26
- * @evidence contracts/development/common.md#meaningful-documentation The prose distinguishes unit/population duties, layer-specific parents and body versus working hosts; nearby comments explain topology capture and frozen-reference ownership.
25
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Short screenplay cites its actual brief without invented treatment or script parents; canon has no inherited file claim, and only scripts construction selects the expression questions.
26
+ * @evidence contracts/development/common.md#meaningful-documentation The prose distinguishes unit/population duties, layer-specific parents, the scene-file lineage and scripts expression; nearby comments explain topology capture.
27
27
  * @evidence contracts/development/implementation.md#efficient-algorithms A fixed number of claims and reference families are constructed per layer; helper existence probes dominate most layers, while treatments and short screenplay also enumerate canon files for coverage, whose scans and sorting scale with the installed canon.
28
28
  * @evidence contracts/development/implementation.md#reuse-equivalent-work Unit/topology selectors, parent-reference builders and scalar stages are reused within the construction; each build refreshes filesystem-dependent contract/canon observations instead of retaining stale config results.
29
29
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned native claims own their layer-family objects and any canon-derived references; synchronous discovery leaves no filesystem handle or background task open.
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createLayerClaims = createLayerClaims;
4
4
  const createNarrativeUnitFiles_1 = require("../../createNarrativeUnitFiles");
5
5
  const constructionStage_1 = require("../constructionStage");
6
- const hasNaturalness_1 = require("../hasNaturalness");
7
6
  const isCanonLayer_1 = require("../isCanonLayer");
8
7
  const createCoverageReference_1 = require("../references/createCoverageReference");
9
8
  const createLanguagePrincipleReferences_1 = require("../references/createLanguagePrincipleReferences");
@@ -11,8 +10,8 @@ const createLineageReference_1 = require("../references/createLineageReference")
11
10
  const createPrincipleReferences_1 = require("../references/createPrincipleReferences");
12
11
  const createUpstreamReference_1 = require("../references/createUpstreamReference");
13
12
  const createTopologyFiles_1 = require("../topology/createTopologyFiles");
13
+ const BODY_ROOT_1 = require("../utilities/BODY_ROOT");
14
14
  const createUnitFiles_1 = require("../utilities/createUnitFiles");
15
- const passRoot_1 = require("../utilities/passRoot");
16
15
  const createSettingCoverageClaim_1 = require("./createSettingCoverageClaim");
17
16
  /**
18
17
  * Creates the shared claims for one authored layer.
@@ -25,18 +24,18 @@ const createSettingCoverageClaim_1 = require("./createSettingCoverageClaim");
25
24
  * What differs between layers is which parents exist. Canon, settings or a
26
25
  * short's brief, inherits nothing, so it has no construction file claim.
27
26
  * Treatments account for settings, and a short's screenplay for its brief.
28
- * Scripts realize the treatments they divide, and screenplay additionally preserves
29
- * the script partition exactly.
27
+ * Scripts realize the treatments they divide. A long screenplay keeps the
28
+ * script partition: each screenplay scene file realizes exactly one script
29
+ * scene H2, so a script episode file becomes the screenplay episode folder of
30
+ * its scene files.
30
31
  *
31
- * Construction hosts body; screenplay naturalness hosts working text against
32
- * frozen construction. Script construction also answers expression questions,
33
- * because a frozen content-preserving revision cannot repair content-shaped
34
- * speech defects where those questions find them.
32
+ * Script construction also answers the expression questions, because scripts
33
+ * settle their own language and no later pass revises it.
35
34
  *
36
- * @evidence contracts/development/implementation.md#principled-implementation Construction H2 claims, file inheritance and independent naturalness claims use native reference flags for per-unit checklists, treatment coverage and exact script/frozen lineage; naturalness hosts the working tree and targets its frozen construction.
35
+ * @evidence contracts/development/implementation.md#principled-implementation Construction H2 claims and file inheritance use native reference flags for per-unit checklists, treatment coverage and exact script-scene lineage, where each screenplay scene file cites the one script scene H2 it realizes; scripts construction also selects its expression family.
37
36
  * @evidence contracts/development/implementation.md#clear-and-simple-structure One layer factory centralizes stage/root/parent choices, while population obligations, discovery and review remain separate factories with their distinct respondents.
38
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Short screenplay cites its actual brief and compact short its actual settings without invented treatment or script parents; canon has no inherited file claim, and only screenplay receives separate naturalness claims, while scripts construction selects its expression questions.
39
- * @evidence contracts/development/common.md#meaningful-documentation The prose distinguishes unit/population duties, layer-specific parents and body versus working hosts; nearby comments explain topology capture and frozen-reference ownership.
37
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Short screenplay cites its actual brief without invented treatment or script parents; canon has no inherited file claim, and only scripts construction selects the expression questions.
38
+ * @evidence contracts/development/common.md#meaningful-documentation The prose distinguishes unit/population duties, layer-specific parents, the scene-file lineage and scripts expression; nearby comments explain topology capture.
40
39
  * @evidence contracts/development/implementation.md#efficient-algorithms A fixed number of claims and reference families are constructed per layer; helper existence probes dominate most layers, while treatments and short screenplay also enumerate canon files for coverage, whose scans and sorting scale with the installed canon.
41
40
  * @evidence contracts/development/implementation.md#reuse-equivalent-work Unit/topology selectors, parent-reference builders and scalar stages are reused within the construction; each build refreshes filesystem-dependent contract/canon observations instead of retaining stale config results.
42
41
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned native claims own their layer-family objects and any canon-derived references; synchronous discovery leaves no filesystem handle or background task open.
@@ -49,37 +48,48 @@ function createLayerClaims(props, layer) {
49
48
  const topology = (0, isCanonLayer_1.isCanonLayer)(layer)
50
49
  ? files
51
50
  : (0, createTopologyFiles_1.createTopologyFiles)(layer, props.narrativeScope);
52
- const treatments = (0, createNarrativeUnitFiles_1.createNarrativeUnitFiles)("treatments", props.narrativeScope);
53
- const scripts = (0, createNarrativeUnitFiles_1.createNarrativeUnitFiles)("scripts", props.narrativeScope);
51
+ const treatments = (0, createNarrativeUnitFiles_1.createNarrativeUnitFiles)({
52
+ layer: "treatments",
53
+ scope: props.narrativeScope,
54
+ });
55
+ const scripts = (0, createNarrativeUnitFiles_1.createNarrativeUnitFiles)({
56
+ layer: "scripts",
57
+ scope: props.narrativeScope,
58
+ });
54
59
  const parents = (symbol) => props.mode !== "long"
55
60
  ? []
56
61
  : [
57
- ...(layer === "screenplay"
58
- ? [(0, createLineageReference_1.createLineageReference)(scripts, symbol, "draft")]
62
+ // A screenplay scene file realizes one script scene, an H2 of its
63
+ // episode file; its sections have no one-to-one script parent.
64
+ ...(layer === "screenplay" && symbol === "file"
65
+ ? [(0, createLineageReference_1.createLineageReference)(scripts, "h2")]
59
66
  : []),
60
67
  ...(layer === "scripts" || layer === "screenplay"
61
- ? [(0, createCoverageReference_1.createCoverageReference)(treatments, symbol, "draft")]
68
+ ? [(0, createCoverageReference_1.createCoverageReference)(treatments, symbol)]
62
69
  : []),
63
70
  ];
64
- const naturalness = [
65
- ...(0, createPrincipleReferences_1.createPrincipleReferences)({
66
- contracts: props,
67
- layer,
68
- gate: "naturalness",
69
- }),
70
- ...(0, createLanguagePrincipleReferences_1.createLanguagePrincipleReferences)({
71
- location: props.location,
72
- layer,
73
- gate: "naturalness",
74
- }),
75
- ];
76
71
  // Script expression must remain repairable in the same construction body.
77
- const expression = layer === "scripts" ? naturalness : [];
78
- const inherits = (0, isCanonLayer_1.isCanonLayer)(layer) ? "" : ", and account for the layers they inherit";
72
+ const expression = layer === "scripts"
73
+ ? [
74
+ ...(0, createPrincipleReferences_1.createPrincipleReferences)({
75
+ contracts: props,
76
+ layer,
77
+ family: "naturalness",
78
+ }),
79
+ ...(0, createLanguagePrincipleReferences_1.createLanguagePrincipleReferences)({
80
+ location: props.location,
81
+ layer,
82
+ family: "naturalness",
83
+ }),
84
+ ]
85
+ : [];
86
+ const inherits = (0, isCanonLayer_1.isCanonLayer)(layer)
87
+ ? ""
88
+ : ", and account for the layers they inherit";
79
89
  const unit = {
80
90
  name: `${layer} H2 units answer their principle checklists${inherits}`,
81
91
  type: "markdown",
82
- root: (0, passRoot_1.passRoot)("draft"),
92
+ root: BODY_ROOT_1.BODY_ROOT,
83
93
  files: topology,
84
94
  symbol: "h2",
85
95
  disabled,
@@ -87,49 +97,20 @@ function createLayerClaims(props, layer) {
87
97
  ...(0, createPrincipleReferences_1.createPrincipleReferences)({
88
98
  contracts: props,
89
99
  layer,
90
- gate: "layer",
100
+ family: "principles",
91
101
  }),
92
102
  ...(0, createLanguagePrincipleReferences_1.createLanguagePrincipleReferences)({
93
103
  location: props.location,
94
104
  layer,
95
- gate: "layer",
105
+ family: "principles",
96
106
  }),
97
107
  ...((0, isCanonLayer_1.isCanonLayer)(layer) ? [] : [(0, createUpstreamReference_1.createUpstreamReference)(props, layer)]),
98
108
  ...expression,
99
109
  ...parents("h2"),
100
110
  ],
101
111
  };
102
- // The revision snapshot is a reference, not another authored edition.
103
- const second = (0, hasNaturalness_1.hasNaturalness)(layer)
104
- ? props.naturalness.screenplay
105
- : "disabled";
106
- const surface = (0, hasNaturalness_1.hasNaturalness)(layer)
107
- ? [
108
- {
109
- name: `${layer} final files preserve their draft lineage for naturalness`,
110
- type: "markdown",
111
- root: (0, passRoot_1.passRoot)("final"),
112
- files,
113
- symbol: "file",
114
- disabled: second === "disabled",
115
- reference: [(0, createLineageReference_1.createLineageReference)(files, "file", "revision")],
116
- },
117
- {
118
- name: `${layer} final H2 units answer their naturalness checklists`,
119
- type: "markdown",
120
- root: (0, passRoot_1.passRoot)("final"),
121
- files: topology,
122
- symbol: "h2",
123
- disabled: second === "disabled",
124
- reference: [
125
- (0, createLineageReference_1.createLineageReference)(topology, "h2", "revision"),
126
- ...naturalness,
127
- ],
128
- },
129
- ]
130
- : [];
131
112
  if ((0, isCanonLayer_1.isCanonLayer)(layer))
132
- return [unit, ...surface];
113
+ return [unit];
133
114
  const coverage = layer === "treatments"
134
115
  ? (0, createSettingCoverageClaim_1.createSettingCoverageClaim)(props, layer)
135
116
  : layer === "screenplay" && props.mode === "short"
@@ -139,14 +120,13 @@ function createLayerClaims(props, layer) {
139
120
  {
140
121
  name: `${layer} unit files account for the layers they inherit`,
141
122
  type: "markdown",
142
- root: (0, passRoot_1.passRoot)("draft"),
123
+ root: BODY_ROOT_1.BODY_ROOT,
143
124
  files,
144
125
  symbol: "file",
145
126
  disabled,
146
127
  reference: parents("file"),
147
128
  },
148
129
  unit,
149
- ...surface,
150
130
  ...(coverage === undefined ? [] : [coverage]),
151
131
  ];
152
132
  }
@@ -1 +1 @@
1
- {"version":3,"file":"createLayerClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createLayerClaims.ts"],"names":[],"mappings":";;;AAKA,6EAA0E;AAC1E,4DAAyD;AACzD,sDAAmD;AACnD,kDAA+C;AAC/C,mFAAgF;AAChF,uGAAoG;AACpG,iFAA8E;AAC9E,uFAAoF;AACpF,mFAAgF;AAChF,yEAAsE;AACtE,kEAA+D;AAC/D,oDAAiD;AACjD,6EAA0E;AAE1E;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,2BACE,KAA6B,EAC7B,KAAoB;IAEpB,MAAM,KAAK,GAAoB,IAAA,qCAAiB,EAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,MAAM,QAAQ,GAAY,KAAK,KAAK,UAAU,CAAC;IAC/C,MAAM,KAAK,GAAa,IAAA,iCAAe,EAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAErE,8EAA8E;IAC9E,MAAM,QAAQ,GACZ,IAAA,2BAAY,EAAC,KAAK,CAAC;QACjB,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,IAAA,yCAAmB,EAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAEvD,MAAM,UAAU,GAAa,IAAA,mDAAwB,EACnD,YAAY,EACZ,KAAK,CAAC,cAAc,CACrB,CAAC;IACF,MAAM,OAAO,GAAa,IAAA,mDAAwB,EAChD,SAAS,EACT,KAAK,CAAC,cAAc,CACrB,CAAC;IAEF,MAAM,OAAO,GAAoD,CAC/D,MAAqB,EACC,EAAE,CACxB,KAAK,CAAC,IAAI,KAAK,MAAM;QACn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AAO,CAAC,IAAI,EAAE,GAAG,OAAO,CAAC,CAAC;IAEnD,MAAM,QAAQ,GACZ,KAAK,KAAK,YAAY;QACpB,CAAC,CAAC,IAAA,uDAA0B,EAAC,KAAK,EAAE,KAAK,CAAC;QAC1C,CAAC,CAAC,KAAK,KAAK,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO;YAChD,CAAC,CAAC,IAAA,uDAA0B,EAAC,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC;YACnD,CAAC,CAAC,SAAS,CAAC;IAClB,OAAO;QACL;YACE,IAAI,EAAE,GAAG,KAAK,iDAAiD;YAC/D,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,IAAA,mBAAQ,EAAC,OAAO,CAAC;YACvB,KAAK;YACL,MAAM,EAAE,MAAM;YACd,QAAQ;YACR,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC;SAC3B;QACD,IAAI;QACJ,GAAG,OAAO;QACV,GAAG,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;KAC9C,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createLayerClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createLayerClaims.ts"],"names":[],"mappings":";;;AAKA,6EAA0E;AAC1E,4DAAyD;AACzD,kDAA+C;AAC/C,mFAAgF;AAChF,uGAAoG;AACpG,iFAA8E;AAC9E,uFAAoF;AACpF,mFAAgF;AAChF,yEAAsE;AACtE,sDAAmD;AACnD,kEAA+D;AAC/D,6EAA0E;AAE1E;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,2BACE,KAA6B,EAC7B,KAAoB;IAEpB,MAAM,KAAK,GAAoB,IAAA,qCAAiB,EAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,MAAM,QAAQ,GAAY,KAAK,KAAK,UAAU,CAAC;IAC/C,MAAM,KAAK,GAAa,IAAA,iCAAe,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