spec-controller 0.1.255 → 0.1.257

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
@@ -11865,14 +11865,14 @@ function evidenceOfRunResult(result) {
11865
11865
  if (result === "inconclusive")
11866
11866
  return void 0;
11867
11867
  if (result === "never-reached-its-assertions")
11868
- return { status: "failed", broken: true };
11868
+ return { status: "failed", neverRan: true };
11869
11869
  return { status: result };
11870
11870
  }
11871
11871
  function isFitnessObservation(observation) {
11872
11872
  return observation.qualityCheckKind === "fitness";
11873
11873
  }
11874
11874
  function ranAsFitnessFunction(observation) {
11875
- return isFitnessObservation(observation) && observation.broken !== true && observation.exists;
11875
+ return isFitnessObservation(observation) && observation.neverRan !== true && observation.exists;
11876
11876
  }
11877
11877
  var QUALITY_CHECK_KINDS, FALLBACK_LAYER, NON_UNIT_LAYERS;
11878
11878
  var init_journal = __esm({
@@ -11930,7 +11930,7 @@ function presenceOf(present) {
11930
11930
  return present ? "Exists" : "None";
11931
11931
  }
11932
11932
  function carriesEvidenceObligation(fields, observation) {
11933
- return fields.evidenceObligation !== void 0 && observation.broken !== true;
11933
+ return fields.evidenceObligation !== void 0 && observation.neverRan !== true;
11934
11934
  }
11935
11935
  function divergence(outcome, evidence, presenceFound) {
11936
11936
  const profile = OUTCOME_SIDE_PROFILE[outcome];
@@ -11954,7 +11954,7 @@ function makeQualityCheckReconciliation(fields) {
11954
11954
  if (fields.outcome !== void 0) {
11955
11955
  if (!isObligationLineOutcome(fields.outcome))
11956
11956
  throw divergence(fields.outcome, "evidence-observation", "None");
11957
- refuseDivergentLine(fields.outcome, presenceOf(fields.evidenceObligation !== void 0), presenceOf(observations.some((o) => o.broken !== true)));
11957
+ refuseDivergentLine(fields.outcome, presenceOf(fields.evidenceObligation !== void 0), presenceOf(observations.some((o) => o.neverRan !== true)));
11958
11958
  }
11959
11959
  for (const observation of observations) {
11960
11960
  refuseDivergentLine(observation.outcome, presenceOf(carriesEvidenceObligation(fields, observation)), "Exists");
@@ -11962,15 +11962,15 @@ function makeQualityCheckReconciliation(fields) {
11962
11962
  return fields;
11963
11963
  }
11964
11964
  function lineOutcomeOf(observation, answering) {
11965
- if (observation.broken === true)
11966
- return "broken";
11965
+ if (observation.neverRan === true)
11966
+ return "never-ran";
11967
11967
  if (answering !== "evidence-obligation")
11968
11968
  return UNOBLIGED_OUTCOME[answering];
11969
11969
  if (!isFitnessObservation(observation))
11970
11970
  return observation.status === "passed" ? "satisfied" : "failing";
11971
11971
  if (observation.status === "failed")
11972
11972
  return "failing";
11973
- return observation.enforcedOverRealSource ? "satisfied" : "watermelon";
11973
+ return observation.enforcedOverRealSource ? "satisfied" : "cannot-fail";
11974
11974
  }
11975
11975
  function linesFor(observations, answering) {
11976
11976
  return observations.map((o) => ({ ...o, outcome: lineOutcomeOf(o, answering) }));
@@ -11980,7 +11980,7 @@ function observationsField(observations) {
11980
11980
  }
11981
11981
  function reconcileEvidenceObligation(claimCode, obligation, evidenceObservations) {
11982
11982
  const citing = evidenceObservations.filter((o) => o.qualityCheckKind === obligation.qualityCheckKind && o.claimCode === claimCode);
11983
- const answered = citing.some((o) => o.broken !== true);
11983
+ const answered = citing.some((o) => o.neverRan !== true);
11984
11984
  return makeQualityCheckReconciliation({
11985
11985
  qualityCheckKind: obligation.qualityCheckKind,
11986
11986
  ...answered ? {} : { outcome: "missing" },
@@ -12025,7 +12025,7 @@ function duplicateClaimCodeReconciliationsOf(obligations, scenario) {
12025
12025
  }));
12026
12026
  }
12027
12027
  function bothMissingReconciliation() {
12028
- return makeQualityCheckReconciliation({ outcome: "both-missing" });
12028
+ return makeQualityCheckReconciliation({ outcome: "no-quality-check" });
12029
12029
  }
12030
12030
  var OUTCOME_SIDE_PROFILE, OUT_OF_BALANCE_OUTCOMES, OBLIGATION_LINE_OUTCOMES, UNOBLIGED_OUTCOME;
12031
12031
  var init_qualityCheckReconciliation = __esm({
@@ -12038,21 +12038,21 @@ var init_qualityCheckReconciliation = __esm({
12038
12038
  satisfied: { obligation: "Exists", observation: "Exists" },
12039
12039
  missing: { obligation: "Exists", observation: "None" },
12040
12040
  failing: { obligation: "Exists", observation: "Exists" },
12041
- watermelon: { obligation: "Exists", observation: "Exists" },
12041
+ "cannot-fail": { obligation: "Exists", observation: "Exists" },
12042
12042
  "no-claim-code": { obligation: "Exists", observation: "None" },
12043
12043
  "duplicate-claim-code": { obligation: "Exists", observation: "None" },
12044
- "cites-unknown-scenario": { obligation: "None", observation: "Exists" },
12045
- "cites-no-scenario": { obligation: "None", observation: "Exists" },
12046
- "no-evidence-obligation": { obligation: "None", observation: "Exists" },
12047
- broken: { obligation: "None", observation: "Exists" },
12048
- "both-missing": { obligation: "None", observation: "None" }
12044
+ "cites-unknown-claim": { obligation: "None", observation: "Exists" },
12045
+ "cites-no-claim": { obligation: "None", observation: "Exists" },
12046
+ "not-asked-for": { obligation: "None", observation: "Exists" },
12047
+ "never-ran": { obligation: "None", observation: "Exists" },
12048
+ "no-quality-check": { obligation: "None", observation: "None" }
12049
12049
  };
12050
12050
  OUT_OF_BALANCE_OUTCOMES = Object.keys(OUTCOME_SIDE_PROFILE).filter((outcome) => outcome !== "satisfied");
12051
12051
  OBLIGATION_LINE_OUTCOMES = new Set(Object.keys(OUTCOME_SIDE_PROFILE).filter((outcome) => OUTCOME_SIDE_PROFILE[outcome].observation === "None"));
12052
12052
  UNOBLIGED_OUTCOME = {
12053
- scenario: "no-evidence-obligation",
12054
- "phantom-claim": "cites-unknown-scenario",
12055
- "unnamed-claim": "cites-no-scenario"
12053
+ scenario: "not-asked-for",
12054
+ "phantom-claim": "cites-unknown-claim",
12055
+ "unnamed-claim": "cites-no-claim"
12056
12056
  };
12057
12057
  }
12058
12058
  });
@@ -12115,10 +12115,10 @@ function carriesNoClaimCode(row) {
12115
12115
  return reconcilingItemsOf(row).some((item) => item.outcome === "no-claim-code");
12116
12116
  }
12117
12117
  function ranObservationsOf(row) {
12118
- return observationsOf(row).filter((o) => o.broken !== true);
12118
+ return observationsOf(row).filter((o) => o.neverRan !== true);
12119
12119
  }
12120
12120
  function carriesQualityCheckKind(row, qualityCheckKind) {
12121
- return row.qualityCheckReconciliations.some((r) => r.qualityCheckKind === qualityCheckKind && linesOf(r).some((line) => line.outcome !== "broken"));
12121
+ return row.qualityCheckReconciliations.some((r) => r.qualityCheckKind === qualityCheckKind && linesOf(r).some((line) => line.outcome !== "never-ran"));
12122
12122
  }
12123
12123
  function namesQualityCheckKind(row, qualityCheckKind) {
12124
12124
  return obligationsOf(row).some((o) => o.qualityCheckKind === qualityCheckKind);
@@ -12166,7 +12166,7 @@ function hasNothingToReconcile(ledger) {
12166
12166
  return ledger.claimReconciliations.length === 0;
12167
12167
  }
12168
12168
  function brokenItemsOf(ledger) {
12169
- return ledger.claimReconciliations.flatMap((row) => reconcilingItemsOf(row).filter((item) => item.outcome === "broken"));
12169
+ return ledger.claimReconciliations.flatMap((row) => reconcilingItemsOf(row).filter((item) => item.outcome === "never-ran"));
12170
12170
  }
12171
12171
  function ledgerTally(ledger) {
12172
12172
  const { claimReconciliations, pending } = claimReconciliationTally(ledger);
@@ -12206,14 +12206,14 @@ function reconciliationLineTotals(ledger) {
12206
12206
  satisfied: 0,
12207
12207
  "missing": 0,
12208
12208
  "failing": 0,
12209
- "watermelon": 0,
12210
- "cites-unknown-scenario": 0,
12211
- "cites-no-scenario": 0,
12209
+ "cannot-fail": 0,
12210
+ "cites-unknown-claim": 0,
12211
+ "cites-no-claim": 0,
12212
12212
  "no-claim-code": 0,
12213
12213
  "duplicate-claim-code": 0,
12214
- "broken": 0,
12215
- "no-evidence-obligation": 0,
12216
- "both-missing": 0
12214
+ "never-ran": 0,
12215
+ "not-asked-for": 0,
12216
+ "no-quality-check": 0
12217
12217
  };
12218
12218
  const missing = /* @__PURE__ */ new Map();
12219
12219
  for (const s of ledger.claimReconciliations) {
@@ -12300,8 +12300,8 @@ var init_ledger = __esm({
12300
12300
  function postingOf(observation, carriedClaimCodes, sharedClaimCodes = /* @__PURE__ */ new Set()) {
12301
12301
  const claimCode = observation.claimCode ?? null;
12302
12302
  if (claimCode === null || sharedClaimCodes.has(claimCode)) {
12303
- if (observation.broken === true)
12304
- return { kind: "unnamed-claim", posted: "broken" };
12303
+ if (observation.neverRan === true)
12304
+ return { kind: "unnamed-claim", posted: "never-ran" };
12305
12305
  return { kind: "unnamed-claim", posted: claimCode === null ? "cites-nothing" : "cites-shared-code" };
12306
12306
  }
12307
12307
  return carriedClaimCodes.has(claimCode) ? { kind: "scenario", claimCode } : { kind: "phantom-claim", claimCode };
@@ -12622,7 +12622,7 @@ function parseVitestEvidenceObservations(report, root) {
12622
12622
  claimCode: null,
12623
12623
  status: evidence.status,
12624
12624
  locator,
12625
- broken: evidence.broken,
12625
+ neverRan: evidence.neverRan,
12626
12626
  message: file.message
12627
12627
  });
12628
12628
  continue;
@@ -12695,8 +12695,8 @@ function observationOf(suite, testcase, evidence, layer) {
12695
12695
  const { claimCode: soleCode, severalCodes } = attributionOf(citingCodesOf2(testcase));
12696
12696
  const claimCode = soleCode === null ? null : citedCode(soleCode);
12697
12697
  const locator = `${testcase.classname}::${testcase.name}`;
12698
- if (evidence.broken) {
12699
- return { qualityCheckKind: layer, claimCode, status: evidence.status, locator, broken: evidence.broken, message: errorTextOf(testcase) };
12698
+ if (evidence.neverRan) {
12699
+ return { qualityCheckKind: layer, claimCode, status: evidence.status, locator, neverRan: evidence.neverRan, message: errorTextOf(testcase) };
12700
12700
  }
12701
12701
  return {
12702
12702
  qualityCheckKind: layer,
@@ -12729,7 +12729,7 @@ function collectionFailureOf(testcase, evidence, layer) {
12729
12729
  claimCode: null,
12730
12730
  status: evidence.status,
12731
12731
  locator: testcase.name ?? "",
12732
- broken: evidence.broken,
12732
+ neverRan: evidence.neverRan,
12733
12733
  message: errorTextOf(testcase)
12734
12734
  };
12735
12735
  }
@@ -12742,7 +12742,7 @@ function classSetupFailureOf(testcase, evidence, layer) {
12742
12742
  claimCode: null,
12743
12743
  status: evidence.status,
12744
12744
  locator: testcase.classname,
12745
- broken: evidence.broken,
12745
+ neverRan: evidence.neverRan,
12746
12746
  message: errorTextOf(testcase)
12747
12747
  };
12748
12748
  }
@@ -12755,7 +12755,7 @@ function buildFailureOf(suite, testcase, evidence, layer) {
12755
12755
  claimCode: null,
12756
12756
  status: evidence.status,
12757
12757
  locator: suite.name,
12758
- broken: evidence.broken,
12758
+ neverRan: evidence.neverRan,
12759
12759
  message: failureTextOf(testcase)
12760
12760
  };
12761
12761
  }
@@ -12813,10 +12813,10 @@ function loadErrorsOf(report, layer, root) {
12813
12813
  if (path === void 0)
12814
12814
  unnamed.push(message2);
12815
12815
  else
12816
- broken.push({ qualityCheckKind: layer, claimCode: null, status: evidence.status, locator: locatorOf(path, root), broken: evidence.broken, message: message2 });
12816
+ broken.push({ qualityCheckKind: layer, claimCode: null, status: evidence.status, locator: locatorOf(path, root), neverRan: evidence.neverRan, message: message2 });
12817
12817
  }
12818
12818
  if (count > broken.length) {
12819
- broken.push({ qualityCheckKind: layer, claimCode: null, status: evidence.status, broken: evidence.broken, message: unnamed.length > 0 ? unnamed.join("\n") : void 0 });
12819
+ broken.push({ qualityCheckKind: layer, claimCode: null, status: evidence.status, neverRan: evidence.neverRan, message: unnamed.length > 0 ? unnamed.join("\n") : void 0 });
12820
12820
  }
12821
12821
  return broken;
12822
12822
  }
@@ -12871,14 +12871,14 @@ function scenarioObservations(scenario, locator, rowCodes) {
12871
12871
  const evidence = evidenceOfRunResult(runResultOf4(steps));
12872
12872
  if (evidence === void 0)
12873
12873
  return [];
12874
- if (evidence.broken) {
12874
+ if (evidence.neverRan) {
12875
12875
  const ambiguous = steps.find(isAmbiguous);
12876
12876
  return [{
12877
12877
  qualityCheckKind: layers[0],
12878
12878
  claimCode,
12879
12879
  status: evidence.status,
12880
12880
  locator,
12881
- broken: evidence.broken,
12881
+ neverRan: evidence.neverRan,
12882
12882
  notes: [ambiguousNote(ambiguous), ...severalNotes]
12883
12883
  }];
12884
12884
  }
@@ -27846,7 +27846,7 @@ function recordedObservationOf(step) {
27846
27846
  ...namedOf(step),
27847
27847
  exists: false,
27848
27848
  enforcedOverRealSource: false,
27849
- broken: true,
27849
+ neverRan: true,
27850
27850
  notes: [checkDidNotRunNote(step)]
27851
27851
  };
27852
27852
  }
@@ -28455,7 +28455,7 @@ var init_messages_en2 = __esm({
28455
28455
  "provenance-tool-sha-unknown": "unknown (not a git checkout)",
28456
28456
  "provenance-tool-version": "Tool version: {version}",
28457
28457
  "run-integrity-heading": "Run integrity: unsound",
28458
- "run-unsound": `**This run is unsound.** {proofs} A broken proof sits on the row of the claim it names, as every Evidence Observation does. On a scenario's row, an Evidence Obligation of its kind of quality check that no other proof answers reads "Evidence Observation is missing", though its test may already be written. A broken proof on the row of a phantom claim or of the unnamed claim may be the proof behind any item of its kind of quality check that reads "Evidence Observation is missing", on any row. Fix what stopped each proof listed below from running, such as its test, the code it loads, its step definitions, its runner or the CI job that runs it. Then run them again and regenerate this report.`,
28458
+ "run-unsound": `**This run is unsound.** {proofs} A proof that never ran sits on the row of the claim it names, as every Evidence Observation does. On a scenario's row, an Evidence Obligation of its kind of quality check that no other proof answers reads "Evidence Observation is missing", though its test may already be written. A proof that never ran on the row of a phantom claim or of the unnamed claim may be the proof behind any item of its kind of quality check that reads "Evidence Observation is missing", on any row. Fix what stopped each proof listed below from running, such as its test, the code it loads, its step definitions, its runner or the CI job that runs it. Then run them again and regenerate this report.`,
28459
28459
  "broken-evidence-not-named": "(evidence not named by the runner)",
28460
28460
  "broken-evidence-what-broke": "{locator} \u2014 what broke:",
28461
28461
  "broken-evidence-no-message": "(no message reported by the runner)",
@@ -28479,10 +28479,10 @@ var init_messages_en2 = __esm({
28479
28479
  "nothing-to-reconcile-gloss": "there were no accounts to agree. The ledger carries no Claim Reconciliation at all, so this run has NO BASIS FOR A VERDICT \u2014 the corpus `{corpusDir}` carried no scenario and nothing was produced. Not balanced: a run that examined nothing must not certify.",
28480
28480
  "pending-items-outstanding": "Pending Items are outstanding \u2014 deferred, not out-of-balance, so the verdict stands. A run that treats a deferral as a failure gives exit 3 under `--strict`.",
28481
28481
  "reconciliation-totals-heading": "Reconciliation totals",
28482
- "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).",
28482
+ "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) or the unnamed claim (the one row for the evidence that no scenario or phantom claim takes).",
28483
28483
  "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.",
28484
28484
  "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.",
28485
- "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.",
28485
+ "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 never ran: it was reported, but did not run to a result.",
28486
28486
  "subject-column": "Subject",
28487
28487
  "total-column": "Total",
28488
28488
  "balanced-column": "Balanced",
@@ -28539,7 +28539,7 @@ var init_messages_en2 = __esm({
28539
28539
  "verdict-column": "Verdict",
28540
28540
  "reconciling-items-column": "Reconciling items",
28541
28541
  "ci-steps-column": "CI steps",
28542
- "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.",
28542
+ "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 never-ran 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.",
28543
28543
  "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.",
28544
28544
  "pending-item": "pending",
28545
28545
  "pending-item-for": "pending: {qualityCheckKind}",
@@ -28551,14 +28551,14 @@ var init_messages_en2 = __esm({
28551
28551
  "outcome-satisfied": "Evidence Observation satisfies its Evidence Obligation",
28552
28552
  "outcome-missing": "Evidence Observation is missing",
28553
28553
  "outcome-failing": "Evidence Observation is failing",
28554
- "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",
28554
+ "outcome-watermelon": "Evidence Observation is passing, but its CI step or its job sets `continue-on-error`, so its red might not fail the build",
28555
28555
  "outcome-no-claim-code": "Evidence Obligation has no claim code for an Evidence Observation to link to",
28556
28556
  "outcome-duplicate-claim-code": "Evidence Obligation's claim code is carried by another Scenario",
28557
- "outcome-cites-unknown-scenario": "Evidence Observation cites an unknown Scenario",
28558
- "outcome-cites-no-scenario": "Evidence Observation cites no Scenario",
28559
- "outcome-no-evidence-obligation": "Evidence Observation cites a Scenario with no matching Evidence Obligation",
28560
- "outcome-broken": "Evidence Observation is broken because its proof never ran to a result",
28561
- "outcome-both-missing": "Evidence Obligation and Evidence Observation are both missing \u2014 the Scenario is untagged and uncited",
28557
+ "outcome-cites-unknown-scenario": "Evidence Observation cites a claim code no executable claim carries: a phantom claim",
28558
+ "outcome-cites-no-scenario": "Evidence Observation cites no single claim",
28559
+ "outcome-no-evidence-obligation": "Evidence Observation is of a kind of quality check its claim did not ask for",
28560
+ "outcome-broken": "Evidence Observation never ran: its check never reached its assertions",
28561
+ "outcome-both-missing": "Executable claim asks for no quality check: it carries a claim code and no kind-of-check tag, and nothing cites it",
28562
28562
  "observation-passed": "passed",
28563
28563
  "observation-failed": "failed",
28564
28564
  "unnamed-claim-group-counts": "{ran} ran, {passed} passed, {failed} failed",
@@ -31561,14 +31561,14 @@ var init_outcomeDescription = __esm({
31561
31561
  satisfied: CoreMessage.OutcomeSatisfied,
31562
31562
  missing: CoreMessage.OutcomeMissing,
31563
31563
  failing: CoreMessage.OutcomeFailing,
31564
- watermelon: CoreMessage.OutcomeWatermelon,
31564
+ "cannot-fail": CoreMessage.OutcomeWatermelon,
31565
31565
  "no-claim-code": CoreMessage.OutcomeNoClaimCode,
31566
31566
  "duplicate-claim-code": CoreMessage.OutcomeDuplicateClaimCode,
31567
- "cites-unknown-scenario": CoreMessage.OutcomeCitesUnknownScenario,
31568
- "cites-no-scenario": CoreMessage.OutcomeCitesNoScenario,
31569
- "no-evidence-obligation": CoreMessage.OutcomeNoEvidenceObligation,
31570
- broken: CoreMessage.OutcomeBroken,
31571
- "both-missing": CoreMessage.OutcomeBothMissing
31567
+ "cites-unknown-claim": CoreMessage.OutcomeCitesUnknownScenario,
31568
+ "cites-no-claim": CoreMessage.OutcomeCitesNoScenario,
31569
+ "not-asked-for": CoreMessage.OutcomeNoEvidenceObligation,
31570
+ "never-ran": CoreMessage.OutcomeBroken,
31571
+ "no-quality-check": CoreMessage.OutcomeBothMissing
31572
31572
  };
31573
31573
  outcomeDescription = (outcome) => coreMessage(OUTCOME_DESCRIPTION[outcome]);
31574
31574
  }
@@ -32234,7 +32234,7 @@ var init_remarkWords = __esm({
32234
32234
 
32235
32235
  // ../core/dist/domain/unnamedClaimGroups.js
32236
32236
  function citingNoScenario(lines) {
32237
- return lines.filter((line) => line.outcome === "cites-no-scenario").flatMap((line) => line.evidenceObservation ?? []);
32237
+ return lines.filter((line) => line.outcome === "cites-no-claim").flatMap((line) => line.evidenceObservation ?? []);
32238
32238
  }
32239
32239
  function sharedClaimCodeOf(observation) {
32240
32240
  const [code = null] = (observation.notes ?? []).flatMap((note) => note.kind === "shared-claim-code" ? [note.code] : []);
@@ -32292,7 +32292,7 @@ var init_unnamedClaimGroups = __esm({
32292
32292
  // ../core/dist/render/markdown.js
32293
32293
  function renderLine(line) {
32294
32294
  const sentence = `${outcomeDescription(line.outcome)}${scenarioClauseOf(line)}`;
32295
- if (line.outcome === "both-missing" || line.outcome === "no-claim-code" || line.qualityCheckKind === void 0) {
32295
+ if (line.outcome === "no-quality-check" || line.outcome === "no-claim-code" || line.qualityCheckKind === void 0) {
32296
32296
  return sentence;
32297
32297
  }
32298
32298
  const head = `${line.qualityCheckKind}: ${sentence}`;
@@ -32301,7 +32301,7 @@ function renderLine(line) {
32301
32301
  return head;
32302
32302
  if (!isObservationOnly(line.outcome))
32303
32303
  return `${head}${namedSuffix(observation)}`;
32304
- return `${head}${line.outcome === "broken" ? brokenSuffix(observation) : observationSuffix(observation)}`;
32304
+ return `${head}${line.outcome === "never-ran" ? brokenSuffix(observation) : observationSuffix(observation)}`;
32305
32305
  }
32306
32306
  function quotedSuffix(parts) {
32307
32307
  const where = parts.flatMap((part) => part?.trim() || []).join(": ");
@@ -32333,7 +32333,7 @@ function renderFileGroup(group) {
32333
32333
  const counts = coreMessage(CoreMessage.UnnamedClaimGroupCounts, { ran: group.ran, passed: group.passed, failed: group.failed });
32334
32334
  const names = group.failedNames.map(reportedName).filter((name) => name !== "");
32335
32335
  const failed = names.length === 0 ? "" : ` ${coreMessage(CoreMessage.UnnamedClaimFailedNames, { names: names.join(" / ") })}`;
32336
- return `${group.qualityCheckKind}: ${outcomeDescription("cites-no-scenario")}${quotedSuffix([reported(group.locator), said])} \u2014 ${counts}${failed}`;
32336
+ return `${group.qualityCheckKind}: ${outcomeDescription("cites-no-claim")}${quotedSuffix([reported(group.locator), said])} \u2014 ${counts}${failed}`;
32337
32337
  }
32338
32338
  function unnamedClaimCiStepsViewOf(names) {
32339
32339
  const named = names.filter((name) => name !== "");
@@ -32352,10 +32352,10 @@ function renderUnnamedClaimGroup(group) {
32352
32352
  return renderFileGroup(group);
32353
32353
  const steps = unnamedClaimCiSteps(unnamedClaimCiStepsViewOf(group.names.map(reportedName)));
32354
32354
  const remark = group.sharedClaimCode === void 0 ? "" : ` (${coreMessage(CoreMessage.SharedClaimCode, { code: group.sharedClaimCode })})`;
32355
- return `fitness: ${outcomeDescription("cites-no-scenario")}${remark} \u2014 ${steps}`;
32355
+ return `fitness: ${outcomeDescription("cites-no-claim")}${remark} \u2014 ${steps}`;
32356
32356
  }
32357
32357
  function renderUnnamedClaimItems(lines) {
32358
- const broken = lines.filter((line) => line.outcome === "broken");
32358
+ const broken = lines.filter((line) => line.outcome === "never-ran");
32359
32359
  return [...broken.map(renderLine), ...unnamedClaimGroupsOf(lines).map(renderUnnamedClaimGroup)];
32360
32360
  }
32361
32361
  function renderRowExceptions(s) {
@@ -509,22 +509,22 @@
509
509
  "failing": {
510
510
  "type": "number"
511
511
  },
512
- "watermelon": {
512
+ "cannot-fail": {
513
513
  "type": "number"
514
514
  },
515
515
  "missing": {
516
516
  "type": "number"
517
517
  },
518
- "cites-unknown-scenario": {
518
+ "cites-unknown-claim": {
519
519
  "type": "number"
520
520
  },
521
- "cites-no-scenario": {
521
+ "cites-no-claim": {
522
522
  "type": "number"
523
523
  },
524
- "broken": {
524
+ "never-ran": {
525
525
  "type": "number"
526
526
  },
527
- "no-evidence-obligation": {
527
+ "not-asked-for": {
528
528
  "type": "number"
529
529
  },
530
530
  "no-claim-code": {
@@ -533,22 +533,22 @@
533
533
  "duplicate-claim-code": {
534
534
  "type": "number"
535
535
  },
536
- "both-missing": {
536
+ "no-quality-check": {
537
537
  "type": "number"
538
538
  }
539
539
  },
540
540
  "required": [
541
541
  "satisfied",
542
542
  "failing",
543
- "watermelon",
543
+ "cannot-fail",
544
544
  "missing",
545
- "cites-unknown-scenario",
546
- "cites-no-scenario",
547
- "broken",
548
- "no-evidence-obligation",
545
+ "cites-unknown-claim",
546
+ "cites-no-claim",
547
+ "never-ran",
548
+ "not-asked-for",
549
549
  "no-claim-code",
550
550
  "duplicate-claim-code",
551
- "both-missing"
551
+ "no-quality-check"
552
552
  ],
553
553
  "additionalProperties": false
554
554
  },
@@ -890,15 +890,15 @@
890
890
  "enum": [
891
891
  "satisfied",
892
892
  "failing",
893
- "watermelon",
893
+ "cannot-fail",
894
894
  "missing",
895
- "cites-unknown-scenario",
896
- "cites-no-scenario",
897
- "broken",
898
- "no-evidence-obligation",
895
+ "cites-unknown-claim",
896
+ "cites-no-claim",
897
+ "never-ran",
898
+ "not-asked-for",
899
899
  "no-claim-code",
900
900
  "duplicate-claim-code",
901
- "both-missing"
901
+ "no-quality-check"
902
902
  ]
903
903
  },
904
904
  "ReconciledEvidenceObligation": {
@@ -945,7 +945,7 @@
945
945
  "locator": {
946
946
  "type": "string"
947
947
  },
948
- "broken": {
948
+ "neverRan": {
949
949
  "type": "boolean",
950
950
  "const": true
951
951
  },
@@ -999,7 +999,7 @@
999
999
  "status": {
1000
1000
  "$ref": "#/definitions/EvidenceStatus"
1001
1001
  },
1002
- "broken": {
1002
+ "neverRan": {
1003
1003
  "type": "boolean",
1004
1004
  "const": true
1005
1005
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-controller",
3
- "version": "0.1.255",
3
+ "version": "0.1.257",
4
4
  "description": "Reconcile the behaviour your scenarios name against the evidence that actually ran — the deterministic `balance` CLI.",
5
5
  "keywords": [
6
6
  "reconciliation",
@@ -26,7 +26,7 @@
26
26
  "fast-xml-parser": "^5.11.2",
27
27
  "ts-json-schema-generator": "^2.9.0",
28
28
  "yaml": "^2.9.0",
29
- "@3f-consulting/spec-controller-core": "0.1.255"
29
+ "@3f-consulting/spec-controller-core": "0.1.257"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"