@3f-consulting/spec-controller-core 0.1.0-alpha.7 → 0.1.0-alpha.70

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 (257) hide show
  1. package/README.md +3 -3
  2. package/dist/assemble/evidenceReconciliationFromSources.d.ts +5 -40
  3. package/dist/assemble/evidenceReconciliationFromSources.d.ts.map +1 -1
  4. package/dist/assemble/evidenceReconciliationFromSources.js +30 -325
  5. package/dist/assemble/evidenceReconciliationFromSources.js.map +1 -1
  6. package/dist/assemble/renderInput.d.ts +7 -73
  7. package/dist/assemble/renderInput.d.ts.map +1 -1
  8. package/dist/assemble/renderInput.js +3 -45
  9. package/dist/assemble/renderInput.js.map +1 -1
  10. package/dist/census/evidenceObligations.d.ts +11 -46
  11. package/dist/census/evidenceObligations.d.ts.map +1 -1
  12. package/dist/census/evidenceObligations.js +19 -25
  13. package/dist/census/evidenceObligations.js.map +1 -1
  14. package/dist/domain/evidenceOrder.d.ts +3 -0
  15. package/dist/domain/evidenceOrder.d.ts.map +1 -0
  16. package/dist/domain/evidenceOrder.js +15 -0
  17. package/dist/domain/evidenceOrder.js.map +1 -0
  18. package/dist/domain/evidenceReconciliation.d.ts +21 -391
  19. package/dist/domain/evidenceReconciliation.d.ts.map +1 -1
  20. package/dist/domain/evidenceReconciliation.js +87 -382
  21. package/dist/domain/evidenceReconciliation.js.map +1 -1
  22. package/dist/domain/featureCode.d.ts +4 -0
  23. package/dist/domain/featureCode.d.ts.map +1 -0
  24. package/dist/domain/featureCode.js +12 -0
  25. package/dist/domain/featureCode.js.map +1 -0
  26. package/dist/domain/journal.d.ts +8 -393
  27. package/dist/domain/journal.d.ts.map +1 -1
  28. package/dist/domain/journal.js +6 -118
  29. package/dist/domain/journal.js.map +1 -1
  30. package/dist/domain/ledger.d.ts +8 -328
  31. package/dist/domain/ledger.d.ts.map +1 -1
  32. package/dist/domain/ledger.js +23 -326
  33. package/dist/domain/ledger.js.map +1 -1
  34. package/dist/domain/messages.d.ts +213 -0
  35. package/dist/domain/messages.d.ts.map +1 -0
  36. package/dist/domain/messages.js +313 -0
  37. package/dist/domain/messages.js.map +1 -0
  38. package/dist/domain/outcome.d.ts +3 -0
  39. package/dist/domain/outcome.d.ts.map +1 -0
  40. package/dist/domain/outcome.js +2 -0
  41. package/dist/domain/outcome.js.map +1 -0
  42. package/dist/domain/posting.d.ts +8 -105
  43. package/dist/domain/posting.d.ts.map +1 -1
  44. package/dist/domain/posting.js +4 -56
  45. package/dist/domain/posting.js.map +1 -1
  46. package/dist/domain/qualityCheckFault.d.ts +3 -43
  47. package/dist/domain/qualityCheckFault.d.ts.map +1 -1
  48. package/dist/domain/qualityCheckFault.js +0 -24
  49. package/dist/domain/qualityCheckFault.js.map +1 -1
  50. package/dist/domain/qualityCheckReconciliation.d.ts +7 -280
  51. package/dist/domain/qualityCheckReconciliation.d.ts.map +1 -1
  52. package/dist/domain/qualityCheckReconciliation.js +63 -463
  53. package/dist/domain/qualityCheckReconciliation.js.map +1 -1
  54. package/dist/domain/qualityCheckReconciliationFault.d.ts +0 -19
  55. package/dist/domain/qualityCheckReconciliationFault.d.ts.map +1 -1
  56. package/dist/domain/qualityCheckReconciliationFault.js +1 -24
  57. package/dist/domain/qualityCheckReconciliationFault.js.map +1 -1
  58. package/dist/domain/scenarioCodeError.d.ts +16 -0
  59. package/dist/domain/scenarioCodeError.d.ts.map +1 -0
  60. package/dist/domain/scenarioCodeError.js +4 -0
  61. package/dist/domain/scenarioCodeError.js.map +1 -0
  62. package/dist/domain/scenarioReconciliation.d.ts +2 -207
  63. package/dist/domain/scenarioReconciliation.d.ts.map +1 -1
  64. package/dist/domain/scenarioReconciliation.js +4 -101
  65. package/dist/domain/scenarioReconciliation.js.map +1 -1
  66. package/dist/domain/scnAllocation.d.ts +27 -0
  67. package/dist/domain/scnAllocation.d.ts.map +1 -0
  68. package/dist/domain/scnAllocation.js +33 -0
  69. package/dist/domain/scnAllocation.js.map +1 -0
  70. package/dist/domain/verdictCode.d.ts +10 -0
  71. package/dist/domain/verdictCode.d.ts.map +1 -0
  72. package/dist/domain/verdictCode.js +16 -0
  73. package/dist/domain/verdictCode.js.map +1 -0
  74. package/dist/index.d.ts +14 -40
  75. package/dist/index.d.ts.map +1 -1
  76. package/dist/index.js +8 -88
  77. package/dist/index.js.map +1 -1
  78. package/dist/internal.d.ts +3 -27
  79. package/dist/internal.d.ts.map +1 -1
  80. package/dist/internal.js +3 -94
  81. package/dist/internal.js.map +1 -1
  82. package/dist/lib/bareTerm.d.ts +0 -39
  83. package/dist/lib/bareTerm.d.ts.map +1 -1
  84. package/dist/lib/bareTerm.js +0 -39
  85. package/dist/lib/bareTerm.js.map +1 -1
  86. package/dist/lib/portablePath.d.ts.map +1 -1
  87. package/dist/lib/portablePath.js +2 -16
  88. package/dist/lib/portablePath.js.map +1 -1
  89. package/dist/lib/scnCitation.d.ts +0 -32
  90. package/dist/lib/scnCitation.d.ts.map +1 -1
  91. package/dist/lib/scnCitation.js +2 -42
  92. package/dist/lib/scnCitation.js.map +1 -1
  93. package/dist/model.d.ts +0 -23
  94. package/dist/model.d.ts.map +1 -1
  95. package/dist/model.js +0 -23
  96. package/dist/model.js.map +1 -1
  97. package/dist/parse/checkScriptsRunInCI.d.ts +5 -168
  98. package/dist/parse/checkScriptsRunInCI.d.ts.map +1 -1
  99. package/dist/parse/checkScriptsRunInCI.js +11 -171
  100. package/dist/parse/checkScriptsRunInCI.js.map +1 -1
  101. package/dist/parse/ciStepRecord.d.ts +4 -118
  102. package/dist/parse/ciStepRecord.d.ts.map +1 -1
  103. package/dist/parse/ciStepRecord.js +18 -225
  104. package/dist/parse/ciStepRecord.js.map +1 -1
  105. package/dist/parse/commandRuns.d.ts +0 -39
  106. package/dist/parse/commandRuns.d.ts.map +1 -1
  107. package/dist/parse/commandRuns.js +6 -67
  108. package/dist/parse/commandRuns.js.map +1 -1
  109. package/dist/parse/cucumber.d.ts +0 -53
  110. package/dist/parse/cucumber.d.ts.map +1 -1
  111. package/dist/parse/cucumber.js +42 -146
  112. package/dist/parse/cucumber.js.map +1 -1
  113. package/dist/parse/discoveryScope.d.ts +1 -46
  114. package/dist/parse/discoveryScope.d.ts.map +1 -1
  115. package/dist/parse/discoveryScope.js +2 -57
  116. package/dist/parse/discoveryScope.js.map +1 -1
  117. package/dist/parse/fitnessCitations.d.ts +1 -72
  118. package/dist/parse/fitnessCitations.d.ts.map +1 -1
  119. package/dist/parse/fitnessCitations.js +3 -55
  120. package/dist/parse/fitnessCitations.js.map +1 -1
  121. package/dist/parse/reconcilerSteps.d.ts +0 -46
  122. package/dist/parse/reconcilerSteps.d.ts.map +1 -1
  123. package/dist/parse/reconcilerSteps.js +2 -64
  124. package/dist/parse/reconcilerSteps.js.map +1 -1
  125. package/dist/parse/runningFitnessFunctions.d.ts +9 -0
  126. package/dist/parse/runningFitnessFunctions.d.ts.map +1 -0
  127. package/dist/parse/runningFitnessFunctions.js +57 -0
  128. package/dist/parse/runningFitnessFunctions.js.map +1 -0
  129. package/dist/parse/scenarioCodeErrors.d.ts +11 -0
  130. package/dist/parse/scenarioCodeErrors.d.ts.map +1 -0
  131. package/dist/parse/scenarioCodeErrors.js +78 -0
  132. package/dist/parse/scenarioCodeErrors.js.map +1 -0
  133. package/dist/parse/scenarios.d.ts +3 -228
  134. package/dist/parse/scenarios.d.ts.map +1 -1
  135. package/dist/parse/scenarios.js +20 -457
  136. package/dist/parse/scenarios.js.map +1 -1
  137. package/dist/parse/stepAccounting.d.ts +0 -46
  138. package/dist/parse/stepAccounting.d.ts.map +1 -1
  139. package/dist/parse/stepAccounting.js +1 -55
  140. package/dist/parse/stepAccounting.js.map +1 -1
  141. package/dist/parse/stepExclusions.d.ts +0 -47
  142. package/dist/parse/stepExclusions.d.ts.map +1 -1
  143. package/dist/parse/stepExclusions.js +2 -50
  144. package/dist/parse/stepExclusions.js.map +1 -1
  145. package/dist/parse/stepNames.d.ts +0 -27
  146. package/dist/parse/stepNames.d.ts.map +1 -1
  147. package/dist/parse/stepNames.js +0 -27
  148. package/dist/parse/stepNames.js.map +1 -1
  149. package/dist/parse/targetCorpus.d.ts +1 -78
  150. package/dist/parse/targetCorpus.d.ts.map +1 -1
  151. package/dist/parse/targetCorpus.js +4 -46
  152. package/dist/parse/targetCorpus.js.map +1 -1
  153. package/dist/parse/targetManifest.d.ts +8 -146
  154. package/dist/parse/targetManifest.d.ts.map +1 -1
  155. package/dist/parse/targetManifest.js +48 -198
  156. package/dist/parse/targetManifest.js.map +1 -1
  157. package/dist/parse/vitest.d.ts +0 -60
  158. package/dist/parse/vitest.d.ts.map +1 -1
  159. package/dist/parse/vitest.js +4 -83
  160. package/dist/parse/vitest.js.map +1 -1
  161. package/dist/provenance/provenance.d.ts +2 -110
  162. package/dist/provenance/provenance.d.ts.map +1 -1
  163. package/dist/provenance/provenance.js +2 -58
  164. package/dist/provenance/provenance.js.map +1 -1
  165. package/dist/render/behaviouralRunners.d.ts +0 -29
  166. package/dist/render/behaviouralRunners.d.ts.map +1 -1
  167. package/dist/render/behaviouralRunners.js +6 -69
  168. package/dist/render/behaviouralRunners.js.map +1 -1
  169. package/dist/render/configurationNotRead.d.ts +3 -0
  170. package/dist/render/configurationNotRead.d.ts.map +1 -0
  171. package/dist/render/configurationNotRead.js +17 -0
  172. package/dist/render/configurationNotRead.js.map +1 -0
  173. package/dist/render/discoveryScope.d.ts +0 -37
  174. package/dist/render/discoveryScope.d.ts.map +1 -1
  175. package/dist/render/discoveryScope.js +3 -39
  176. package/dist/render/discoveryScope.js.map +1 -1
  177. package/dist/render/evidenceGrid.d.ts +1 -35
  178. package/dist/render/evidenceGrid.d.ts.map +1 -1
  179. package/dist/render/evidenceGrid.js +21 -103
  180. package/dist/render/evidenceGrid.js.map +1 -1
  181. package/dist/render/excludedSteps.d.ts +0 -26
  182. package/dist/render/excludedSteps.d.ts.map +1 -1
  183. package/dist/render/excludedSteps.js +4 -32
  184. package/dist/render/excludedSteps.js.map +1 -1
  185. package/dist/render/fitnessFunctions.d.ts +3 -0
  186. package/dist/render/fitnessFunctions.d.ts.map +1 -0
  187. package/dist/render/fitnessFunctions.js +12 -0
  188. package/dist/render/fitnessFunctions.js.map +1 -0
  189. package/dist/render/json.d.ts +0 -11
  190. package/dist/render/json.d.ts.map +1 -1
  191. package/dist/render/json.js +0 -11
  192. package/dist/render/json.js.map +1 -1
  193. package/dist/render/markdown.d.ts +1 -55
  194. package/dist/render/markdown.d.ts.map +1 -1
  195. package/dist/render/markdown.js +128 -467
  196. package/dist/render/markdown.js.map +1 -1
  197. package/dist/render/provenanceSection.d.ts +0 -22
  198. package/dist/render/provenanceSection.d.ts.map +1 -1
  199. package/dist/render/provenanceSection.js +10 -53
  200. package/dist/render/provenanceSection.js.map +1 -1
  201. package/dist/render/reconcilerSteps.d.ts +0 -25
  202. package/dist/render/reconcilerSteps.d.ts.map +1 -1
  203. package/dist/render/reconcilerSteps.js +5 -30
  204. package/dist/render/reconcilerSteps.js.map +1 -1
  205. package/dist/render/runVerdict.d.ts +0 -38
  206. package/dist/render/runVerdict.d.ts.map +1 -1
  207. package/dist/render/runVerdict.js +62 -129
  208. package/dist/render/runVerdict.js.map +1 -1
  209. package/dist/render/scenarioCodeErrorsSection.d.ts +3 -0
  210. package/dist/render/scenarioCodeErrorsSection.d.ts.map +1 -0
  211. package/dist/render/scenarioCodeErrorsSection.js +45 -0
  212. package/dist/render/scenarioCodeErrorsSection.js.map +1 -0
  213. package/dist/render/stepAccounting.d.ts +0 -36
  214. package/dist/render/stepAccounting.d.ts.map +1 -1
  215. package/dist/render/stepAccounting.js +5 -49
  216. package/dist/render/stepAccounting.js.map +1 -1
  217. package/dist/render/testVolume.d.ts +0 -25
  218. package/dist/render/testVolume.d.ts.map +1 -1
  219. package/dist/render/testVolume.js +4 -35
  220. package/dist/render/testVolume.js.map +1 -1
  221. package/package.json +4 -1
  222. package/dist/domain/checkCharacteristics.d.ts +0 -88
  223. package/dist/domain/checkCharacteristics.d.ts.map +0 -1
  224. package/dist/domain/checkCharacteristics.js +0 -109
  225. package/dist/domain/checkCharacteristics.js.map +0 -1
  226. package/dist/domain/fitnessChecks.d.ts +0 -79
  227. package/dist/domain/fitnessChecks.d.ts.map +0 -1
  228. package/dist/domain/fitnessChecks.js +0 -81
  229. package/dist/domain/fitnessChecks.js.map +0 -1
  230. package/dist/domain/qualityCheckFaultMessages.d.ts +0 -43
  231. package/dist/domain/qualityCheckFaultMessages.d.ts.map +0 -1
  232. package/dist/domain/qualityCheckFaultMessages.js +0 -38
  233. package/dist/domain/qualityCheckFaultMessages.js.map +0 -1
  234. package/dist/lib/featureCode.d.ts +0 -21
  235. package/dist/lib/featureCode.d.ts.map +0 -1
  236. package/dist/lib/featureCode.js +0 -24
  237. package/dist/lib/featureCode.js.map +0 -1
  238. package/dist/parse/corpusCodeFaults.d.ts +0 -76
  239. package/dist/parse/corpusCodeFaults.d.ts.map +0 -1
  240. package/dist/parse/corpusCodeFaults.js +0 -121
  241. package/dist/parse/corpusCodeFaults.js.map +0 -1
  242. package/dist/parse/corpusFaults.d.ts +0 -124
  243. package/dist/parse/corpusFaults.d.ts.map +0 -1
  244. package/dist/parse/corpusFaults.js +0 -72
  245. package/dist/parse/corpusFaults.js.map +0 -1
  246. package/dist/parse/corpusGrammarFaults.d.ts +0 -71
  247. package/dist/parse/corpusGrammarFaults.d.ts.map +0 -1
  248. package/dist/parse/corpusGrammarFaults.js +0 -292
  249. package/dist/parse/corpusGrammarFaults.js.map +0 -1
  250. package/dist/parse/runningStaticChecks.d.ts +0 -125
  251. package/dist/parse/runningStaticChecks.d.ts.map +0 -1
  252. package/dist/parse/runningStaticChecks.js +0 -316
  253. package/dist/parse/runningStaticChecks.js.map +0 -1
  254. package/dist/render/staticChecks.d.ts +0 -23
  255. package/dist/render/staticChecks.d.ts.map +0 -1
  256. package/dist/render/staticChecks.js +0 -69
  257. package/dist/render/staticChecks.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"markdown.js","sourceRoot":"","sources":["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AC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAC5F,CAAC;IACJ,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,QAAQ,GAA8B;IAC1C,YAAY;IACZ,iBAAiB;IACjB,2BAA2B;IAC3B,mBAAmB;IACnB,yBAAyB;IACzB,mBAAmB;IACnB,iBAAiB;IACjB,6BAA6B;IAC7B,iBAAiB;IACjB,qBAAqB;IACrB,uBAAuB;IACvB,yBAAyB;IACzB,iBAAiB;IACjB,oBAAoB;IACpB,qBAAqB;IACrB,cAAc;IACd,gBAAgB;IAChB,aAAa;CACd,CAAC;AAEF,MAAM,UAAU,YAAY,CAAC,MAAmB;IAC9C,OAAO,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAY;IAC/C,OAAO,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAgB,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,cAAc,CAC5B,sBAA8C,EAC9C,GAAe,EACf,mBAAyC,EACzC,YAA2B;IAE3B,OAAO,YAAY,CAAC,mBAAmB,CAAC,sBAAsB,EAAE,GAAG,EAAE,mBAAmB,EAAE,YAAY,CAAC,CAAC,CAAC;AAC3G,CAAC"}
