@automovie/evidence 0.3.2 → 0.3.4

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 (97) hide show
  1. package/README.md +12 -2
  2. package/lib/IAutoMovieDevelopmentProps.d.ts +7 -4
  3. package/lib/IAutoMovieEvidenceConfigProps.d.ts +2 -2
  4. package/lib/createDevelopmentContractClaims.d.ts +8 -10
  5. package/lib/createDevelopmentContractClaims.js +31 -13
  6. package/lib/createDevelopmentContractClaims.js.map +1 -1
  7. package/lib/createEvidenceConfig.d.ts +5 -2
  8. package/lib/createEvidenceConfig.js +29 -3
  9. package/lib/createEvidenceConfig.js.map +1 -1
  10. package/lib/createResearchClaims.d.ts +2 -2
  11. package/lib/createResearchClaims.js +3 -3
  12. package/lib/createResearchClaims.js.map +1 -1
  13. package/lib/internal/STORY_CONTRACTS.d.ts +1 -1
  14. package/lib/internal/STORY_CONTRACTS.js +1 -1
  15. package/lib/internal/assertFilmCatalogLayout.d.ts +18 -0
  16. package/lib/internal/assertFilmCatalogLayout.js +49 -0
  17. package/lib/internal/assertFilmCatalogLayout.js.map +1 -0
  18. package/lib/internal/hasMatchingFile.d.ts +13 -0
  19. package/lib/internal/hasMatchingFile.js +28 -0
  20. package/lib/internal/hasMatchingFile.js.map +1 -0
  21. package/lib/narrative/NarrativeLayer.d.ts +2 -2
  22. package/lib/narrative/createPackageChecklistClaim.js +2 -4
  23. package/lib/narrative/createPackageChecklistClaim.js.map +1 -1
  24. package/lib/narrative/internal/claims/createInstructionCoverageClaim.d.ts +3 -3
  25. package/lib/narrative/internal/claims/createInstructionCoverageClaim.js +3 -3
  26. package/lib/narrative/internal/claims/createLayerClaims.d.ts +5 -5
  27. package/lib/narrative/internal/claims/createLayerClaims.js +5 -23
  28. package/lib/narrative/internal/claims/createLayerClaims.js.map +1 -1
  29. package/lib/narrative/internal/claims/createOutlineClaims.js +3 -4
  30. package/lib/narrative/internal/claims/createOutlineClaims.js.map +1 -1
  31. package/lib/narrative/internal/claims/createPopulationObligationClaims.d.ts +6 -7
  32. package/lib/narrative/internal/claims/createPopulationObligationClaims.js +12 -29
  33. package/lib/narrative/internal/claims/createPopulationObligationClaims.js.map +1 -1
  34. package/lib/narrative/internal/claims/createReviewClaims.js +3 -17
  35. package/lib/narrative/internal/claims/createReviewClaims.js.map +1 -1
  36. package/lib/narrative/internal/claims/createSettingCoverageClaim.d.ts +1 -1
  37. package/lib/narrative/internal/claims/createSettingCoverageClaim.js +1 -1
  38. package/lib/narrative/internal/claims/index.d.ts +0 -1
  39. package/lib/narrative/internal/claims/index.js +0 -1
  40. package/lib/narrative/internal/claims/index.js.map +1 -1
  41. package/lib/narrative/internal/collectProductionClaims.js +1 -4
  42. package/lib/narrative/internal/collectProductionClaims.js.map +1 -1
  43. package/lib/narrative/internal/index.d.ts +0 -1
  44. package/lib/narrative/internal/index.js +0 -1
  45. package/lib/narrative/internal/index.js.map +1 -1
  46. package/lib/narrative/internal/references/createLanguagePrincipleReferences.d.ts +4 -7
  47. package/lib/narrative/internal/references/createLanguagePrincipleReferences.js +5 -7
  48. package/lib/narrative/internal/references/createLanguagePrincipleReferences.js.map +1 -1
  49. package/lib/narrative/internal/references/createPrincipleReferences.d.ts +6 -17
  50. package/lib/narrative/internal/references/createPrincipleReferences.js +10 -31
  51. package/lib/narrative/internal/references/createPrincipleReferences.js.map +1 -1
  52. package/lib/narrative/internal/references/createSharedReference.d.ts +3 -4
  53. package/lib/narrative/internal/references/createSharedReference.js +4 -5
  54. package/lib/narrative/internal/references/createSharedReference.js.map +1 -1
  55. package/lib/narrative/internal/references/layerFiles.d.ts +5 -6
  56. package/lib/narrative/internal/references/layerFiles.js +6 -8
  57. package/lib/narrative/internal/references/layerFiles.js.map +1 -1
  58. package/lib/narrative/internal/utilities/createContractRoot.d.ts +6 -10
  59. package/lib/narrative/internal/utilities/createContractRoot.js +6 -10
  60. package/lib/narrative/internal/utilities/createContractRoot.js.map +1 -1
  61. package/lib/narrative/internal/utilities/hasStoryContract.d.ts +17 -0
  62. package/lib/narrative/internal/utilities/hasStoryContract.js +28 -0
  63. package/lib/narrative/internal/utilities/hasStoryContract.js.map +1 -0
  64. package/package.json +1 -1
  65. package/src/IAutoMovieDevelopmentProps.ts +7 -4
  66. package/src/IAutoMovieEvidenceConfigProps.ts +2 -2
  67. package/src/createDevelopmentContractClaims.ts +31 -13
  68. package/src/createEvidenceConfig.ts +36 -3
  69. package/src/createResearchClaims.ts +3 -3
  70. package/src/internal/STORY_CONTRACTS.ts +1 -1
  71. package/src/internal/assertFilmCatalogLayout.ts +55 -0
  72. package/src/internal/hasMatchingFile.ts +29 -0
  73. package/src/narrative/NarrativeLayer.ts +2 -2
  74. package/src/narrative/createPackageChecklistClaim.ts +2 -4
  75. package/src/narrative/internal/claims/createInstructionCoverageClaim.ts +3 -3
  76. package/src/narrative/internal/claims/createLayerClaims.ts +5 -25
  77. package/src/narrative/internal/claims/createOutlineClaims.ts +3 -12
  78. package/src/narrative/internal/claims/createPopulationObligationClaims.ts +14 -46
  79. package/src/narrative/internal/claims/createReviewClaims.ts +3 -25
  80. package/src/narrative/internal/claims/createSettingCoverageClaim.ts +1 -1
  81. package/src/narrative/internal/claims/index.ts +0 -1
  82. package/src/narrative/internal/collectProductionClaims.ts +1 -4
  83. package/src/narrative/internal/index.ts +0 -1
  84. package/src/narrative/internal/references/createLanguagePrincipleReferences.ts +5 -8
  85. package/src/narrative/internal/references/createPrincipleReferences.ts +13 -38
  86. package/src/narrative/internal/references/createSharedReference.ts +4 -5
  87. package/src/narrative/internal/references/layerFiles.ts +6 -8
  88. package/src/narrative/internal/utilities/createContractRoot.ts +6 -10
  89. package/src/narrative/internal/utilities/hasStoryContract.ts +29 -0
  90. package/lib/narrative/internal/REALIZED_LAYERS.d.ts +0 -16
  91. package/lib/narrative/internal/REALIZED_LAYERS.js +0 -19
  92. package/lib/narrative/internal/REALIZED_LAYERS.js.map +0 -1
  93. package/lib/narrative/internal/claims/createExpressionObligationClaims.d.ts +0 -26
  94. package/lib/narrative/internal/claims/createExpressionObligationClaims.js +0 -93
  95. package/lib/narrative/internal/claims/createExpressionObligationClaims.js.map +0 -1
  96. package/src/narrative/internal/REALIZED_LAYERS.ts +0 -18
  97. package/src/narrative/internal/claims/createExpressionObligationClaims.ts +0 -125
