spec-controller 0.1.220 → 0.1.221

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.
package/dist/cli.js CHANGED
@@ -27895,8 +27895,8 @@ function assembleRenderInput(evidenceReconciliation, ctx, evidenceObligations2,
27895
27895
  return {
27896
27896
  runProvenance: provenanceObject(ctx),
27897
27897
  ...errors ? { errors } : {},
27898
- ...scenarioCodes ? { scenarioCodes } : {},
27899
27898
  summary: concludedSummary({
27899
+ ...scenarioCodes ? { scenarioCodes } : {},
27900
27900
  ...summaryStatingNoFault(evidenceReconciliation.summary),
27901
27901
  ...byFeature.length > 0 ? { outOfBalanceByFeature: byFeature } : {}
27902
27902
  }, {
@@ -31666,7 +31666,7 @@ var init_scenarioCodeErrorsSection = __esm({
31666
31666
  scenarioCodesCleanStatement = (report) => {
31667
31667
  if (report.errors?.scenarioCodes !== void 0)
31668
31668
  return [];
31669
- const { featureFiles, featureCodes } = report.scenarioCodes ?? {};
31669
+ const { featureFiles, featureCodes } = report.summary.scenarioCodes ?? {};
31670
31670
  if (featureFiles === void 0 || featureCodes === void 0)
31671
31671
  return [];
31672
31672
  if (featureFiles === 0)
@@ -32365,7 +32365,7 @@ var init_markdown = __esm({
32365
32365
  CORE_MESSAGES[CoreMessage.ClaimReconciliationsHeading],
32366
32366
  "",
32367
32367
  ...ledgerTallyLines(report.summary.evidenceReconciliation.claimReconciliations),
32368
- ...censusLines(report.scenarioCodes, scenarioRows.length),
32368
+ ...censusLines(report.summary.scenarioCodes, scenarioRows.length),
32369
32369
  "",
32370
32370
  ...evidenceKeyLines(columns),
32371
32371
  ...ledgerTableLines(claims, columns, report.summary.evidenceObservations?.byQualityCheckKind ?? []),
@@ -32870,9 +32870,15 @@ var init_inputShapes = __esm({
32870
32870
  }
32871
32871
  }
32872
32872
  },
32873
- evidenceObservations: { fields: {} }
32873
+ evidenceObservations: { fields: {} },
32874
+ scenarioCodes: {
32875
+ fields: {
32876
+ untaggedScenarios: { list: SCENARIO_NAME },
32877
+ sharedScnCodes: { list: { fields: { scenarios: { list: SCENARIO_NAME } } } }
32878
+ }
32879
+ }
32874
32880
  },
32875
- required: ["evidenceReconciliation", "evidenceObservations"]
32881
+ required: ["evidenceReconciliation", "evidenceObservations", "scenarioCodes"]
32876
32882
  },
32877
32883
  claimReconciliations: {
32878
32884
  list: {
@@ -32897,12 +32903,6 @@ var init_inputShapes = __esm({
32897
32903
  }
32898
32904
  },
32899
32905
  retired: { configuration: "configurationNotRead" }
32900
- },
32901
- scenarioCodes: {
32902
- fields: {
32903
- untaggedScenarios: { list: SCENARIO_NAME },
32904
- sharedScnCodes: { list: { fields: { scenarios: { list: SCENARIO_NAME } } } }
32905
- }
32906
32906
  }
32907
32907
  },
32908
32908
  required: ["runProvenance", "summary", "claimReconciliations"]
@@ -11,9 +11,6 @@
11
11
  "errors": {
12
12
  "$ref": "#/definitions/ErrorsSection"
13
13
  },
14
- "scenarioCodes": {
15
- "$ref": "#/definitions/ScenarioCodesSection"
16
- },
17
14
  "summary": {
18
15
  "type": "object",
19
16
  "additionalProperties": false,
@@ -21,6 +18,9 @@
21
18
  "runVerdict": {
22
19
  "$ref": "#/definitions/RunVerdict"
23
20
  },
21
+ "scenarioCodes": {
22
+ "$ref": "#/definitions/ScenarioCodesSection"
23
+ },
24
24
  "outOfBalanceByFeature": {
25
25
  "type": "array",
26
26
  "items": {
@@ -332,6 +332,17 @@
332
332
  "function"
333
333
  ]
334
334
  },
335
+ "RunVerdict": {
336
+ "type": "string",
337
+ "enum": [
338
+ "nothing-to-reconcile",
339
+ "unsound",
340
+ "scenario-code-errors",
341
+ "out-of-balance",
342
+ "pending",
343
+ "balanced"
344
+ ]
345
+ },
335
346
  "ScenarioCodesSection": {
336
347
  "type": "object",
337
348
  "properties": {
@@ -395,17 +406,6 @@
395
406
  ],
396
407
  "additionalProperties": false
397
408
  },
398
- "RunVerdict": {
399
- "type": "string",
400
- "enum": [
401
- "nothing-to-reconcile",
402
- "unsound",
403
- "scenario-code-errors",
404
- "out-of-balance",
405
- "pending",
406
- "balanced"
407
- ]
408
- },
409
409
  "FeatureOutOfBalance": {
410
410
  "type": "object",
411
411
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-controller",
3
- "version": "0.1.220",
3
+ "version": "0.1.221",
4
4
  "description": "Reconcile the behaviour your scenarios name against the evidence that actually ran — the deterministic `balance` CLI.",
5
5
  "keywords": [
6
6
  "reconciliation",
@@ -26,7 +26,7 @@
26
26
  "fast-xml-parser": "^5.11.2",
27
27
  "ts-json-schema-generator": "^2.9.0",
28
28
  "yaml": "^2.9.0",
29
- "@3f-consulting/spec-controller-core": "0.1.220"
29
+ "@3f-consulting/spec-controller-core": "0.1.221"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"