spec-controller 0.1.238 → 0.1.240

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
@@ -204,21 +204,21 @@ var init_messages_en = __esm({
204
204
  "junit-flag": "A JUnit XML report from any test runner that writes one, such as gotestsum --junitfile, or a directory of them, such as Maven Surefire's \u2014 runtime unit test evidence.",
205
205
  "rspec-flag": "An RSpec JSON report (rspec --format json --out) \u2014 runtime unit test evidence.",
206
206
  "cucumber-flag": "A Cucumber JSON report \u2014 runtime test evidence.",
207
- "ci-flag": "Your CI workflows \u2014 a file, or a directory of them (default .github/workflows). Where a fitness function you have not converted is found running over the real source, and where a check step's `id:` supplies the @SCN its result cites.",
208
- "package-json-flag": "The target's package.json \u2014 its `scripts`, and its specController.runners, specController.notChecks and specController.deferralTags. A fitness function is named by its @fitness scenario and the CI step whose id: is that scenario's @SCN; no manifest key names one.",
207
+ "ci-flag": "Your CI workflows \u2014 a file, or a directory of them (default .github/workflows). Where a fitness function you have not converted is found running over the real source, and where a check step's `id:` supplies the claim code its result cites.",
208
+ "package-json-flag": "The target's package.json \u2014 its `scripts`, and its specController.runners, specController.notChecks and specController.deferralTags. A fitness function is named by its @fitness scenario and the CI step whose id: is that scenario's claim code; no manifest key names one.",
209
209
  "ci-steps-flag": "The CI run's own record of what each of its steps did \u2014 your pipeline's `toJSON(steps)` dump, evidence for the converted fitness functions. Omit it if you have converted none.",
210
210
  "target-flag": "A name recorded verbatim in the report's provenance (which project this run reconciled).",
211
211
  "source-sha-flag": "Override the git commit SHA recorded in provenance (defaults to the resolved HEAD).",
212
212
  "format-flag": "Where to send output (md or json, optionally :<path> to write to a file). Repeatable.",
213
213
  "render-from-json-flag": "Re-render Markdown from a previously saved Evidence Reconciliation JSON \u2014 no reconcile, no live inputs.",
214
214
  "strict-flag": "Fail the run (exit 3) when it carries Pending Items \u2014 the opt-in that escalates otherwise-run-neutral deferred obligations.",
215
- "exit-zero-flag": "Print the same report but exit 0 on an out-of-balance or scenario-code-error (1) or --strict pending (3) verdict \u2014 the on-ramp before gating. Usage (2), unsound (4) and nothing-to-reconcile (5) still fail.",
215
+ "exit-zero-flag": "Print the same report but exit 0 on an out-of-balance or claim-code-error (1) or --strict pending (3) verdict \u2014 the on-ramp before gating. Usage (2), unsound (4) and nothing-to-reconcile (5) still fail.",
216
216
  "configuration-heading": "Configuration (in the target repo's package.json):",
217
217
  "deferral-tags-key": "specController.deferralTags: string[]",
218
218
  "deferral-tags-explanation": "Extra recognised deferral tags. A scenario carrying one defers every obligation it\nnames to a Pending Item, extending (never replacing) the built-in set.",
219
219
  "built-in-deferral-tags": "Built-in deferral tags: {tags}",
220
- "measurements-replacement": "A fitness function's evidence observation is the outcome of its own CI step: put the check's @SCN on that step's `id:` and hand balance the run's step record with --ci-steps.",
221
- "allocate-summary": "Print the next @SCN code for a feature part: one past the highest the repository has ever carried, the code alone on stdout.",
220
+ "measurements-replacement": "A fitness function's evidence observation is the outcome of its own CI step: put the check's claim code on that step's `id:` and hand balance the run's step record with --ci-steps.",
221
+ "allocate-summary": "Print the next claim code for a feature part: one past the highest the repository has ever carried, the code alone on stdout.",
222
222
  "feature-part-argument": "The feature part: a feature file's header code, two to five of A-Z and 0-9.",
223
223
  "new-flag": "Start a part no feature file's header carries yet: its first code, or one past any number the repository already carries for it.",
224
224
  "shallow-history-risks-part-code": "history: shallow clone \u2014 history before {before} unread; a code of {part} may have been used before",
@@ -11424,8 +11424,8 @@ var init_bareTerm = __esm({
11424
11424
  });
11425
11425
 
11426
11426
  // ../core/dist/domain/featureCode.js
11427
- function featureCodeOf(scnId) {
11428
- const match = FEATURE_CODE_OF.exec(scnId);
11427
+ function featureCodeOf(claimCode) {
11428
+ const match = FEATURE_CODE_OF.exec(claimCode);
11429
11429
  return match ? match[1] : null;
11430
11430
  }
11431
11431
  function isFeaturePart(text) {
@@ -11434,14 +11434,15 @@ function isFeaturePart(text) {
11434
11434
  function headerFeatureCode(featureTags) {
11435
11435
  return featureTags.find(isFeaturePart) ?? null;
11436
11436
  }
11437
- var FEATURE_PART_SOURCE, SCN_ID_SOURCE, SCN_CODE, FEATURE_CODE_OF, FEATURE_PART;
11437
+ var FEATURE_PART_SOURCE, PREFIX_SOURCE, SCN_ID_SOURCE, SCN_CODE, FEATURE_CODE_OF, FEATURE_PART;
11438
11438
  var init_featureCode = __esm({
11439
11439
  "../core/dist/domain/featureCode.js"() {
11440
11440
  "use strict";
11441
11441
  FEATURE_PART_SOURCE = "[A-Z0-9]{2,5}";
11442
- SCN_ID_SOURCE = `SCN-${FEATURE_PART_SOURCE}-\\d+`;
11442
+ PREFIX_SOURCE = "(?:CLM|SCN)";
11443
+ SCN_ID_SOURCE = `${PREFIX_SOURCE}-${FEATURE_PART_SOURCE}-\\d+`;
11443
11444
  SCN_CODE = new RegExp(`^${SCN_ID_SOURCE}$`);
11444
- FEATURE_CODE_OF = new RegExp(`^SCN-(${FEATURE_PART_SOURCE})-\\d+$`);
11445
+ FEATURE_CODE_OF = new RegExp(`^${PREFIX_SOURCE}-(${FEATURE_PART_SOURCE})-\\d+$`);
11445
11446
  FEATURE_PART = new RegExp(`^${FEATURE_PART_SOURCE}$`);
11446
11447
  }
11447
11448
  });
@@ -11450,8 +11451,8 @@ var init_featureCode = __esm({
11450
11451
  function attributionOf(codes) {
11451
11452
  const distinct = [...new Set(codes)];
11452
11453
  if (distinct.length > 1)
11453
- return { scnId: null, severalCodes: distinct };
11454
- return { scnId: distinct[0] ?? null };
11454
+ return { claimCode: null, severalCodes: distinct };
11455
+ return { claimCode: distinct[0] ?? null };
11455
11456
  }
11456
11457
  var init_attribution = __esm({
11457
11458
  "../core/dist/domain/attribution.js"() {
@@ -11465,10 +11466,10 @@ function foreignCodeCarriersOf(error) {
11465
11466
  return first === void 0 ? { kind: "none" } : { kind: "carried", files: [first, ...rest] };
11466
11467
  }
11467
11468
  function hasScenarioCodeErrors(reconciliation) {
11468
- return (reconciliation.scenarioCodeErrors ?? []).length > 0;
11469
+ return (reconciliation.claimCodeErrors ?? []).length > 0;
11469
11470
  }
11470
11471
  function scenarioCodeErrorsAre(errors) {
11471
- const several = errors.filter((error) => error.kind === "several-scn-codes").length;
11472
+ const several = errors.filter((error) => error.kind === "several-claim-codes").length;
11472
11473
  if (several === 0)
11473
11474
  return "misfilings";
11474
11475
  return several === errors.length ? "several-codes" : "both";
@@ -11509,8 +11510,8 @@ function duplicateFeatureCodes(features) {
11509
11510
  }
11510
11511
  function codedScenarioIds(feature) {
11511
11512
  return feature.scenarios.flatMap(({ tags }) => {
11512
- const { scnId } = scenarioCodesOf(tags);
11513
- return scnId === null ? [] : [scnId];
11513
+ const { claimCode } = scenarioCodesOf(tags);
11514
+ return claimCode === null ? [] : [claimCode];
11514
11515
  });
11515
11516
  }
11516
11517
  function foreignScenarioCodes(features) {
@@ -11519,16 +11520,16 @@ function foreignScenarioCodes(features) {
11519
11520
  for (const feature of features) {
11520
11521
  if (feature.featureCode === null)
11521
11522
  continue;
11522
- for (const scnId of codedScenarioIds(feature)) {
11523
- const named = featureCodeOf(scnId);
11523
+ for (const claimCode of codedScenarioIds(feature)) {
11524
+ const named = featureCodeOf(claimCode);
11524
11525
  if (named === null || named === feature.featureCode)
11525
11526
  continue;
11526
11527
  const carriers = carriersByCode.get(named) ?? [];
11527
11528
  faults.push({
11528
- kind: "foreign-scn-code",
11529
+ kind: "foreign-claim-code",
11529
11530
  files: [feature.file],
11530
11531
  featureCode: feature.featureCode,
11531
- scnId,
11532
+ claimCode,
11532
11533
  namedFeatureCode: named,
11533
11534
  namedFeatureFiles: carriers
11534
11535
  });
@@ -11549,7 +11550,7 @@ function severalScnCodes(features) {
11549
11550
  return [];
11550
11551
  return [
11551
11552
  {
11552
- kind: "several-scn-codes",
11553
+ kind: "several-claim-codes",
11553
11554
  files: [feature.file],
11554
11555
  scenario: name,
11555
11556
  codes: severalCodes
@@ -11583,11 +11584,11 @@ function untaggedScenarioId({ feature, title }) {
11583
11584
  function sharedScnCodesOf(files) {
11584
11585
  const byCode = /* @__PURE__ */ new Map();
11585
11586
  for (const { feature, taggedScenarios } of files) {
11586
- for (const { scnId, name } of taggedScenarios) {
11587
- byCode.set(scnId, [...byCode.get(scnId) ?? [], { feature, title: name }]);
11587
+ for (const { claimCode, name } of taggedScenarios) {
11588
+ byCode.set(claimCode, [...byCode.get(claimCode) ?? [], { feature, title: name }]);
11588
11589
  }
11589
11590
  }
11590
- return [...byCode].filter(([, scenarios]) => scenarios.length > 1).map(([scnId, scenarios]) => ({ scnId, scenarios })).sort((a, b) => a.scnId.localeCompare(b.scnId));
11591
+ return [...byCode].filter(([, scenarios]) => scenarios.length > 1).map(([claimCode, scenarios]) => ({ claimCode, scenarios })).sort((a, b) => a.claimCode.localeCompare(b.claimCode));
11591
11592
  }
11592
11593
  function corpusCountsOf(files) {
11593
11594
  const raw = files.reduce((n, f) => n + f.rawScnOccurrences, 0);
@@ -11596,13 +11597,13 @@ function corpusCountsOf(files) {
11596
11597
  const untagged = files.flatMap(({ feature, untaggedScenarios }) => untaggedScenarios.map((title) => ({ feature, title }))).sort((a, b) => a.feature.localeCompare(b.feature) || a.title.localeCompare(b.title));
11597
11598
  return evidenceObligations(raw, scenarioCount, untagged, sharedScnCodesOf(files), tagOccurrences);
11598
11599
  }
11599
- function evidenceObligations(raw, scenarioCount, untaggedScenarios = [], sharedScnCodes = [], tagOccurrences = scenarioCount) {
11600
+ function evidenceObligations(raw, scenarioCount, untaggedScenarios = [], sharedClaimCodes = [], tagOccurrences = scenarioCount) {
11600
11601
  return {
11601
11602
  rawScnOccurrences: raw,
11602
11603
  scenarioCount,
11603
11604
  excludedOccurrences: raw - tagOccurrences,
11604
11605
  untaggedScenarios,
11605
- sharedScnCodes
11606
+ sharedClaimCodes
11606
11607
  };
11607
11608
  }
11608
11609
  var init_corpusCounts = __esm({
@@ -11731,13 +11732,13 @@ function scenariosByScnCodeOf({ scenarios }) {
11731
11732
  const taggedScenarios = [];
11732
11733
  const untaggedScenarios = [];
11733
11734
  for (const { name, tags } of scenarios) {
11734
- const { scnId, severalCodes } = scenarioCodesOf(tags);
11735
+ const { claimCode, severalCodes } = scenarioCodesOf(tags);
11735
11736
  if (severalCodes !== void 0)
11736
11737
  continue;
11737
- if (scnId === null)
11738
+ if (claimCode === null)
11738
11739
  untaggedScenarios.push(name);
11739
11740
  else
11740
- taggedScenarios.push({ scnId, tags, name });
11741
+ taggedScenarios.push({ claimCode, tags, name });
11741
11742
  }
11742
11743
  return { taggedScenarios, untaggedScenarios };
11743
11744
  }
@@ -11758,7 +11759,7 @@ function corpusCountsOfFeatures(features) {
11758
11759
  }
11759
11760
  function namedScenariosOf(feature, deferralTags = []) {
11760
11761
  return scenariosByScnCodeOf(feature).taggedScenarios.map((scenario) => ({
11761
- scnId: scenario.scnId,
11762
+ claimCode: scenario.claimCode,
11762
11763
  evidenceObligations: obligationsRaisedBy(scenario.tags, deferralTags),
11763
11764
  feature: feature.file,
11764
11765
  title: scenario.name
@@ -11799,13 +11800,13 @@ function evidenceObligationPairsOf(scenarios) {
11799
11800
  for (const obligation of scenario.evidenceObligations) {
11800
11801
  if (obligation.pending === true)
11801
11802
  continue;
11802
- pairs.add(evidenceObligationPairKey(scenario.scnId, obligation.qualityCheckKind));
11803
+ pairs.add(evidenceObligationPairKey(scenario.claimCode, obligation.qualityCheckKind));
11803
11804
  }
11804
11805
  }
11805
11806
  return pairs;
11806
11807
  }
11807
- function evidenceObligationPairKey(scnId, qualityCheckKind) {
11808
- return `${scnId} ${qualityCheckKind}`;
11808
+ function evidenceObligationPairKey(claimCode, qualityCheckKind) {
11809
+ return `${claimCode} ${qualityCheckKind}`;
11809
11810
  }
11810
11811
  function evidenceObligationsOf(evidenceObligations2) {
11811
11812
  return evidenceObligations2.filter((obligation) => !obligation.pending);
@@ -11930,8 +11931,8 @@ function linesFor(observations, answering) {
11930
11931
  function observationsField(observations) {
11931
11932
  return observations.length > 0 ? { evidenceObservations: observations } : {};
11932
11933
  }
11933
- function reconcileEvidenceObligation(scnId, obligation, evidenceObservations) {
11934
- const citing = evidenceObservations.filter((o) => o.qualityCheckKind === obligation.qualityCheckKind && o.scnId === scnId);
11934
+ function reconcileEvidenceObligation(claimCode, obligation, evidenceObservations) {
11935
+ const citing = evidenceObservations.filter((o) => o.qualityCheckKind === obligation.qualityCheckKind && o.claimCode === claimCode);
11935
11936
  const answered = citing.some((o) => o.broken !== true);
11936
11937
  return makeQualityCheckReconciliation({
11937
11938
  qualityCheckKind: obligation.qualityCheckKind,
@@ -11947,8 +11948,8 @@ function reconciliationsByQualityCheckKind(observations, answering) {
11947
11948
  }
11948
11949
  return [...groups].map(([qualityCheckKind, group]) => makeQualityCheckReconciliation({ qualityCheckKind, evidenceObservations: linesFor(group, answering) }));
11949
11950
  }
11950
- function noEvidenceObligationReconciliationsOf(scnId, postedObservations, evidenceObligationPairs) {
11951
- return reconciliationsByQualityCheckKind(postedObservations.filter((o) => !evidenceObligationPairs.has(evidenceObligationPairKey(scnId, o.qualityCheckKind))), "scenario");
11951
+ function noEvidenceObligationReconciliationsOf(claimCode, postedObservations, evidenceObligationPairs) {
11952
+ return reconciliationsByQualityCheckKind(postedObservations.filter((o) => !evidenceObligationPairs.has(evidenceObligationPairKey(claimCode, o.qualityCheckKind))), "scenario");
11952
11953
  }
11953
11954
  function citesUnknownScenarioReconciliationsOf(observations) {
11954
11955
  return reconciliationsByQualityCheckKind(observations, "phantom-claim");
@@ -11957,7 +11958,7 @@ function unnamedClaimReconciliationsOf(observations) {
11957
11958
  return reconciliationsByQualityCheckKind(observations, "unnamed-claim");
11958
11959
  }
11959
11960
  function noScnCodeReconciliations() {
11960
- return [makeQualityCheckReconciliation({ outcome: "no-scn-code", evidenceObligation: { qualityCheckKind: null } })];
11961
+ return [makeQualityCheckReconciliation({ outcome: "no-claim-code", evidenceObligation: { qualityCheckKind: null } })];
11961
11962
  }
11962
11963
  function duplicateScnCodeReconciliationsOf(obligations, scenario) {
11963
11964
  const naming = scenario === void 0 ? {} : { scenario };
@@ -11967,11 +11968,11 @@ function duplicateScnCodeReconciliationsOf(obligations, scenario) {
11967
11968
  kinds.add(obligation.qualityCheckKind);
11968
11969
  }
11969
11970
  if (kinds.size === 0) {
11970
- return [makeQualityCheckReconciliation({ outcome: "duplicate-scn-code", evidenceObligation: { qualityCheckKind: null }, ...naming })];
11971
+ return [makeQualityCheckReconciliation({ outcome: "duplicate-claim-code", evidenceObligation: { qualityCheckKind: null }, ...naming })];
11971
11972
  }
11972
11973
  return [...kinds].map((qualityCheckKind) => makeQualityCheckReconciliation({
11973
11974
  qualityCheckKind,
11974
- outcome: "duplicate-scn-code",
11975
+ outcome: "duplicate-claim-code",
11975
11976
  evidenceObligation: { qualityCheckKind },
11976
11977
  ...naming
11977
11978
  }));
@@ -11991,8 +11992,8 @@ var init_qualityCheckReconciliation = __esm({
11991
11992
  missing: { obligation: "Exists", observation: "None" },
11992
11993
  failing: { obligation: "Exists", observation: "Exists" },
11993
11994
  watermelon: { obligation: "Exists", observation: "Exists" },
11994
- "no-scn-code": { obligation: "Exists", observation: "None" },
11995
- "duplicate-scn-code": { obligation: "Exists", observation: "None" },
11995
+ "no-claim-code": { obligation: "Exists", observation: "None" },
11996
+ "duplicate-claim-code": { obligation: "Exists", observation: "None" },
11996
11997
  "cites-unknown-scenario": { obligation: "None", observation: "Exists" },
11997
11998
  "cites-no-scenario": { obligation: "None", observation: "Exists" },
11998
11999
  "no-evidence-obligation": { obligation: "None", observation: "Exists" },
@@ -12064,7 +12065,7 @@ function outOfBalanceCountOf(rows) {
12064
12065
  return rows.filter(isOutOfBalance).length;
12065
12066
  }
12066
12067
  function carriesNoScnCode(row) {
12067
- return reconcilingItemsOf(row).some((item) => item.outcome === "no-scn-code");
12068
+ return reconcilingItemsOf(row).some((item) => item.outcome === "no-claim-code");
12068
12069
  }
12069
12070
  function ranObservationsOf(row) {
12070
12071
  return observationsOf(row).filter((o) => o.broken !== true);
@@ -12161,8 +12162,8 @@ function reconciliationLineTotals(ledger) {
12161
12162
  "watermelon": 0,
12162
12163
  "cites-unknown-scenario": 0,
12163
12164
  "cites-no-scenario": 0,
12164
- "no-scn-code": 0,
12165
- "duplicate-scn-code": 0,
12165
+ "no-claim-code": 0,
12166
+ "duplicate-claim-code": 0,
12166
12167
  "broken": 0,
12167
12168
  "no-evidence-obligation": 0,
12168
12169
  "both-missing": 0
@@ -12249,14 +12250,14 @@ var init_ledger = __esm({
12249
12250
  });
12250
12251
 
12251
12252
  // ../core/dist/domain/posting.js
12252
- function postingOf(observation, scenarioIds, sharedScnCodes = /* @__PURE__ */ new Set()) {
12253
- const scnId = observation.scnId ?? null;
12254
- if (scnId === null || sharedScnCodes.has(scnId)) {
12253
+ function postingOf(observation, scenarioIds, sharedClaimCodes = /* @__PURE__ */ new Set()) {
12254
+ const claimCode = observation.claimCode ?? null;
12255
+ if (claimCode === null || sharedClaimCodes.has(claimCode)) {
12255
12256
  if (observation.broken === true)
12256
12257
  return { kind: "unnamed-claim", posted: "broken" };
12257
- return { kind: "unnamed-claim", posted: scnId === null ? "cites-nothing" : "cites-shared-code" };
12258
+ return { kind: "unnamed-claim", posted: claimCode === null ? "cites-nothing" : "cites-shared-code" };
12258
12259
  }
12259
- return scenarioIds.has(scnId) ? { kind: "scenario", scnId } : { kind: "phantom-claim", scnId };
12260
+ return scenarioIds.has(claimCode) ? { kind: "scenario", claimCode } : { kind: "phantom-claim", claimCode };
12260
12261
  }
12261
12262
  var init_posting = __esm({
12262
12263
  "../core/dist/domain/posting.js"() {
@@ -12273,7 +12274,7 @@ function withSortedKeys(_key, value) {
12273
12274
  }
12274
12275
  function evidenceOrderKey(o) {
12275
12276
  const content = JSON.stringify(o, withSortedKeys);
12276
- return [QUALITY_CHECK_KINDS_FITNESS_LAST.indexOf(o.qualityCheckKind), o.locator ?? "", o.scnId ?? "", content].join("\0");
12277
+ return [QUALITY_CHECK_KINDS_FITNESS_LAST.indexOf(o.qualityCheckKind), o.locator ?? "", o.claimCode ?? "", content].join("\0");
12277
12278
  }
12278
12279
  function inEvidenceOrder(observations) {
12279
12280
  const byKey = /* @__PURE__ */ new Map();
@@ -12296,29 +12297,29 @@ function citationIndex() {
12296
12297
  const phantomClaimIds = [];
12297
12298
  return {
12298
12299
  file(posting, observation) {
12299
- const list = byScn.get(posting.scnId) ?? [];
12300
+ const list = byScn.get(posting.claimCode) ?? [];
12300
12301
  list.push(observation);
12301
- byScn.set(posting.scnId, list);
12302
- if (posting.kind === "phantom-claim" && !phantomClaimIds.includes(posting.scnId)) {
12303
- phantomClaimIds.push(posting.scnId);
12302
+ byScn.set(posting.claimCode, list);
12303
+ if (posting.kind === "phantom-claim" && !phantomClaimIds.includes(posting.claimCode)) {
12304
+ phantomClaimIds.push(posting.claimCode);
12304
12305
  }
12305
12306
  },
12306
- observationsFor: (scnId) => byScn.get(scnId) ?? [],
12307
+ observationsFor: (claimCode) => byScn.get(claimCode) ?? [],
12307
12308
  phantomClaimIds
12308
12309
  };
12309
12310
  }
12310
12311
  function namingSharedCode(observation, code) {
12311
- return { ...observation, notes: [...observation.notes ?? [], { kind: "shared-scn-code", code }] };
12312
+ return { ...observation, notes: [...observation.notes ?? [], { kind: "shared-claim-code", code }] };
12312
12313
  }
12313
- function routeObservations(evidenceObservations, scenarioIds, sharedScnCodes) {
12314
+ function routeObservations(evidenceObservations, scenarioIds, sharedClaimCodes) {
12314
12315
  const citations = citationIndex();
12315
12316
  const onUnnamedClaim = [];
12316
12317
  for (const o of evidenceObservations) {
12317
- const posting = postingOf(o, scenarioIds, sharedScnCodes);
12318
+ const posting = postingOf(o, scenarioIds, sharedClaimCodes);
12318
12319
  if (posting.kind !== "unnamed-claim")
12319
12320
  citations.file(posting, o);
12320
- else if (o.scnId !== null && o.scnId !== void 0 && sharedScnCodes.has(o.scnId))
12321
- onUnnamedClaim.push(namingSharedCode(o, o.scnId));
12321
+ else if (o.claimCode !== null && o.claimCode !== void 0 && sharedClaimCodes.has(o.claimCode))
12322
+ onUnnamedClaim.push(namingSharedCode(o, o.claimCode));
12322
12323
  else
12323
12324
  onUnnamedClaim.push(o);
12324
12325
  }
@@ -12326,11 +12327,11 @@ function routeObservations(evidenceObservations, scenarioIds, sharedScnCodes) {
12326
12327
  }
12327
12328
  function scenarioRow(d, evidenceObservations, citations, evidenceObligationPairs) {
12328
12329
  const pendingItems = pendingItemsOf(d);
12329
- const reconciledEvidenceObligations = evidenceObligationsOf(d.evidenceObligations).map((obligation) => reconcileEvidenceObligation(d.scnId, obligation, evidenceObservations));
12330
- const noEvidenceObligationItems = noEvidenceObligationReconciliationsOf(d.scnId, citations.observationsFor(d.scnId), evidenceObligationPairs);
12330
+ const reconciledEvidenceObligations = evidenceObligationsOf(d.evidenceObligations).map((obligation) => reconcileEvidenceObligation(d.claimCode, obligation, evidenceObservations));
12331
+ const noEvidenceObligationItems = noEvidenceObligationReconciliationsOf(d.claimCode, citations.observationsFor(d.claimCode), evidenceObligationPairs);
12331
12332
  const qualityCheckReconciliations = qualityCheckReconciliationsOf(reconciledEvidenceObligations, noEvidenceObligationItems, pendingItems);
12332
12333
  return {
12333
- claim: d.scnId,
12334
+ claim: d.claimCode,
12334
12335
  kind: "scenario",
12335
12336
  verdict: verdictFor(qualityCheckReconciliations),
12336
12337
  qualityCheckReconciliations,
@@ -12343,16 +12344,16 @@ function scenarioNameOf({ feature, title }) {
12343
12344
  function accountsByCode(scenarios) {
12344
12345
  const byCode = /* @__PURE__ */ new Map();
12345
12346
  for (const scenario of scenarios) {
12346
- const sharers = byCode.get(scenario.scnId) ?? [];
12347
+ const sharers = byCode.get(scenario.claimCode) ?? [];
12347
12348
  sharers.push(scenario);
12348
- byCode.set(scenario.scnId, sharers);
12349
+ byCode.set(scenario.claimCode, sharers);
12349
12350
  }
12350
12351
  return [...byCode.values()];
12351
12352
  }
12352
12353
  function duplicateScnCodeRow(sharer) {
12353
12354
  const items = duplicateScnCodeReconciliationsOf(sharer.evidenceObligations, scenarioNameOf(sharer));
12354
12355
  return {
12355
- claim: sharer.scnId,
12356
+ claim: sharer.claimCode,
12356
12357
  kind: "scenario",
12357
12358
  verdict: verdictFor(items),
12358
12359
  qualityCheckReconciliations: items,
@@ -12361,11 +12362,11 @@ function duplicateScnCodeRow(sharer) {
12361
12362
  }
12362
12363
  function phantomClaimRows(citations) {
12363
12364
  const rows = [];
12364
- for (const scnId of citations.phantomClaimIds) {
12365
- const observations = citations.observationsFor(scnId);
12365
+ for (const claimCode of citations.phantomClaimIds) {
12366
+ const observations = citations.observationsFor(claimCode);
12366
12367
  const items = citesUnknownScenarioReconciliationsOf(observations);
12367
12368
  rows.push({
12368
- claim: scnId,
12369
+ claim: claimCode,
12369
12370
  kind: "phantom-claim",
12370
12371
  verdict: verdictFor(items),
12371
12372
  qualityCheckReconciliations: items,
@@ -12403,12 +12404,12 @@ function untaggedScenarioRows(untaggedScenarios) {
12403
12404
  return rows;
12404
12405
  }
12405
12406
  function reconcile(scenarios, evidenceObservations, untaggedScenarios = []) {
12406
- const scenarioIds = new Set(scenarios.map((d) => d.scnId));
12407
+ const scenarioIds = new Set(scenarios.map((d) => d.claimCode));
12407
12408
  const evidenceObligationPairs = evidenceObligationPairsOf(scenarios);
12408
12409
  const observations = inEvidenceOrder(evidenceObservations);
12409
12410
  const accounts = accountsByCode(scenarios);
12410
- const sharedScnCodes = new Set(accounts.filter((sharers) => sharers.length > 1).map((sharers) => sharers[0].scnId));
12411
- const { citations, ...unnamed } = routeObservations(observations, scenarioIds, sharedScnCodes);
12411
+ const sharedClaimCodes = new Set(accounts.filter((sharers) => sharers.length > 1).map((sharers) => sharers[0].claimCode));
12412
+ const { citations, ...unnamed } = routeObservations(observations, scenarioIds, sharedClaimCodes);
12412
12413
  return {
12413
12414
  claimReconciliations: [
12414
12415
  ...accounts.flatMap((sharers) => sharers.length === 1 ? [scenarioRow(sharers[0], observations, citations, evidenceObligationPairs)] : sharers.map(duplicateScnCodeRow)),
@@ -12570,7 +12571,7 @@ function parseVitestEvidenceObservations(report, root) {
12570
12571
  const evidence = evidenceOfRunResult("never-reached-its-assertions");
12571
12572
  results.push({
12572
12573
  qualityCheckKind: layer,
12573
- scnId: null,
12574
+ claimCode: null,
12574
12575
  status: evidence.status,
12575
12576
  locator,
12576
12577
  broken: evidence.broken,
@@ -12582,14 +12583,14 @@ function parseVitestEvidenceObservations(report, root) {
12582
12583
  const evidence = evidenceOfRunResult(runResultOf(assertion.status));
12583
12584
  if (evidence === void 0)
12584
12585
  continue;
12585
- const { scnId, severalCodes } = attributionOf(citingCodesOf(assertion));
12586
+ const { claimCode, severalCodes } = attributionOf(citingCodesOf(assertion));
12586
12587
  results.push({
12587
12588
  qualityCheckKind: layer,
12588
- scnId,
12589
+ claimCode,
12589
12590
  status: evidence.status,
12590
12591
  locator,
12591
12592
  testName: assertion.fullName ?? assertion.title,
12592
- ...severalCodes ? { notes: [{ kind: "several-scn-codes", codes: severalCodes }] } : {}
12593
+ ...severalCodes ? { notes: [{ kind: "several-claim-codes", codes: severalCodes }] } : {}
12593
12594
  });
12594
12595
  }
12595
12596
  }
@@ -12643,18 +12644,18 @@ function observationOf(suite, testcase, evidence, layer) {
12643
12644
  return buildFailureOf(suite, testcase, evidence, layer);
12644
12645
  if (isClassSetupFailure(testcase))
12645
12646
  return classSetupFailureOf(testcase, evidence, layer);
12646
- const { scnId: soleCode, severalCodes } = attributionOf(citingCodesOf2(testcase));
12647
- const scnId = soleCode === null ? null : citedCode(soleCode);
12647
+ const { claimCode: soleCode, severalCodes } = attributionOf(citingCodesOf2(testcase));
12648
+ const claimCode = soleCode === null ? null : citedCode(soleCode);
12648
12649
  const locator = `${testcase.classname}::${testcase.name}`;
12649
12650
  if (evidence.broken) {
12650
- return { qualityCheckKind: layer, scnId, status: evidence.status, locator, broken: evidence.broken, message: errorTextOf(testcase) };
12651
+ return { qualityCheckKind: layer, claimCode, status: evidence.status, locator, broken: evidence.broken, message: errorTextOf(testcase) };
12651
12652
  }
12652
12653
  return {
12653
12654
  qualityCheckKind: layer,
12654
- scnId,
12655
+ claimCode,
12655
12656
  status: evidence.status,
12656
12657
  locator,
12657
- ...severalCodes ? { notes: [{ kind: "several-scn-codes", codes: severalCodes }] } : {}
12658
+ ...severalCodes ? { notes: [{ kind: "several-claim-codes", codes: severalCodes }] } : {}
12658
12659
  };
12659
12660
  }
12660
12661
  function citingCodesOf2(testcase) {
@@ -12677,7 +12678,7 @@ function isCollectionFailure(testcase) {
12677
12678
  function collectionFailureOf(testcase, evidence, layer) {
12678
12679
  return {
12679
12680
  qualityCheckKind: layer,
12680
- scnId: null,
12681
+ claimCode: null,
12681
12682
  status: evidence.status,
12682
12683
  locator: testcase.name ?? "",
12683
12684
  broken: evidence.broken,
@@ -12690,7 +12691,7 @@ function isClassSetupFailure(testcase) {
12690
12691
  function classSetupFailureOf(testcase, evidence, layer) {
12691
12692
  return {
12692
12693
  qualityCheckKind: layer,
12693
- scnId: null,
12694
+ claimCode: null,
12694
12695
  status: evidence.status,
12695
12696
  locator: testcase.classname,
12696
12697
  broken: evidence.broken,
@@ -12703,7 +12704,7 @@ function isBuildFailure(testcase) {
12703
12704
  function buildFailureOf(suite, testcase, evidence, layer) {
12704
12705
  return {
12705
12706
  qualityCheckKind: layer,
12706
- scnId: null,
12707
+ claimCode: null,
12707
12708
  status: evidence.status,
12708
12709
  locator: suite.name,
12709
12710
  broken: evidence.broken,
@@ -12739,14 +12740,14 @@ function parseRspecEvidenceObservations(report, root) {
12739
12740
  const evidence = evidenceOfRunResult(runResultOf3(example.status));
12740
12741
  if (evidence === void 0)
12741
12742
  continue;
12742
- const { scnId, severalCodes } = attributionOf(citingCodesOf3(example));
12743
+ const { claimCode, severalCodes } = attributionOf(citingCodesOf3(example));
12743
12744
  results.push({
12744
12745
  qualityCheckKind: layer,
12745
- scnId,
12746
+ claimCode,
12746
12747
  status: evidence.status,
12747
12748
  locator: example.file_path && locatorOf(example.file_path, root),
12748
12749
  testName: example.full_description,
12749
- ...severalCodes ? { notes: [{ kind: "several-scn-codes", codes: severalCodes }] } : {}
12750
+ ...severalCodes ? { notes: [{ kind: "several-claim-codes", codes: severalCodes }] } : {}
12750
12751
  });
12751
12752
  }
12752
12753
  return [...results, ...loadErrorsOf(report, layer, root)];
@@ -12764,10 +12765,10 @@ function loadErrorsOf(report, layer, root) {
12764
12765
  if (path === void 0)
12765
12766
  unnamed.push(message2);
12766
12767
  else
12767
- broken.push({ qualityCheckKind: layer, scnId: null, status: evidence.status, locator: locatorOf(path, root), broken: evidence.broken, message: message2 });
12768
+ broken.push({ qualityCheckKind: layer, claimCode: null, status: evidence.status, locator: locatorOf(path, root), broken: evidence.broken, message: message2 });
12768
12769
  }
12769
12770
  if (count > broken.length) {
12770
- broken.push({ qualityCheckKind: layer, scnId: null, status: evidence.status, broken: evidence.broken, message: unnamed.length > 0 ? unnamed.join("\n") : void 0 });
12771
+ broken.push({ qualityCheckKind: layer, claimCode: null, status: evidence.status, broken: evidence.broken, message: unnamed.length > 0 ? unnamed.join("\n") : void 0 });
12771
12772
  }
12772
12773
  return broken;
12773
12774
  }
@@ -12815,8 +12816,8 @@ function citedCodesOf(tagNames) {
12815
12816
  function scenarioObservations(scenario, locator) {
12816
12817
  const tagNames = (scenario.tags ?? []).map((t) => withoutSigil(t.name ?? ""));
12817
12818
  const layers = layersPostedAt(tagNames, fallbackLayerOf("scenario-runs"));
12818
- const { scnId, severalCodes } = attributionOf(citedCodesOf(tagNames));
12819
- const severalNotes = severalCodes ? [{ kind: "several-scn-codes", codes: severalCodes }] : [];
12819
+ const { claimCode, severalCodes } = attributionOf(citedCodesOf(tagNames));
12820
+ const severalNotes = severalCodes ? [{ kind: "several-claim-codes", codes: severalCodes }] : [];
12820
12821
  const steps = scenario.steps ?? [];
12821
12822
  const evidence = evidenceOfRunResult(runResultOf4(steps));
12822
12823
  if (evidence === void 0)
@@ -12825,7 +12826,7 @@ function scenarioObservations(scenario, locator) {
12825
12826
  const ambiguous = steps.find(isAmbiguous);
12826
12827
  return [{
12827
12828
  qualityCheckKind: layers[0],
12828
- scnId,
12829
+ claimCode,
12829
12830
  status: evidence.status,
12830
12831
  locator,
12831
12832
  broken: evidence.broken,
@@ -12834,7 +12835,7 @@ function scenarioObservations(scenario, locator) {
12834
12835
  }
12835
12836
  return layers.map((layer) => ({
12836
12837
  qualityCheckKind: layer,
12837
- scnId,
12838
+ claimCode,
12838
12839
  status: evidence.status,
12839
12840
  locator,
12840
12841
  testName: scenario.name,
@@ -27775,18 +27776,18 @@ var init_uncitedFitnessFunctions = __esm({
27775
27776
  });
27776
27777
 
27777
27778
  // ../core/dist/domain/fitnessReconciliation.js
27778
- function namedOf({ citedScn, step }) {
27779
+ function namedOf({ citedClaimCode, step }) {
27779
27780
  return {
27780
27781
  qualityCheckKind: "fitness",
27781
- fitnessFunction: citedScn,
27782
- scnId: citedScn,
27782
+ fitnessFunction: citedClaimCode,
27783
+ claimCode: citedClaimCode,
27783
27784
  ...step === void 0 ? {} : { step }
27784
27785
  };
27785
27786
  }
27786
27787
  function checkDidNotRunNote(step) {
27787
27788
  return {
27788
27789
  kind: "check-step-did-not-run",
27789
- code: step.citedScn,
27790
+ code: step.citedClaimCode,
27790
27791
  ...step.said === void 0 ? {} : { outcome: step.said }
27791
27792
  };
27792
27793
  }
@@ -27817,7 +27818,7 @@ function workflowObservationsOf(steps, isCandidate, handleOf2, stepNameOf, citat
27817
27818
  step: stepNameOf(step),
27818
27819
  exists: true,
27819
27820
  enforcedOverRealSource: step.abortsJob,
27820
- ...citation !== null ? { scnId: step.id ?? citation.scnId } : {}
27821
+ ...citation !== null ? { claimCode: step.id ?? citation.claimCode } : {}
27821
27822
  };
27822
27823
  }).sort((a, b) => a.fitnessFunction.localeCompare(b.fitnessFunction));
27823
27824
  }
@@ -27827,7 +27828,7 @@ function stepCarryingCode(steps, code, stepNameOf) {
27827
27828
  }
27828
27829
  function recordedAtSteps(recorded, steps, stepNameOf) {
27829
27830
  return recorded?.map((entry) => {
27830
- const step = stepCarryingCode(steps, entry.citedScn, stepNameOf);
27831
+ const step = stepCarryingCode(steps, entry.citedClaimCode, stepNameOf);
27831
27832
  return step === void 0 ? entry : { ...entry, step };
27832
27833
  });
27833
27834
  }
@@ -27835,7 +27836,7 @@ function fitnessObservationsOf(workflow, recorded) {
27835
27836
  if (recorded === void 0)
27836
27837
  return [...workflow];
27837
27838
  return [
27838
- ...workflow.filter((observation) => observation.scnId === void 0),
27839
+ ...workflow.filter((observation) => observation.claimCode === void 0),
27839
27840
  ...recorded.map((step) => recordedObservationOf(step))
27840
27841
  ];
27841
27842
  }
@@ -27862,9 +27863,9 @@ function handleOf(step, scripts) {
27862
27863
  const invoked = Object.keys(scripts).filter((name) => commandInvokesScript(step.command, name));
27863
27864
  return invoked[0] ?? step.identity;
27864
27865
  }
27865
- function fitnessFunctionsAmong(steps, packageJson, isCandidate, citedScn) {
27866
+ function fitnessFunctionsAmong(steps, packageJson, isCandidate, citedClaimCode) {
27866
27867
  const scripts = packageJson.scripts ?? {};
27867
- return workflowObservationsOf(steps, isCandidate, (step) => handleOf(step, scripts), qualifiedStepName, citedScn);
27868
+ return workflowObservationsOf(steps, isCandidate, (step) => handleOf(step, scripts), qualifiedStepName, citedClaimCode);
27868
27869
  }
27869
27870
  var init_runningFitnessFunctions = __esm({
27870
27871
  "../core/dist/parse/runningFitnessFunctions.js"() {
@@ -27913,11 +27914,11 @@ function scenarioCodesOf2(population, obligations) {
27913
27914
  ...obligations ? {
27914
27915
  excludedOccurrences: obligations.excludedOccurrences,
27915
27916
  untaggedScenarios: obligations.untaggedScenarios,
27916
- ...nonEmpty("sharedScnCodes", obligations.sharedScnCodes)
27917
+ ...nonEmpty("sharedClaimCodes", obligations.sharedClaimCodes)
27917
27918
  } : {}
27918
27919
  };
27919
27920
  }
27920
- function errorsOf(scenarioCodeErrors, summary) {
27921
+ function errorsOf(claimCodeErrors, summary) {
27921
27922
  const configurationNotRead2 = {
27922
27923
  ...nonEmpty("keysNotRead", summary.configurationKeysNotRead),
27923
27924
  ...nonEmpty("ofWrongKind", summary.configurationOfWrongKind),
@@ -27926,7 +27927,7 @@ function errorsOf(scenarioCodeErrors, summary) {
27926
27927
  ...nonEmpty("nonChecksNotAStepName", summary.nonChecksNotAStepName)
27927
27928
  };
27928
27929
  const errors = {
27929
- ...nonEmpty("scenarioCodeErrors", scenarioCodeErrors),
27930
+ ...nonEmpty("claimCodeErrors", claimCodeErrors),
27930
27931
  ...Object.keys(configurationNotRead2).length > 0 ? { configurationNotRead: configurationNotRead2 } : {}
27931
27932
  };
27932
27933
  return Object.keys(errors).length > 0 ? errors : void 0;
@@ -27950,7 +27951,7 @@ function runVerdict(run3) {
27950
27951
  if (hasBrokenEvidence(run3.ledger))
27951
27952
  return "unsound";
27952
27953
  if (hasScenarioCodeErrors(run3))
27953
- return "scenario-code-errors";
27954
+ return "claim-code-errors";
27954
27955
  if (!isBalanced(run3.ledger))
27955
27956
  return "out-of-balance";
27956
27957
  if (run3.strict && hasPendingItems(run3.ledger))
@@ -27990,7 +27991,7 @@ function outOfBalanceByFeature(rows, untagged, featureNames) {
27990
27991
  ...featureFile ? { featureFile } : {},
27991
27992
  count: claims.length + noScnCode,
27992
27993
  claims,
27993
- ...noScnCode > 0 ? { scenariosWithNoScnCode: noScnCode } : {}
27994
+ ...noScnCode > 0 ? { scenariosWithNoClaimCode: noScnCode } : {}
27994
27995
  };
27995
27996
  });
27996
27997
  }
@@ -28009,19 +28010,19 @@ function concludedSummary(summary, verdictInputs) {
28009
28010
  return { runVerdict: runVerdict(verdictInputs), ...rest };
28010
28011
  }
28011
28012
  function assembleRenderInput(evidenceReconciliation, ctx, evidenceObligations2, featureNames) {
28012
- const errorsInTheInputs = errorsOf(evidenceReconciliation.scenarioCodeErrors, evidenceReconciliation.summary);
28013
- const scenarioCodes = scenarioCodesOf2(evidenceReconciliation.scenarioCodePopulation, evidenceObligations2);
28014
- const byFeature = outOfBalanceByFeature(evidenceReconciliation.ledger.claimReconciliations, scenarioCodes?.untaggedScenarios ?? [], Object.fromEntries(featureNames ?? []));
28013
+ const errorsInTheInputs = errorsOf(evidenceReconciliation.claimCodeErrors, evidenceReconciliation.summary);
28014
+ const claimCodes = scenarioCodesOf2(evidenceReconciliation.scenarioCodePopulation, evidenceObligations2);
28015
+ const byFeature = outOfBalanceByFeature(evidenceReconciliation.ledger.claimReconciliations, claimCodes?.untaggedScenarios ?? [], Object.fromEntries(featureNames ?? []));
28015
28016
  return {
28016
28017
  runProvenance: provenanceObject(ctx),
28017
28018
  ...errorsInTheInputs ? { errorsInTheInputs } : {},
28018
28019
  summary: concludedSummary({
28019
- ...scenarioCodes ? { scenarioCodes } : {},
28020
+ ...claimCodes ? { claimCodes } : {},
28020
28021
  ...summaryStatingNoFault(evidenceReconciliation.summary),
28021
28022
  ...byFeature.length > 0 ? { outOfBalanceByFeature: byFeature } : {}
28022
28023
  }, {
28023
28024
  ledger: evidenceReconciliation.ledger,
28024
- scenarioCodeErrors: evidenceReconciliation.scenarioCodeErrors,
28025
+ claimCodeErrors: evidenceReconciliation.claimCodeErrors,
28025
28026
  strict: ctx.strict === true
28026
28027
  }),
28027
28028
  claimReconciliations: evidenceReconciliation.ledger.claimReconciliations
@@ -28048,8 +28049,8 @@ function reportOf(outcome) {
28048
28049
  function recordedCheckStepsOf(record) {
28049
28050
  if (record === void 0)
28050
28051
  return void 0;
28051
- return Object.entries(record).filter(([citedScn]) => SCN_CODE.test(citedScn)).map(([citedScn, step]) => ({
28052
- citedScn,
28052
+ return Object.entries(record).filter(([citedClaimCode]) => SCN_CODE.test(citedClaimCode)).map(([citedClaimCode, step]) => ({
28053
+ citedClaimCode,
28053
28054
  report: reportOf(step.outcome),
28054
28055
  ...step.outcome === void 0 ? {} : { said: step.outcome }
28055
28056
  }));
@@ -28066,11 +28067,11 @@ var init_ciStepRecord = __esm({
28066
28067
  });
28067
28068
 
28068
28069
  // ../core/dist/parse/fitnessCitations.js
28069
- function citationOfCitedRow(citedScn) {
28070
- if (citedScn === void 0)
28070
+ function citationOfCitedRow(citedClaimCode) {
28071
+ if (citedClaimCode === void 0)
28071
28072
  return null;
28072
- const scnId = bareTerm(citedScn);
28073
- return SCN_CODE.test(scnId) ? { scnId } : null;
28073
+ const claimCode = bareTerm(citedClaimCode);
28074
+ return SCN_CODE.test(claimCode) ? { claimCode } : null;
28074
28075
  }
28075
28076
  var init_fitnessCitations = __esm({
28076
28077
  "../core/dist/parse/fitnessCitations.js"() {
@@ -28084,7 +28085,7 @@ var init_fitnessCitations = __esm({
28084
28085
  function readTargetCorpus(features, deferralTags) {
28085
28086
  return {
28086
28087
  scenarios: features.flatMap((feature) => namedScenariosOf(feature, deferralTags)),
28087
- citedRow: (citedScn) => citationOfCitedRow(citedScn)
28088
+ citedRow: (citedClaimCode) => citationOfCitedRow(citedClaimCode)
28088
28089
  };
28089
28090
  }
28090
28091
  var init_targetCorpus = __esm({
@@ -28253,7 +28254,7 @@ function withConfigurationAccount(reconciliation, packageJson) {
28253
28254
  function withScenarioCodeErrors(reconciliation, input) {
28254
28255
  return {
28255
28256
  ...reconciliation,
28256
- scenarioCodeErrors: scenarioCodeErrorsOf(input.features),
28257
+ claimCodeErrors: scenarioCodeErrorsOf(input.features),
28257
28258
  scenarioCodePopulation: scenarioCodePopulationOf(input.features)
28258
28259
  };
28259
28260
  }
@@ -28331,7 +28332,7 @@ function assembleSavedReport(saved, strictGiven) {
28331
28332
  runProvenance: { ...saved.runProvenance, strict },
28332
28333
  summary: concludedSummary(saved.summary, {
28333
28334
  ledger: { claimReconciliations: saved.claimReconciliations },
28334
- scenarioCodeErrors: saved.errorsInTheInputs?.scenarioCodeErrors,
28335
+ claimCodeErrors: saved.errorsInTheInputs?.claimCodeErrors,
28335
28336
  strict
28336
28337
  })
28337
28338
  };
@@ -28361,7 +28362,7 @@ var init_messages_en2 = __esm({
28361
28362
  messages_en_default2 = {
28362
28363
  "errors-in-the-inputs-heading": "Errors in the inputs",
28363
28364
  "configuration-not-read-heading": "Configuration not read",
28364
- "scenario-code-errors-heading": "Scenario code errors",
28365
+ "claim-code-errors-heading": "Claim code errors",
28365
28366
  "configuration-not-read-intro": "The target's package.json holds configuration this run could not use. Each line below says what this run did with its entry, and every account in this report is the one the target gives without it.",
28366
28367
  "configuration-wrong-kind": "{entry} is {is} where {reads} is read, so this run read it as absent.",
28367
28368
  "configuration-unknown-key": "{key} is not a key the specController block reads, so this run read nothing from it.",
@@ -28374,22 +28375,22 @@ var init_messages_en2 = __esm({
28374
28375
  "manifest-kind-string-or-null": "a string or null",
28375
28376
  "manifest-kind-of-type": "a {type}",
28376
28377
  "proofs-never-ran": "{count, plural, one {{count} Evidence Observation never ran to a result, so the behaviour it proves was never exercised.} other {{count} Evidence Observations never ran to a result, so the behaviours they prove were never exercised.}}",
28377
- "scenario-code-error-count": "{count, plural, one {{count} scenario code error} other {{count} scenario code errors}}",
28378
- "no-feature-file-judged": "No feature file was judged, so no scenario code is vouched for.",
28379
- "clean-no-coded-scenario": "Scenario codes are clean over {featureFiles, plural, one {{featureFiles} feature file} other {{featureFiles} feature files}} carrying 0 feature codes (a feature code is the tag heading a feature file, the `<FFF>` that each `@SCN-<FFF>-<NNN>` code in that file repeats): no scenario in {featureFiles, plural, one {it} other {them}} carries an @SCN code to misfile.",
28380
- "clean-each-file-own-code": "Scenario codes are clean over {featureFiles, plural, one {{featureFiles} feature file} other {{featureFiles} feature files}} carrying {featureCodes, plural, one {{featureCodes} feature code} other {{featureCodes} feature codes}} (a feature code is the tag heading a feature file, the `<FFF>` that each `@SCN-<FFF>-<NNN>` code in that file repeats): each file carries a code of its own, and every coded scenario sits in the file its code names.",
28381
- "clean-others-no-feature-code": "Scenario codes are clean over {featureFiles, plural, one {{featureFiles} feature file} other {{featureFiles} feature files}} carrying {featureCodes, plural, one {{featureCodes} feature code} other {{featureCodes} feature codes}} (a feature code is the tag heading a feature file, the `<FFF>` that each `@SCN-<FFF>-<NNN>` code in that file repeats): each code is carried by exactly one file, every coded scenario sits in the file its code names, and the other {noFeatureCode} {noFeatureCode, plural, one {holds} other {hold}} no coded scenario.",
28378
+ "claim-code-error-count": "{count, plural, one {{count} claim code error} other {{count} claim code errors}}",
28379
+ "no-feature-file-judged": "No feature file was judged, so no claim code is vouched for.",
28380
+ "clean-no-coded-scenario": "Claim codes are clean over {featureFiles, plural, one {{featureFiles} feature file} other {{featureFiles} feature files}} carrying 0 feature codes (a feature code is the tag heading a feature file, the `<FFF>` that each `@SCN-<FFF>-<NNN>` code in that file repeats): no scenario in {featureFiles, plural, one {it} other {them}} carries a claim code to misfile.",
28381
+ "clean-each-file-own-code": "Claim codes are clean over {featureFiles, plural, one {{featureFiles} feature file} other {{featureFiles} feature files}} carrying {featureCodes, plural, one {{featureCodes} feature code} other {{featureCodes} feature codes}} (a feature code is the tag heading a feature file, the `<FFF>` that each `@SCN-<FFF>-<NNN>` code in that file repeats): each file carries a code of its own, and every coded scenario sits in the file its code names.",
28382
+ "clean-others-no-feature-code": "Claim codes are clean over {featureFiles, plural, one {{featureFiles} feature file} other {{featureFiles} feature files}} carrying {featureCodes, plural, one {{featureCodes} feature code} other {{featureCodes} feature codes}} (a feature code is the tag heading a feature file, the `<FFF>` that each `@SCN-<FFF>-<NNN>` code in that file repeats): each code is carried by exactly one file, every coded scenario sits in the file its code names, and the other {noFeatureCode} {noFeatureCode, plural, one {holds} other {hold}} no coded scenario.",
28382
28383
  "unnamed-claim-ci-steps": "{count, plural, one {{count} CI step} other {{count} CI steps}}",
28383
28384
  "unnamed-claim-ci-steps-named": "{count, plural, one {{count} CI step} other {{count} CI steps}}: {list}",
28384
- "scenario-code-errors-framing": "{count} \u2014 each misfiles a scenario code, so the by-feature cut below cannot be trusted, and the run fails (exit 1). Every account still reconciles as it would if the code were filed correctly.",
28385
- "several-scn-codes-framing": "{count} \u2014 each is a scenario carrying more than one scenario code, so no account was raised for it under any of them, and the run fails (exit 1).",
28386
- "misfiled-and-several-scn-codes-framing": "{count} \u2014 each either misfiles a scenario code, so the by-feature cut below cannot be trusted, or is a scenario carrying more than one scenario code, so no account was raised for it under any of them. The run fails (exit 1).",
28387
- "duplicate-scn-code-not-listed": `A duplicated @SCN code is not listed here: it is reported on its account's rows, as "{outcome}".`,
28385
+ "claim-code-errors-framing": "{count} \u2014 each misfiles a claim code, so the by-feature cut below cannot be trusted, and the run fails (exit 1). Every account still reconciles as it would if the code were filed correctly.",
28386
+ "several-claim-codes-framing": "{count} \u2014 each is a scenario carrying more than one claim code, so no account was raised for it under any of them, and the run fails (exit 1).",
28387
+ "misfiled-and-several-claim-codes-framing": "{count} \u2014 each either misfiles a claim code, so the by-feature cut below cannot be trusted, or is a scenario carrying more than one claim code, so no account was raised for it under any of them. The run fails (exit 1).",
28388
+ "duplicate-claim-code-not-listed": `A duplicated claim code is not listed here: it is reported on its account's rows, as "{outcome}".`,
28388
28389
  "duplicate-feature-code": "the feature code @{code} is carried by {fileCount} feature files \u2014 {files}. A feature code names exactly one feature file: a reconciliation's by-feature cut groups on it, so two files sharing a code report as one row and attribute one file's scenarios to the other. Give one of them a code of its own.",
28389
- "foreign-scn-code-carried": "{file} carries the feature code @{featureCode}, but holds the scenario @{scnId}, whose feature part names {named}. A reconciliation's by-feature cut groups on the id, so it counts this scenario under {carrierCount, plural, one {{carriers}'s row, not {file}'s. Re-code the scenario for @{featureCode}, or move it to {carriers}.} other {the one row for {named}, which {carrierCount} feature files carry \u2014 {carriers} \u2014 so that row cannot say which of them it belongs to. Re-code the scenario for @{featureCode}, or move it once a single file carries {named}.}}",
28390
- "foreign-scn-code-no-carrier": "{file} carries the feature code @{featureCode}, but holds the scenario @{scnId}, whose feature part names {named}. A reconciliation's by-feature cut groups on the id, so it opens a row for {named}, which no feature file carries as its header code, so that row stands for no file. Re-code the scenario for @{featureCode}.",
28391
- "no-feature-code": "{file} carries no feature code, but its scenarios carry @SCN codes. A feature file is the class its scenarios' codes are filed under: give it a header code of its own, and code its scenarios for it.",
28392
- "several-scn-codes": `{file}'s scenario "{scenario}" carries {codeCount} @SCN codes \u2014 {codes}. A scenario is one account, so it raises its evidence obligations under none of them, and a test citing any of them cites a code no scenario carries. Give it one code.`,
28390
+ "foreign-claim-code-carried": "{file} carries the feature code @{featureCode}, but holds the scenario @{claimCode}, whose feature part names {named}. A reconciliation's by-feature cut groups on the id, so it counts this scenario under {carrierCount, plural, one {{carriers}'s row, not {file}'s. Re-code the scenario for @{featureCode}, or move it to {carriers}.} other {the one row for {named}, which {carrierCount} feature files carry \u2014 {carriers} \u2014 so that row cannot say which of them it belongs to. Re-code the scenario for @{featureCode}, or move it once a single file carries {named}.}}",
28391
+ "foreign-claim-code-no-carrier": "{file} carries the feature code @{featureCode}, but holds the scenario @{claimCode}, whose feature part names {named}. A reconciliation's by-feature cut groups on the id, so it opens a row for {named}, which no feature file carries as its header code, so that row stands for no file. Re-code the scenario for @{featureCode}.",
28392
+ "no-feature-code": "{file} carries no feature code, but its scenarios carry claim codes. A feature file is the class its scenarios' codes are filed under: give it a header code of its own, and code its scenarios for it.",
28393
+ "several-claim-codes": `{file}'s scenario "{scenario}" carries {codeCount} claim codes \u2014 {codes}. A scenario is one account, so it raises its evidence obligations under none of them, and a test citing any of them cites a code no scenario carries. Give it one code.`,
28393
28394
  "report-title": "Evidence Reconciliation",
28394
28395
  "run-provenance-heading": "Run provenance",
28395
28396
  "provenance-target-repo": "Target repo: {target}",
@@ -28411,10 +28412,10 @@ var init_messages_en2 = __esm({
28411
28412
  "summary-heading": "Summary",
28412
28413
  "run-verdict-heading": "Run verdict",
28413
28414
  "verdict-exit": "exit {code}",
28414
- "scenario-code-errors-headline": "**SCENARIO CODE ERRORS**",
28415
- "scenario-code-errors-gloss": "the corpus files a scenario code under the wrong feature, so the by-feature grouping cannot be trusted. Read `{heading}` above.{alsoOutOfBalance} This run FAILED.",
28416
- "several-scn-codes-gloss": "a scenario in the corpus carries more than one scenario code, so no account was raised for it under any of them. Read `{heading}` above.{alsoOutOfBalance} This run FAILED.",
28417
- "misfiled-and-several-scn-codes-gloss": "the corpus files a scenario code under the wrong feature, so the by-feature grouping cannot be trusted, and a scenario in it carries more than one scenario code, so no account was raised for it under any of them. Read `{heading}` above.{alsoOutOfBalance} This run FAILED.",
28415
+ "claim-code-errors-headline": "**CLAIM CODE ERRORS**",
28416
+ "claim-code-errors-gloss": "the corpus files a claim code under the wrong feature, so the by-feature grouping cannot be trusted. Read `{heading}` above.{alsoOutOfBalance} This run FAILED.",
28417
+ "several-claim-codes-gloss": "a scenario in the corpus carries more than one claim code, so no account was raised for it under any of them. Read `{heading}` above.{alsoOutOfBalance} This run FAILED.",
28418
+ "misfiled-and-several-claim-codes-gloss": "the corpus files a claim code under the wrong feature, so the by-feature grouping cannot be trusted, and a scenario in it carries more than one claim code, so no account was raised for it under any of them. Read `{heading}` above.{alsoOutOfBalance} This run FAILED.",
28418
28419
  "also-out-of-balance": " The accounts do not agree either: at least one Claim Reconciliation carries a reconciling item.",
28419
28420
  "out-of-balance-headline": "**OUT-OF-BALANCE**",
28420
28421
  "out-of-balance-gloss": "the accounts do not agree. At least one Claim Reconciliation carries a reconciling item. This run FAILED.",
@@ -28430,7 +28431,7 @@ var init_messages_en2 = __esm({
28430
28431
  "reconciliation-totals-heading": "Reconciliation totals",
28431
28432
  "reconciliation-totals-claim-reconciliation-term": "A Claim Reconciliation is one row of the ledger: one claim, reconciled in its Quality Check Reconciliations. A Quality Check Reconciliation reconciles the evidence of one kind of quality check within the claim: the claim's Evidence Obligation of that kind, when it has one, against its Evidence Observations of that kind. A claim is a scenario, a phantom claim (a code that evidence cites and no scenario carries, which the table below calls an unknown Scenario) or the unnamed claim (the one row for the evidence that no scenario or phantom claim takes).",
28432
28433
  "reconciliation-totals-reconciliation-line-term": "A Reconciliation line is one line of a Quality Check Reconciliation, with its own outcome: each Evidence Observation it holds is one line, and its Evidence Obligation is one more when no Evidence Observation that ran answers it. A scenario with no Evidence Obligation, no Pending Item and no Evidence Observation still has one Quality Check Reconciliation, holding neither, and it is a single line. No line stands in for another: a scenario whose one Evidence Obligation two passing tests answer adds one to the Claim Reconciliation total and two to the Reconciliation line total.",
28433
- "reconciliation-totals-evidence-obligation-term": "An Evidence Obligation is the evidence a scenario asks for, by the tags it carries, to be met by Evidence Observations. A pending tag such as `@unitpending` defers the evidence of its kind of quality check, and a deferral tag such as `@wip` defers all of the scenario's: what a tag defers raises no Evidence Obligation and is a Pending Item instead, tallied after the table, apart from balanced and out-of-balance, when there is one. On a scenario that shares its `@SCN` code with another, no tag defers anything: it reads \"Evidence Obligation's @SCN code is carried by another Scenario\" at each kind of quality check it raises, or once when it raises none.",
28434
+ "reconciliation-totals-evidence-obligation-term": "An Evidence Obligation is the evidence a scenario asks for, by the tags it carries, to be met by Evidence Observations. A pending tag such as `@unitpending` defers the evidence of its kind of quality check, and a deferral tag such as `@wip` defers all of the scenario's: what a tag defers raises no Evidence Obligation and is a Pending Item instead, tallied after the table, apart from balanced and out-of-balance, when there is one. On a scenario that shares its claim code with another, no tag defers anything: it reads \"Evidence Obligation's claim code is carried by another Scenario\" at each kind of quality check it raises, or once when it raises none.",
28434
28435
  "reconciliation-totals-evidence-observation-term": "An Evidence Observation is one reported result of a test or a fitness function, attributed by the codes it cites: to the one scenario that carries its one code, to a phantom claim when no scenario carries its one code, and otherwise to the unnamed claim, because no one scenario can take it. One that never reached its assertions is broken: it was reported, but did not run to a result.",
28435
28436
  "subject-column": "Subject",
28436
28437
  "total-column": "Total",
@@ -28473,36 +28474,36 @@ var init_messages_en2 = __esm({
28473
28474
  "phantom-claim-reconciliations": "{count} Claim Reconciliation(s) for cited scenario ids with no real scenario",
28474
28475
  "unnamed-claim-reconciliations": "{count} Claim Reconciliation(s) for evidence observations no one scenario can take",
28475
28476
  "and-joiner": " and ",
28476
- "by-feature-table-header": "| Feature | Count | Out-of-balance `@SCN` ids |",
28477
- "no-scn-code-scenarios": "{count} with no `@SCN` code",
28478
- "codes-and-no-scn-code-scenarios": "{codes} and {count} with no `@SCN` code",
28477
+ "by-feature-table-header": "| Feature | Count | Out-of-balance claim codes |",
28478
+ "no-claim-code-scenarios": "{count} with no claim code",
28479
+ "codes-and-no-claim-code-scenarios": "{codes} and {count} with no claim code",
28479
28480
  "claim-reconciliations-heading": "Claim Reconciliations",
28480
28481
  "claim-reconciliation-tally": "{total} Claim Reconciliation(s): {balanced} balanced, {outOfBalance} out-of-balance.",
28481
28482
  "phantom-claim-tally": "{count} Claim Reconciliation(s) for cited scenario ids with no real scenario.",
28482
28483
  "unnamed-claim-tally": '{count} Claim Reconciliation(s) for evidence observations no one scenario can take, aggregated into "{unnamedClaimId}".',
28483
- "excluded-scn-occurrences": "{count} @SCN ids seen in non-tag context, excluded: each is an @SCN code written in a feature file's prose, a comment or step text rather than as a tag, so it marks no scenario and raises no claim",
28484
- "untagged-scenarios": "{count} scenario(s) carry no @SCN code",
28485
- "shared-scn-codes": "The corpus holds {scenarios} scenarios \u2014 {codes} @SCN code(s) carried by more than one scenario, each scenario named as `feature file : scenario title`:",
28486
- "shared-scn-code-scenario": "this one is {feature} : {title}",
28484
+ "excluded-claim-occurrences": "{count} claim codes seen in non-tag context, excluded: each is a claim code written in a feature file's prose, a comment or step text rather than as a tag, so it marks no scenario and raises no claim",
28485
+ "untagged-scenarios": "{count} scenario(s) carry no claim code",
28486
+ "shared-claim-codes": "The corpus holds {scenarios} scenarios \u2014 {codes} claim code(s) carried by more than one scenario, each scenario named as `feature file : scenario title`:",
28487
+ "shared-claim-code-scenario": "this one is {feature} : {title}",
28487
28488
  "claim-column": "Claim",
28488
28489
  "verdict-column": "Verdict",
28489
28490
  "reconciling-items-column": "Reconciling items",
28490
28491
  "ci-steps-column": "CI steps",
28491
- "evidence-cell-key": "Key: each evidence cell reads *obligation*/*observations*.\n- The letter says the scenario's tags raise an Evidence Obligation of that kind: (F)itness, (U)nit, (I)ntegration, (E)2e, (P)erformance. `-` means they raise none of that kind, as a pending tag raises none unless the scenario shares its `@SCN` code with another.\n- The number counts the scenario's Evidence Observations of that kind that ran. `-` means none.\n- For example, `U/2` is a unit obligation answered by two unit tests; `U/-` is a unit obligation that no unit test answered; `-/1` is one unit test citing a scenario that raises no unit obligation, which puts the row out of balance even where its unit evidence is pending.\n- A blank cell means no obligation and no Evidence Observation that ran; `\u2014` marks the row of a phantom claim or of the unnamed claim.\n- A row named `feature file : scenario title` is a scenario that carries no @SCN code. The run reads none of its tags, so its evidence cells are blank, and its reconciling item says that no Evidence Observation can link to it.\n- In Reconciling items, `\u2014` means the row has no reconciling item, and *untagged* means a scenario that carries an @SCN code and no tag that raises an Evidence Obligation.\n- On the unnamed claim's row, the counts after an item, such as `1 ran, 1 passed, 0 failed`, are of that item's own tests, and a fitness item counts its CI steps; a broken item stands alone, outside those counts.\n- CI steps names the steps the Evidence observations table gives for each kind of quality check other than fitness that the row obligates or observes, whether or not an Evidence Observation of that kind ran for the row, and the step each of the row's fitness Evidence Observations names: `U/-` beside a step names the step that runs unit tests, none of which answered this row. A blank CI steps cell means no such step is known.",
28492
+ "evidence-cell-key": "Key: each evidence cell reads *obligation*/*observations*.\n- The letter says the scenario's tags raise an Evidence Obligation of that kind: (F)itness, (U)nit, (I)ntegration, (E)2e, (P)erformance. `-` means they raise none of that kind, as a pending tag raises none unless the scenario shares its claim code with another.\n- The number counts the scenario's Evidence Observations of that kind that ran. `-` means none.\n- For example, `U/2` is a unit obligation answered by two unit tests; `U/-` is a unit obligation that no unit test answered; `-/1` is one unit test citing a scenario that raises no unit obligation, which puts the row out of balance even where its unit evidence is pending.\n- A blank cell means no obligation and no Evidence Observation that ran; `\u2014` marks the row of a phantom claim or of the unnamed claim.\n- A row named `feature file : scenario title` is a scenario that carries no claim code. The run reads none of its tags, so its evidence cells are blank, and its reconciling item says that no Evidence Observation can link to it.\n- In Reconciling items, `\u2014` means the row has no reconciling item, and *untagged* means a scenario that carries a claim code and no tag that raises an Evidence Obligation.\n- On the unnamed claim's row, the counts after an item, such as `1 ran, 1 passed, 0 failed`, are of that item's own tests, and a fitness item counts its CI steps; a broken item stands alone, outside those counts.\n- CI steps names the steps the Evidence observations table gives for each kind of quality check other than fitness that the row obligates or observes, whether or not an Evidence Observation of that kind ran for the row, and the step each of the row's fitness Evidence Observations names: `U/-` beside a step names the step that runs unit tests, none of which answered this row. A blank CI steps cell means no such step is known.",
28492
28493
  "watermelon-item-key": "- Where a row's item says its CI step or its job sets `continue-on-error`, the name in parentheses after it is its fitness function. Remove `continue-on-error` from its CI step and from its job, or set it to false, and the check's red fails the CI run.",
28493
28494
  "pending-item": "pending",
28494
28495
  "pending-item-for": "pending: {qualityCheckKind}",
28495
- "check-step-no-outcome": "{scnId}: the CI run's record carries no outcome for this check's step \u2014 so the check did not run.",
28496
- "check-step-skipped": "{scnId}: the CI run's record says this check's step was skipped \u2014 so the check did not run.",
28497
- "check-step-ended": "{scnId}: the CI run's record says this check's step ended `{outcome}` \u2014 so the check did not run.",
28496
+ "check-step-no-outcome": "{claimCode}: the CI run's record carries no outcome for this check's step \u2014 so the check did not run.",
28497
+ "check-step-skipped": "{claimCode}: the CI run's record says this check's step was skipped \u2014 so the check did not run.",
28498
+ "check-step-ended": "{claimCode}: the CI run's record says this check's step ended `{outcome}` \u2014 so the check did not run.",
28498
28499
  "ambiguous-named-step": 'The step "{step}" is ambiguous \u2014 two or more step definitions match it, so the step never ran.',
28499
28500
  "ambiguous-unnamed-step": "A step is ambiguous \u2014 two or more step definitions match it, so the step never ran.",
28500
28501
  "outcome-satisfied": "Evidence Observation satisfies its Evidence Obligation",
28501
28502
  "outcome-missing": "Evidence Observation is missing",
28502
28503
  "outcome-failing": "Evidence Observation is failing",
28503
28504
  "outcome-watermelon": "Evidence Observation is passing but its CI step or its job sets `continue-on-error` so its red might not fail the CI run",
28504
- "outcome-no-scn-code": "Evidence Obligation has no @SCN code for an Evidence Observation to link to",
28505
- "outcome-duplicate-scn-code": "Evidence Obligation's @SCN code is carried by another Scenario",
28505
+ "outcome-no-claim-code": "Evidence Obligation has no claim code for an Evidence Observation to link to",
28506
+ "outcome-duplicate-claim-code": "Evidence Obligation's claim code is carried by another Scenario",
28506
28507
  "outcome-cites-unknown-scenario": "Evidence Observation cites an unknown Scenario",
28507
28508
  "outcome-cites-no-scenario": "Evidence Observation cites no Scenario",
28508
28509
  "outcome-no-evidence-obligation": "Evidence Observation cites a Scenario with no matching Evidence Obligation",
@@ -28512,8 +28513,8 @@ var init_messages_en2 = __esm({
28512
28513
  "observation-failed": "failed",
28513
28514
  "unnamed-claim-group-counts": "{ran} ran, {passed} passed, {failed} failed",
28514
28515
  "unnamed-claim-failed-names": "(failed: {names})",
28515
- "several-scn-codes-cited": "{count} scenario codes cite {codes} \u2014 a test cites exactly one scenario, so this one credits none of them.",
28516
- "shared-scn-code": "{code} is carried by more than one scenario, so evidence citing it credits none of them.",
28516
+ "several-claim-codes-cited": "{count} claim codes cite {codes} \u2014 a test cites exactly one scenario, so this one credits none of them.",
28517
+ "shared-claim-code": "{code} is carried by more than one scenario, so evidence citing it credits none of them.",
28517
28518
  "evidence-obligation-diverges-from-outcome": 'QualityCheckReconciliation invariant (@SCN-LDG-030): outcome "{outcome}" has the evidence obligation (debit) side {presenceForOutcome} for that outcome, but it was {presenceFound}.',
28518
28519
  "evidence-observation-diverges-from-outcome": 'QualityCheckReconciliation invariant (@SCN-LDG-030): outcome "{outcome}" has the evidence observation side {presenceForOutcome} for that outcome, but it was {presenceFound}.'
28519
28520
  };
@@ -31327,27 +31328,27 @@ var init_messages4 = __esm({
31327
31328
  (function(CoreMessage2) {
31328
31329
  CoreMessage2["ErrorsInTheInputsHeading"] = "errors-in-the-inputs-heading";
31329
31330
  CoreMessage2["ConfigurationNotReadHeading"] = "configuration-not-read-heading";
31330
- CoreMessage2["ScenarioCodeErrorsHeading"] = "scenario-code-errors-heading";
31331
+ CoreMessage2["ClaimCodeErrorsHeading"] = "claim-code-errors-heading";
31331
31332
  CoreMessage2["ConfigurationNotReadIntro"] = "configuration-not-read-intro";
31332
31333
  CoreMessage2["ConfigurationWrongKind"] = "configuration-wrong-kind";
31333
31334
  CoreMessage2["ConfigurationUnknownKey"] = "configuration-unknown-key";
31334
31335
  CoreMessage2["ProofsNeverRan"] = "proofs-never-ran";
31335
- CoreMessage2["ScenarioCodeErrorCount"] = "scenario-code-error-count";
31336
+ CoreMessage2["ClaimCodeErrorCount"] = "claim-code-error-count";
31336
31337
  CoreMessage2["NoFeatureFileJudged"] = "no-feature-file-judged";
31337
31338
  CoreMessage2["CleanNoCodedScenario"] = "clean-no-coded-scenario";
31338
31339
  CoreMessage2["CleanEachFileOwnCode"] = "clean-each-file-own-code";
31339
31340
  CoreMessage2["CleanOthersNoFeatureCode"] = "clean-others-no-feature-code";
31340
31341
  CoreMessage2["UnnamedClaimCiSteps"] = "unnamed-claim-ci-steps";
31341
31342
  CoreMessage2["UnnamedClaimCiStepsNamed"] = "unnamed-claim-ci-steps-named";
31342
- CoreMessage2["ScenarioCodeErrorsFraming"] = "scenario-code-errors-framing";
31343
- CoreMessage2["SeveralScnCodesFraming"] = "several-scn-codes-framing";
31344
- CoreMessage2["MisfiledAndSeveralScnCodesFraming"] = "misfiled-and-several-scn-codes-framing";
31345
- CoreMessage2["DuplicateScnCodeNotListed"] = "duplicate-scn-code-not-listed";
31343
+ CoreMessage2["ClaimCodeErrorsFraming"] = "claim-code-errors-framing";
31344
+ CoreMessage2["SeveralClaimCodesFraming"] = "several-claim-codes-framing";
31345
+ CoreMessage2["MisfiledAndSeveralClaimCodesFraming"] = "misfiled-and-several-claim-codes-framing";
31346
+ CoreMessage2["DuplicateClaimCodeNotListed"] = "duplicate-claim-code-not-listed";
31346
31347
  CoreMessage2["DuplicateFeatureCode"] = "duplicate-feature-code";
31347
- CoreMessage2["ForeignScnCodeCarried"] = "foreign-scn-code-carried";
31348
- CoreMessage2["ForeignScnCodeNoCarrier"] = "foreign-scn-code-no-carrier";
31348
+ CoreMessage2["ForeignClaimCodeCarried"] = "foreign-claim-code-carried";
31349
+ CoreMessage2["ForeignClaimCodeNoCarrier"] = "foreign-claim-code-no-carrier";
31349
31350
  CoreMessage2["NoFeatureCode"] = "no-feature-code";
31350
- CoreMessage2["ScenarioSeveralScnCodes"] = "several-scn-codes";
31351
+ CoreMessage2["ScenarioSeveralClaimCodes"] = "several-claim-codes";
31351
31352
  CoreMessage2["RunnerKeyNotALayer"] = "runner-key-not-a-layer";
31352
31353
  CoreMessage2["NotChecksEntryMatchesNoStep"] = "not-checks-entry-matches-no-step";
31353
31354
  CoreMessage2["NotChecksEntryNotAStepName"] = "not-checks-entry-not-a-step-name";
@@ -31377,10 +31378,10 @@ var init_messages4 = __esm({
31377
31378
  CoreMessage2["SummaryHeading"] = "summary-heading";
31378
31379
  CoreMessage2["RunVerdictHeading"] = "run-verdict-heading";
31379
31380
  CoreMessage2["VerdictExit"] = "verdict-exit";
31380
- CoreMessage2["ScenarioCodeErrorsHeadline"] = "scenario-code-errors-headline";
31381
- CoreMessage2["ScenarioCodeErrorsGloss"] = "scenario-code-errors-gloss";
31382
- CoreMessage2["SeveralScnCodesGloss"] = "several-scn-codes-gloss";
31383
- CoreMessage2["MisfiledAndSeveralScnCodesGloss"] = "misfiled-and-several-scn-codes-gloss";
31381
+ CoreMessage2["ClaimCodeErrorsHeadline"] = "claim-code-errors-headline";
31382
+ CoreMessage2["ClaimCodeErrorsGloss"] = "claim-code-errors-gloss";
31383
+ CoreMessage2["SeveralClaimCodesGloss"] = "several-claim-codes-gloss";
31384
+ CoreMessage2["MisfiledAndSeveralClaimCodesGloss"] = "misfiled-and-several-claim-codes-gloss";
31384
31385
  CoreMessage2["AlsoOutOfBalance"] = "also-out-of-balance";
31385
31386
  CoreMessage2["OutOfBalanceHeadline"] = "out-of-balance-headline";
31386
31387
  CoreMessage2["OutOfBalanceGloss"] = "out-of-balance-gloss";
@@ -31440,16 +31441,16 @@ var init_messages4 = __esm({
31440
31441
  CoreMessage2["UnnamedClaimReconciliations"] = "unnamed-claim-reconciliations";
31441
31442
  CoreMessage2["AndJoiner"] = "and-joiner";
31442
31443
  CoreMessage2["ByFeatureTableHeader"] = "by-feature-table-header";
31443
- CoreMessage2["NoScnCodeScenarios"] = "no-scn-code-scenarios";
31444
- CoreMessage2["CodesAndNoScnCodeScenarios"] = "codes-and-no-scn-code-scenarios";
31444
+ CoreMessage2["NoClaimCodeScenarios"] = "no-claim-code-scenarios";
31445
+ CoreMessage2["CodesAndNoClaimCodeScenarios"] = "codes-and-no-claim-code-scenarios";
31445
31446
  CoreMessage2["ClaimReconciliationsHeading"] = "claim-reconciliations-heading";
31446
31447
  CoreMessage2["ClaimReconciliationTally"] = "claim-reconciliation-tally";
31447
31448
  CoreMessage2["PhantomClaimTally"] = "phantom-claim-tally";
31448
31449
  CoreMessage2["UnnamedClaimTally"] = "unnamed-claim-tally";
31449
- CoreMessage2["ExcludedScnOccurrences"] = "excluded-scn-occurrences";
31450
+ CoreMessage2["ExcludedClaimOccurrences"] = "excluded-claim-occurrences";
31450
31451
  CoreMessage2["UntaggedScenarios"] = "untagged-scenarios";
31451
- CoreMessage2["SharedScnCodes"] = "shared-scn-codes";
31452
- CoreMessage2["SharedScnCodeScenario"] = "shared-scn-code-scenario";
31452
+ CoreMessage2["SharedClaimCodes"] = "shared-claim-codes";
31453
+ CoreMessage2["SharedClaimCodeScenario"] = "shared-claim-code-scenario";
31453
31454
  CoreMessage2["ClaimColumn"] = "claim-column";
31454
31455
  CoreMessage2["VerdictColumn"] = "verdict-column";
31455
31456
  CoreMessage2["ReconcilingItemsColumn"] = "reconciling-items-column";
@@ -31467,8 +31468,8 @@ var init_messages4 = __esm({
31467
31468
  CoreMessage2["OutcomeMissing"] = "outcome-missing";
31468
31469
  CoreMessage2["OutcomeFailing"] = "outcome-failing";
31469
31470
  CoreMessage2["OutcomeWatermelon"] = "outcome-watermelon";
31470
- CoreMessage2["OutcomeNoScnCode"] = "outcome-no-scn-code";
31471
- CoreMessage2["OutcomeDuplicateScnCode"] = "outcome-duplicate-scn-code";
31471
+ CoreMessage2["OutcomeNoClaimCode"] = "outcome-no-claim-code";
31472
+ CoreMessage2["OutcomeDuplicateClaimCode"] = "outcome-duplicate-claim-code";
31472
31473
  CoreMessage2["OutcomeCitesUnknownScenario"] = "outcome-cites-unknown-scenario";
31473
31474
  CoreMessage2["OutcomeCitesNoScenario"] = "outcome-cites-no-scenario";
31474
31475
  CoreMessage2["OutcomeNoEvidenceObligation"] = "outcome-no-evidence-obligation";
@@ -31478,8 +31479,8 @@ var init_messages4 = __esm({
31478
31479
  CoreMessage2["ObservationFailed"] = "observation-failed";
31479
31480
  CoreMessage2["UnnamedClaimGroupCounts"] = "unnamed-claim-group-counts";
31480
31481
  CoreMessage2["UnnamedClaimFailedNames"] = "unnamed-claim-failed-names";
31481
- CoreMessage2["SeveralScnCodesCited"] = "several-scn-codes-cited";
31482
- CoreMessage2["SharedScnCode"] = "shared-scn-code";
31482
+ CoreMessage2["SeveralClaimCodesCited"] = "several-claim-codes-cited";
31483
+ CoreMessage2["SharedClaimCode"] = "shared-claim-code";
31483
31484
  CoreMessage2["EvidenceObligationDivergesFromOutcome"] = "evidence-obligation-diverges-from-outcome";
31484
31485
  CoreMessage2["EvidenceObservationDivergesFromOutcome"] = "evidence-observation-diverges-from-outcome";
31485
31486
  })(CoreMessage || (CoreMessage = {}));
@@ -31490,9 +31491,9 @@ var init_messages4 = __esm({
31490
31491
  CoreError2["NotChecksEntryMatchesNoStep"] = "not-checks-entry-matches-no-step";
31491
31492
  CoreError2["NotChecksEntryNotAStepName"] = "not-checks-entry-not-a-step-name";
31492
31493
  CoreError2["DuplicateFeatureCode"] = "duplicate-feature-code";
31493
- CoreError2["ForeignScnCode"] = "foreign-scn-code";
31494
+ CoreError2["ForeignClaimCode"] = "foreign-claim-code";
31494
31495
  CoreError2["NoFeatureCode"] = "no-feature-code";
31495
- CoreError2["SeveralScnCodes"] = "several-scn-codes";
31496
+ CoreError2["SeveralClaimCodes"] = "several-claim-codes";
31496
31497
  })(CoreError || (CoreError = {}));
31497
31498
  }
31498
31499
  });
@@ -31509,8 +31510,8 @@ var init_outcomeDescription = __esm({
31509
31510
  missing: CoreMessage.OutcomeMissing,
31510
31511
  failing: CoreMessage.OutcomeFailing,
31511
31512
  watermelon: CoreMessage.OutcomeWatermelon,
31512
- "no-scn-code": CoreMessage.OutcomeNoScnCode,
31513
- "duplicate-scn-code": CoreMessage.OutcomeDuplicateScnCode,
31513
+ "no-claim-code": CoreMessage.OutcomeNoClaimCode,
31514
+ "duplicate-claim-code": CoreMessage.OutcomeDuplicateClaimCode,
31514
31515
  "cites-unknown-scenario": CoreMessage.OutcomeCitesUnknownScenario,
31515
31516
  "cites-no-scenario": CoreMessage.OutcomeCitesNoScenario,
31516
31517
  "no-evidence-obligation": CoreMessage.OutcomeNoEvidenceObligation,
@@ -31581,20 +31582,20 @@ var init_heading = __esm({
31581
31582
 
31582
31583
  // ../core/dist/render/runVerdict.js
31583
31584
  function scenarioCodeErrorsGloss(errors, alsoOutOfBalance) {
31584
- const values = { heading: markdownHeading(3, coreMessage(CoreMessage.ScenarioCodeErrorsHeading)), alsoOutOfBalance };
31585
+ const values = { heading: markdownHeading(3, coreMessage(CoreMessage.ClaimCodeErrorsHeading)), alsoOutOfBalance };
31585
31586
  switch (scenarioCodeErrorsAre(errors)) {
31586
31587
  case "misfilings":
31587
- return coreMessage(CoreMessage.ScenarioCodeErrorsGloss, values);
31588
+ return coreMessage(CoreMessage.ClaimCodeErrorsGloss, values);
31588
31589
  case "several-codes":
31589
- return coreMessage(CoreMessage.SeveralScnCodesGloss, values);
31590
+ return coreMessage(CoreMessage.SeveralClaimCodesGloss, values);
31590
31591
  case "both":
31591
- return coreMessage(CoreMessage.MisfiledAndSeveralScnCodesGloss, values);
31592
+ return coreMessage(CoreMessage.MisfiledAndSeveralClaimCodesGloss, values);
31592
31593
  }
31593
31594
  }
31594
31595
  function scenarioCodeErrorsVerdict(ledger, errors) {
31595
31596
  const alsoOutOfBalance = isBalanced(ledger) ? "" : coreMessage(CoreMessage.AlsoOutOfBalance);
31596
31597
  return {
31597
- headline: coreMessage(CoreMessage.ScenarioCodeErrorsHeadline),
31598
+ headline: coreMessage(CoreMessage.ClaimCodeErrorsHeadline),
31598
31599
  gloss: scenarioCodeErrorsGloss(errors, alsoOutOfBalance)
31599
31600
  };
31600
31601
  }
@@ -31610,7 +31611,7 @@ function verdictFor2(verdict, ledger, corpusDir, codeErrors) {
31610
31611
  return nothingToReconcile(corpusDir);
31611
31612
  case "unsound":
31612
31613
  return UNSOUND;
31613
- case "scenario-code-errors":
31614
+ case "claim-code-errors":
31614
31615
  return scenarioCodeErrorsVerdict(ledger, codeErrors);
31615
31616
  case "out-of-balance":
31616
31617
  return OUT_OF_BALANCE;
@@ -31647,7 +31648,7 @@ var init_runVerdict2 = __esm({
31647
31648
  };
31648
31649
  runVerdictSection = (report, exitCodeOf2) => {
31649
31650
  const verdict = report.summary.runVerdict;
31650
- const line = verdictFor2(verdict, report, report.runProvenance.corpus, report.errorsInTheInputs?.scenarioCodeErrors ?? []);
31651
+ const line = verdictFor2(verdict, report, report.runProvenance.corpus, report.errorsInTheInputs?.claimCodeErrors ?? []);
31651
31652
  const exit = coreMessage(CoreMessage.VerdictExit, { code: exitCodeOf2(verdict) });
31652
31653
  const lines = [markdownHeading(3, coreMessage(CoreMessage.RunVerdictHeading)), "", `${line.headline} \u2014 ${line.gloss} (${exit})`];
31653
31654
  if (verdict === "balanced" && hasPendingItems(report)) {
@@ -31673,11 +31674,11 @@ var init_errorEntry = __esm({
31673
31674
  function scenarioCodeErrorsFraming(errors, count) {
31674
31675
  switch (scenarioCodeErrorsAre(errors)) {
31675
31676
  case "misfilings":
31676
- return coreMessage(CoreMessage.ScenarioCodeErrorsFraming, { count });
31677
+ return coreMessage(CoreMessage.ClaimCodeErrorsFraming, { count });
31677
31678
  case "several-codes":
31678
- return coreMessage(CoreMessage.SeveralScnCodesFraming, { count });
31679
+ return coreMessage(CoreMessage.SeveralClaimCodesFraming, { count });
31679
31680
  case "both":
31680
- return coreMessage(CoreMessage.MisfiledAndSeveralScnCodesFraming, { count });
31681
+ return coreMessage(CoreMessage.MisfiledAndSeveralClaimCodesFraming, { count });
31681
31682
  }
31682
31683
  }
31683
31684
  function cleanStatement(cleanliness) {
@@ -31707,11 +31708,11 @@ function worded(error) {
31707
31708
  files: error.files.join(", ")
31708
31709
  });
31709
31710
  }
31710
- if (error.kind === "foreign-scn-code")
31711
+ if (error.kind === "foreign-claim-code")
31711
31712
  return foreignWorded(error);
31712
31713
  if (error.kind === "no-feature-code")
31713
31714
  return coreMessage(CoreMessage.NoFeatureCode, { file: error.files.join(", ") });
31714
- return coreMessage(CoreMessage.ScenarioSeveralScnCodes, {
31715
+ return coreMessage(CoreMessage.ScenarioSeveralClaimCodes, {
31715
31716
  file: error.files.join(", "),
31716
31717
  scenario: error.scenario,
31717
31718
  codeCount: error.codes.length,
@@ -31719,13 +31720,13 @@ function worded(error) {
31719
31720
  });
31720
31721
  }
31721
31722
  function foreignWorded(error) {
31722
- const values = { file: error.files.join(", "), featureCode: error.featureCode, scnId: error.scnId, named: error.namedFeatureCode };
31723
+ const values = { file: error.files.join(", "), featureCode: error.featureCode, claimCode: error.claimCode, named: error.namedFeatureCode };
31723
31724
  const carriers = foreignCodeCarriersOf(error);
31724
31725
  switch (carriers.kind) {
31725
31726
  case "none":
31726
- return coreMessage(CoreMessage.ForeignScnCodeNoCarrier, values);
31727
+ return coreMessage(CoreMessage.ForeignClaimCodeNoCarrier, values);
31727
31728
  case "carried":
31728
- return coreMessage(CoreMessage.ForeignScnCodeCarried, {
31729
+ return coreMessage(CoreMessage.ForeignClaimCodeCarried, {
31729
31730
  ...values,
31730
31731
  carrierCount: carriers.files.length,
31731
31732
  carriers: carriers.files.join(", ")
@@ -31743,30 +31744,30 @@ var init_scenarioCodeErrorsSection = __esm({
31743
31744
  init_errorEntry();
31744
31745
  CODE_OF = {
31745
31746
  "duplicate-feature-code": CoreError.DuplicateFeatureCode,
31746
- "foreign-scn-code": CoreError.ForeignScnCode,
31747
+ "foreign-claim-code": CoreError.ForeignClaimCode,
31747
31748
  "no-feature-code": CoreError.NoFeatureCode,
31748
- "several-scn-codes": CoreError.SeveralScnCodes
31749
+ "several-claim-codes": CoreError.SeveralClaimCodes
31749
31750
  };
31750
31751
  scenarioCodeErrorsSection = (report) => {
31751
- const errors = report.errorsInTheInputs?.scenarioCodeErrors;
31752
+ const errors = report.errorsInTheInputs?.claimCodeErrors;
31752
31753
  if (errors === void 0)
31753
31754
  return [];
31754
- const count = coreMessage(CoreMessage.ScenarioCodeErrorCount, { count: errors.length });
31755
+ const count = coreMessage(CoreMessage.ClaimCodeErrorCount, { count: errors.length });
31755
31756
  return [
31756
- markdownHeading(3, coreMessage(CoreMessage.ScenarioCodeErrorsHeading)),
31757
+ markdownHeading(3, coreMessage(CoreMessage.ClaimCodeErrorsHeading)),
31757
31758
  "",
31758
31759
  scenarioCodeErrorsFraming(errors, count),
31759
31760
  "",
31760
31761
  ...errors.map((error) => errorEntry(CODE_OF[error.kind], worded(error))),
31761
31762
  "",
31762
- coreMessage(CoreMessage.DuplicateScnCodeNotListed, { outcome: coreMessage(CoreMessage.OutcomeDuplicateScnCode) }),
31763
+ coreMessage(CoreMessage.DuplicateClaimCodeNotListed, { outcome: coreMessage(CoreMessage.OutcomeDuplicateClaimCode) }),
31763
31764
  ""
31764
31765
  ];
31765
31766
  };
31766
31767
  scenarioCodesCleanStatement = (report) => {
31767
- if (report.errorsInTheInputs?.scenarioCodeErrors !== void 0)
31768
+ if (report.errorsInTheInputs?.claimCodeErrors !== void 0)
31768
31769
  return [];
31769
- const { featureFiles, featureCodes } = report.summary.scenarioCodes ?? {};
31770
+ const { featureFiles, featureCodes } = report.summary.claimCodes ?? {};
31770
31771
  if (typeof featureFiles !== "number" || typeof featureCodes !== "number")
31771
31772
  return [];
31772
31773
  return [cleanStatement(scenarioCodeCleanlinessOf({ featureFiles, featureCodes })), ""];
@@ -32141,10 +32142,10 @@ var init_evidenceGrid = __esm({
32141
32142
  // ../core/dist/render/remarkWords.js
32142
32143
  function noteWords(note) {
32143
32144
  switch (note.kind) {
32144
- case "several-scn-codes":
32145
- return coreMessage(CoreMessage.SeveralScnCodesCited, { count: note.codes.length, codes: note.codes.join(", ") });
32146
- case "shared-scn-code":
32147
- return coreMessage(CoreMessage.SharedScnCode, { code: note.code });
32145
+ case "several-claim-codes":
32146
+ return coreMessage(CoreMessage.SeveralClaimCodesCited, { count: note.codes.length, codes: note.codes.join(", ") });
32147
+ case "shared-claim-code":
32148
+ return coreMessage(CoreMessage.SharedClaimCode, { code: note.code });
32148
32149
  case "ambiguous-step":
32149
32150
  return note.step === void 0 ? coreMessage(CoreMessage.AmbiguousUnnamedStep) : coreMessage(CoreMessage.AmbiguousNamedStep, { step: note.step });
32150
32151
  case "check-step-did-not-run":
@@ -32153,10 +32154,10 @@ function noteWords(note) {
32153
32154
  }
32154
32155
  function checkStepWords(code, outcome) {
32155
32156
  if (outcome === void 0)
32156
- return coreMessage(CoreMessage.CheckStepNoOutcome, { scnId: code });
32157
+ return coreMessage(CoreMessage.CheckStepNoOutcome, { claimCode: code });
32157
32158
  if (outcome === "skipped")
32158
- return coreMessage(CoreMessage.CheckStepSkipped, { scnId: code });
32159
- return coreMessage(CoreMessage.CheckStepEnded, { scnId: code, outcome });
32159
+ return coreMessage(CoreMessage.CheckStepSkipped, { claimCode: code });
32160
+ return coreMessage(CoreMessage.CheckStepEnded, { claimCode: code, outcome });
32160
32161
  }
32161
32162
  function remarkWordsOf({ message: message2, notes = [] }) {
32162
32163
  const words2 = [...message2 === void 0 || message2.trim() === "" ? [] : [message2], ...notes.map(noteWords)];
@@ -32179,12 +32180,12 @@ function citingNoScenario(lines) {
32179
32180
  return lines.filter((line) => line.outcome === "cites-no-scenario").flatMap((line) => line.evidenceObservation ?? []);
32180
32181
  }
32181
32182
  function sharedScnCodeOf(observation) {
32182
- const [code = null] = (observation.notes ?? []).flatMap((note) => note.kind === "shared-scn-code" ? [note.code] : []);
32183
+ const [code = null] = (observation.notes ?? []).flatMap((note) => note.kind === "shared-claim-code" ? [note.code] : []);
32183
32184
  return code;
32184
32185
  }
32185
32186
  function remarksOf(observations) {
32186
32187
  return observations.flatMap(({ message: message2, notes = [] }) => {
32187
- const kept = notes.filter((note) => note.kind !== "shared-scn-code");
32188
+ const kept = notes.filter((note) => note.kind !== "shared-claim-code");
32188
32189
  return message2 === void 0 && kept.length === 0 ? [] : [{ ...message2 !== void 0 ? { message: message2 } : {}, ...kept.length > 0 ? { notes: kept } : {} }];
32189
32190
  });
32190
32191
  }
@@ -32234,7 +32235,7 @@ var init_unnamedClaimGroups = __esm({
32234
32235
  // ../core/dist/render/markdown.js
32235
32236
  function renderLine(line) {
32236
32237
  const sentence = `${outcomeDescription(line.outcome)}${scenarioClauseOf(line)}`;
32237
- if (line.outcome === "both-missing" || line.outcome === "no-scn-code" || line.qualityCheckKind === void 0) {
32238
+ if (line.outcome === "both-missing" || line.outcome === "no-claim-code" || line.qualityCheckKind === void 0) {
32238
32239
  return sentence;
32239
32240
  }
32240
32241
  const head = `${line.qualityCheckKind}: ${sentence}`;
@@ -32253,7 +32254,7 @@ function namedSuffix(o) {
32253
32254
  return quotedSuffix((isFitnessObservation(o) ? [o.fitnessFunction] : [o.locator, o.testName]).map(reported));
32254
32255
  }
32255
32256
  function scenarioClauseOf({ scenario }) {
32256
- return scenario === void 0 ? "" : ` \u2014 ${coreMessage(CoreMessage.SharedScnCodeScenario, { feature: reportedName(scenario.feature), title: reportedName(scenario.title) })}`;
32257
+ return scenario === void 0 ? "" : ` \u2014 ${coreMessage(CoreMessage.SharedClaimCodeScenario, { feature: reportedName(scenario.feature), title: reportedName(scenario.title) })}`;
32257
32258
  }
32258
32259
  function brokenSuffix(o) {
32259
32260
  return quotedSuffix([reported(o.locator), remarkHeadlineOf(o, reportedName)]);
@@ -32270,7 +32271,7 @@ function renderPendingItem(item) {
32270
32271
  }
32271
32272
  function renderFileGroup(group) {
32272
32273
  const remarks = group.remarks.flatMap((remark) => remarkHeadlineOf(remark, reportedName) ?? []);
32273
- const code = group.sharedScnCode === void 0 ? [] : [coreMessage(CoreMessage.SharedScnCode, { code: group.sharedScnCode })];
32274
+ const code = group.sharedScnCode === void 0 ? [] : [coreMessage(CoreMessage.SharedClaimCode, { code: group.sharedScnCode })];
32274
32275
  const said = [.../* @__PURE__ */ new Set([...code, ...remarks])].filter((part) => part !== "").join(" / ");
32275
32276
  const counts = coreMessage(CoreMessage.UnnamedClaimGroupCounts, { ran: group.ran, passed: group.passed, failed: group.failed });
32276
32277
  const names = group.failedNames.map(reportedName).filter((name) => name !== "");
@@ -32293,7 +32294,7 @@ function renderUnnamedClaimGroup(group) {
32293
32294
  if (!("names" in group))
32294
32295
  return renderFileGroup(group);
32295
32296
  const steps = unnamedClaimCiSteps(unnamedClaimCiStepsViewOf(group.names.map(reportedName)));
32296
- const remark = group.sharedScnCode === void 0 ? "" : ` (${coreMessage(CoreMessage.SharedScnCode, { code: group.sharedScnCode })})`;
32297
+ const remark = group.sharedScnCode === void 0 ? "" : ` (${coreMessage(CoreMessage.SharedClaimCode, { code: group.sharedScnCode })})`;
32297
32298
  return `fitness: ${outcomeDescription("cites-no-scenario")}${remark} \u2014 ${steps}`;
32298
32299
  }
32299
32300
  function renderUnnamedClaimItems(lines) {
@@ -32328,15 +32329,15 @@ function byFeatureTableLines(groups) {
32328
32329
  return lines;
32329
32330
  }
32330
32331
  function idsCell(group) {
32331
- const noScnCodeCount = group.scenariosWithNoScnCode ?? 0;
32332
+ const noScnCodeCount = group.scenariosWithNoClaimCode ?? 0;
32332
32333
  if (noScnCodeCount === 0)
32333
32334
  return codeList(group.claims);
32334
32335
  const view = outOfBalanceCodesOf(group);
32335
32336
  switch (view.kind) {
32336
32337
  case "none":
32337
- return coreMessage(CoreMessage.NoScnCodeScenarios, { count: noScnCodeCount });
32338
+ return coreMessage(CoreMessage.NoClaimCodeScenarios, { count: noScnCodeCount });
32338
32339
  case "some":
32339
- return coreMessage(CoreMessage.CodesAndNoScnCodeScenarios, { codes: codeList(view.codes), count: noScnCodeCount });
32340
+ return coreMessage(CoreMessage.CodesAndNoClaimCodeScenarios, { codes: codeList(view.codes), count: noScnCodeCount });
32340
32341
  }
32341
32342
  }
32342
32343
  function ungroupedOutOfBalance(totals) {
@@ -32369,8 +32370,8 @@ function sharedScnCodeLines(shared, scenarios) {
32369
32370
  if (shared.length === 0)
32370
32371
  return [];
32371
32372
  return [
32372
- `- ${coreMessage(CoreMessage.SharedScnCodes, { scenarios, codes: shared.length })}`,
32373
- ...shared.map((code) => ` - ${code.scnId}: ${code.scenarios.map((s) => `${s.feature} : ${s.title}`).join("; ")}`)
32373
+ `- ${coreMessage(CoreMessage.SharedClaimCodes, { scenarios, codes: shared.length })}`,
32374
+ ...shared.map((code) => ` - ${code.claimCode}: ${code.scenarios.map((s) => `${s.feature} : ${s.title}`).join("; ")}`)
32374
32375
  ];
32375
32376
  }
32376
32377
  function ledgerTableLines(claims, columns, stepsByQualityCheckKind) {
@@ -32534,14 +32535,14 @@ var init_markdown = __esm({
32534
32535
  ];
32535
32536
  };
32536
32537
  scenarioCodeFactsSection = (report) => {
32537
- const codes = report.summary.scenarioCodes;
32538
+ const codes = report.summary.claimCodes;
32538
32539
  if (codes?.excludedOccurrences === void 0)
32539
32540
  return [];
32540
- const lines = [`- ${coreMessage(CoreMessage.ExcludedScnOccurrences, { count: codes.excludedOccurrences })}`];
32541
+ const lines = [`- ${coreMessage(CoreMessage.ExcludedClaimOccurrences, { count: codes.excludedOccurrences })}`];
32541
32542
  const untagged = (codes.untaggedScenarios ?? []).length;
32542
32543
  if (untagged > 0)
32543
32544
  lines.push(`- ${coreMessage(CoreMessage.UntaggedScenarios, { count: untagged })}`);
32544
- lines.push(...sharedScnCodeLines(codes.sharedScnCodes ?? [], report.claimReconciliations.filter(isScenario).length));
32545
+ lines.push(...sharedScnCodeLines(codes.sharedClaimCodes ?? [], report.claimReconciliations.filter(isScenario).length));
32545
32546
  return [...lines, ""];
32546
32547
  };
32547
32548
  SECTIONS = [
@@ -32937,14 +32938,14 @@ var init_inputShapes = __esm({
32937
32938
  }
32938
32939
  },
32939
32940
  evidenceObservations: { fields: {} },
32940
- scenarioCodes: {
32941
+ claimCodes: {
32941
32942
  fields: {
32942
32943
  untaggedScenarios: { list: SCENARIO_NAME },
32943
- sharedScnCodes: { list: { fields: { scenarios: { list: SCENARIO_NAME } } } }
32944
+ sharedClaimCodes: { list: { fields: { scenarios: { list: SCENARIO_NAME } } } }
32944
32945
  }
32945
32946
  }
32946
32947
  },
32947
- required: ["reconciliationTotals", "evidenceObservations", "scenarioCodes"]
32948
+ required: ["reconciliationTotals", "evidenceObservations", "claimCodes"]
32948
32949
  },
32949
32950
  claimReconciliations: {
32950
32951
  list: {
@@ -32958,7 +32959,7 @@ var init_inputShapes = __esm({
32958
32959
  },
32959
32960
  errorsInTheInputs: {
32960
32961
  fields: {
32961
- scenarioCodeErrors: { list: "anything" },
32962
+ claimCodeErrors: { list: "anything" },
32962
32963
  configurationNotRead: {
32963
32964
  fields: {
32964
32965
  keysNotRead: { list: "anything" },
@@ -32969,7 +32970,7 @@ var init_inputShapes = __esm({
32969
32970
  }
32970
32971
  }
32971
32972
  },
32972
- retired: { scenarioCodes: "scenarioCodeErrors", configuration: "configurationNotRead" }
32973
+ retired: { scenarioCodes: "claimCodeErrors", configuration: "configurationNotRead" }
32973
32974
  }
32974
32975
  },
32975
32976
  required: ["runProvenance", "summary", "claimReconciliations"],
@@ -33342,14 +33343,14 @@ var init_exitStatus = __esm({
33342
33343
  EXIT_CODE = {
33343
33344
  balanced: 0,
33344
33345
  "out-of-balance": 1,
33345
- "scenario-code-errors": 1,
33346
+ "claim-code-errors": 1,
33346
33347
  pending: 3,
33347
33348
  unsound: 4,
33348
33349
  "nothing-to-reconcile": 5
33349
33350
  };
33350
33351
  MOVED_BY_EXIT_ZERO = /* @__PURE__ */ new Set([
33351
33352
  "out-of-balance",
33352
- "scenario-code-errors",
33353
+ "claim-code-errors",
33353
33354
  "pending"
33354
33355
  ]);
33355
33356
  reportedExitCodeOf = (verdict) => exitCodeOf(verdict, false);