@@ -14,9 +14,9 @@ const createUnitFiles_1 = require("../utilities/createUnitFiles");
14
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. 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.
17
+ * can exclude requirements outside its selected narrative population. On a
18
+ * short, the brief defines subjects and the screenplay accounts for every
19
+ * instruction.
20
20
  * Instructions remain targets only. No instructions folder means no claim.
21
21
  *
22
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.
@@ -17,13 +17,13 @@ import type { IProductionConfigProps } from "../../IProductionConfigProps";
17
17
  * scene H2, so a script episode file becomes the screenplay episode folder of
18
18
  * its scene files.
19
19
  *
20
- * Script construction also answers the expression questions, because scripts
21
- * settle their own language and no later pass revises it.
20
+ * Script scenes establish choices and draft exchanges. Final expression is
21
+ * assessed in the screenplay construction checklist.
22
22
  *
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.
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; final expression belongs to the screenplay.
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 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.
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 each layer selects its own principles.
26
+ * @evidence contracts/development/common.md#meaningful-documentation The prose distinguishes unit/population duties, layer-specific parents, the scene-file lineage and expression coverage; 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.
@@ -29,13 +29,13 @@ const createSettingCoverageClaim_1 = require("./createSettingCoverageClaim");
29
29
  * scene H2, so a script episode file becomes the screenplay episode folder of
30
30
  * its scene files.
31
31
  *
32
- * Script construction also answers the expression questions, because scripts
33
- * settle their own language and no later pass revises it.
32
+ * Script scenes establish choices and draft exchanges. Final expression is
33
+ * assessed in the screenplay construction checklist.
34
34
  *
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.
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; final expression belongs to the screenplay.
36
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.
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.
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 each layer selects its own principles.
38
+ * @evidence contracts/development/common.md#meaningful-documentation The prose distinguishes unit/population duties, layer-specific parents, the scene-file lineage and expression coverage; nearby comments explain topology capture.
39
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.
40
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.
41
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.
@@ -68,21 +68,6 @@ function createLayerClaims(props, layer) {
68
68
  ? [(0, createCoverageReference_1.createCoverageReference)(treatments, symbol)]
69
69
  : []),
70
70
  ];
71
- // Script expression must remain repairable in the same construction body.
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
71
  const inherits = (0, isCanonLayer_1.isCanonLayer)(layer)
87
72
  ? ""
88
73
  : ", and account for the layers they inherit";
@@ -97,15 +82,12 @@ function createLayerClaims(props, layer) {
97
82
  ...(0, createPrincipleReferences_1.createPrincipleReferences)({
98
83
  contracts: props,
99
84
  layer,
100
- family: "principles",
101
85
  }),
102
86
  ...(0, createLanguagePrincipleReferences_1.createLanguagePrincipleReferences)({
103
87
  location: props.location,
104
88
  layer,
105
- family: "principles",
106
89
  }),
107
90
  ...((0, isCanonLayer_1.isCanonLayer)(layer) ? [] : [(0, createUpstreamReference_1.createUpstreamReference)(props, layer)]),
108
- ...expression,
109
91
  ...parents("h2"),
110
92
  ],
111
93
  };
@@ -1 +1 @@
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,EAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAErE,8EAA8E;IAC9E,MAAM,QAAQ,GAAa,IAAA,2BAAY,EAAC,KAAK,CAAC;QAC5C,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,IAAA,yCAAmB,EAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAErD,MAAM,UAAU,GAAa,IAAA,mDAAwB,EAAC;QACpD,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,KAAK,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}
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,EAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAErE,8EAA8E;IAC9E,MAAM,QAAQ,GAAa,IAAA,2BAAY,EAAC,KAAK,CAAC;QAC5C,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,IAAA,yCAAmB,EAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAErD,MAAM,UAAU,GAAa,IAAA,mDAAwB,EAAC;QACpD,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,KAAK,CAAC,cAAc;KAC5B,CAAC,CAAC;IACH,MAAM,OAAO,GAAa,IAAA,mDAAwB,EAAC;QACjD,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,KAAK,CAAC,cAAc;KAC5B,CAAC,CAAC;IAEH,MAAM,OAAO,GAAoD,CAC/D,MAAqB,EACC,EAAE,CACxB,KAAK,CAAC,IAAI,KAAK,MAAM;QACnB,CAAC,CAAC,EAAE;QACJ,CAAC,CAAC;YACE,kEAAkE;YAClE,+DAA+D;YAC/D,GAAG,CAAC,KAAK,KAAK,YAAY,IAAI,MAAM,KAAK,MAAM;gBAC7C,CAAC,CAAC,CAAC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,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,qBAAS;YACf,KAAK;YACL,MAAM,EAAE,MAAM;YACd,QAAQ;YACR,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC;SAC3B;QACD,IAAI;QACJ,GAAG,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;KAC9C,CAAC;AACJ,CAAC"}
@@ -8,8 +8,8 @@ const node_fs_1 = __importDefault(require("node:fs"));
8
8
  const node_path_1 = __importDefault(require("node:path"));
9
9
  const createSharedReference_1 = require("../references/createSharedReference");
10
10
  const BODY_ROOT_1 = require("../utilities/BODY_ROOT");
11
- const createContractDirectory_1 = require("../utilities/createContractDirectory");
12
11
  const createUnitFiles_1 = require("../utilities/createUnitFiles");
12
+ const hasStoryContract_1 = require("../utilities/hasStoryContract");
13
13
  const validateSettingsOutline_1 = require("../validateSettingsOutline");
14
14
  /**
15
15
  * Selects the outline's own respondents and the canon-to-entry bijection.
@@ -41,9 +41,8 @@ const validateSettingsOutline_1 = require("../validateSettingsOutline");
41
41
  */