@@ -1,25 +1,3 @@
1
- /**
2
- * THE RUN-PROVENANCE HEADER (@SCN-RPT-001) — the facts about the run itself, first after the title.
3
- *
4
- * ITS OWN MODULE, AND THE SECTION ITSELF ASKED FOR THIS. It sat in `markdown.ts` behind a note
5
- * saying that a section which cannot be added to without reding the complexity ratchet is the
6
- * ratchet working, and that extracting the emitter is the standing answer — a note written while
7
- * paying for one new line by taking the braces off the loop below it. That is what has now been
8
- * done, at the first commit that needed the room. Nothing about the rendering changed in the move:
9
- * the lines, their order and the empty branch are byte-identical, which is what makes it a move.
10
- *
11
- * The precedent is `runVerdict.ts` and, along the discovery axis, `discoveryScope.ts`,
12
- * `behaviouralRunners.ts`, `reconcilerSteps.ts`, `excludedSteps.ts` and `stepAccounting.ts` —
13
- * every one of them a section emitter that reads the report and nothing else.
14
- */
15
1
  import type { RenderInput } from "../assemble/renderInput.js";
16
- /**
17
- * The Run-provenance header (@SCN-RPT-001) — stays first after the title.
18
- * Facts only (project design §5): the resolved target repo, the input paths/flags
19
- * actually used, the run-start timestamp in UTC, and the target's source SHA (a null
20
- * SHA rendered as an explicit "unknown (non-git target)"). Projected off the shared
21
- * report model's `runProvenance` object via `projectProvenanceObject`, so this
22
- * header and the JSON `runProvenance` object never drift and the render needs no `ctx`.
23
- */
24
2
  export declare const provenanceSection: (report: RenderInput) => string[];
