spec-controller 0.1.121 → 0.1.122

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
@@ -27778,6 +27778,44 @@ var init_provenance = __esm({
27778
27778
  }
27779
27779
  });
27780
27780
 
27781
+ // ../core/dist/domain/renderInput.js
27782
+ function scenarioCodesOf2(population, obligations) {
27783
+ if (!population && !obligations)
27784
+ return void 0;
27785
+ return {
27786
+ ...population ? { featureFiles: population.featureFiles, featureCodes: population.featureCodes } : {},
27787
+ ...obligations ? {
27788
+ excludedOccurrences: obligations.excludedOccurrences,
27789
+ untaggedScenarios: obligations.untaggedScenarios,
27790
+ ...nonEmpty("sharedScnCodes", obligations.sharedScnCodes)
27791
+ } : {}
27792
+ };
27793
+ }
27794
+ function errorsOf(scenarioCodeErrors, summary) {
27795
+ const configuration = {
27796
+ ...nonEmpty("keysNotRead", summary.configurationKeysNotRead),
27797
+ ...nonEmpty("ofWrongKind", summary.configurationOfWrongKind),
27798
+ ...nonEmpty("runnerKeysNotATier", summary.runnerKeysNotATier),
27799
+ ...nonEmpty("nonChecksMatchingNoStep", summary.nonChecksMatchingNoStep)
27800
+ };
27801
+ const errors = {
27802
+ ...nonEmpty("scenarioCodes", scenarioCodeErrors),
27803
+ ...Object.keys(configuration).length > 0 ? { configuration } : {}
27804
+ };
27805
+ return Object.keys(errors).length > 0 ? errors : void 0;
27806
+ }
27807
+ function summaryStatingNoFault({ configurationKeysNotRead: _keysNotRead, configurationOfWrongKind: _ofWrongKind, runnerKeysNotATier: _runnerKeysNotATier, nonChecksMatchingNoStep: _nonChecksMatchingNoStep, ...summary }) {
27808
+ return summary;
27809
+ }
27810
+ function nonEmpty(key, entries) {
27811
+ return entries && entries.length > 0 ? { [key]: entries } : {};
27812
+ }
27813
+ var init_renderInput = __esm({
27814
+ "../core/dist/domain/renderInput.js"() {
27815
+ "use strict";
27816
+ }
27817
+ });
27818
+
27781
27819
  // ../core/dist/domain/runVerdict.js
27782
27820
  function runVerdict(run3) {
27783
27821
  if (hasNothingToReconcile(run3.ledger))
@@ -27809,28 +27847,26 @@ function concludedSummary({ stepAccounting: stepAccounting2, ...summary }, verdi
27809
27847
  };
27810
27848
  }