42
42
  function createOutlineClaims(props, completeSubmission = false) {
43
43
  const outline = "settings/outline/index.md";
44
- const installed = (family) => node_fs_1.default.existsSync(node_path_1.default.join((0, createContractDirectory_1.createContractDirectory)(props, "shared"), "shared", family, "index.md"));
45
- const principle = installed("principles");
46
- if (principle !== installed("obligations"))
44
+ const principle = (0, hasStoryContract_1.hasStoryContract)(props, "principles/index.md");
45
+ if (principle !== (0, hasStoryContract_1.hasStoryContract)(props, "obligations/index.md"))
47
46
  throw new Error("Settings outline contracts must be installed as a pair.");
48
47
  if (principle === false) {
49
48
  if (!node_fs_1.default.existsSync(node_path_1.default.join(props.location, BODY_ROOT_1.BODY_ROOT, outline)))
@@ -1 +1 @@
1
- {"version":3,"file":"createOutlineClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createOutlineClaims.ts"],"names":[],"mappings":";;;;;;AACA,sDAAyB;AACzB,0DAA6B;AAG7B,+EAA4E;AAC5E,sDAAmD;AACnD,kFAA+E;AAC/E,kEAA+D;AAC/D,wEAAqE;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,6BACE,KAA6B,EAC7B,kBAAkB,GAAY,KAAK;IAEnC,MAAM,OAAO,GAAW,2BAA2B,CAAC;IACpD,MAAM,SAAS,GAAgC,CAAC,MAAc,EAAW,EAAE,CACzE,iBAAE,CAAC,UAAU,CACX,mBAAI,CAAC,IAAI,CACP,IAAA,iDAAuB,EAAC,KAAK,EAAE,QAAQ,CAAC,EACxC,QAAQ,EACR,MAAM,EACN,UAAU,CACX,CACF,CAAC;IACJ,MAAM,SAAS,GAAY,SAAS,CAAC,YAAY,CAAC,CAAC;IACnD,IAAI,SAAS,KAAK,SAAS,CAAC,aAAa,CAAC;QACxC,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAC;IAE7E,IAAI,SAAS,KAAK,KAAK,EAAE,CAAC;QACxB,IAAI,CAAC,iBAAE,CAAC,UAAU,CAAC,mBAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,qBAAS,EAAE,OAAO,CAAC,CAAC;YAC/D,OAAO,EAAE,CAAC;QACZ,OAAO;YACL;gBACE,IAAI,EAAE,+DAA+D;gBACrE,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,qBAAS;gBACf,KAAK,EAAE,IAAA,iCAAe,EAAC,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC;gBACxD,MAAM,EAAE,MAAM;gBACd,SAAS,EAAE;oBACT,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,qBAAS;oBACf,KAAK,EAAE,CAAC,OAAO,CA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IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,qBAAS;YACf,KAAK,EAAE,IAAA,iCAAe,EAAC,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC;YACxD,MAAM,EAAE,MAAM;YACd,QAAQ;YACR,SAAS,EAAE;gBACT,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,qBAAS;gBACf,KAAK,EAAE,CAAC,OAAO,CAAC;gBAChB,MAAM,EAAE,IAAI;gBACZ,uBAAuB,EAAE,IAAI;gBAC7B,cAAc,EAAE,IAAI;gBACpB,iBAAiB,EAAE,IAAI;aACxB;SACF;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createOutlineClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createOutlineClaims.ts"],"names":[],"mappings":";;;;;;AACA,sDAAyB;AACzB,0DAA6B;AAG7B,+EAA4E;AAC5E,sDAAmD;AACnD,kEAA+D;AAC/D,oEAAiE;AACjE,wEAAqE;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,6BACE,KAA6B,EAC7B,kBAAkB,GAAY,KAAK;IAEnC,MAAM,OAAO,GAAW,2BAA2B,CAAC;IACpD,MAAM,SAAS,GAAY,IAAA,mCAAgB,EAAC,KAAK,EAAE,qBAAqB,CAAC,CAAC;IAC1E,IAAI,SAAS,KAAK,IAAA,mCAAgB,EAAC,KAAK,EAAE,sBAAsB,CAAC;QAC/D,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAC;IAE7E,IAAI,SAAS,KAAK,KAAK,EAAE,CAAC;QACxB,IAAI,CAAC,iBAAE,CAAC,UAAU,CAAC,mBAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,qBAAS,EAAE,OAAO,CAAC,CAAC;YAC/D,OAAO,EAAE,CAAC;QACZ,OAAO;YACL;gBACE,IAAI,EAAE,+DAA+D;gBACrE,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,qBAAS;gBACf,KAAK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oBACvB,SAAS,EAAE,KAAK;oBAChB,IAAI,EAAE,sBAAsB;oBAC5B,SAAS,EAAE,KAAK;oBAChB,SAAS,EAAE,KAAK;iBACjB,CAAC;gBACF,cAAc,EAAE,IAAI;aACrB;SACF;QACD;YACE,IAAI,EAAE,6DAA6D;YACnE,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,qBAAS;YACf,KAAK,EAAE,IAAA,iCAAe,EAAC,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC;YACxD,MAAM,EAAE,MAAM;YACd,QAAQ;YACR,SAAS,EAAE;gBACT,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,qBAAS;gBACf,KAAK,EAAE,CAAC,OAAO,CAAC;gBAChB,MAAM,EAAE,IAAI;gBACZ,uBAAuB,EAAE,IAAI;gBAC7B,cAAc,EAAE,IAAI;gBACpB,iBAAiB,EAAE,IAAI;aACxB;SACF;KACF,CAAC;AACJ,CAAC"}
@@ -11,14 +11,13 @@ import type { IProductionConfigProps } from "../../IProductionConfigProps";
11
11
  * repeating a population question on every unit turns one comparison into a
12
12
  * restatement per unit.
13
13
  *
14
- * Unit duties use checklists. Script expression population comparisons have
15
- * separate expression obligation claims rather than repeating their question per unit.
14
+ * Screenplay expression is answered here alongside the other screenplay duties.
16
15
  *
17
- * @evidence contracts/development/implementation.md#principled-implementation Construction stage controls whole-layer file-level obligation coverage, with one answering document per shared/language population item and no per-H2 repetition of the same comparison; 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 The exported factory delegates one family build while keeping population scope distinct from principle checklists and expression obligations.
19
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Required shared common/narrative files stay selected even when missing so the compiler reports a broken tree; only realized and layer-specific optional documents are conditionally selected.
20
- * @evidence contracts/development/common.md#meaningful-documentation The prose explains whole-layer respondents, unique evidence and the boundary with per-unit and script expression families; the helper comment identifies optional-file compatibility.
21
- * @evidence contracts/development/implementation.md#efficient-algorithms At most four candidates per scope are filtered and mapped, with a bounded number of synchronous existence probes and selector constructions; this factory never scans the manuscript population.
16
+ * @evidence contracts/development/implementation.md#principled-implementation Each enabled layer selects one file respondent per bundled or language population item. Bundled items come from the skills tree and language items from the production contracts.
17
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure One factory selects shared and local obligations by layer, including screenplay expression. Each item has one respondent.
18
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Common, narrative and final screenplay obligations stay selected when missing so the compiler reports the broken tree. Other layer files and the realized supplement remain optional.
19
+ * @evidence contracts/development/common.md#meaningful-documentation The prose explains whole-layer respondents, unique evidence and screenplay coverage; the helper comment identifies optional-file compatibility.
20
+ * @evidence contracts/development/implementation.md#efficient-algorithms At most four candidates per directory and scope are filtered and mapped, with a bounded number of synchronous existence probes and selector constructions; this factory never scans the manuscript population.
22
21
  * @evidence contracts/development/implementation.md#reuse-equivalent-work Shared/language selection reuses layerFiles and reference builders; optional installed files are observed per config build, so changes in the contract tree invalidate naturally without a retained cache.
