spec-controller 0.1.257 → 0.1.258

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +61 -61
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -11995,10 +11995,10 @@ function reconciliationsByQualityCheckKind(observations, answering) {
11995
11995
  }
11996
11996
  return [...groups].map(([qualityCheckKind, group]) => makeQualityCheckReconciliation({ qualityCheckKind, evidenceObservations: linesFor(group, answering) }));
11997
11997
  }
11998
- function noEvidenceObligationReconciliationsOf(claimCode, postedObservations, evidenceObligationPairs) {
11998
+ function notAskedForReconciliationsOf(claimCode, postedObservations, evidenceObligationPairs) {
11999
11999
  return reconciliationsByQualityCheckKind(postedObservations.filter((o) => !evidenceObligationPairs.has(evidenceObligationPairKey(claimCode, o.qualityCheckKind))), "scenario");
12000
12000
  }
12001
- function citesUnknownScenarioReconciliationsOf(observations) {
12001
+ function citesUnknownClaimReconciliationsOf(observations) {
12002
12002
  return reconciliationsByQualityCheckKind(observations, "phantom-claim");
12003
12003
  }
12004
12004
  function unnamedClaimReconciliationsOf(observations) {
@@ -12024,7 +12024,7 @@ function duplicateClaimCodeReconciliationsOf(obligations, scenario) {
12024
12024
  ...naming
12025
12025
  }));
12026
12026
  }