27811
27849
  function assembleRenderInput(evidenceReconciliation, ctx, evidenceObligations2, featureNames) {
27850
+ const errors = errorsOf(evidenceReconciliation.scenarioCodeErrors, evidenceReconciliation.summary);
27851
+ const scenarioCodes = scenarioCodesOf2(evidenceReconciliation.scenarioCodePopulation, evidenceObligations2);
27812
27852
  return {
27813
27853
  runProvenance: provenanceObject(ctx),
27814
- ...evidenceReconciliation,
27815
- summary: concludedSummary(evidenceReconciliation.summary, {
27854
+ ...errors ? { errors } : {},
27855
+ ...scenarioCodes ? { scenarioCodes } : {},
27856
+ summary: concludedSummary(summaryStatingNoFault(evidenceReconciliation.summary), {
27816
27857
  ledger: evidenceReconciliation.ledger,
27817
27858
  scenarioCodeErrors: evidenceReconciliation.scenarioCodeErrors,
27818
27859
  strict: ctx.strict === true
27819
27860
  }),
27820
- ...evidenceObligations2 ? {
27821
- evidenceObligations: {
27822
- excludedOccurrences: evidenceObligations2.excludedOccurrences,
27823
- untaggedScenarios: evidenceObligations2.untaggedScenarios,
27824
- ...evidenceObligations2.sharedScnCodes && evidenceObligations2.sharedScnCodes.length > 0 ? { sharedScnCodes: evidenceObligations2.sharedScnCodes } : {}
27825
- }
27826
- } : {},
27861
+ ledger: evidenceReconciliation.ledger,
27827
27862
  ...featureNames && featureNames.size > 0 ? { metadata: { featureNames: Object.fromEntries(featureNames) } } : {}
27828
27863
  };
27829
27864
  }
27830
- var init_renderInput = __esm({
27865
+ var init_renderInput2 = __esm({
27831
27866
  "../core/dist/assemble/renderInput.js"() {
27832
27867
  "use strict";
27833
27868
  init_provenance();
27869
+ init_renderInput();
27834
27870
  init_runVerdict();
27835
27871
  init_uncitedFitnessFunctions();
27836
27872
  }
@@ -28149,13 +28185,13 @@ function assembleSavedReport(saved, strictGiven) {
28149
28185
  return {
28150
28186
  ...saved,
28151
28187
  runProvenance: { ...saved.runProvenance, strict },
28152
- summary: concludedSummary(saved.summary, { ledger: saved.ledger, scenarioCodeErrors: saved.scenarioCodeErrors, strict })
28188
+ summary: concludedSummary(saved.summary, { ledger: saved.ledger, scenarioCodeErrors: saved.errors?.scenarioCodes, strict })
28153
28189
  };
28154
28190
  }
28155
28191
  var init_savedReport = __esm({
28156
28192
  "../core/dist/assemble/savedReport.js"() {
28157
28193
  "use strict";
28158
- init_renderInput();
28194
+ init_renderInput2();
28159
28195
  }
28160
28196
  });
28161
28197
 
@@ -28214,126 +28250,125 @@ var init_messages4 = __esm({
28214
28250
  CoreMessage2[CoreMessage2["DuplicateScnCodeNotListed"] = 30] = "DuplicateScnCodeNotListed";
28215
28251
  CoreMessage2[CoreMessage2["FeatureFileNoun"] = 31] = "FeatureFileNoun";
28216
28252
  CoreMessage2[CoreMessage2["FeatureCodeNoun"] = 32] = "FeatureCodeNoun";
28217
- CoreMessage2[CoreMessage2["ScenarioCodesClean"] = 33] = "ScenarioCodesClean";
28218
- CoreMessage2[CoreMessage2["NoFeatureFileJudged"] = 34] = "NoFeatureFileJudged";
28219
- CoreMessage2[CoreMessage2["ScenarioCodesCleanOver"] = 35] = "ScenarioCodesCleanOver";
28220
- CoreMessage2[CoreMessage2["CleanNoCodedScenario"] = 36] = "CleanNoCodedScenario";
28221
- CoreMessage2[CoreMessage2["CleanEachFileOwnCode"] = 37] = "CleanEachFileOwnCode";
28222
- CoreMessage2[CoreMessage2["CleanOthersNoFeatureCode"] = 38] = "CleanOthersNoFeatureCode";
28223
- CoreMessage2[CoreMessage2["ItPronoun"] = 39] = "ItPronoun";
28224
- CoreMessage2[CoreMessage2["ThemPronoun"] = 40] = "ThemPronoun";
28225
- CoreMessage2[CoreMessage2["HoldsVerb"] = 41] = "HoldsVerb";
28226
- CoreMessage2[CoreMessage2["HoldVerb"] = 42] = "HoldVerb";
28227
- CoreMessage2[CoreMessage2["DuplicateFeatureCode"] = 43] = "DuplicateFeatureCode";
28228
- CoreMessage2[CoreMessage2["ForeignScnCodeOneCarrier"] = 44] = "ForeignScnCodeOneCarrier";
28229
- CoreMessage2[CoreMessage2["ForeignScnCodeManyCarriers"] = 45] = "ForeignScnCodeManyCarriers";
28230
- CoreMessage2[CoreMessage2["ForeignScnCodeNoCarrier"] = 46] = "ForeignScnCodeNoCarrier";
28231
- CoreMessage2[CoreMessage2["NoFeatureCode"] = 47] = "NoFeatureCode";
28232
- CoreMessage2[CoreMessage2["ScenarioSeveralScnCodes"] = 48] = "ScenarioSeveralScnCodes";
28233
- CoreMessage2[CoreMessage2["SummaryViewsHeading"] = 49] = "SummaryViewsHeading";
28234
- CoreMessage2[CoreMessage2["RunVerdictHeading"] = 50] = "RunVerdictHeading";
28235
- CoreMessage2[CoreMessage2["VerdictExit"] = 51] = "VerdictExit";
28236
- CoreMessage2[CoreMessage2["ScenarioCodeErrorsHeadline"] = 52] = "ScenarioCodeErrorsHeadline";
28237
- CoreMessage2[CoreMessage2["ScenarioCodeErrorsGloss"] = 53] = "ScenarioCodeErrorsGloss";
28238
- CoreMessage2[CoreMessage2["SeveralScnCodesGloss"] = 54] = "SeveralScnCodesGloss";
28239
- CoreMessage2[CoreMessage2["MisfiledAndSeveralScnCodesGloss"] = 55] = "MisfiledAndSeveralScnCodesGloss";
28240
- CoreMessage2[CoreMessage2["AlsoOutOfBalance"] = 56] = "AlsoOutOfBalance";
28241
- CoreMessage2[CoreMessage2["OutOfBalanceHeadline"] = 57] = "OutOfBalanceHeadline";
28242
- CoreMessage2[CoreMessage2["OutOfBalanceGloss"] = 58] = "OutOfBalanceGloss";
28243
- CoreMessage2[CoreMessage2["UnsoundHeadline"] = 59] = "UnsoundHeadline";
28244
- CoreMessage2[CoreMessage2["UnsoundGloss"] = 60] = "UnsoundGloss";
28245
- CoreMessage2[CoreMessage2["PendingHeadline"] = 61] = "PendingHeadline";
28246
- CoreMessage2[CoreMessage2["PendingGloss"] = 62] = "PendingGloss";
28247
- CoreMessage2[CoreMessage2["BalancedHeadline"] = 63] = "BalancedHeadline";
28248
- CoreMessage2[CoreMessage2["BalancedGloss"] = 64] = "BalancedGloss";
28249
- CoreMessage2[CoreMessage2["NothingToReconcileHeadline"] = 65] = "NothingToReconcileHeadline";
28250
- CoreMessage2[CoreMessage2["NothingToReconcileGloss"] = 66] = "NothingToReconcileGloss";
28251
- CoreMessage2[CoreMessage2["PendingItemsOutstanding"] = 67] = "PendingItemsOutstanding";
28252
- CoreMessage2[CoreMessage2["EvidenceReconciliationHeading"] = 68] = "EvidenceReconciliationHeading";
28253
- CoreMessage2[CoreMessage2["SubjectColumn"] = 69] = "SubjectColumn";
28254
- CoreMessage2[CoreMessage2["TotalColumn"] = 70] = "TotalColumn";
28255
- CoreMessage2[CoreMessage2["BalancedColumn"] = 71] = "BalancedColumn";
28256
- CoreMessage2[CoreMessage2["OutOfBalanceColumn"] = 72] = "OutOfBalanceColumn";
28257
- CoreMessage2[CoreMessage2["DetailColumn"] = 73] = "DetailColumn";
28258
- CoreMessage2[CoreMessage2["ClaimReconciliationSubject"] = 74] = "ClaimReconciliationSubject";
28259
- CoreMessage2[CoreMessage2["QualityCheckReconciliationSubject"] = 75] = "QualityCheckReconciliationSubject";
28260
- CoreMessage2[CoreMessage2["PendingTally"] = 76] = "PendingTally";
28261
- CoreMessage2[CoreMessage2["TestVolumeHeading"] = 77] = "TestVolumeHeading";
28262
- CoreMessage2[CoreMessage2["TestVolumeSum"] = 78] = "TestVolumeSum";
28263
- CoreMessage2[CoreMessage2["TestVolumeTableHeader"] = 79] = "TestVolumeTableHeader";
28264
- CoreMessage2[CoreMessage2["DiscoveryScopeHeading"] = 80] = "DiscoveryScopeHeading";
28265
- CoreMessage2[CoreMessage2["DiscoveryScopeTableHeader"] = 81] = "DiscoveryScopeTableHeader";
28266
- CoreMessage2[CoreMessage2["FitnessFunctionsHeading"] = 82] = "FitnessFunctionsHeading";
28267
- CoreMessage2[CoreMessage2["FitnessFunctionsCounts"] = 83] = "FitnessFunctionsCounts";
28268
- CoreMessage2[CoreMessage2["BehaviouralRunnersHeading"] = 84] = "BehaviouralRunnersHeading";
28269
- CoreMessage2[CoreMessage2["BehaviouralRunnersTableHeader"] = 85] = "BehaviouralRunnersTableHeader";
28270
- CoreMessage2[CoreMessage2["RunnerTierNamesNone"] = 86] = "RunnerTierNamesNone";
28271
- CoreMessage2[CoreMessage2["RunnerTierUnnamed"] = 87] = "RunnerTierUnnamed";
28272
- CoreMessage2[CoreMessage2["RunnerKeyNotATier"] = 88] = "RunnerKeyNotATier";
28273
- CoreMessage2[CoreMessage2["ReconcilerHeading"] = 89] = "ReconcilerHeading";
28274
- CoreMessage2[CoreMessage2["ReconcilerStep"] = 90] = "ReconcilerStep";
28275
- CoreMessage2[CoreMessage2["ReconcilerReconciles"] = 91] = "ReconcilerReconciles";
28276
- CoreMessage2[CoreMessage2["ReconcilerRecords"] = 92] = "ReconcilerRecords";
28277
- CoreMessage2[CoreMessage2["ExcludedStepsHeading"] = 93] = "ExcludedStepsHeading";
28278
- CoreMessage2[CoreMessage2["StepExcluded"] = 94] = "StepExcluded";
28279
- CoreMessage2[CoreMessage2["NotChecksEntryMatchesNoStep"] = 95] = "NotChecksEntryMatchesNoStep";
28280
- CoreMessage2[CoreMessage2["StepAccountingHeading"] = 96] = "StepAccountingHeading";
28281
- CoreMessage2[CoreMessage2["StepAccountingTableHeader"] = 97] = "StepAccountingTableHeader";
28282
- CoreMessage2[CoreMessage2["EveryStepAccountedFor"] = 98] = "EveryStepAccountedFor";
28283
- CoreMessage2[CoreMessage2["StepsNotAccountedFor"] = 99] = "StepsNotAccountedFor";
28284
- CoreMessage2[CoreMessage2["FitnessHeading"] = 100] = "FitnessHeading";
28285
- CoreMessage2[CoreMessage2["FitnessSatisfiedOf"] = 101] = "FitnessSatisfiedOf";
28286
- CoreMessage2[CoreMessage2["FitnessTableHeader"] = 102] = "FitnessTableHeader";
28287
- CoreMessage2[CoreMessage2["OutOfBalanceByFeatureHeading"] = 103] = "OutOfBalanceByFeatureHeading";
28288
- CoreMessage2[CoreMessage2["ScenarioClaimReconciliationsOutOfBalance"] = 104] = "ScenarioClaimReconciliationsOutOfBalance";
28289
- CoreMessage2[CoreMessage2["GroupedByFeature"] = 105] = "GroupedByFeature";
28290
- CoreMessage2[CoreMessage2["NotGroupedByFeature"] = 106] = "NotGroupedByFeature";
28291
- CoreMessage2[CoreMessage2["PhantomClaimReconciliations"] = 107] = "PhantomClaimReconciliations";
28292
- CoreMessage2[CoreMessage2["UnnamedClaimReconciliations"] = 108] = "UnnamedClaimReconciliations";
28293
- CoreMessage2[CoreMessage2["AndJoiner"] = 109] = "AndJoiner";
28294
- CoreMessage2[CoreMessage2["ByFeatureTableHeader"] = 110] = "ByFeatureTableHeader";
28295
- CoreMessage2[CoreMessage2["NoScnCodeScenarios"] = 111] = "NoScnCodeScenarios";
28296
- CoreMessage2[CoreMessage2["ClaimReconciliationsHeading"] = 112] = "ClaimReconciliationsHeading";
28297
- CoreMessage2[CoreMessage2["ClaimReconciliationTally"] = 113] = "ClaimReconciliationTally";
28298
- CoreMessage2[CoreMessage2["PhantomClaimTally"] = 114] = "PhantomClaimTally";
28299
- CoreMessage2[CoreMessage2["UnnamedClaimTally"] = 115] = "UnnamedClaimTally";
28300
- CoreMessage2[CoreMessage2["ExcludedScnOccurrences"] = 116] = "ExcludedScnOccurrences";
28301
- CoreMessage2[CoreMessage2["UntaggedScenarios"] = 117] = "UntaggedScenarios";
28302
- CoreMessage2[CoreMessage2["SharedScnCodes"] = 118] = "SharedScnCodes";
28303
- CoreMessage2[CoreMessage2["LedgerTableHeader"] = 119] = "LedgerTableHeader";
28304
- CoreMessage2[CoreMessage2["ClaimColumn"] = 120] = "ClaimColumn";
28305
- CoreMessage2[CoreMessage2["VerdictColumn"] = 121] = "VerdictColumn";
28306
- CoreMessage2[CoreMessage2["ReconcilingItemsColumn"] = 122] = "ReconcilingItemsColumn";
28307
- CoreMessage2[CoreMessage2["EvidenceCellKey"] = 123] = "EvidenceCellKey";
28308
- CoreMessage2[CoreMessage2["PendingItem"] = 124] = "PendingItem";
28309
- CoreMessage2[CoreMessage2["PendingItemFor"] = 125] = "PendingItemFor";
28310
- CoreMessage2[CoreMessage2["CheckStepNoOutcome"] = 126] = "CheckStepNoOutcome";
28311
- CoreMessage2[CoreMessage2["CheckStepSkipped"] = 127] = "CheckStepSkipped";
28312
- CoreMessage2[CoreMessage2["CheckStepEnded"] = 128] = "CheckStepEnded";
28313
- CoreMessage2[CoreMessage2["AmbiguousNamedStep"] = 129] = "AmbiguousNamedStep";
28314
- CoreMessage2[CoreMessage2["AmbiguousUnnamedStep"] = 130] = "AmbiguousUnnamedStep";
28315
- CoreMessage2[CoreMessage2["ManifestKindList"] = 131] = "ManifestKindList";
28316
- CoreMessage2[CoreMessage2["ManifestKindObject"] = 132] = "ManifestKindObject";
28317
- CoreMessage2[CoreMessage2["ManifestKindString"] = 133] = "ManifestKindString";
28318
- CoreMessage2[CoreMessage2["ManifestKindStringOrNull"] = 134] = "ManifestKindStringOrNull";
28319
- CoreMessage2[CoreMessage2["ManifestKindOfType"] = 135] = "ManifestKindOfType";
28320
- CoreMessage2[CoreMessage2["OutcomeSatisfied"] = 136] = "OutcomeSatisfied";
28321
- CoreMessage2[CoreMessage2["OutcomeMissing"] = 137] = "OutcomeMissing";
28322
- CoreMessage2[CoreMessage2["OutcomeFailing"] = 138] = "OutcomeFailing";
28323
- CoreMessage2[CoreMessage2["OutcomeWatermelon"] = 139] = "OutcomeWatermelon";
28324
- CoreMessage2[CoreMessage2["OutcomeNoScnCode"] = 140] = "OutcomeNoScnCode";
28325
- CoreMessage2[CoreMessage2["OutcomeDuplicateScnCode"] = 141] = "OutcomeDuplicateScnCode";
28326
- CoreMessage2[CoreMessage2["OutcomeCitesUnknownScenario"] = 142] = "OutcomeCitesUnknownScenario";
28327
- CoreMessage2[CoreMessage2["OutcomeCitesNoScenario"] = 143] = "OutcomeCitesNoScenario";
28328
- CoreMessage2[CoreMessage2["OutcomeNoEvidenceObligation"] = 144] = "OutcomeNoEvidenceObligation";
28329
- CoreMessage2[CoreMessage2["OutcomeBroken"] = 145] = "OutcomeBroken";
28330
- CoreMessage2[CoreMessage2["OutcomeBothMissing"] = 146] = "OutcomeBothMissing";
28331
- CoreMessage2[CoreMessage2["ObservationPassed"] = 147] = "ObservationPassed";
28332
- CoreMessage2[CoreMessage2["ObservationFailed"] = 148] = "ObservationFailed";
28333
- CoreMessage2[CoreMessage2["UnnamedClaimGroupCounts"] = 149] = "UnnamedClaimGroupCounts";
28334
- CoreMessage2[CoreMessage2["UnnamedClaimCiSteps"] = 150] = "UnnamedClaimCiSteps";
28335
- CoreMessage2[CoreMessage2["UnnamedClaimFailedNames"] = 151] = "UnnamedClaimFailedNames";
28336
- CoreMessage2[CoreMessage2["SeveralScnCodes"] = 152] = "SeveralScnCodes";
28253
+ CoreMessage2[CoreMessage2["NoFeatureFileJudged"] = 33] = "NoFeatureFileJudged";
28254
+ CoreMessage2[CoreMessage2["ScenarioCodesCleanOver"] = 34] = "ScenarioCodesCleanOver";
28255
+ CoreMessage2[CoreMessage2["CleanNoCodedScenario"] = 35] = "CleanNoCodedScenario";
28256
+ CoreMessage2[CoreMessage2["CleanEachFileOwnCode"] = 36] = "CleanEachFileOwnCode";
28257
+ CoreMessage2[CoreMessage2["CleanOthersNoFeatureCode"] = 37] = "CleanOthersNoFeatureCode";
28258
+ CoreMessage2[CoreMessage2["ItPronoun"] = 38] = "ItPronoun";
28259
+ CoreMessage2[CoreMessage2["ThemPronoun"] = 39] = "ThemPronoun";
28260
+ CoreMessage2[CoreMessage2["HoldsVerb"] = 40] = "HoldsVerb";
28261
+ CoreMessage2[CoreMessage2["HoldVerb"] = 41] = "HoldVerb";
28262
+ CoreMessage2[CoreMessage2["DuplicateFeatureCode"] = 42] = "DuplicateFeatureCode";
28263
+ CoreMessage2[CoreMessage2["ForeignScnCodeOneCarrier"] = 43] = "ForeignScnCodeOneCarrier";
28264
+ CoreMessage2[CoreMessage2["ForeignScnCodeManyCarriers"] = 44] = "ForeignScnCodeManyCarriers";
28265
+ CoreMessage2[CoreMessage2["ForeignScnCodeNoCarrier"] = 45] = "ForeignScnCodeNoCarrier";
28266
+ CoreMessage2[CoreMessage2["NoFeatureCode"] = 46] = "NoFeatureCode";
28267
+ CoreMessage2[CoreMessage2["ScenarioSeveralScnCodes"] = 47] = "ScenarioSeveralScnCodes";
28268
+ CoreMessage2[CoreMessage2["SummaryViewsHeading"] = 48] = "SummaryViewsHeading";
28269
+ CoreMessage2[CoreMessage2["RunVerdictHeading"] = 49] = "RunVerdictHeading";
28270
+ CoreMessage2[CoreMessage2["VerdictExit"] = 50] = "VerdictExit";
28271
+ CoreMessage2[CoreMessage2["ScenarioCodeErrorsHeadline"] = 51] = "ScenarioCodeErrorsHeadline";
28272
+ CoreMessage2[CoreMessage2["ScenarioCodeErrorsGloss"] = 52] = "ScenarioCodeErrorsGloss";
28273
+ CoreMessage2[CoreMessage2["SeveralScnCodesGloss"] = 53] = "SeveralScnCodesGloss";
28274
+ CoreMessage2[CoreMessage2["MisfiledAndSeveralScnCodesGloss"] = 54] = "MisfiledAndSeveralScnCodesGloss";
28275
+ CoreMessage2[CoreMessage2["AlsoOutOfBalance"] = 55] = "AlsoOutOfBalance";
28276
+ CoreMessage2[CoreMessage2["OutOfBalanceHeadline"] = 56] = "OutOfBalanceHeadline";
28277
+ CoreMessage2[CoreMessage2["OutOfBalanceGloss"] = 57] = "OutOfBalanceGloss";
28278
+ CoreMessage2[CoreMessage2["UnsoundHeadline"] = 58] = "UnsoundHeadline";
28279
+ CoreMessage2[CoreMessage2["UnsoundGloss"] = 59] = "UnsoundGloss";
28280
+ CoreMessage2[CoreMessage2["PendingHeadline"] = 60] = "PendingHeadline";
28281
+ CoreMessage2[CoreMessage2["PendingGloss"] = 61] = "PendingGloss";
28282
+ CoreMessage2[CoreMessage2["BalancedHeadline"] = 62] = "BalancedHeadline";
28283
+ CoreMessage2[CoreMessage2["BalancedGloss"] = 63] = "BalancedGloss";
28284
+ CoreMessage2[CoreMessage2["NothingToReconcileHeadline"] = 64] = "NothingToReconcileHeadline";
28285
+ CoreMessage2[CoreMessage2["NothingToReconcileGloss"] = 65] = "NothingToReconcileGloss";
28286
+ CoreMessage2[CoreMessage2["PendingItemsOutstanding"] = 66] = "PendingItemsOutstanding";
28287
+ CoreMessage2[CoreMessage2["EvidenceReconciliationHeading"] = 67] = "EvidenceReconciliationHeading";
28288
+ CoreMessage2[CoreMessage2["SubjectColumn"] = 68] = "SubjectColumn";
28289
+ CoreMessage2[CoreMessage2["TotalColumn"] = 69] = "TotalColumn";
28290
+ CoreMessage2[CoreMessage2["BalancedColumn"] = 70] = "BalancedColumn";
28291
+ CoreMessage2[CoreMessage2["OutOfBalanceColumn"] = 71] = "OutOfBalanceColumn";
28292
+ CoreMessage2[CoreMessage2["DetailColumn"] = 72] = "DetailColumn";
28293
+ CoreMessage2[CoreMessage2["ClaimReconciliationSubject"] = 73] = "ClaimReconciliationSubject";
28294
+ CoreMessage2[CoreMessage2["QualityCheckReconciliationSubject"] = 74] = "QualityCheckReconciliationSubject";
28295
+ CoreMessage2[CoreMessage2["PendingTally"] = 75] = "PendingTally";
28296
+ CoreMessage2[CoreMessage2["TestVolumeHeading"] = 76] = "TestVolumeHeading";
28297
+ CoreMessage2[CoreMessage2["TestVolumeSum"] = 77] = "TestVolumeSum";
28298
+ CoreMessage2[CoreMessage2["TestVolumeTableHeader"] = 78] = "TestVolumeTableHeader";
28299
+ CoreMessage2[CoreMessage2["DiscoveryScopeHeading"] = 79] = "DiscoveryScopeHeading";
28300
+ CoreMessage2[CoreMessage2["DiscoveryScopeTableHeader"] = 80] = "DiscoveryScopeTableHeader";
28301
+ CoreMessage2[CoreMessage2["FitnessFunctionsHeading"] = 81] = "FitnessFunctionsHeading";
28302
+ CoreMessage2[CoreMessage2["FitnessFunctionsCounts"] = 82] = "FitnessFunctionsCounts";
28303
+ CoreMessage2[CoreMessage2["BehaviouralRunnersHeading"] = 83] = "BehaviouralRunnersHeading";
28304
+ CoreMessage2[CoreMessage2["BehaviouralRunnersTableHeader"] = 84] = "BehaviouralRunnersTableHeader";
28305
+ CoreMessage2[CoreMessage2["RunnerTierNamesNone"] = 85] = "RunnerTierNamesNone";
28306
+ CoreMessage2[CoreMessage2["RunnerTierUnnamed"] = 86] = "RunnerTierUnnamed";
28307
+ CoreMessage2[CoreMessage2["RunnerKeyNotATier"] = 87] = "RunnerKeyNotATier";
28308
+ CoreMessage2[CoreMessage2["ReconcilerHeading"] = 88] = "ReconcilerHeading";
28309
+ CoreMessage2[CoreMessage2["ReconcilerStep"] = 89] = "ReconcilerStep";
28310
+ CoreMessage2[CoreMessage2["ReconcilerReconciles"] = 90] = "ReconcilerReconciles";
28311
+ CoreMessage2[CoreMessage2["ReconcilerRecords"] = 91] = "ReconcilerRecords";
28312
+ CoreMessage2[CoreMessage2["ExcludedStepsHeading"] = 92] = "ExcludedStepsHeading";
28313
+ CoreMessage2[CoreMessage2["StepExcluded"] = 93] = "StepExcluded";
28314
+ CoreMessage2[CoreMessage2["NotChecksEntryMatchesNoStep"] = 94] = "NotChecksEntryMatchesNoStep";
28315
+ CoreMessage2[CoreMessage2["StepAccountingHeading"] = 95] = "StepAccountingHeading";
28316
+ CoreMessage2[CoreMessage2["StepAccountingTableHeader"] = 96] = "StepAccountingTableHeader";
28317
+ CoreMessage2[CoreMessage2["EveryStepAccountedFor"] = 97] = "EveryStepAccountedFor";
28318
+ CoreMessage2[CoreMessage2["StepsNotAccountedFor"] = 98] = "StepsNotAccountedFor";
28319
+ CoreMessage2[CoreMessage2["FitnessHeading"] = 99] = "FitnessHeading";
28320
+ CoreMessage2[CoreMessage2["FitnessSatisfiedOf"] = 100] = "FitnessSatisfiedOf";
28321
+ CoreMessage2[CoreMessage2["FitnessTableHeader"] = 101] = "FitnessTableHeader";
28322
+ CoreMessage2[CoreMessage2["OutOfBalanceByFeatureHeading"] = 102] = "OutOfBalanceByFeatureHeading";
28323
+ CoreMessage2[CoreMessage2["ScenarioClaimReconciliationsOutOfBalance"] = 103] = "ScenarioClaimReconciliationsOutOfBalance";
28324
+ CoreMessage2[CoreMessage2["GroupedByFeature"] = 104] = "GroupedByFeature";
28325
+ CoreMessage2[CoreMessage2["NotGroupedByFeature"] = 105] = "NotGroupedByFeature";
28326
+ CoreMessage2[CoreMessage2["PhantomClaimReconciliations"] = 106] = "PhantomClaimReconciliations";
28327
+ CoreMessage2[CoreMessage2["UnnamedClaimReconciliations"] = 107] = "UnnamedClaimReconciliations";
28328
+ CoreMessage2[CoreMessage2["AndJoiner"] = 108] = "AndJoiner";
28329
+ CoreMessage2[CoreMessage2["ByFeatureTableHeader"] = 109] = "ByFeatureTableHeader";
28330
+ CoreMessage2[CoreMessage2["NoScnCodeScenarios"] = 110] = "NoScnCodeScenarios";
28331
+ CoreMessage2[CoreMessage2["ClaimReconciliationsHeading"] = 111] = "ClaimReconciliationsHeading";
28332
+ CoreMessage2[CoreMessage2["ClaimReconciliationTally"] = 112] = "ClaimReconciliationTally";
28333
+ CoreMessage2[CoreMessage2["PhantomClaimTally"] = 113] = "PhantomClaimTally";
28334
+ CoreMessage2[CoreMessage2["UnnamedClaimTally"] = 114] = "UnnamedClaimTally";
28335
+ CoreMessage2[CoreMessage2["ExcludedScnOccurrences"] = 115] = "ExcludedScnOccurrences";
28336
+ CoreMessage2[CoreMessage2["UntaggedScenarios"] = 116] = "UntaggedScenarios";
28337
+ CoreMessage2[CoreMessage2["SharedScnCodes"] = 117] = "SharedScnCodes";
28338
+ CoreMessage2[CoreMessage2["LedgerTableHeader"] = 118] = "LedgerTableHeader";
28339
+ CoreMessage2[CoreMessage2["ClaimColumn"] = 119] = "ClaimColumn";
28340
+ CoreMessage2[CoreMessage2["VerdictColumn"] = 120] = "VerdictColumn";
28341
+ CoreMessage2[CoreMessage2["ReconcilingItemsColumn"] = 121] = "ReconcilingItemsColumn";
28342
+ CoreMessage2[CoreMessage2["EvidenceCellKey"] = 122] = "EvidenceCellKey";
28343
+ CoreMessage2[CoreMessage2["PendingItem"] = 123] = "PendingItem";
28344
+ CoreMessage2[CoreMessage2["PendingItemFor"] = 124] = "PendingItemFor";
28345
+ CoreMessage2[CoreMessage2["CheckStepNoOutcome"] = 125] = "CheckStepNoOutcome";
28346
+ CoreMessage2[CoreMessage2["CheckStepSkipped"] = 126] = "CheckStepSkipped";
28347
+ CoreMessage2[CoreMessage2["CheckStepEnded"] = 127] = "CheckStepEnded";
28348
+ CoreMessage2[CoreMessage2["AmbiguousNamedStep"] = 128] = "AmbiguousNamedStep";
28349
+ CoreMessage2[CoreMessage2["AmbiguousUnnamedStep"] = 129] = "AmbiguousUnnamedStep";
28350
+ CoreMessage2[CoreMessage2["ManifestKindList"] = 130] = "ManifestKindList";
28351
+ CoreMessage2[CoreMessage2["ManifestKindObject"] = 131] = "ManifestKindObject";
28352
+ CoreMessage2[CoreMessage2["ManifestKindString"] = 132] = "ManifestKindString";
28353
+ CoreMessage2[CoreMessage2["ManifestKindStringOrNull"] = 133] = "ManifestKindStringOrNull";
28354
+ CoreMessage2[CoreMessage2["ManifestKindOfType"] = 134] = "ManifestKindOfType";
28355
+ CoreMessage2[CoreMessage2["OutcomeSatisfied"] = 135] = "OutcomeSatisfied";
28356
+ CoreMessage2[CoreMessage2["OutcomeMissing"] = 136] = "OutcomeMissing";
28357
+ CoreMessage2[CoreMessage2["OutcomeFailing"] = 137] = "OutcomeFailing";
28358
+ CoreMessage2[CoreMessage2["OutcomeWatermelon"] = 138] = "OutcomeWatermelon";
28359
+ CoreMessage2[CoreMessage2["OutcomeNoScnCode"] = 139] = "OutcomeNoScnCode";
28360
+ CoreMessage2[CoreMessage2["OutcomeDuplicateScnCode"] = 140] = "OutcomeDuplicateScnCode";
28361
+ CoreMessage2[CoreMessage2["OutcomeCitesUnknownScenario"] = 141] = "OutcomeCitesUnknownScenario";
28362
+ CoreMessage2[CoreMessage2["OutcomeCitesNoScenario"] = 142] = "OutcomeCitesNoScenario";
28363
+ CoreMessage2[CoreMessage2["OutcomeNoEvidenceObligation"] = 143] = "OutcomeNoEvidenceObligation";
28364
+ CoreMessage2[CoreMessage2["OutcomeBroken"] = 144] = "OutcomeBroken";
28365
+ CoreMessage2[CoreMessage2["OutcomeBothMissing"] = 145] = "OutcomeBothMissing";
28366
+ CoreMessage2[CoreMessage2["ObservationPassed"] = 146] = "ObservationPassed";
28367
+ CoreMessage2[CoreMessage2["ObservationFailed"] = 147] = "ObservationFailed";
28368
+ CoreMessage2[CoreMessage2["UnnamedClaimGroupCounts"] = 148] = "UnnamedClaimGroupCounts";
28369
+ CoreMessage2[CoreMessage2["UnnamedClaimCiSteps"] = 149] = "UnnamedClaimCiSteps";
28370
+ CoreMessage2[CoreMessage2["UnnamedClaimFailedNames"] = 150] = "UnnamedClaimFailedNames";
28371
+ CoreMessage2[CoreMessage2["SeveralScnCodes"] = 151] = "SeveralScnCodes";
28337
28372
  })(CoreMessage || (CoreMessage = {}));
28338
28373
  SATISFIED = "Evidence Observation satisfies its Evidence Obligation";
28339
28374
  MISSING = "Evidence Observation is missing";
@@ -28378,7 +28413,6 @@ var init_messages4 = __esm({
28378
28413
  [CoreMessage.DuplicateScnCodeNotListed]: `A duplicated @SCN code is not listed here: it is reported on its account's rows, as "${DUPLICATE_SCN_CODE}".`,
28379
28414
  [CoreMessage.FeatureFileNoun]: "feature file",
28380
28415
  [CoreMessage.FeatureCodeNoun]: "feature code",
28381
- [CoreMessage.ScenarioCodesClean]: `Scenario codes are clean, and ${IN_ITS_FILE}.`,
28382
28416
  [CoreMessage.NoFeatureFileJudged]: "No feature file was judged, so this section vouches for no scenario code.",
28383
28417
  [CoreMessage.ScenarioCodesCleanOver]: (featureFiles, featureCodes) => `Scenario codes are clean over ${featureFiles} carrying ${featureCodes}`,
28384
28418
  [CoreMessage.CleanNoCodedScenario]: (over, them) => `${over}: no scenario in ${them} carries an @SCN code to misfile.`,
@@ -28597,7 +28631,7 @@ var init_runVerdict2 = __esm({
28597
28631
  runVerdictSection = (report, exitCodeOf2) => {
28598
28632
  const reconciliation = { claimReconciliations: report.ledger.claimReconciliations };
28599
28633
  const verdict = report.summary.runVerdict;
28600
- const line = verdictFor2(verdict, reconciliation, report.runProvenance.corpus, report.scenarioCodeErrors ?? []);
28634
+ const line = verdictFor2(verdict, reconciliation, report.runProvenance.corpus, report.errors?.scenarioCodes ?? []);
28601
28635
  const exit = CORE_MESSAGES[CoreMessage.VerdictExit](exitCodeOf2(verdict));
28602
28636
  const lines = [CORE_MESSAGES[CoreMessage.RunVerdictHeading], "", `${line.headline} \u2014 ${line.gloss} (${exit})`];
28603
28637
  if (verdict === "balanced" && hasPendingItems(reconciliation)) {
@@ -28624,10 +28658,7 @@ function scenarioCodeErrorsFraming(errors, count) {
28624
28658
  function counted(n, noun) {
28625
28659
  return `${n} ${noun}${n === 1 ? "" : "s"}`;
28626
28660
  }
28627
- function cleanStatement(population) {
28628
- if (population === void 0)
28629
- return CORE_MESSAGES[CoreMessage.ScenarioCodesClean];
28630
- const { featureFiles, featureCodes } = population;
28661
+ function cleanStatement(featureFiles, featureCodes) {
28631
28662
  if (featureFiles === 0)
28632
28663
  return CORE_MESSAGES[CoreMessage.NoFeatureFileJudged];
28633
28664
  const over = CORE_MESSAGES[CoreMessage.ScenarioCodesCleanOver](counted(featureFiles, CORE_MESSAGES[CoreMessage.FeatureFileNoun]), counted(featureCodes, CORE_MESSAGES[CoreMessage.FeatureCodeNoun]));
@@ -28669,13 +28700,14 @@ var init_scenarioCodeErrorsSection = __esm({
28669
28700
  init_scnTags();
28670
28701
  init_messages4();
28671
28702
  scenarioCodeErrorsSection = (report) => {
28672
- if (report.scenarioCodeErrors === void 0)
28673
- return [];
28674
- const errors = report.scenarioCodeErrors;
28703
+ const errors = report.errors?.scenarioCodes;
28704
+ const { featureFiles, featureCodes } = report.scenarioCodes ?? {};
28675
28705
  const heading = CORE_MESSAGES[CoreMessage.ScenarioCodeErrorsHeading];
28676
28706
  const duplicateLine = CORE_MESSAGES[CoreMessage.DuplicateScnCodeNotListed];
28677
- if (errors.length === 0) {
28678
- return [heading, "", cleanStatement(report.scenarioCodePopulation), "", duplicateLine, ""];
28707
+ if (errors === void 0) {
28708
+ if (featureFiles === void 0 || featureCodes === void 0)
28709
+ return [];
28710
+ return [heading, "", cleanStatement(featureFiles, featureCodes), "", duplicateLine, ""];
28679
28711
  }
28680
28712
  const count = errors.length === 1 ? CORE_MESSAGES[CoreMessage.OneScenarioCodeError] : CORE_MESSAGES[CoreMessage.ScenarioCodeErrorCount](errors.length);
28681
28713
  return [
@@ -28775,8 +28807,8 @@ var init_configurationNotRead = __esm({
28775
28807
  "use strict";
28776
28808
  init_messages4();
28777
28809
  configurationNotReadSection = (report) => {
28778
- const wrongKinds = report.summary.configurationOfWrongKind ?? [];
28779
- const unknownKeys = report.summary.configurationKeysNotRead ?? [];
28810
+ const wrongKinds = report.errors?.configuration?.ofWrongKind ?? [];
28811
+ const unknownKeys = report.errors?.configuration?.keysNotRead ?? [];
28780
28812
  if (wrongKinds.length === 0 && unknownKeys.length === 0)
28781
28813
  return [];
28782
28814
  return [
@@ -28846,7 +28878,7 @@ var init_behaviouralRunners = __esm({
28846
28878
  const runners = report.summary.behaviouralRunners ?? [];
28847
28879
  const account = [
28848
28880
  ...runnerTierAccount(report.summary.tiersWithoutRunner),
28849
- ...unrecognisedKeyAccount(report.summary.runnerKeysNotATier)
28881
+ ...unrecognisedKeyAccount(report.errors?.configuration?.runnerKeysNotATier)
28850
28882
  ];
28851
28883
  if (runners.length === 0 && account.length === 0)
28852
28884
  return [];
@@ -28873,7 +28905,7 @@ var init_excludedSteps = __esm({
28873
28905
  init_messages4();
28874
28906
  excludedStepsSection = (report) => {
28875
28907
  const excluded = report.summary.excludedSteps ?? [];
28876
- const unmatched = report.summary.nonChecksMatchingNoStep ?? [];
28908
+ const unmatched = report.errors?.configuration?.nonChecksMatchingNoStep ?? [];
28877
28909
  if (excluded.length === 0 && unmatched.length === 0)
28878
28910
  return [];
28879
28911
  return [
@@ -29195,12 +29227,14 @@ function ledgerTallyLines(totals) {
29195
29227
  }
29196
29228
  return lines;
29197
29229
  }
29198
- function censusLines(census, accounts) {
29199
- const lines = [`- ${CORE_MESSAGES[CoreMessage.ExcludedScnOccurrences](census.excludedOccurrences)}`];
29200
- const untagged = census.untaggedScenarios.length;
29230
+ function censusLines(codes, accounts) {
29231
+ if (codes?.excludedOccurrences === void 0)
29232
+ return [];
29233
+ const lines = [`- ${CORE_MESSAGES[CoreMessage.ExcludedScnOccurrences](codes.excludedOccurrences)}`];
29234
+ const untagged = (codes.untaggedScenarios ?? []).length;
29201
29235
  if (untagged > 0)
29202
29236
  lines.push(`- ${CORE_MESSAGES[CoreMessage.UntaggedScenarios](untagged)}`);
29203
- lines.push(...sharedScnCodeLines(census.sharedScnCodes ?? [], accounts));
29237
+ lines.push(...sharedScnCodeLines(codes.sharedScnCodes ?? [], accounts));
29204
29238
  return lines;
29205
29239
  }
29206
29240
  function sharedScnCodeLines(shared, accounts) {
@@ -29348,7 +29382,7 @@ var init_markdown = __esm({
29348
29382
  byFeatureSection = (report) => {
29349
29383
  const rows = report.ledger.claimReconciliations;
29350
29384
  const scenarios = rows.filter(isScenario);
29351
- const groups = outOfBalanceByFeature(scenarios, report.evidenceObligations?.untaggedScenarios ?? [], report.metadata?.featureNames ?? {});
29385
+ const groups = outOfBalanceByFeature(scenarios, report.scenarioCodes?.untaggedScenarios ?? [], report.metadata?.featureNames ?? {});
29352
29386
  const ungrouped = ungroupedOutOfBalance(report.summary.claimReconciliations);
29353
29387
  if (groups.size === 0 && ungrouped.length === 0)
29354
29388
  return [];
@@ -29371,7 +29405,7 @@ var init_markdown = __esm({
29371
29405
  CORE_MESSAGES[CoreMessage.ClaimReconciliationsHeading],
29372
29406
  "",
29373
29407
  ...ledgerTallyLines(report.summary.claimReconciliations),
29374
- ...report.evidenceObligations ? censusLines(report.evidenceObligations, scenarioRows.length) : [],
29408
+ ...censusLines(report.scenarioCodes, scenarioRows.length),
29375
29409
  "",
29376
29410
  ...evidenceKeyLines(columns),
29377
29411
  ...ledgerTableLines(claims, columns),
@@ -29411,7 +29445,7 @@ function renderJson(evidenceReconciliation, ctx, evidenceObligations2, featureNa
29411
29445
  var init_composers = __esm({
29412
29446
  "../core/dist/assemble/composers.js"() {
29413
29447
  "use strict";
29414
- init_renderInput();
29448
+ init_renderInput2();
29415
29449
  init_savedReport();
29416
29450
  init_markdown();
29417
29451
  init_provenanceFacts();
@@ -29437,7 +29471,7 @@ var init_dist3 = __esm({
29437
29471
  init_runningFitnessFunctions();
29438
29472
  init_checkScriptsRunInCI();
29439
29473
  init_commandRuns();
29440
- init_renderInput();
29474
+ init_renderInput2();
29441
29475
  init_evidenceReconciliationFromSources();
29442
29476
  init_composers();
29443
29477
  init_savedReport();
@@ -29668,10 +29702,21 @@ var init_inputShapes = __esm({
29668
29702
  runProvenance: { fields: { corpus: "string" }, required: ["corpus"] },
29669
29703
  summary: { fields: {} },
29670
29704
  ledger: { fields: { claimReconciliations: { list: "anything" } }, required: ["claimReconciliations"] },
29671
- scenarioCodeErrors: { list: "anything" },
29672
- scenarioCodePopulation: { fields: {} },
29673
- evidenceObligations: { fields: {} },
29674
- metadata: { fields: {} }
29705
+ metadata: { fields: {} },
29706
+ errors: {
29707
+ fields: {
29708
+ scenarioCodes: { list: "anything" },
29709
+ configuration: {
29710
+ fields: {
29711
+ keysNotRead: { list: "anything" },
29712
+ ofWrongKind: { list: "anything" },
29713
+ runnerKeysNotATier: { list: "anything" },
29714
+ nonChecksMatchingNoStep: { list: "anything" }
29715
+ }
29716
+ }
29717
+ }
29718
+ },
29719
+ scenarioCodes: { fields: {} }
29675
29720
  },
29676
29721
  required: ["runProvenance", "summary", "ledger"]
29677
29722
  };
@@ -8,6 +8,12 @@
8
8
  "runProvenance": {
9
9
  "$ref": "#/definitions/ProvenanceObject"
10
10
  },
11
+ "errors": {
12
+ "$ref": "#/definitions/ErrorsSection"
13
+ },
14
+ "scenarioCodes": {
15
+ "$ref": "#/definitions/ScenarioCodesSection"
16
+ },
11
17
  "summary": {
12
18
  "type": "object",
13
19
  "additionalProperties": false,
@@ -108,24 +114,6 @@
108
114
  "$ref": "#/definitions/TierWithoutRunner"
109
115
  }
110
116
  },
111
- "runnerKeysNotATier": {
112
- "type": "array",
113
- "items": {
114
- "type": "string"
115
- }
116
- },
117
- "configurationOfWrongKind": {
118
- "type": "array",
119
- "items": {
120
- "$ref": "#/definitions/WrongKindEntry"
121
- }
122
- },
123
- "configurationKeysNotRead": {
124
- "type": "array",
125
- "items": {
126
- "type": "string"
127
- }
128
- },
129
117
  "excludedSteps": {
130
118
  "type": "array",
131
119
  "items": {
@@ -138,12 +126,6 @@
138
126
  "$ref": "#/definitions/ReconcilerStep"
139
127
  }
140
128
  },
141
- "nonChecksMatchingNoStep": {
142
- "type": "array",
143
- "items": {
144
- "type": "string"
145
- }
146
- },
147
129
  "discoveryScope": {
148
130
  "type": "array",
149
131
  "items": {
@@ -162,18 +144,6 @@
162
144
  "ledger": {
163
145
  "$ref": "#/definitions/Ledger"
164
146
  },
165
- "scenarioCodeErrors": {
166
- "type": "array",
167
- "items": {
168
- "$ref": "#/definitions/ScenarioCodeError"
169
- }
170
- },
171
- "scenarioCodePopulation": {
172
- "$ref": "#/definitions/ScenarioCodePopulation"
173
- },
174
- "evidenceObligations": {
175
- "$ref": "#/definitions/EvidenceObligationsSection"
176
- },
177
147
  "metadata": {
178
148
  "$ref": "#/definitions/ReportMetadata"
179
149
  }
@@ -218,27 +188,288 @@
218
188
  "corpus": {
219
189
  "type": "string"
220
190
  },
221
- "strict": {
222
- "type": "boolean"
191
+ "strict": {
192
+ "type": "boolean"
193
+ }
194
+ },
195
+ "required": [
196
+ "target",
197
+ "sourceSha",
198
+ "toolSha",
199
+ "toolVersion",
200
+ "runTimestamp",
201
+ "inputs",
202
+ "corpus"
203
+ ],
204
+ "additionalProperties": false
205
+ },
206
+ "RunInputs": {
207
+ "type": "object",
208
+ "additionalProperties": {
209
+ "type": "string"
210
+ }
211
+ },
212
+ "ErrorsSection": {
213
+ "type": "object",
214
+ "properties": {
215
+ "scenarioCodes": {
216
+ "type": "array",
217
+ "items": {
218
+ "$ref": "#/definitions/ScenarioCodeError"
219
+ }
220
+ },
221
+ "configuration": {
222
+ "type": "object",
223
+ "properties": {
224
+ "keysNotRead": {
225
+ "type": "array",
226
+ "items": {
227
+ "type": "string"
228
+ }
229
+ },
230
+ "ofWrongKind": {
231
+ "type": "array",
232
+ "items": {
233
+ "$ref": "#/definitions/WrongKindEntry"
234
+ }
235
+ },
236
+ "runnerKeysNotATier": {
237
+ "type": "array",
238
+ "items": {
239
+ "type": "string"
240
+ }
241
+ },
242
+ "nonChecksMatchingNoStep": {
243
+ "type": "array",
244
+ "items": {
245
+ "type": "string"
246
+ }
247
+ }
248
+ },
249
+ "additionalProperties": false
250
+ }
251
+ },
252
+ "additionalProperties": false
253
+ },
254
+ "ScenarioCodeError": {
255
+ "anyOf": [
256
+ {
257
+ "type": "object",
258
+ "properties": {
259
+ "kind": {
260
+ "type": "string",
261
+ "const": "duplicate-feature-code"
262
+ },
263
+ "featureCode": {
264
+ "type": "string"
265
+ },
266
+ "files": {
267
+ "type": "array",
268
+ "items": {
269
+ "type": "string"
270
+ }
271
+ }
272
+ },
273
+ "required": [
274
+ "kind",
275
+ "featureCode",
276
+ "files"
277
+ ],
278
+ "additionalProperties": false
279
+ },
280
+ {
281
+ "$ref": "#/definitions/ForeignScnCodeError"
282
+ },
283
+ {
284
+ "type": "object",
285
+ "properties": {
286
+ "kind": {
287
+ "type": "string",
288
+ "const": "no-feature-code"
289
+ },
290
+ "files": {
291
+ "type": "array",
292
+ "items": {
293
+ "type": "string"
294
+ }
295
+ }
296
+ },
297
+ "required": [
298
+ "kind",
299
+ "files"
300
+ ],
301
+ "additionalProperties": false
302
+ },
303
+ {
304
+ "type": "object",
305
+ "properties": {
306
+ "kind": {
307
+ "type": "string",
308
+ "const": "several-scn-codes"
309
+ },
310
+ "files": {
311
+ "type": "array",
312
+ "items": {
313
+ "type": "string"
314
+ }
315
+ },
316
+ "scenario": {
317
+ "type": "string"
318
+ },
319
+ "codes": {
320
+ "type": "array",
321
+ "items": {
322
+ "type": "string"
323
+ }
324
+ }
325
+ },
326
+ "required": [
327
+ "kind",
328
+ "files",
329
+ "scenario",
330
+ "codes"
331
+ ],
332
+ "additionalProperties": false
333
+ }
334
+ ]
335
+ },
336
+ "ForeignScnCodeError": {
337
+ "type": "object",
338
+ "properties": {
339
+ "kind": {
340
+ "type": "string",
341
+ "const": "foreign-scn-code"
342
+ },
343
+ "files": {
344
+ "type": "array",
345
+ "items": {
346
+ "type": "string"
347
+ }
348
+ },
349
+ "featureCode": {
350
+ "type": "string"
351
+ },
352
+ "scnId": {
353
+ "type": "string"
354
+ },
355
+ "namedFeatureCode": {
356
+ "type": "string"
357
+ },
358
+ "namedFeatureFiles": {
359
+ "type": "array",
360
+ "items": {
361
+ "type": "string"
362
+ }
363
+ }
364
+ },
365
+ "required": [
366
+ "kind",
367
+ "files",
368
+ "featureCode",
369
+ "scnId",
370
+ "namedFeatureCode",
371
+ "namedFeatureFiles"
372
+ ],
373
+ "additionalProperties": false
374
+ },
375
+ "WrongKindEntry": {
376
+ "type": "object",
377
+ "properties": {
378
+ "entry": {
379
+ "type": "string"
380
+ },
381
+ "is": {
382
+ "$ref": "#/definitions/ConfigurationKind"
383
+ },
384
+ "reads": {
385
+ "$ref": "#/definitions/ConfigurationKind"
386
+ }
387
+ },
388
+ "required": [
389
+ "entry",
390
+ "is",
391
+ "reads"
392
+ ],
393
+ "additionalProperties": false
394
+ },
395
+ "ConfigurationKind": {
396
+ "type": "string",
397
+ "enum": [
398
+ "list",
399
+ "object",
400
+ "string-or-null",
401
+ "null",
402
+ "string",
403
+ "number",
404
+ "bigint",
405
+ "boolean",
406
+ "symbol",
407
+ "undefined",
408
+ "function"
409
+ ]
410
+ },
411
+ "ScenarioCodesSection": {
412
+ "type": "object",
413
+ "properties": {
414
+ "featureFiles": {
415
+ "type": "number"
416
+ },
417
+ "featureCodes": {
418
+ "type": "number"
419
+ },
420
+ "excludedOccurrences": {
421
+ "type": "number"
422
+ },
423
+ "untaggedScenarios": {
424
+ "type": "array",
425
+ "items": {
426
+ "$ref": "#/definitions/UntaggedScenario"
427
+ }
428
+ },
429
+ "sharedScnCodes": {
430
+ "type": "array",
431
+ "items": {
432
+ "$ref": "#/definitions/SharedScnCode"
433
+ }
434
+ }
435
+ },
436
+ "additionalProperties": false
437
+ },
438
+ "UntaggedScenario": {
439
+ "type": "object",
440
+ "properties": {
441
+ "feature": {
442
+ "type": "string"
443
+ },
444
+ "scenario": {
445
+ "type": "string"
446
+ }
447
+ },
448
+ "required": [
449
+ "feature",
450
+ "scenario"
451
+ ],
452
+ "additionalProperties": false
453
+ },
454
+ "SharedScnCode": {
455
+ "type": "object",
456
+ "properties": {
457
+ "scnId": {
458
+ "type": "string"
459
+ },
460
+ "scenarios": {
461
+ "type": "array",
462
+ "items": {
463
+ "$ref": "#/definitions/UntaggedScenario"
464
+ }
223
465
  }
224
466
  },
225
467
  "required": [
226
- "target",
227
- "sourceSha",
228
- "toolSha",
229
- "toolVersion",
230
- "runTimestamp",
231
- "inputs",
232
- "corpus"
468
+ "scnId",
469
+ "scenarios"
233
470
  ],
234
471
  "additionalProperties": false
235
472
  },
236
- "RunInputs": {
237
- "type": "object",
238
- "additionalProperties": {
239
- "type": "string"
240
- }
241
- },
242
473
  "RunVerdict": {
243
474
  "type": "string",
244
475
  "enum": [
@@ -471,42 +702,6 @@
471
702
  "performance"
472
703
  ]
473
704
  },
474
- "WrongKindEntry": {
475
- "type": "object",
476
- "properties": {
477
- "entry": {
478
- "type": "string"
479
- },
480
- "is": {
481
- "$ref": "#/definitions/ConfigurationKind"
482
- },
483
- "reads": {
484
- "$ref": "#/definitions/ConfigurationKind"
485
- }
486
- },
487
- "required": [
488
- "entry",
489
- "is",
490
- "reads"
491
- ],
492
- "additionalProperties": false
493
- },
494
- "ConfigurationKind": {
495
- "type": "string",
496
- "enum": [
497
- "list",
498
- "object",
499
- "string-or-null",
500
- "null",
501
- "string",
502
- "number",
503
- "bigint",
504
- "boolean",
505
- "symbol",
506
- "undefined",
507
- "function"
508
- ]
509
- },
510
705
  "ReconcilerStep": {
511
706
  "type": "object",
512
707
  "properties": {
@@ -885,203 +1080,6 @@
885
1080
  },
886
1081
  "additionalProperties": false
887
1082
  },
888
- "ScenarioCodeError": {
889
- "anyOf": [
890
- {
891
- "type": "object",
892
- "properties": {
893
- "kind": {
894
- "type": "string",
895
- "const": "duplicate-feature-code"
896
- },
897
- "featureCode": {
898
- "type": "string"
899
- },
900
- "files": {
901
- "type": "array",
902
- "items": {
903
- "type": "string"
904
- }
905
- }
906
- },
907
- "required": [
908
- "kind",
909
- "featureCode",
910
- "files"
911
- ],
912
- "additionalProperties": false
913
- },
914
- {
915
- "$ref": "#/definitions/ForeignScnCodeError"
916
- },
917
- {
918
- "type": "object",
919
- "properties": {
920
- "kind": {
921
- "type": "string",
922
- "const": "no-feature-code"
923
- },
924
- "files": {
925
- "type": "array",
926
- "items": {
927
- "type": "string"
928
- }
929
- }
930
- },
931
- "required": [
932
- "kind",
933
- "files"
934
- ],
935
- "additionalProperties": false
936
- },
937
- {
938
- "type": "object",
939
- "properties": {
940
- "kind": {
941
- "type": "string",
942
- "const": "several-scn-codes"
943
- },
944
- "files": {
945
- "type": "array",
946
- "items": {
947
- "type": "string"
948
- }
949
- },
950
- "scenario": {
951
- "type": "string"
952
- },
953
- "codes": {
954
- "type": "array",
955
- "items": {
956
- "type": "string"
957
- }
958
- }
959
- },
960
- "required": [
961
- "kind",
962
- "files",
963
- "scenario",
964
- "codes"
965
- ],
966
- "additionalProperties": false
967
- }
968
- ]
969
- },
970
- "ForeignScnCodeError": {
971
- "type": "object",
972
- "properties": {
973
- "kind": {
974
- "type": "string",
975
- "const": "foreign-scn-code"
976
- },
977
- "files": {
978
- "type": "array",
979
- "items": {
980
- "type": "string"
981
- }
982
- },
983
- "featureCode": {
984
- "type": "string"
985
- },
986
- "scnId": {
987
- "type": "string"
988
- },
989
- "namedFeatureCode": {
990
- "type": "string"
991
- },
992
- "namedFeatureFiles": {
993
- "type": "array",
994
- "items": {
995
- "type": "string"
996
- }
997
- }
998
- },
999
- "required": [
1000
- "kind",
1001
- "files",
1002
- "featureCode",
1003
- "scnId",
1004
- "namedFeatureCode",
1005
- "namedFeatureFiles"
1006
- ],
1007
- "additionalProperties": false
1008
- },
1009
- "ScenarioCodePopulation": {
1010
- "type": "object",
1011
- "properties": {
1012
- "featureFiles": {
1013
- "type": "number"
1014
- },
1015
- "featureCodes": {
1016
- "type": "number"
1017
- }
1018
- },
1019
- "required": [
1020
- "featureFiles",
1021
- "featureCodes"
1022
- ],
1023
- "additionalProperties": false
1024
- },
1025
- "EvidenceObligationsSection": {
1026
- "type": "object",
1027
- "properties": {
1028
- "excludedOccurrences": {
1029
- "type": "number"
1030
- },
1031
- "untaggedScenarios": {
1032
- "type": "array",
1033
- "items": {
1034
- "$ref": "#/definitions/UntaggedScenario"
1035
- }
1036
- },
1037
- "sharedScnCodes": {
1038
- "type": "array",
1039
- "items": {
1040
- "$ref": "#/definitions/SharedScnCode"
1041
- }
1042
- }
1043
- },
1044
- "required": [
1045
- "excludedOccurrences",
1046
- "untaggedScenarios"
1047
- ],
1048
- "additionalProperties": false
1049
- },
1050
- "UntaggedScenario": {
1051
- "type": "object",
1052
- "properties": {
1053
- "feature": {
1054
- "type": "string"
1055
- },
1056
- "scenario": {
1057
- "type": "string"
1058
- }
1059
- },
1060
- "required": [
1061
- "feature",
1062
- "scenario"
1063
- ],
1064
- "additionalProperties": false
1065
- },
1066
- "SharedScnCode": {
1067
- "type": "object",
1068
- "properties": {
1069
- "scnId": {
1070
- "type": "string"
1071
- },
1072
- "scenarios": {
1073
- "type": "array",
1074
- "items": {
1075
- "$ref": "#/definitions/UntaggedScenario"
1076
- }
1077
- }
1078
- },
1079
- "required": [
1080
- "scnId",
1081
- "scenarios"
1082
- ],
1083
- "additionalProperties": false
1084
- },
1085
1083
  "ReportMetadata": {
1086
1084
  "type": "object",
1087
1085
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-controller",
3
- "version": "0.1.121",
3
+ "version": "0.1.122",
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.121"
29
+ "@3f-consulting/spec-controller-core": "0.1.122"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"