23
22
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Intermediate and returned arrays have a fixed family bound; returned claim/reference objects belong to the config owner and existence probes retain no exposed handles.
24
23
  */
@@ -1,18 +1,13 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.createPopulationObligationClaims = createPopulationObligationClaims;
7
- const node_fs_1 = __importDefault(require("node:fs"));
8
- const node_path_1 = __importDefault(require("node:path"));
9
4
  const constructionStage_1 = require("../constructionStage");
10
5
  const createLocalContractReference_1 = require("../references/createLocalContractReference");
11
6
  const createSharedReference_1 = require("../references/createSharedReference");
12
7
  const layerFiles_1 = require("../references/layerFiles");
13
8
  const BODY_ROOT_1 = require("../utilities/BODY_ROOT");
14
- const createContractDirectory_1 = require("../utilities/createContractDirectory");
15
9
  const createUnitFiles_1 = require("../utilities/createUnitFiles");
10
+ const hasStoryContract_1 = require("../utilities/hasStoryContract");
16
11
  /**
17
12
  * Creates the population obligation claims for a complete layer.
18
13
  *
@@ -23,32 +18,24 @@ const createUnitFiles_1 = require("../utilities/createUnitFiles");
23
18
  * repeating a population question on every unit turns one comparison into a
24
19
  * restatement per unit.
25
20
  *
26
- * Unit duties use checklists. Script expression population comparisons have
27
- * separate expression obligation claims rather than repeating their question per unit.
21
+ * Screenplay expression is answered here alongside the other screenplay duties.
28
22
  *
29
- * @evidence contracts/development/implementation.md#principled-implementation Construction stage controls whole-layer file-level obligation coverage, with one answering document per shared/language population item and no per-H2 repetition of the same comparison; createContractDirectory probes shared documents in the shared skills tree and language documents in the production's own `docs/contracts`.
30
- * @evidence contracts/development/implementation.md#clear-and-simple-structure The exported factory delegates one family build while keeping population scope distinct from principle checklists and expression obligations.
31
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Required shared common/narrative files stay selected even when missing so the compiler reports a broken tree; only realized and layer-specific optional documents are conditionally selected.
32
- * @evidence contracts/development/common.md#meaningful-documentation The prose explains whole-layer respondents, unique evidence and the boundary with per-unit and script expression families; the helper comment identifies optional-file compatibility.
33
- * @evidence contracts/development/implementation.md#efficient-algorithms At most four candidates per scope are filtered and mapped, with a bounded number of synchronous existence probes and selector constructions; this factory never scans the manuscript population.
23
+ * @evidence contracts/development/implementation.md#principled-implementation Each enabled layer selects one file respondent per bundled or language population item. Bundled items come from the skills tree and language items from the production contracts.
24
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure One factory selects shared and local obligations by layer, including screenplay expression. Each item has one respondent.
25
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Common, narrative and final screenplay obligations stay selected when missing so the compiler reports the broken tree. Other layer files and the realized supplement remain optional.
26
+ * @evidence contracts/development/common.md#meaningful-documentation The prose explains whole-layer respondents, unique evidence and screenplay coverage; the helper comment identifies optional-file compatibility.
27
+ * @evidence contracts/development/implementation.md#efficient-algorithms At most four candidates per directory and scope are filtered and mapped, with a bounded number of synchronous existence probes and selector constructions; this factory never scans the manuscript population.
34
28
  * @evidence contracts/development/implementation.md#reuse-equivalent-work Shared/language selection reuses layerFiles and reference builders; optional installed files are observed per config build, so changes in the contract tree invalidate naturally without a retained cache.
35
29
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Intermediate and returned arrays have a fixed family bound; returned claim/reference objects belong to the config owner and existence probes retain no exposed handles.
36
30
  */