12027
- function bothMissingReconciliation() {
12027
+ function noQualityCheckReconciliation() {
12028
12028
  return makeQualityCheckReconciliation({ outcome: "no-quality-check" });
12029
12029
  }
12030
12030
  var OUTCOME_SIDE_PROFILE, OUT_OF_BALANCE_OUTCOMES, OBLIGATION_LINE_OUTCOMES, UNOBLIGED_OUTCOME;
@@ -12138,9 +12138,9 @@ function stepsAt(row, qualityCheckKind, stepsByQualityCheckKind) {
12138
12138
  function ciStepsOf(row, stepsByQualityCheckKind) {
12139
12139
  return [...new Set(QUALITY_CHECK_KINDS.flatMap((qualityCheckKind) => stepsAt(row, qualityCheckKind, stepsByQualityCheckKind)))];
12140
12140
  }
12141
- function qualityCheckReconciliationsOf(reconciledEvidenceObligations, noEvidenceObligationItems, pendingItems) {
12142
- const rows = [...reconciledEvidenceObligations, ...noEvidenceObligationItems];
12143
- return rows.length === 0 && pendingItems.length === 0 ? [bothMissingReconciliation()] : rows;
12141
+ function qualityCheckReconciliationsOf(reconciledEvidenceObligations, notAskedForItems, pendingItems) {
12142
+ const rows = [...reconciledEvidenceObligations, ...notAskedForItems];
12143
+ return rows.length === 0 && pendingItems.length === 0 ? [noQualityCheckReconciliation()] : rows;
12144
12144
  }
12145
12145
  var UNNAMED_CLAIM_ID;
12146
12146
  var init_claimReconciliation = __esm({
@@ -12159,13 +12159,13 @@ function isBalanced(ledger) {
12159
12159
  function hasPendingItems(ledger) {
12160
12160
  return ledger.claimReconciliations.some((row) => row.pendingItems.length > 0);
12161
12161
  }
12162
- function hasBrokenEvidence(ledger) {
12163
- return brokenItemsOf(ledger).length > 0;
12162
+ function hasNeverRanEvidence(ledger) {
12163
+ return neverRanItemsOf(ledger).length > 0;
12164
12164
  }
12165
12165
  function hasNothingToReconcile(ledger) {
12166
12166
  return ledger.claimReconciliations.length === 0;
12167
12167
  }
12168
- function brokenItemsOf(ledger) {
12168
+ function neverRanItemsOf(ledger) {
12169
12169
  return ledger.claimReconciliations.flatMap((row) => reconcilingItemsOf(row).filter((item) => item.outcome === "never-ran"));
12170
12170
  }
12171
12171
  function ledgerTally(ledger) {
@@ -12375,8 +12375,8 @@ function routeObservations(evidenceObservations, carriedClaimCodes, sharedClaimC
12375
12375
  function scenarioRow(d, evidenceObservations, citations, evidenceObligationPairs) {
12376
12376
  const pendingItems = pendingItemsOf(d);
12377
12377
  const reconciledEvidenceObligations = evidenceObligationsOf(d.evidenceObligations).map((obligation) => reconcileEvidenceObligation(d.claimCode, obligation, evidenceObservations));
12378
- const noEvidenceObligationItems = noEvidenceObligationReconciliationsOf(d.claimCode, citations.observationsFor(d.claimCode), evidenceObligationPairs);
12379
- const qualityCheckReconciliations = qualityCheckReconciliationsOf(reconciledEvidenceObligations, noEvidenceObligationItems, pendingItems);
12378
+ const notAskedForItems = notAskedForReconciliationsOf(d.claimCode, citations.observationsFor(d.claimCode), evidenceObligationPairs);
12379
+ const qualityCheckReconciliations = qualityCheckReconciliationsOf(reconciledEvidenceObligations, notAskedForItems, pendingItems);
12380
12380
  return {
12381
12381
  claim: d.claimCode,
12382
12382
  kind: "scenario",
@@ -12411,7 +12411,7 @@ function phantomClaimRows(citations) {
12411
12411
  const rows = [];
12412
12412
  for (const claimCode of citations.phantomClaimCodes) {
12413
12413
  const observations = citations.observationsFor(claimCode);
12414
- const items = citesUnknownScenarioReconciliationsOf(observations);
12414
+ const items = citesUnknownClaimReconciliationsOf(observations);
12415
12415
  rows.push({
12416
12416
  claim: claimCode,
12417
12417
  kind: "phantom-claim",
@@ -12805,7 +12805,7 @@ function loadErrorsOf(report, layer, root) {
12805
12805
  if (count === 0)
12806
12806
  return [];
12807
12807
  const evidence = evidenceOfRunResult("never-reached-its-assertions");
12808
- const broken = [];
12808
+ const neverRan = [];
12809
12809
  const unnamed = [];
12810
12810
  for (const message2 of report.messages ?? []) {
12811
12811
  const file = LOADED_FILE.exec(message2);
@@ -12813,12 +12813,12 @@ 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), neverRan: evidence.neverRan, message: message2 });
12816
+ neverRan.push({ qualityCheckKind: layer, claimCode: null, status: evidence.status, locator: locatorOf(path, root), neverRan: evidence.neverRan, message: message2 });
12817
12817
  }
12818
- if (count > broken.length) {
12819
- broken.push({ qualityCheckKind: layer, claimCode: null, status: evidence.status, neverRan: evidence.neverRan, message: unnamed.length > 0 ? unnamed.join("\n") : void 0 });
12818
+ if (count > neverRan.length) {
12819
+ neverRan.push({ qualityCheckKind: layer, claimCode: null, status: evidence.status, neverRan: evidence.neverRan, message: unnamed.length > 0 ? unnamed.join("\n") : void 0 });
12820
12820
  }
12821
- return broken;
12821
+ return neverRan;
12822
12822
  }
12823
12823
  function locatorOf(filePath, root) {
12824
12824
  return relativizeToRoot(filePath.replace(/^\.\//, ""), root);
@@ -27997,7 +27997,7 @@ var init_renderInput = __esm({
27997
27997
  function runVerdict(run3) {
27998
27998
  if (hasNothingToReconcile(run3.ledger))
27999
27999
  return "nothing-to-reconcile";
28000
- if (hasBrokenEvidence(run3.ledger))
28000
+ if (hasNeverRanEvidence(run3.ledger))
28001
28001
  return "unsound";
28002
28002
  if (hasClaimCodeErrors(run3))
28003
28003
  return "claim-code-errors";
@@ -28456,9 +28456,9 @@ var init_messages_en2 = __esm({
28456
28456
  "provenance-tool-version": "Tool version: {version}",
28457
28457
  "run-integrity-heading": "Run integrity: unsound",
28458
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
- "broken-evidence-not-named": "(evidence not named by the runner)",
28460
- "broken-evidence-what-broke": "{locator} \u2014 what broke:",
28461
- "broken-evidence-no-message": "(no message reported by the runner)",
28459
+ "never-ran-evidence-not-named": "(evidence not named by the runner)",
28460
+ "never-ran-evidence-what-broke": "{locator} \u2014 what broke:",
28461
+ "never-ran-evidence-no-message": "(no message reported by the runner)",
28462
28462
  "summary-heading": "Summary",
28463
28463
  "run-verdict-heading": "Run verdict",
28464
28464
  "verdict-exit": "exit {code}",
@@ -28540,7 +28540,7 @@ var init_messages_en2 = __esm({
28540
28540
  "reconciling-items-column": "Reconciling items",
28541
28541
  "ci-steps-column": "CI steps",
28542
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
- "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.",
28543
+ "cannot-fail-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}",
28546
28546
  "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.",
@@ -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 build",
28554
+ "outcome-cannot-fail": "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 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",
28557
+ "outcome-cites-unknown-claim": "Evidence Observation cites a claim code no executable claim carries: a phantom claim",
28558
+ "outcome-cites-no-claim": "Evidence Observation cites no single claim",
28559
+ "outcome-not-asked-for": "Evidence Observation is of a kind of quality check its claim did not ask for",
28560
+ "outcome-never-ran": "Evidence Observation never ran: its check never reached its assertions",
28561
+ "outcome-no-quality-check": "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",
@@ -31423,9 +31423,9 @@ var init_messages4 = __esm({
31423
31423
  CoreMessage2["ProvenanceToolVersion"] = "provenance-tool-version";
31424
31424
  CoreMessage2["RunIntegrityHeading"] = "run-integrity-heading";
31425
31425
  CoreMessage2["RunUnsound"] = "run-unsound";
31426
- CoreMessage2["BrokenEvidenceNotNamed"] = "broken-evidence-not-named";
31427
- CoreMessage2["BrokenEvidenceWhatBroke"] = "broken-evidence-what-broke";
31428
- CoreMessage2["BrokenEvidenceNoMessage"] = "broken-evidence-no-message";
31426
+ CoreMessage2["NeverRanEvidenceNotNamed"] = "never-ran-evidence-not-named";
31427
+ CoreMessage2["NeverRanEvidenceWhatBroke"] = "never-ran-evidence-what-broke";
31428
+ CoreMessage2["NeverRanEvidenceNoMessage"] = "never-ran-evidence-no-message";
31429
31429
  CoreMessage2["SummaryHeading"] = "summary-heading";
31430
31430
  CoreMessage2["RunVerdictHeading"] = "run-verdict-heading";
31431
31431
  CoreMessage2["VerdictExit"] = "verdict-exit";
@@ -31507,7 +31507,7 @@ var init_messages4 = __esm({
31507
31507
  CoreMessage2["ReconcilingItemsColumn"] = "reconciling-items-column";
31508
31508
  CoreMessage2["CiStepsColumn"] = "ci-steps-column";
31509
31509
  CoreMessage2["EvidenceCellKey"] = "evidence-cell-key";
31510
- CoreMessage2["WatermelonItemKey"] = "watermelon-item-key";
31510
+ CoreMessage2["CannotFailItemKey"] = "cannot-fail-item-key";
31511
31511
  CoreMessage2["PendingItem"] = "pending-item";
31512
31512
  CoreMessage2["PendingItemFor"] = "pending-item-for";
31513
31513
  CoreMessage2["CheckStepNoOutcome"] = "check-step-no-outcome";
@@ -31518,14 +31518,14 @@ var init_messages4 = __esm({
31518
31518
  CoreMessage2["OutcomeSatisfied"] = "outcome-satisfied";
31519
31519
  CoreMessage2["OutcomeMissing"] = "outcome-missing";
31520
31520
  CoreMessage2["OutcomeFailing"] = "outcome-failing";
31521
- CoreMessage2["OutcomeWatermelon"] = "outcome-watermelon";
31521
+ CoreMessage2["OutcomeCannotFail"] = "outcome-cannot-fail";
31522
31522
  CoreMessage2["OutcomeNoClaimCode"] = "outcome-no-claim-code";
31523
31523
  CoreMessage2["OutcomeDuplicateClaimCode"] = "outcome-duplicate-claim-code";
31524
- CoreMessage2["OutcomeCitesUnknownScenario"] = "outcome-cites-unknown-scenario";
31525
- CoreMessage2["OutcomeCitesNoScenario"] = "outcome-cites-no-scenario";
31526
- CoreMessage2["OutcomeNoEvidenceObligation"] = "outcome-no-evidence-obligation";
31527
- CoreMessage2["OutcomeBroken"] = "outcome-broken";
31528
- CoreMessage2["OutcomeBothMissing"] = "outcome-both-missing";
31524
+ CoreMessage2["OutcomeCitesUnknownClaim"] = "outcome-cites-unknown-claim";
31525
+ CoreMessage2["OutcomeCitesNoClaim"] = "outcome-cites-no-claim";
31526
+ CoreMessage2["OutcomeNotAskedFor"] = "outcome-not-asked-for";
31527
+ CoreMessage2["OutcomeNeverRan"] = "outcome-never-ran";
31528
+ CoreMessage2["OutcomeNoQualityCheck"] = "outcome-no-quality-check";
31529
31529
  CoreMessage2["ObservationPassed"] = "observation-passed";
31530
31530
  CoreMessage2["ObservationFailed"] = "observation-failed";
31531
31531
  CoreMessage2["UnnamedClaimGroupCounts"] = "unnamed-claim-group-counts";
@@ -31561,14 +31561,14 @@ var init_outcomeDescription = __esm({
31561
31561
  satisfied: CoreMessage.OutcomeSatisfied,
31562
31562
  missing: CoreMessage.OutcomeMissing,
31563
31563
  failing: CoreMessage.OutcomeFailing,
31564
- "cannot-fail": CoreMessage.OutcomeWatermelon,
31564
+ "cannot-fail": CoreMessage.OutcomeCannotFail,
31565
31565
  "no-claim-code": CoreMessage.OutcomeNoClaimCode,
31566
31566
  "duplicate-claim-code": CoreMessage.OutcomeDuplicateClaimCode,
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
31567
+ "cites-unknown-claim": CoreMessage.OutcomeCitesUnknownClaim,
31568
+ "cites-no-claim": CoreMessage.OutcomeCitesNoClaim,
31569
+ "not-asked-for": CoreMessage.OutcomeNotAskedFor,
31570
+ "never-ran": CoreMessage.OutcomeNeverRan,
31571
+ "no-quality-check": CoreMessage.OutcomeNoQualityCheck
31572
31572
  };
31573
31573
  outcomeDescription = (outcome) => coreMessage(OUTCOME_DESCRIPTION[outcome]);
31574
31574
  }
@@ -32233,7 +32233,7 @@ var init_remarkWords = __esm({
32233
32233
  });
32234
32234
 
32235
32235
  // ../core/dist/domain/unnamedClaimGroups.js
32236
- function citingNoScenario(lines) {
32236
+ function citingNoClaim(lines) {
32237
32237
  return lines.filter((line) => line.outcome === "cites-no-claim").flatMap((line) => line.evidenceObservation ?? []);
32238
32238
  }
32239
32239
  function sharedClaimCodeOf(observation) {
@@ -32271,7 +32271,7 @@ function stepsGroupsOf(observations) {
32271
32271
  return [...byCode].map(([code, names]) => code === null ? { names } : { names, sharedClaimCode: code });
32272
32272
  }
32273
32273
  function unnamedClaimGroupsOf(lines) {
32274
- const observations = citingNoScenario(lines);
32274
+ const observations = citingNoClaim(lines);
32275
32275
  const byFile = /* @__PURE__ */ new Map();
32276
32276
  for (const o of observations) {
32277
32277
  if (isFitnessObservation(o))
@@ -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 === "never-ran" ? brokenSuffix(observation) : observationSuffix(observation)}`;
32304
+ return `${head}${line.outcome === "never-ran" ? neverRanSuffix(observation) : observationSuffix(observation)}`;
32305
32305
  }
32306
32306
  function quotedSuffix(parts) {
32307
32307
  const where = parts.flatMap((part) => part?.trim() || []).join(": ");
@@ -32313,7 +32313,7 @@ function namedSuffix(o) {
32313
32313
  function scenarioClauseOf({ scenario }) {
32314
32314
  return scenario === void 0 ? "" : ` \u2014 ${coreMessage(CoreMessage.SharedClaimCodeScenario, { feature: reportedName(scenario.feature), title: reportedName(scenario.title) })}`;
32315
32315
  }
32316
- function brokenSuffix(o) {
32316
+ function neverRanSuffix(o) {
32317
32317
  return quotedSuffix([reported(o.locator), remarkHeadlineOf(o, reportedName)]);
32318
32318
  }
32319
32319
  function observationSuffix(o) {
@@ -32355,8 +32355,8 @@ function renderUnnamedClaimGroup(group) {
32355
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 === "never-ran");
32359
- return [...broken.map(renderLine), ...unnamedClaimGroupsOf(lines).map(renderUnnamedClaimGroup)];
32358
+ const neverRan = lines.filter((line) => line.outcome === "never-ran");
32359
+ return [...neverRan.map(renderLine), ...unnamedClaimGroupsOf(lines).map(renderUnnamedClaimGroup)];
32360
32360
  }
32361
32361
  function renderRowExceptions(s) {
32362
32362
  const items = isUnnamedClaim(s) ? renderUnnamedClaimItems(reconcilingItemsOf(s)) : reconcilingItemsOf(s).map(renderLine);
@@ -32365,11 +32365,11 @@ function renderRowExceptions(s) {
32365
32365
  const groups = [reconciling, pending].filter((g) => g.length > 0);
32366
32366
  return groups.length === 0 ? "\u2014" : groups.join("; ");
32367
32367
  }
32368
- function brokenEvidenceNameOf({ locator }) {
32368
+ function neverRanEvidenceNameOf({ locator }) {
32369
32369
  return locator?.trim() ? { kind: "named", locator } : { kind: "unnamed" };
32370
32370
  }
32371
- function brokenEvidenceNameWords(name) {
32372
- return name.kind === "named" ? name.locator : coreMessage(CoreMessage.BrokenEvidenceNotNamed);
32371
+ function neverRanEvidenceNameWords(name) {
32372
+ return name.kind === "named" ? name.locator : coreMessage(CoreMessage.NeverRanEvidenceNotNamed);
32373
32373
  }
32374
32374
  function pendingTally(pending) {
32375
32375
  return pending > 0 ? ["", coreMessage(CoreMessage.PendingTally, { pending })] : [];
@@ -32409,7 +32409,7 @@ function ungroupedTail(ungrouped) {
32409
32409
  function evidenceKeyLines(columns) {
32410
32410
  if (columns.length === 0)
32411
32411
  return [];
32412
- return [...coreMessage(CoreMessage.EvidenceCellKey).split("\n"), coreMessage(CoreMessage.WatermelonItemKey), ""];
32412
+ return [...coreMessage(CoreMessage.EvidenceCellKey).split("\n"), coreMessage(CoreMessage.CannotFailItemKey), ""];
32413
32413
  }
32414
32414
  function ledgerTallyLines(totals) {
32415
32415
  const lines = [
@@ -32485,21 +32485,21 @@ var init_markdown = __esm({
32485
32485
  };
32486
32486
  titleSection = () => [markdownHeading(1, coreMessage(CoreMessage.ReportTitle)), ""];
32487
32487
  runIntegritySection = (report) => {
32488
- if (!hasBrokenEvidence(report))
32488
+ if (!hasNeverRanEvidence(report))
32489
32489
  return [];
32490
- const brokenObservations = brokenItemsOf(report).flatMap((line) => line.evidenceObservation ?? []);
32491
- const proofs = coreMessage(CoreMessage.ProofsNeverRan, { count: brokenObservations.length });
32490
+ const neverRanObservations = neverRanItemsOf(report).flatMap((line) => line.evidenceObservation ?? []);
32491
+ const proofs = coreMessage(CoreMessage.ProofsNeverRan, { count: neverRanObservations.length });
32492
32492
  const lines = [
32493
32493
  markdownHeading(2, coreMessage(CoreMessage.RunIntegrityHeading)),
32494
32494
  "",
32495
32495
  coreMessage(CoreMessage.RunUnsound, { proofs }),
32496
32496
  ""
32497
32497
  ];
32498
- for (const item of brokenObservations) {
32499
- const locator = brokenEvidenceNameWords(brokenEvidenceNameOf(item));
32500
- lines.push(`- ${coreMessage(CoreMessage.BrokenEvidenceWhatBroke, { locator: `\`${locator}\`` })}`);
32498
+ for (const item of neverRanObservations) {
32499
+ const locator = neverRanEvidenceNameWords(neverRanEvidenceNameOf(item));
32500
+ lines.push(`- ${coreMessage(CoreMessage.NeverRanEvidenceWhatBroke, { locator: `\`${locator}\`` })}`);
32501
32501
  lines.push("");
32502
- lines.push(...fencedBlockLines("text", remarkWordsOf(item) ?? coreMessage(CoreMessage.BrokenEvidenceNoMessage)));
32502
+ lines.push(...fencedBlockLines("text", remarkWordsOf(item) ?? coreMessage(CoreMessage.NeverRanEvidenceNoMessage)));
32503
32503
  lines.push("");
32504
32504
  }
32505
32505
  return lines;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-controller",
3
- "version": "0.1.257",
3
+ "version": "0.1.258",
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.257"
29
+ "@3f-consulting/spec-controller-core": "0.1.258"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"