25
3
  //# sourceMappingURL=provenanceSection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provenanceSection.d.ts","sourceRoot":"","sources":["../../src/render/provenanceSection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAG9D;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,GAAI,QAAQ,WAAW,KAAG,MAAM,EAuC7D,CAAC"}
1
+ {"version":3,"file":"provenanceSection.d.ts","sourceRoot":"","sources":["../../src/render/provenanceSection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAI9D,eAAO,MAAM,iBAAiB,GAAI,QAAQ,WAAW,KAAG,MAAM,EAiB7D,CAAC"}
@@ -1,66 +1,23 @@
1
- /**
2
- * THE RUN-PROVENANCE HEADER (@SCN-RPT-001) — the facts about the run itself, first after the title.
3
- *
4
- * ITS OWN MODULE, AND THE SECTION ITSELF ASKED FOR THIS. It sat in `markdown.ts` behind a note
5
- * saying that a section which cannot be added to without reding the complexity ratchet is the
6
- * ratchet working, and that extracting the emitter is the standing answer — a note written while
7
- * paying for one new line by taking the braces off the loop below it. That is what has now been
8
- * done, at the first commit that needed the room. Nothing about the rendering changed in the move:
9
- * the lines, their order and the empty branch are byte-identical, which is what makes it a move.
10
- *
11
- * The precedent is `runVerdict.ts` and, along the discovery axis, `discoveryScope.ts`,
12
- * `behaviouralRunners.ts`, `reconcilerSteps.ts`, `excludedSteps.ts` and `stepAccounting.ts` —
13
- * every one of them a section emitter that reads the report and nothing else.
14
- */
15
1
  import { projectProvenanceObject } from "../provenance/provenance.js";
16
- /**
17
- * The Run-provenance header (@SCN-RPT-001) — stays first after the title.
18
- * Facts only (project design §5): the resolved target repo, the input paths/flags
19
- * actually used, the run-start timestamp in UTC, and the target's source SHA (a null
20
- * SHA rendered as an explicit "unknown (non-git target)"). Projected off the shared
21
- * report model's `runProvenance` object via `projectProvenanceObject`, so this
22
- * header and the JSON `runProvenance` object never drift and the render needs no `ctx`.
23
- */
2
+ import { CORE_MESSAGES, CoreMessage } from "../domain/messages.js";
24
3
  export const provenanceSection = (report) => {
25
4
  const p = projectProvenanceObject(report.runProvenance);
26
- const lines = ["## Run provenance", ""];
27
- lines.push(`- Target repo: ${p.target}`);
5
+ const lines = [CORE_MESSAGES[CoreMessage.RunProvenanceHeading], ""];
6
+ lines.push(`- ${CORE_MESSAGES[CoreMessage.ProvenanceTargetRepo](p.target)}`);
28
7
  if (p.inputs.length === 0) {
29
- lines.push("- Inputs: none specified");
8
+ lines.push(`- ${CORE_MESSAGES[CoreMessage.ProvenanceNoInputs]}`);
30
9
  }
31
10
  else {
32
- lines.push("- Inputs:");
33
- // One statement, so this emitter's CODE-line count is unchanged by the absence line below.
11
+ lines.push(`- ${CORE_MESSAGES[CoreMessage.ProvenanceInputs]}`);
34
12
  for (const { flag, value } of p.inputs)
35
13
  lines.push(` - \`${flag} ${value}\``);
36
14
  }
37
- // The canonical inputs the run did NOT receive (@SCN-RPT-028, 3F-3155), on a line of their
38
- // own BENEATH the Inputs list. A separate line rather than a "(not supplied)" marker
39
- // interleaved into the list: interleaving would make the "none specified" branch above
40
- // unreachable and silently rewrite a rendering that already exists, where this leaves the
41
- // list, its order and its empty branch byte-identical.
42
- //
43
- // ONLY WHEN SOMETHING IS ABSENT. Every stream a run was handed is listed above
44
- // (@SCN-RPT-027), so a flag missing from the list is definitionally one the run did not get;
45
- // this line spares the reader holding the canonical list in their head, and a "none" on the
46
- // healthy path would be noise in a block whose whole discipline is facts only.
47
- //
48
- // IT ONCE COST THIS SECTION A PAIR OF BRACES, and that is why the emitter now lives here.
49
- // `markdown.ts` was frozen at its own code-line count, so this line was paid for by taking the
50
- // braces off the Inputs loop above, under a note saying the standing answer was to extract the
51
- // emitter. 3F-3365 needed the room next and took that answer. The loop keeps its one-statement
52
- // form: it renders identically either way, and rewriting it here would make a move that changed
53
- // nothing into a diff a reader has to check.
54
15
  if (p.absentInputs.length > 0)
55
- lines.push(`- Not supplied: ${p.absentInputs.map((flag) => `\`${flag}\``).join(", ")}`);
56
- lines.push(`- Run timestamp (UTC): ${p.runStartUtc}`);
57
- lines.push(`- Source SHA: ${p.sourceSha ?? "unknown (non-git target)"}`);
58
- // The TOOL's own identity (3F-1916) — which spec-controller produced this run,
59
- // distinct from the target's Source SHA above. A null tool SHA renders the explicit
60
- // "unknown (not a git checkout)" (mirroring Source SHA's null-rendering); the version
61
- // is always present, so a run stays attributable even with no SHA.
62
- lines.push(`- Tool SHA: ${p.toolSha ?? "unknown (not a git checkout)"}`);
63
- lines.push(`- Tool version: ${p.toolVersion}`);
16
+ lines.push(`- ${CORE_MESSAGES[CoreMessage.ProvenanceNotSupplied](p.absentInputs.map((flag) => `\`${flag}\``).join(", "))}`);
17
+ lines.push(`- ${CORE_MESSAGES[CoreMessage.ProvenanceRunTimestamp](p.runStartUtc)}`);
18
+ lines.push(`- ${CORE_MESSAGES[CoreMessage.ProvenanceSourceSha](p.sourceSha ?? CORE_MESSAGES[CoreMessage.ProvenanceSourceShaUnknown])}`);
19
+ lines.push(`- ${CORE_MESSAGES[CoreMessage.ProvenanceToolSha](p.toolSha ?? CORE_MESSAGES[CoreMessage.ProvenanceToolShaUnknown])}`);
20
+ lines.push(`- ${CORE_MESSAGES[CoreMessage.ProvenanceToolVersion](p.toolVersion)}`);
64
21
  lines.push("");
65
22
  return lines;
66
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"provenanceSection.js","sourceRoot":"","sources":["../../src/render/provenanceSection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,MAAmB,EAAY,EAAE;IACjE,MAAM,CAAC,GAAG,uBAAuB,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IACxD,MAAM,KAAK,GAAG,CAAC,mBAAmB,EAAE,EAAE,CAAC,CAAC;IACxC,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACzC,IAAI,CAAC,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,KAAK,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;IACzC,CAAC;SAAM,CAAC;QACN,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACxB,2FAA2F;QAC3F,KAAK,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,MAAM;YAAE,KAAK,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,KAAK,IAAI,CAAC,CAAC;IACjF,CAAC;IACD,2FAA2F;IAC3F,qFAAqF;IACrF,uFAAuF;IACvF,0FAA0F;IAC1F,uDAAuD;IACvD,EAAE;IACF,+EAA+E;IAC/E,6FAA6F;IAC7F,4FAA4F;IAC5F,+EAA+E;IAC/E,EAAE;IACF,0FAA0F;IAC1F,+FAA+F;IAC/F,+FAA+F;IAC/F,+FAA+F;IAC/F,g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CAAC,KAAK,aAAa,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IACnF,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
@@ -1,28 +1,3 @@
1
- /**
2
- * THE STEPS THAT ARE THE RECONCILER (@SCN-USG-014) — the step running this reconciliation, and the
3
- * step writing the step record it reads.
4
- *
5
- * THE SECTION IS WHY THE EXCLUSION IS ALLOWED TO BE INVISIBLE TO CONFIGURATION. A step that
6
- * reaches the reader leaves it as an observation, as a behavioural runner, as the reconciler, or
7
- * as a step the consumer named a non-check, and none of the four is silent. This is the one of
8
- * them nobody wrote down, so it is the one where saying it out loud matters most: a consumer who
9
- * configured nothing still reads which two steps this tool took out of its own books, and why.
10
- *
11
- * TWO SENTENCES, BECAUSE THE TWO HALVES ARE DIFFERENT FACTS. One step RUNS the reconciliation this
12
- * report is; the other WRITES the record that run reads, before it reads it. Both are unsatisfiable
13
- * as citations and both are off the books, but a consumer looking at their pipeline needs to know
14
- * which of their steps was taken for which.
15
- *
16
- * ITS OWN MODULE rather than a further section in `markdown.ts`: the precedent is `runVerdict.ts`,
17
- * `behaviouralRunners.ts` and `excludedSteps.ts`, each moved out for exactly this reason.
18
- */
19
1
  import type { RenderInput } from "../assemble/renderInput.js";
20
- /**
21
- * The reconciler's own steps, or nothing at all.
22
- *
23
- * OMITTED WHERE THE PIPELINE DOES NOT RUN THIS TOOL, which is every target that reconciles
24
- * somewhere else: the section appears only when there is something to account for, and every other
25
- * report is byte-identical to what it was.
26
- */
27
2
  export declare const reconcilerSection: (report: RenderInput) => string[];
28
3
  //# sourceMappingURL=reconcilerSteps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reconcilerSteps.d.ts","sourceRoot":"","sources":["../../src/render/reconcilerSteps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAS9D;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,QAAQ,WAAW,KAAG,MAAM,EAS7D,CAAC"}
1
+ {"version":3,"file":"reconcilerSteps.d.ts","sourceRoot":"","sources":["../../src/render/reconcilerSteps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAS9D,eAAO,MAAM,iBAAiB,GAAI,QAAQ,WAAW,KAAG,MAAM,EAS7D,CAAC"}
@@ -1,41 +1,16 @@
1
- /**
2
- * THE STEPS THAT ARE THE RECONCILER (@SCN-USG-014) — the step running this reconciliation, and the
3
- * step writing the step record it reads.
4
- *
5
- * THE SECTION IS WHY THE EXCLUSION IS ALLOWED TO BE INVISIBLE TO CONFIGURATION. A step that
6
- * reaches the reader leaves it as an observation, as a behavioural runner, as the reconciler, or
7
- * as a step the consumer named a non-check, and none of the four is silent. This is the one of
8
- * them nobody wrote down, so it is the one where saying it out loud matters most: a consumer who
9
- * configured nothing still reads which two steps this tool took out of its own books, and why.
10
- *
11
- * TWO SENTENCES, BECAUSE THE TWO HALVES ARE DIFFERENT FACTS. One step RUNS the reconciliation this
12
- * report is; the other WRITES the record that run reads, before it reads it. Both are unsatisfiable
13
- * as citations and both are off the books, but a consumer looking at their pipeline needs to know
14
- * which of their steps was taken for which.
15
- *
16
- * ITS OWN MODULE rather than a further section in `markdown.ts`: the precedent is `runVerdict.ts`,
17
- * `behaviouralRunners.ts` and `excludedSteps.ts`, each moved out for exactly this reason.
18
- */
19
- /** What each half of the reconciler is, said in the consumer's terms rather than this tool's. */
1
+ import { CORE_MESSAGES, CoreMessage } from "../domain/messages.js";
20
2
  const WHAT_IT_IS = {
21
- reconciles: "this step runs the reconciliation this report is",
22
- records: "this step writes the step record the reconciliation reads",
3
+ reconciles: CORE_MESSAGES[CoreMessage.ReconcilerReconciles],
4
+ records: CORE_MESSAGES[CoreMessage.ReconcilerRecords],
23
5
  };
24
- /**
25
- * The reconciler's own steps, or nothing at all.
26
- *
27
- * OMITTED WHERE THE PIPELINE DOES NOT RUN THIS TOOL, which is every target that reconciles
28
- * somewhere else: the section appears only when there is something to account for, and every other
29
- * report is byte-identical to what it was.
30
- */
31
6
  export const reconcilerSection = (report) => {
32
7
  const steps = report.summary.reconcilerSteps ?? [];
33
8
  if (steps.length === 0)
34
9
  return [];
35
10
  return [
36
- "### The reconciler",
11
+ CORE_MESSAGES[CoreMessage.ReconcilerHeading],
37
12
  "",
38
- ...steps.map(({ step, role }) => `- ${step} — the reconciler: ${WHAT_IT_IS[role]}.`),
13
+ ...steps.map(({ step, role }) => `- ${CORE_MESSAGES[CoreMessage.ReconcilerStep](step, WHAT_IT_IS[role])}`),
39
14
  "",
40
15
  ];
41
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"reconcilerSteps.js","sourceRoot":"","sources":["../../src/render/reconcilerSteps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAKH,iGAAiG;AACjG,MAAM,UAAU,GAAqD;IACnE,UAAU,EAAE,kDAAkD;IAC9D,OAAO,EAAE,2DAA2D;CACrE,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,MAAmB,EAAY,EAAE;IACjE,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,eAAe,IAAI,EAAE,CAAC;IACnD,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAClC,OAAO;QACL,oBAAoB;QACpB,EAAE;QACF,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,KAAK,IAAI,sBAAsB,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC;QACpF,EAAE;KACH,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"reconcilerSteps.js","sourceRoot":"","sources":["../../src/render/reconcilerSteps.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,UAAU,GAAqD;IACnE,UAAU,EAAE,aAAa,CAAC,WAAW,CAAC,oBAAoB,CAAC;IAC3D,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,iBAAiB,CAAC;CACtD,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,MAAmB,EAAY,EAAE;IACjE,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,eAAe,IAAI,EAAE,CAAC;IACnD,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAClC,OAAO;QACL,aAAa,CAAC,WAAW,CAAC,iBAAiB,CAAC;QAC5C,EAAE;QACF,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,KAAK,aAAa,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QAC1G,EAAE;KACH,CAAC;AACJ,CAAC,CAAC"}
@@ -1,41 +1,3 @@
1
- /**
2
- * THE RUN VERDICT — the headline sentence a reader meets first, and the exit code it names.
3
- *
4
- * Its own module rather than a further section in `markdown.ts`, which sits at a `max-lines`
5
- * exception — and an exception excuses existing debt, never headroom.
6
- * The precedent was `measuredItem.ts` (retired with the measured axis, 3F-3516), moved out for
7
- * the same reason; the move was forced here by
8
- * @SCN-CLI-019 adding a fifth verdict, and it is the emitter this file is named for.
9
- */
10
1
  import type { RenderInput } from "../assemble/renderInput.js";
11
- /**
12
- * The RUN-VERDICT headline (@SCN-RPT-022) — the first thing under `## Summary views`, so the
13
- * summary OPENS with the bottom line. The tally already fails on its own once every Scenario
14
- * Reconciliation is counted (@SCN-RMD-001, 3F-1724); this is the SUPPLEMENT that makes the
15
- * failure impossible to MISS. The slice's non-negotiable invariant (3F-1703): a run that exits
16
- * non-zero NEVER renders a headline that reads as a pass — the AWTY 17-36-50Z fault, where a
17
- * failing run's `141 | 141 | 0` tally was read as a clean board by operator and agent alike.
18
- *
19
- * ALWAYS PRESENT — the one deliberate departure from the `runIntegritySection` precedent it
20
- * otherwise follows. The unsound stamp is omit-when-empty (a sound run must gain no stray empty
21
- * section); a BALANCED run, by contrast, needs its verdict line just as much as a failing one —
22
- * "there is no headline" is not a verdict a reader can rely on.
23
- *
24
- * THE DOMINANCE ORDER MIRRORS `cli-balance/cli.ts` EXACTLY — nothing-to-reconcile → broken →
25
- * out-of-balance → pending. The headline asks the same four predicates the CLI asks, in the same
26
- * order, and never re-derives a verdict of its own, so it cannot drift from the exit code it
27
- * names. The order is load-bearing for the same reason it is there: a broken run is ALWAYS
28
- * out-of-balance too (its `broken` item sits on the suspense row), so asking `isBalanced` first
29
- * would have the headline say exit 1 while the process exits 4 — and an EMPTY ledger satisfies
30
- * `isBalanced` VACUOUSLY (@SCN-CLI-019), so asking it first would have the headline say
31
- * "**BALANCED** … (exit 0)" over a run with no accounts at all. @SCN-CLI-013 (3F-1728) PINS that
32
- * agreement between the headline and the process.
33
- *
34
- * EXIT 3 IS THE ONE CODE THE CORE CANNOT ASSERT. `--strict` is a CLI-edge flag invisible to the
35
- * core (it appears nowhere in `packages/core/src`), so the renderer cannot know whether it was
36
- * passed. A balanced run carrying Pending Items therefore names exit 3 CONDITIONALLY ("exit 3
37
- * under `--strict`") and never claims it; 0 / 1 / 4 / 5 are determinate from the reconciliation
38
- * alone.
39
- */
40
2
  export declare const runVerdictSection: (report: RenderInput) => string[];
41
3
  //# sourceMappingURL=runVerdict.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runVerdict.d.ts","sourceRoot":"","sources":["../../src/render/runVerdict.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAoG9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,iBAAiB,GAAI,QAAQ,WAAW,KAAG,MAAM,EAsB7D,CAAC"}
1
+ {"version":3,"file":"runVerdict.d.ts","sourceRoot":"","sources":["../../src/render/runVerdict.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAwE9D,eAAO,MAAM,iBAAiB,GAAI,QAAQ,WAAW,KAAG,MAAM,EAgB7D,CAAC"}
@@ -1,140 +1,73 @@
1
- /**
2
- * THE RUN VERDICT — the headline sentence a reader meets first, and the exit code it names.
3
- *
4
- * Its own module rather than a further section in `markdown.ts`, which sits at a `max-lines`
5
- * exception — and an exception excuses existing debt, never headroom.
6
- * The precedent was `measuredItem.ts` (retired with the measured axis, 3F-3516), moved out for
7
- * the same reason; the move was forced here by
8
- * @SCN-CLI-019 adding a fifth verdict, and it is the emitter this file is named for.
9
- */
10
- import { hasBrokenEvidence, isBalanced, hasPendingItems, hasNothingToReconcile, } from "../domain/ledger.js";
11
- /**
12
- * The corpus directory a run reads when `--features` is not supplied — the tool's own default,
13
- * relative to the target root. It is the STRING the report names, never a resolved path: three
14
- * targets in three different places all looked in the same place by the same name, which is what
15
- * lets a reader compare two runs' reports at all (@SCN-CLI-018).
16
- */
1
+ import { isBalanced, hasPendingItems } from "../domain/ledger.js";
2
+ import { hasScenarioCodeErrors } from "../domain/scenarioCodeError.js";
3
+ import { verdictCode } from "../domain/verdictCode.js";
4
+ import { CORE_MESSAGES, CoreMessage } from "../domain/messages.js";
17
5
  const DEFAULT_CORPUS_DIR = "features";
18
- /**
19
- * The corpus directory this run examined, off the provenance the renderer already holds
20
- * (@SCN-CLI-018) — the `--features` value the operator gave, or the default above.
21
- *
22
- * READ FROM `runProvenance`, WHICH IS WHY NO NEW FIELD IS OWED. `provenanceSection` derives both
23
- * the Inputs list and the "Not supplied" line from this same object, so the verdict names the
24
- * directory the header already accounts for and the two cannot disagree. A `process.cwd()` here
25
- * would be the obvious alternative and is barred twice over: this package is pure and
26
- * `lint:boundaries`'s `no-restricted-globals` rule enforces it over every non-test file under
27
- * `packages/core/src`, and a resolved absolute path is not the fact a reader needs.
28
- *
29
- * THE RULE NAMED HERE WAS WRONG UNTIL 3F-3438 AND IS CORRECTED RATHER THAN RE-WORDED. It read "the
30
- * domain-purity guard enforces it", and that guard never scanned `render/` — its population was
31
- * `packages/core/src/domain` — nor did it look at a global at all, only at `from` specifiers. The
32
- * bar was real; the mechanism cited for it was not.
33
- */
34
6
  function corpusExamined(provenance) {
35
7
  return provenance.inputs.features ?? DEFAULT_CORPUS_DIR;
36
8
  }
37
- /** Which verdict this ledger has earned — the dominance chain, and nothing else. */
38
- function verdictOf(reconciliation, corpusDir) {
39
- // The predicates, in the CLI's dominance order. Each headline word is the RENDER word, not the
40
- // predicate name (`hasBrokenEvidence` → "UNSOUND"), the `isBalanced` → "balanced" precedent —
41
- // and "UNSOUND" is coherent with the `## Run integrity: unsound` stamp above (@SCN-RPT-021).
42
- //
43
- // `hasNothingToReconcile` IS FIRST, in the SAME position it holds in the CLI ladder, and that
44
- // shared position is what keeps @SCN-CLI-013's invariant true by construction rather than by
45
- // coincidence (@SCN-CLI-019). Its position among the other three is otherwise FREE — an empty
46
- // ledger fires none of them (no rows, so no row to carry anything), measured at 3F-3344 rather
47
- // than argued. What it may NOT sit after is the terminal arm: "**BALANCED**" is where this chain
48
- // ENDS UP, not a case it tests for, so a fifth verdict has to displace that default rather than
49
- // follow it. Deleted, the headline reads "**BALANCED** … (exit 0)" over a run with no accounts
50
- // at all, which is the fault itself.
51
- const verdict = hasNothingToReconcile(reconciliation)
52
- ? {
53
- headline: "**NOTHING TO RECONCILE**",
54
- exit: "exit 5",
55
- // NAMES THE ABSENCE ON BOTH SIDES, because the two are different remedies: a target that
56
- // declared nothing needs scenarios, one that produced nothing needs its evidence wired in.
57
- //
58
- // AND IT NAMES WHERE IT LOOKED FOR THE DECLARATIONS (@SCN-CLI-018). "I found no record" and
59
- // "I found no regression" must never wear one word — the rule this repository already
60
- // applies to the mutation record (3F-2947), reaching the corpus. A consumer whose corpus
61
- // lives somewhere else reads this sentence as a report on a directory they never used, and
62
- // the only thing separating those two readings is the directory being said out loud.
63
- gloss: "there were no accounts to agree. The ledger carries no Scenario Reconciliation at " +
64
- `all, so this run has NO BASIS FOR A VERDICT — nothing was declared in \`${corpusDir}\` ` +
65
- "and nothing was produced. Not balanced: a run that examined nothing must not certify.",
66
- }
67
- : hasBrokenEvidence(reconciliation)
68
- ? {
69
- headline: "**UNSOUND**",
70
- exit: "exit 4",
71
- // GENERIC over both producers (3F-1654), for the same reason the run-integrity stamp is:
72
- // a cucumber ambiguity is not a collection failure, and the verdict line is read by the
73
- // same reader. It names the FACT the two share; the stamp above carries the detail.
74
- gloss: "the evidence could not be TRUSTED to reconcile. A proof never ran, so the behaviour " +
75
- "it proves was never exercised. Read the run-integrity stamp above before any count " +
76
- "below it.",
77
- }
78
- : !isBalanced(reconciliation)
79
- ? {
80
- headline: "**OUT-OF-BALANCE**",
81
- exit: "exit 1",
82
- gloss: "the accounts do not agree. At least one Scenario Reconciliation carries a " +
83
- "reconciling item. This run FAILED.",
84
- }
85
- : {
86
- headline: "**BALANCED**",
87
- exit: "exit 0",
88
- gloss: "every Scenario Reconciliation balances: scenario, phantom and suspense alike.",
89
- };
90
- return verdict;
9
+ function scenarioCodeErrorsVerdict(reconciliation) {
10
+ const alsoOutOfBalance = isBalanced(reconciliation) ? "" : CORE_MESSAGES[CoreMessage.AlsoOutOfBalance];
11
+ return {
12
+ headline: CORE_MESSAGES[CoreMessage.ScenarioCodeErrorsHeadline],
13
+ exit: CORE_MESSAGES[CoreMessage.VerdictExit](1),
14
+ gloss: CORE_MESSAGES[CoreMessage.ScenarioCodeErrorsGloss](alsoOutOfBalance),
15
+ };
16
+ }
17
+ const OUT_OF_BALANCE = {
18
+ headline: CORE_MESSAGES[CoreMessage.OutOfBalanceHeadline],
19
+ exit: CORE_MESSAGES[CoreMessage.VerdictExit](1),
20
+ gloss: CORE_MESSAGES[CoreMessage.OutOfBalanceGloss],
21
+ };
22
+ const UNSOUND = {
23
+ headline: CORE_MESSAGES[CoreMessage.UnsoundHeadline],
24
+ exit: CORE_MESSAGES[CoreMessage.VerdictExit](4),
25
+ gloss: CORE_MESSAGES[CoreMessage.UnsoundGloss],
26
+ };
27
+ const PENDING = {
28
+ headline: CORE_MESSAGES[CoreMessage.PendingHeadline],
29
+ exit: CORE_MESSAGES[CoreMessage.VerdictExit](3),
30
+ gloss: CORE_MESSAGES[CoreMessage.PendingGloss],
31
+ };
32
+ const BALANCED = {
33
+ headline: CORE_MESSAGES[CoreMessage.BalancedHeadline],
34
+ exit: CORE_MESSAGES[CoreMessage.VerdictExit](0),
35
+ gloss: CORE_MESSAGES[CoreMessage.BalancedGloss],
36
+ };
37
+ function nothingToReconcile(corpusDir) {
38
+ return {
39
+ headline: CORE_MESSAGES[CoreMessage.NothingToReconcileHeadline],
40
+ exit: CORE_MESSAGES[CoreMessage.VerdictExit](5),
41
+ gloss: CORE_MESSAGES[CoreMessage.NothingToReconcileGloss](corpusDir),
42
+ };
43
+ }
44
+ function verdictFor(code, reconciliation, corpusDir, codeErrors) {
45
+ switch (code) {
46
+ case 5:
47
+ return nothingToReconcile(corpusDir);
48
+ case 4:
49
+ return UNSOUND;
50
+ case 1:
51
+ return codeErrors ? scenarioCodeErrorsVerdict(reconciliation) : OUT_OF_BALANCE;
52
+ case 3:
53
+ return PENDING;
54
+ case 0:
55
+ return BALANCED;
56
+ }
91
57
  }
92
- /**
93
- * The RUN-VERDICT headline (@SCN-RPT-022) — the first thing under `## Summary views`, so the
94
- * summary OPENS with the bottom line. The tally already fails on its own once every Scenario
95
- * Reconciliation is counted (@SCN-RMD-001, 3F-1724); this is the SUPPLEMENT that makes the
96
- * failure impossible to MISS. The slice's non-negotiable invariant (3F-1703): a run that exits
97
- * non-zero NEVER renders a headline that reads as a pass — the AWTY 17-36-50Z fault, where a
98
- * failing run's `141 | 141 | 0` tally was read as a clean board by operator and agent alike.
99
- *
100
- * ALWAYS PRESENT — the one deliberate departure from the `runIntegritySection` precedent it
101
- * otherwise follows. The unsound stamp is omit-when-empty (a sound run must gain no stray empty
102
- * section); a BALANCED run, by contrast, needs its verdict line just as much as a failing one —
103
- * "there is no headline" is not a verdict a reader can rely on.
104
- *
105
- * THE DOMINANCE ORDER MIRRORS `cli-balance/cli.ts` EXACTLY — nothing-to-reconcile → broken →
106
- * out-of-balance → pending. The headline asks the same four predicates the CLI asks, in the same
107
- * order, and never re-derives a verdict of its own, so it cannot drift from the exit code it
108
- * names. The order is load-bearing for the same reason it is there: a broken run is ALWAYS
109
- * out-of-balance too (its `broken` item sits on the suspense row), so asking `isBalanced` first
110
- * would have the headline say exit 1 while the process exits 4 — and an EMPTY ledger satisfies
111
- * `isBalanced` VACUOUSLY (@SCN-CLI-019), so asking it first would have the headline say
112
- * "**BALANCED** … (exit 0)" over a run with no accounts at all. @SCN-CLI-013 (3F-1728) PINS that
113
- * agreement between the headline and the process.
114
- *
115
- * EXIT 3 IS THE ONE CODE THE CORE CANNOT ASSERT. `--strict` is a CLI-edge flag invisible to the
116
- * core (it appears nowhere in `packages/core/src`), so the renderer cannot know whether it was
117
- * passed. A balanced run carrying Pending Items therefore names exit 3 CONDITIONALLY ("exit 3
118
- * under `--strict`") and never claims it; 0 / 1 / 4 / 5 are determinate from the reconciliation
119
- * alone.
120
- */
121
58
  export const runVerdictSection = (report) => {
122
59
  const reconciliation = { scenarioReconciliations: report.ledger.scenarioReconciliations };
123
- const verdict = verdictOf(reconciliation, corpusExamined(report.runProvenance));
124
- const lines = [
125
- "### Run verdict",
126
- "",
127
- `${verdict.headline} — ${verdict.gloss} (${verdict.exit})`,
128
- ];
129
- // The CONDITIONAL rider — never an assertion. A balanced run carrying Pending Items exits 0 as
130
- // rendered, and 3 only if the caller passed `--strict`; the core cannot see the flag, so it
131
- // names the possibility and stops short of claiming it. Asked LAST, mirroring the CLI's own
132
- // `else if (strict && hasPendingItems(...))` — a run already failing on a dominant predicate
133
- // never reaches it, and the note never appears alongside UNSOUND or OUT-OF-BALANCE.
134
- if (verdict.exit === "exit 0" && hasPendingItems(reconciliation)) {
60
+ const codeErrors = hasScenarioCodeErrors(report);
61
+ const code = verdictCode({
62
+ ledger: reconciliation,
63
+ scenarioCodeErrors: report.scenarioCodeErrors,
64
+ strict: report.runProvenance.strict === true,
65
+ });
66
+ const verdict = verdictFor(code, reconciliation, corpusExamined(report.runProvenance), codeErrors);
67
+ const lines = [CORE_MESSAGES[CoreMessage.RunVerdictHeading], "", `${verdict.headline} — ${verdict.gloss} (${verdict.exit})`];
68
+ if (code === 0 && hasPendingItems(reconciliation)) {
135
69
  lines.push("");
136
- lines.push("⏳ Pending Items are outstanding — deferred, not out-of-balance, so the verdict stands. " +
137
- "A run that treats a deferral as a failure gives exit 3 under `--strict`.");
70
+ lines.push(CORE_MESSAGES[CoreMessage.PendingItemsOutstanding]);
138
71
  }
139
72
  lines.push("");
140
73
  return lines;
@@ -1 +1 @@
1
- {"version":3,"file":"runVerdict.js","sourceRoot":"","sources":["../../src/render/runVerdict.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,qBAAqB,GACtB,MAAM,qBAAqB,CAAC;AAE7B;;;;;GAKG;AACH,MAAM,kBAAkB,GAAG,UAAU,CAAC;AAKtC;;;;;;;;;;;;;;;GAeG;AACH,SAAS,cAAc,CAAC,UAA4B;IAClD,OAAO,UAAU,CAAC,MAAM,CAAC,QAAQ,IAAI,kBAAkB,CAAC;AAC1D,CAAC;AAED,oFAAoF;AACpF,SAAS,SAAS,CAAC,cAAsB,EAAE,SAAiB;IAC1D,+FAA+F;IAC/F,8FAA8F;IAC9F,6FAA6F;IAC7F,EAAE;IACF,8FAA8F;IAC9F,6FAA6F;IAC7F,8FAA8F;IAC9F,+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AAC,EAAE,CAAC;QAClD,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACf,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,CAAC;IACjE,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { RenderInput } from "../assemble/renderInput.js";
2
+ export declare const scenarioCodeErrorsSection: (report: RenderInput) => string[];
3
+ //# sourceMappingURL=scenarioCodeErrorsSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scenarioCodeErrorsSection.d.ts","sourceRoot":"","sources":["../../src/render/scenarioCodeErrorsSection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AA0B9D,eAAO,MAAM,yBAAyB,GAAI,QAAQ,WAAW,KAAG,MAAM,EAsBrE,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { CORE_MESSAGES, CoreMessage } from "../domain/messages.js";
2
+ function counted(n, noun) {
3
+ return `${n} ${noun}${n === 1 ? "" : "s"}`;
4
+ }
5
+ function cleanStatement(population) {
6
+ if (population === undefined)
7
+ return CORE_MESSAGES[CoreMessage.ScenarioCodesClean];
8
+ const { featureFiles, featureCodes } = population;
9
+ if (featureFiles === 0)
10
+ return CORE_MESSAGES[CoreMessage.NoFeatureFileJudged];
11
+ const over = CORE_MESSAGES[CoreMessage.ScenarioCodesCleanOver](counted(featureFiles, CORE_MESSAGES[CoreMessage.FeatureFileNoun]), counted(featureCodes, CORE_MESSAGES[CoreMessage.FeatureCodeNoun]));
12
+ if (featureCodes === 0) {
13
+ const them = featureFiles === 1 ? CORE_MESSAGES[CoreMessage.ItPronoun] : CORE_MESSAGES[CoreMessage.ThemPronoun];
14
+ return CORE_MESSAGES[CoreMessage.CleanNoCodedScenario](over, them);
15
+ }
16
+ if (featureCodes === featureFiles)
17
+ return CORE_MESSAGES[CoreMessage.CleanEachFileOwnCode](over);
18
+ const noFeatureCode = featureFiles - featureCodes;
19
+ const hold = noFeatureCode === 1 ? CORE_MESSAGES[CoreMessage.HoldsVerb] : CORE_MESSAGES[CoreMessage.HoldVerb];
20
+ return CORE_MESSAGES[CoreMessage.CleanOthersNoFeatureCode](over, noFeatureCode, hold);
21
+ }
22
+ export const scenarioCodeErrorsSection = (report) => {
23
+ if (report.scenarioCodeErrors === undefined)
24
+ return [];
25
+ const errors = report.scenarioCodeErrors;
26
+ const heading = CORE_MESSAGES[CoreMessage.ScenarioCodeErrorsHeading];
27
+ const duplicateLine = CORE_MESSAGES[CoreMessage.DuplicateScnCodeNotListed];
28
+ if (errors.length === 0) {
29
+ return [heading, "", cleanStatement(report.scenarioCodePopulation), "", duplicateLine, ""];
30
+ }
31
+ const count = errors.length === 1
32
+ ? CORE_MESSAGES[CoreMessage.OneScenarioCodeError]
33
+ : CORE_MESSAGES[CoreMessage.ScenarioCodeErrorCount](errors.length);
34
+ return [
35
+ heading,
36
+ "",
37
+ CORE_MESSAGES[CoreMessage.ScenarioCodeErrorsFraming](count),
38
+ "",
39
+ ...errors.map((error) => `- \`${error.kind}\` — ${error.message}`),
40
+ "",
41
+ duplicateLine,
42
+ "",
43
+ ];
44
+ };
45
+ //# sourceMappingURL=scenarioCodeErrorsSection.js.map