37
31
  function createPopulationObligationClaims(props, layer) {
38
- return family(props, layer, (0, constructionStage_1.constructionStage)(props, layer));
39
- }
40
- /** Creates the obligation claims for one layer's shared and language duties. */
41
- function family(props, layer, stage) {
42
32
  const directory = "obligations";
43
- const disabled = stage === "disabled";
44
- // The shared tree ships `common.md`, and every non-canon layer its
45
- // `narratives.md`, so a missing one is a broken tree that must still be
46
- // selected for the compiler to say so. Only the optional documents are
47
- // filtered: `realized.md`, which older trees predate, and the layer file,
48
- // which exists only where that layer owes a duty of its own.
49
- const optional = (file) => file === "realized.md" || file === `${layer}.md`;
33
+ const disabled = (0, constructionStage_1.constructionStage)(props, layer) === "disabled";
34
+ // Older trees can omit supplements and earlier layers' own obligations.
35
+ const optional = (file) => file === "realized.md" ||
36
+ (layer !== "screenplay" && file === `${layer}.md`);
50
37
  const shared = (0, layerFiles_1.layerFiles)(layer)
51
- .filter((file) => !optional(file) || exists(props, "shared", `${directory}/${file}`))
38
+ .filter((file) => !optional(file) || (0, hasStoryContract_1.hasStoryContract)(props, `${directory}/${file}`))
52
39
  .map((file) => claim({
53
40
  disabled,
54
41
  layer,
@@ -86,8 +73,4 @@ function claim(props) {
86
73
  reference: { ...props.reference, uniqueEvidence: true },
87
74
  };
88
75
  }
89
- /** Reports whether one optional contract-family document is installed. */
90
- function exists(contracts, scope, file) {
91
- return node_fs_1.default.existsSync(node_path_1.default.join((0, createContractDirectory_1.createContractDirectory)(contracts, scope), scope, ...file.split("/")));
92
- }
93
76
  //# sourceMappingURL=createPopulationObligationClaims.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createPopulationObligationClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createPopulationObligationClaims.ts"],"names":[],"mappings":";;;;;;AAIA,sDAAyB;AACzB,0DAA6B;AAO7B,4DAAyD;AACzD,6FAA0F;AAC1F,+EAA4E;AAC5E,yDAAsD;AACtD,sDAAmD;AACnD,kFAA+E;AAC/E,kEAA+D;AAE/D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,0CACE,KAA6B,EAC7B,KAAoB;IAEpB,OAAO,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,IAAA,qCAAiB,EAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,gFAAgF;AAChF,SAAS,MAAM,CACb,KAA6B,EAC7B,KAAoB,EACpB,KAAsB;IAEtB,MAAM,SAAS,GAAW,aAAa,CAAC;IACxC,MAAM,QAAQ,GAAY,KAAK,KAAK,UAAU,CAAC;IAC/C,mEAAmE;IACnE,wEAAwE;IACxE,uEAAuE;IACvE,0EAA0E;IAC1E,6DAA6D;IAC7D,MAAM,QAAQ,GAA8B,CAAC,IAAY,EAAW,EAAE,CACpE,IAAI,KAAK,aAAa,IAAI,IAAI,KAAK,GAAG,KAAK,KAAK,CAAC;IACnD,MAAM,MAAM,GAAqB,IAAA,uBAAU,EAAC,KAAK,CAAC;SAC/C,MAAM,CACL,CAAC,IAAY,EAAW,EAAE,CACxB,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,SAAS,IAAI,IAAI,EAAE,CAAC,CACrE;SACA,GAAG,CACF,CAAC,IAAY,EAAkB,EAAE,CAC/B,KAAK,CAAC;QACJ,QAAQ;QACR,KAAK;QACL,KAAK,EAAE,KAAK,CAAC,cAAc;QAC3B,SAAS,EAAE,IAAA,6CAAqB,EAAC;YAC/B,SAAS,EAAE,KAAK;YAChB,IAAI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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":"createPopulationObligationClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createPopulationObligationClaims.ts"],"names":[],"mappings":";;;AAOA,4DAAyD;AACzD,6FAA0F;AAC1F,+EAA4E;AAC5E,yDAAsD;AACtD,sDAAmD;AACnD,kEAA+D;AAC/D,oEAAiE;AAEjE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,0CACE,KAA6B,EAC7B,KAAoB;IAEpB,MAAM,SAAS,GAAW,aAAa,CAAC;IACxC,MAAM,QAAQ,GAAY,IAAA,qCAAiB,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,UAAU,CAAC;IAEzE,wEAAwE;IACxE,MAAM,QAAQ,GAA8B,CAAC,IAAY,EAAW,EAAE,CACpE,IAAI,KAAK,aAAa;QACtB,CAAC,KAAK,KAAK,YAAY,IAAI,IAAI,KAAK,GAAG,KAAK,KAAK,CAAC,CAAC;IACrD,MAAM,MAAM,GAAqB,IAAA,uBAAU,EAAC,KAAK,CAAC;SAC/C,MAAM,CACL,CAAC,IAAY,EAAW,EAAE,CACxB,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,IAAA,mCAAgB,EAAC,KAAK,EAAE,GAAG,SAAS,IAAI,IAAI,EAAE,CAAC,CACrE;SACA,GAAG,CACF,CAAC,IAAY,EAAkB,EAAE,CAC/B,KAAK,CAAC;QACJ,QAAQ;QACR,KAAK;QACL,KAAK,EAAE,KAAK,CAAC,cAAc;QAC3B,SAAS,EAAE,IAAA,6CAAqB,EAAC;YAC/B,SAAS,EAAE,KAAK;YAChB,IAAI,EAAE,GAAG,SAAS,IAAI,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require("../references/createSharedReference");
13
13
  const BODY_ROOT_1 = require("../utilities/BODY_ROOT");
14
14
  const PACKAGE_DOCS_ROOT_1 = require("../utilities/PACKAGE_DOCS_ROOT");
15
- const createContractDirectory_1 = require("../utilities/createContractDirectory");
16
15
  const createUnitFiles_1 = require("../utilities/createUnitFiles");
16
+ const hasStoryContract_1 = require("../utilities/hasStoryContract");
17
17
  /**
18
18
  * Creates the claims that record the evidence-stage reviews in the graph.
19
19
  *
@@ -45,8 +45,8 @@ const createUnitFiles_1 = require("../utilities/createUnitFiles");
45
45
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Directory arrays are transient and bounded by visited entries; returned claims belong to the config, and synchronous scans retain no history, handle or task.
46
46
  */
47
47
  function createReviewClaims(props, layer) {
48
- const principles = installed(props, "principles/review.md");
49
- const obligations = installed(props, "obligations/review.md");
48
+ const principles = (0, hasStoryContract_1.hasStoryContract)(props, "principles/review.md");
49
+ const obligations = (0, hasStoryContract_1.hasStoryContract)(props, "obligations/review.md");
50
50
  if (!principles && !obligations)
51
51
  return [];
52
52
  const files = (0, createUnitFiles_1.createUnitFiles)(layer, props.narrativeScope);
@@ -194,18 +194,4 @@ function hasCurrentReview(directory, entries, glob, depth, prefix) {
194
194
  }
195
195
  return false;
196
196
  }
197
- /**
198
- * Reports whether one review-family document is installed.
199
- *
200
- * Principled implementation: The shared story tree from createContractDirectory and the requested relative family path identify the installed optional review question document, wherever a workspace keeps the shared tree.
201
- * Clear and simple design: This private predicate keeps optional-family discovery separate from review host selection and native evaluation.
202
- * Prohibited implementation shortcuts: Existence only determines whether the optional family is installed; native extraction still owns readable valid contract content and cannot be replaced by this probe.
203
- * Meaningful documentation: The comment identifies optional review-family document discovery; the caller supplies the two supported relative contract paths.
204
- * Efficient algorithms: One path assembly and synchronous existence probe cost path-length work and constant-size metadata observation.
205
- * Reuse equivalent work: Each factory build observes current installation instead of caching a mutable contract path's existence.
206
- * Bound retention and release resources: The temporary path and synchronous probe retain no cache, open handle or task.
207
- */
208
- function installed(contracts, file) {
209
- return node_fs_1.default.existsSync(node_path_1.default.join((0, createContractDirectory_1.createContractDirectory)(contracts, "shared"), "shared", ...file.split("/")));
210
- }
211
197
  //# sourceMappingURL=createReviewClaims.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createReviewClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createReviewClaims.ts"],"names":[],"mappings":";;;;;;AAAA,iDAI4B;AAC5B,sDAAyB;AACzB,0DAA6B;AAK7B,4DAAyD;AACzD,iFAA8E;AAC9E,+EAA4E;AAC5E,sDAAmD;AACnD,sEAAmE;AACnE,kFAA+E;AAC/E,kEAA+D;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,4BACE,KAA6B,EAC7B,KAAoB;IAEpB,MAAM,UAAU,GAAY,SAAS,CAAC,KAAK,EAAE,sBAAsB,CAAC,CAAC;IACrE,MAAM,WAAW,GAAY,SAAS,CAAC,KAAK,EAAE,uBAAuB,CAAC,CAAC;IACvE,IAAI,CAAC,UAAU,IAAI,CAAC,WAAW;QAAE,OAAO,EAAE,CAAC;IAC3C,MAAM,KAAK,GAAa,IAAA,iCAAe,EAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IACrE,MAAM,MAAM,GAAa,KAAK,CAAC,GAAG,CAAC,CAAC,IAAY,EAAU,EAAE,CAC1D,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAC7B,CAAC;IACF,MAAM,IAAI,GAAW,GAAG,qCAAiB,iBAAiB,KAAK,EAAE,CAAC;IAClE,MAAM,QAAQ,GAA6C,gBAAgB,CACzE,mBAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,EAC/B,MAAM,CACP,CAAC;IACF,IAAI,QAAQ,KAAK,IAAI;QAAE,OAAO,EAAE,CAAC;IACjC,MAAM,QAAQ,GAAY,IAAA,qCAAiB,EAAC,KAAK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QACV,IAAI,MAAM,CAAC,MAAM,EAAE,IAAI,QAAQ;YAAE,OAAO,IAAI,CAAC;QAC7C,IACE,MAAM,CAAC,WAAW,EAAE;YACpB,UAAU;YACV,gBAAgB,CACd,mBAAI,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,EAChC,iBAAE,CAAC,WAAW,CAAC,mBAAI,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE;gBAC/C,aAAa,EAAE,IAAI;aACpB,CAAC,EACF,IAAI,EACJ,KAAK,GAAG,CAAC,EACT,GAAG,QAAQ,GAAG,CACf;YAED,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAS,SAAS,CAAC,SAA4B,EAAE,IAAY;IAC3D,OAAO,iBAAE,CAAC,UAAU,CAClB,mBAAI,CAAC,IAAI,CACP,IAAA,iDAAuB,EAAC,SAAS,EAAE,QAAQ,CAAC,EAC5C,QAAQ,EACR,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CACnB,CACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createReviewClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createReviewClaims.ts"],"names":[],"mappings":";;;;;;AAAA,iDAI4B;AAC5B,sDAAyB;AACzB,0DAA6B;AAI7B,4DAAyD;AACzD,iFAA8E;AAC9E,+EAA4E;AAC5E,sDAAmD;AACnD,sEAAmE;AACnE,kEAA+D;AAC/D,oEAAiE;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,4BACE,KAA6B,EAC7B,KAAoB;IAEpB,MAAM,UAAU,GAAY,IAAA,mCAAgB,EAAC,KAAK,EAAE,sBAAsB,CAAC,CAAC;IAC5E,MAAM,WAAW,GAAY,IAAA,mCAAgB,EAAC,KAAK,EAAE,uBAAuB,CAAC,CAAC;IAC9E,IAAI,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E,CAAC;QAC5B,IAAI,MAAM,KAAK,EAAE,IAAI,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YAAE,SAAS;QAC9D,MAAM,QAAQ,GAAW,GAAG,MAAM,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;QAClD,MAAM,QAAQ,GAAY,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QACjD,MAAM,UAAU,GACd,KAAK,GAAG,CAAC,IAAI,IAAI,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;QACnD,IAAI,CAAC,QAAQ,IAAI,CAAC,UAAU;YAAE,SAAS;QACvC,MAAM,MAAM,GAAyB,KAAK,CAAC,cAAc,EAAE;YACzD,CAAC,CAAC,iBAAE,CAAC,QAAQ,CAAC,mBAAI,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;YAC/C,CAAC,CAAC,KAAK,CAAC;QACV,IAAI,MAAM,CAAC,MAAM,EAAE,IAAI,QAAQ;YAAE,OAAO,IAAI,CAAC;QAC7C,IACE,MAAM,CAAC,WAAW,EAAE;YACpB,UAAU;YACV,gBAAgB,CACd,mBAAI,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,EAChC,iBAAE,CAAC,WAAW,CAAC,mBAAI,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE;gBAC/C,aAAa,EAAE,IAAI;aACpB,CAAC,EACF,IAAI,EACJ,KAAK,GAAG,CAAC,EACT,GAAG,QAAQ,GAAG,CACf;YAED,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { IEvidenceClaim } from "@wrtnlabs/evidence";
2
2
  import type { IProductionConfigProps } from "../../IProductionConfigProps";
3
3
  /**
4
- * Creates canon dependencies on treatments or short screenplay H2s: settings for treatments and compact shorts, the brief for shorts.
4
+ * Connects treatment H2s to settings, or short screenplay H2s to the brief.
5
5
  *
6
6
  * Edges stay on the concrete consumers: a narrative H2 cites the canon H2 it
7
7
  * depends on, and a canon H2 no selected narrative H2 uses is answered by an
@@ -6,7 +6,7 @@ const constructionStage_1 = require("../constructionStage");
6
6
  const createSettingReferences_1 = require("../references/createSettingReferences");
7
7
  const BODY_ROOT_1 = require("../utilities/BODY_ROOT");
8
8
  /**
9
- * Creates canon dependencies on treatments or short screenplay H2s: settings for treatments and compact shorts, the brief for shorts.
9
+ * Connects treatment H2s to settings, or short screenplay H2s to the brief.
10
10
  *
11
11
  * Edges stay on the concrete consumers: a narrative H2 cites the canon H2 it
12
12
  * depends on, and a canon H2 no selected narrative H2 uses is answered by an
@@ -1,5 +1,4 @@
1
1
  export * from "./createDiscoveryClaim";
2
- export * from "./createExpressionObligationClaims";
3
2
  export * from "./createInstructionCoverageClaim";
4
3
  export * from "./createLayerClaims";
5
4
  export * from "./createOutlineClaims";
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./createDiscoveryClaim"), exports);
18
- __exportStar(require("./createExpressionObligationClaims"), exports);
19
18
  __exportStar(require("./createInstructionCoverageClaim"), exports);
20
19
  __exportStar(require("./createLayerClaims"), exports);
21
20
  __exportStar(require("./createOutlineClaims"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,qEAAmD;AACnD,mEAAiD;AACjD,sDAAoC;AACpC,wDAAsC;AACtC,qEAAmD;AACnD,uDAAqC;AACrC,+DAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,mEAAiD;AACjD,sDAAoC;AACpC,wDAAsC;AACtC,qEAAmD;AACnD,uDAAqC;AACrC,+DAA6C"}
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.collectProductionClaims = collectProductionClaims;
4
4
  const createDiscoveryClaim_1 = require("./claims/createDiscoveryClaim");
5
- const createExpressionObligationClaims_1 = require("./claims/createExpressionObligationClaims");
6
5
  const createInstructionCoverageClaim_1 = require("./claims/createInstructionCoverageClaim");
7
6
  const createLayerClaims_1 = require("./claims/createLayerClaims");
8
7
  const createOutlineClaims_1 = require("./claims/createOutlineClaims");
@@ -25,8 +24,7 @@ const createEvidenceFiles_1 = require("./utilities/createEvidenceFiles");
25
24
  */
26
25
  function collectProductionClaims(props) {
27
26
  (0, assertProductionEvidenceSources_1.assertProductionEvidenceSources)(props);
28
- // A short's brief holds only what the commission does not fix, so its
29
- // screenplay alone realizes the instructions.
27
+ // The short screenplay realizes the commission using the brief's subject facts.
30
28
  const instructions = (props.mode === "long"
31
29
  ? ["settings", "treatments"]
32
30
  : props.mode === "short"
@@ -41,7 +39,6 @@ function collectProductionClaims(props) {
41
39
  .flatMap((layer) => [
42
40
  ...(0, createLayerClaims_1.createLayerClaims)(props, layer),
43
41
  ...(0, createPopulationObligationClaims_1.createPopulationObligationClaims)(props, layer),
44
- ...(0, createExpressionObligationClaims_1.createExpressionObligationClaims)(props, layer),
45
42
  (0, createDiscoveryClaim_1.createDiscoveryClaim)(props, layer),
46
43
  ])
47
44
  .filter((claim) => Array.isArray(claim.reference) ? claim.reference.length > 0 : true),
@@ -1 +1 @@
1
- {"version":3,"file":"collectProductionClaims.js","sourceRoot":"","sources":["../../../src/narrative/internal/collectProductionClaims.ts"],"names":[],"mappings":";;;AAIA,wEAAqE;AACrE,gGAA6F;AAC7F,4FAAyF;AACzF,kEAA+D;AAC/D,sEAAmE;AACnE,gGAA6F;AAC7F,oEAAiE;AACjE,yDAAsD;AACtD,qDAAkD;AAClD,iGAA8F;AAC9F,y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AC,CAAC,CAAC,IAAI,CACnE;QACH,GAAG,YAAY;QACf,GAAG,OAAO;QACV,GAAG,CAAC,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC;QACvB,GAAG,IAAA,mCAAgB,EAAC,KAAK,CAAC,CAAC,OAAO,CAChC,CAAC,KAAoB,EAAoB,EAAE,CACzC,IAAA,uCAAkB,EAAC,KAAK,EAAE,KAAK,CAAC,CACnC;KACF,CAAC;IACF,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IACE,KAAK,CAAC,IAAI,KAAK,UAAU;YACzB,KAAK,CAAC,IAAI,KAAK,qBAAS;YACxB,KAAK,CAAC,aAAa,KAAK,SAAS;YACjC,CAAC,KAAK,CAAC,MAAM,KAAK,MAAM,IAAI,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC;YAElD,KAAK,CAAC,aAAa,GAAG,IAAA,yCAAmB,EAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACzE,CAAC;IACD,OAAO,CAAC,GAAG,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,CAAC;AACrD,CAAC"}
1
+ {"version":3,"file":"collectProductionClaims.js","sourceRoot":"","sources":["../../../src/narrative/internal/collectProductionClaims.ts"],"names":[],"mappings":";;;AAIA,wEAAqE;AACrE,4FAAyF;AACzF,kEAA+D;AAC/D,sEAAmE;AACnE,gGAA6F;AAC7F,oEAAiE;AACjE,yDAAsD;AACtD,qDAAkD;AAClD,iGAA8F;AAC9F,yEAAsE;AAEtE;;;;;;;;;;GAUG;AACH,iCACE,KAA6B;IAE7B,IAAA,iEAA+B,EAAC,KAAK,CAAC,CAAC;IAEvC,gFAAgF;IAChF,MAAM,YAAY,GAAqB,CACrC,KAAK,CAAC,IAAI,KAAK,MAAM;QACnB,CAAC,CAAE,CAAC,UAAU,EAAE,YAAY,CAAW;QACvC,CAAC,CAAC,KAAK,CAAC,IAAI,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,KAAK,CAAC,IAAI,KAAK,UAAU;YACzB,KAAK,CAAC,IAAI,KAAK,qBAAS;YACxB,KAAK,CAAC,aAAa,KAAK,SAAS;YACjC,CAAC,KAAK,CAAC,MAAM,KAAK,MAAM,IAAI,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC;YAElD,KAAK,CAAC,aAAa,GAAG,IAAA,yCAAmB,EAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACzE,CAAC;IACD,OAAO,CAAC,GAAG,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,CAAC;AACrD,CAAC"}
@@ -1,5 +1,4 @@
1
1
  export * from "./AUTHORED_LAYERS";
2
- export * from "./REALIZED_LAYERS";
3
2
  export * from "./SETTINGS_DOMAINS";
4
3
  export * from "./claims";
5
4
  export * from "./collectProductionClaims";
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AUTHORED_LAYERS"), exports);
18
- __exportStar(require("./REALIZED_LAYERS"), exports);
19
18
  __exportStar(require("./SETTINGS_DOMAINS"), exports);
20
19
  __exportStar(require("./claims"), exports);
21
20
  __exportStar(require("./collectProductionClaims"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/narrative/internal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,oDAAkC;AAClC,qDAAmC;AACnC,2CAAyB;AACzB,4DAA0C;AAC1C,sDAAoC;AACpC,sDAAoC;AACpC,iDAA+B;AAC/B,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC;AACpC,+CAA6B;AAC7B,wDAAsC;AACtC,6CAA2B;AAC3B,8CAA4B;AAC5B,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/narrative/internal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,qDAAmC;AACnC,2CAAyB;AACzB,4DAA0C;AAC1C,sDAAoC;AACpC,sDAAoC;AACpC,iDAA+B;AAC/B,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC;AACpC,+CAA6B;AAC7B,wDAAsC;AACtC,6CAA2B;AAC3B,8CAA4B;AAC5B,4DAA0C"}
@@ -1,16 +1,14 @@
1
1
  import type { IEvidenceReference } from "@wrtnlabs/evidence";
2
2
  import type { AuthoredLayer } from "../../AuthoredLayer";
3
3
  /**
4
- * Selects the installed language's per-unit questions for one family.
4
+ * Selects the installed language's construction principles for one layer.
5
5
  *
6
- * A language module's principles apply to every construction; its
7
- * `naturalness/` questions apply to scripts construction, the one layer that
8
- * selects the expression family.
6
+ * Language-specific screenplay questions follow the same unit scope as the shared ones.
9
7
  *
10
- * @evidence contracts/development/implementation.md#principled-implementation Layer-specific candidate files are selected from the installed language principles or expression family, with every present file forming a per-unit H2 checklist and exclusions forbidden.
8
+ * @evidence contracts/development/implementation.md#principled-implementation Layer-specific candidate files are selected from the installed language principles, with every present file forming a per-unit H2 checklist and exclusions forbidden.
11
9
  * @evidence contracts/development/implementation.md#clear-and-simple-structure Family selection is localized here while local-file admission and contract-relative addresses belong to createLocalContractReference.
12
10
  * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Missing optional language files are omitted according to the sparse installed module; no default language or synthetic question is substituted.
13
- * @evidence contracts/development/common.md#meaningful-documentation The prose states per-unit ownership, family selection and which construction answers the expression family.
11
+ * @evidence contracts/development/common.md#meaningful-documentation The prose states per-unit ownership, optional language principles and their respondents.
14
12
  * @evidence contracts/development/implementation.md#efficient-algorithms At most four candidate files each require one synchronous existence probe; mapping/filtering and allocated references have a fixed family bound with path-length-dependent string work.
15
13
  * @evidence contracts/development/implementation.md#reuse-equivalent-work layerFiles and the local-reference builder centralize equivalent scope/address rules; installation state is observed for each build, not cached across edits.
16
14
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only the bounded returned references remain with the claim owner; intermediate optional arrays and paths expire after the call with no open handles or tasks.
@@ -18,5 +16,4 @@ import type { AuthoredLayer } from "../../AuthoredLayer";
18
16
  export declare function createLanguagePrincipleReferences(props: {
19
17
  location: string;
20
18
  layer: AuthoredLayer;
21
- family: "principles" | "naturalness";
22
19
  }): IEvidenceReference[];
@@ -4,16 +4,14 @@ exports.createLanguagePrincipleReferences = createLanguagePrincipleReferences;
4
4
  const createLocalContractReference_1 = require("./createLocalContractReference");
5
5
  const layerFiles_1 = require("./layerFiles");
6
6
  /**
7
- * Selects the installed language's per-unit questions for one family.
7
+ * Selects the installed language's construction principles for one layer.
8
8
  *
9
- * A language module's principles apply to every construction; its
10
- * `naturalness/` questions apply to scripts construction, the one layer that
11
- * selects the expression family.
9
+ * Language-specific screenplay questions follow the same unit scope as the shared ones.
12
10
  *
13
- * @evidence contracts/development/implementation.md#principled-implementation Layer-specific candidate files are selected from the installed language principles or expression family, with every present file forming a per-unit H2 checklist and exclusions forbidden.
11
+ * @evidence contracts/development/implementation.md#principled-implementation Layer-specific candidate files are selected from the installed language principles, with every present file forming a per-unit H2 checklist and exclusions forbidden.
14
12
  * @evidence contracts/development/implementation.md#clear-and-simple-structure Family selection is localized here while local-file admission and contract-relative addresses belong to createLocalContractReference.
15
13
  * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Missing optional language files are omitted according to the sparse installed module; no default language or synthetic question is substituted.
16
- * @evidence contracts/development/common.md#meaningful-documentation The prose states per-unit ownership, family selection and which construction answers the expression family.
14
+ * @evidence contracts/development/common.md#meaningful-documentation The prose states per-unit ownership, optional language principles and their respondents.
17
15
  * @evidence contracts/development/implementation.md#efficient-algorithms At most four candidate files each require one synchronous existence probe; mapping/filtering and allocated references have a fixed family bound with path-length-dependent string work.
18
16
  * @evidence contracts/development/implementation.md#reuse-equivalent-work layerFiles and the local-reference builder centralize equivalent scope/address rules; installation state is observed for each build, not cached across edits.
19
17
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only the bounded returned references remain with the claim owner; intermediate optional arrays and paths expire after the call with no open handles or tasks.
@@ -23,7 +21,7 @@ function createLanguagePrincipleReferences(props) {
23
21
  .map((file) => (0, createLocalContractReference_1.createLocalContractReference)({
24
22
  location: props.location,
25
23
  scope: "language",
26
- file: `${props.family}/${file}`,
24
+ file: `principles/${file}`,
27
25
  checklist: true,
28
26
  exclusion: false,
29
27
  }))
@@ -1 +1 @@
1
- {"version":3,"file":"createLanguagePrincipleReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createLanguagePrincipleReferences.ts"],"names":[],"mappings":";;;AAMA,iFAA8E;AAC9E,6CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,2CAAkD,KAIjD;IACC,OAAO,IAAA,uBAAU,EAAC,KAAK,CAAC,KAAK,CAAC;SAC3B,GAAG,CAAC,CAAC,IAAY,EAA0C,EAAE,CAC5D,IAAA,2DAA4B,EAAC;QAC3B,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,GAAG,KAAK,CAAC,MAAM,IAAI,IAAI,EAAE;QAC/B,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,KAAK;KACjB,CAAC,CACH;SACA,MAAM,CACL,CACE,SAAiD,EACR,EAAE,CAAC,SAAS,KAAK,SAAS,CACtE,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"createLanguagePrincipleReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createLanguagePrincipleReferences.ts"],"names":[],"mappings":";;;AAMA,iFAA8E;AAC9E,6CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,2CAAkD,KAGjD;IACC,OAAO,IAAA,uBAAU,EAAC,KAAK,CAAC,KAAK,CAAC;SAC3B,GAAG,CAAC,CAAC,IAAY,EAA0C,EAAE,CAC5D,IAAA,2DAA4B,EAAC;QAC3B,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,cAAc,IAAI,EAAE;QAC1B,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,KAAK;KACjB,CAAC,CACH;SACA,MAAM,CACL,CACE,SAAiD,EACR,EAAE,CAAC,SAAS,KAAK,SAAS,CACtE,CAAC;AACN,CAAC"}
@@ -4,23 +4,13 @@ import type { AuthoredLayer } from "../../AuthoredLayer";
4
4
  /**
5
5
  * Creates the principle checklists every unit of one layer answers for itself.
6
6
  *
7
- * A settings H2 answers the common and settings checklists; a narrative unit
8
- * also answers the narrative checklist, which settings cannot: it inherits no
9
- * unit and stages no turn. A script or screenplay unit additionally answers the
10
- * realized checklist, whose questions need literal text to be asked of: a
11
- * treatment fixes which exchange happens, and only a layer that writes the
12
- * words can be asked whether this speaker could have said them. No item may be
13
- * excluded, because each binds wherever its condition applies.
7
+ * Each unit answers its layer's principles. Only the screenplay selects an
8
+ * installed realized-text supplement. Every selected H2 answers its items.
14
9
  *
15
- * The same layer axis runs under `naturalness/`, the expression questions a
16
- * script can fail while being content-complete. Scripts construction
17
- * selects them beside its principles, so both families ask a unit about its
18
- * own body in the same pass.
19
- *
20
- * @evidence contracts/development/implementation.md#principled-implementation Common, inherited narrative, realized-text and layer-specific files become non-excludable per-unit H2 checklists in the selected principles or expression family; only declared optional family files are filtered by installation, probed in the shared skills tree that createContractDirectory resolves, where createSharedReference also roots the references.
21
- * @evidence contracts/development/implementation.md#clear-and-simple-structure One layer axis is reused for both families, while family admission remains distinct from language modules and population obligations; the owning tree is decided by createContractDirectory, not rebuilt here.
22
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Required construction files stay selected when missing so native compilation diagnoses the broken tree; sparse expression files and older realized contracts are the explicit compatibility cases.
23
- * @evidence contracts/development/common.md#meaningful-documentation The prose explains who can answer each scope, why literal-text questions apply only to realized layers, and which construction selects the expression family.
10
+ * @evidence contracts/development/implementation.md#principled-implementation Common, inherited narrative, realized-text and layer-specific files become non-excludable per-unit H2 checklists in the selected principles directory; only declared optional family files are filtered by installation, probed in the shared skills tree that createContractDirectory resolves, where createSharedReference also roots the references.
11
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure One layer axis is reused across construction stages, while family admission remains distinct from language modules and population obligations; the owning tree is decided by createContractDirectory, not rebuilt here.
12
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Required construction files stay selected when missing so native compilation diagnoses the broken tree; realized supplements are optional.
13
+ * @evidence contracts/development/common.md#meaningful-documentation The prose explains who can answer each scope, why literal-text questions apply only to realized layers, and which layer selects realized text.
24
14
  * @evidence contracts/development/implementation.md#efficient-algorithms At most four layer-file candidates require a bounded number of optional-file probes and fixed-size reference constructions; no manuscript traversal occurs.
25
15
  * @evidence contracts/development/implementation.md#reuse-equivalent-work layerFiles and createSharedReference centralize scope and address semantics; optional-file existence refreshes per configuration build rather than persisting an old contract population.
26
16
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Intermediate file lists and returned references have a fixed family bound; config owns the result and synchronous existence checks retain no handle or running task.
@@ -28,5 +18,4 @@ import type { AuthoredLayer } from "../../AuthoredLayer";
28
18
  export declare function createPrincipleReferences(props: {
29
19
  contracts: IContractLocation;
30
20
  layer: AuthoredLayer;
31
- family: "principles" | "naturalness";
32
21
  }): IEvidenceReference[];