spec-controller 0.1.189 → 0.1.191

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 +7 -7
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -12242,20 +12242,20 @@ function evidenceObservationTally(ledger) {
12242
12242
  onScenario: behavioural.onScenario + ranByKind.scenario,
12243
12243
  onPhantomClaim: behavioural.onPhantomClaim + ranByKind["phantom-claim"],
12244
12244
  onUnnamedClaim: behavioural.onUnnamedClaim + ranByKind["unnamed-claim"],
12245
- byQualityCheckKind: LAYER_ORDER_FITNESS_LAST.map((qualityCheckKind) => ({
12245
+ byQualityCheckKind: QUALITY_CHECK_KINDS_FITNESS_LAST.map((qualityCheckKind) => ({
12246
12246
  qualityCheckKind,
12247
12247
  count: qualityCheckKind === "fitness" ? ran : behavioural.rawByLayer[qualityCheckKind]
12248
12248
  }))
12249
12249
  };
12250
12250
  }
12251
- var LAYERS, LAYER_ORDER_FITNESS_LAST;
12251
+ var LAYERS, QUALITY_CHECK_KINDS_FITNESS_LAST;
12252
12252
  var init_ledger = __esm({
12253
12253
  "../core/dist/domain/ledger.js"() {
12254
12254
  "use strict";
12255
12255
  init_claimReconciliation();
12256
12256
  init_journal();
12257
12257
  LAYERS = QUALITY_CHECK_KINDS.filter((qualityCheckKind) => qualityCheckKind !== "fitness");
12258
- LAYER_ORDER_FITNESS_LAST = [...LAYERS, "fitness"];
12258
+ QUALITY_CHECK_KINDS_FITNESS_LAST = [...LAYERS, "fitness"];
12259
12259
  }
12260
12260
  });
12261
12261
 
@@ -12284,7 +12284,7 @@ function withSortedKeys(_key, value) {
12284
12284
  }
12285
12285
  function evidenceOrderKey(o) {
12286
12286
  const content = JSON.stringify(o, withSortedKeys);
12287
- return [LAYER_ORDER_FITNESS_LAST.indexOf(o.qualityCheckKind), o.locator ?? "", o.scnId ?? "", content].join("\0");
12287
+ return [QUALITY_CHECK_KINDS_FITNESS_LAST.indexOf(o.qualityCheckKind), o.locator ?? "", o.scnId ?? "", content].join("\0");
12288
12288
  }
12289
12289
  function inEvidenceOrder(observations) {
12290
12290
  const byKey = /* @__PURE__ */ new Map();
@@ -28585,7 +28585,7 @@ var init_messages4 = __esm({
28585
28585
  [CoreMessage.NothingToReconcileGloss]: (corpusDir) => `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.`,
28586
28586
  [CoreMessage.PendingItemsOutstanding]: "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`.",
28587
28587
  [CoreMessage.EvidenceReconciliationHeading]: "### Evidence reconciliation",
28588
- [CoreMessage.EvidenceReconciliationClaimReconciliationTerm]: "A Claim Reconciliation is one row of the ledger: the evidence for one claim, a scenario, a phantom claim or the unnamed claim, reconciled quality check by quality check.",
28588
+ [CoreMessage.EvidenceReconciliationClaimReconciliationTerm]: "A Claim Reconciliation is one row of the ledger: the evidence for one claim, a scenario, a phantom claim or the unnamed claim, reconciled for each kind of quality check.",
28589
28589
  [CoreMessage.EvidenceReconciliationReconciliationLineTerm]: "A Reconciliation line is one line of a Quality Check Reconciliation, with its own outcome. 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.",
28590
28590
  [CoreMessage.EvidenceReconciliationEvidenceObligationTerm]: "An Evidence Obligation is a proof a scenario asks for, by the tags it carries, to be met by Evidence Observations.",
28591
28591
  [CoreMessage.EvidenceReconciliationEvidenceObservationTerm]: "An Evidence Observation is one reported result of a test or a fitness function, attributed by the code it cites: to the one scenario that carries the code, to a phantom claim when no scenario carries it, and otherwise to the unnamed claim. One that never reached its assertions is broken: it was reported, but did not run to a result.",
@@ -28599,13 +28599,13 @@ var init_messages4 = __esm({
28599
28599
  [CoreMessage.PendingTally]: (pending) => `${pending} Pending Item(s) \u2014 deferred, tallied apart from balanced and out-of-balance.`,
28600
28600
  [CoreMessage.EvidenceObservationsHeading]: "### Evidence observations",
28601
28601
  [CoreMessage.EvidenceObservationsSum]: (total, onScenario, onPhantomClaim, onUnnamedClaim) => `${total} evidence observations = ${onScenario} on scenarios + ${onPhantomClaim} on ${CITED_WITH_NO_SCENARIO} + ${onUnnamedClaim} citing no scenario.`,
28602
- [CoreMessage.EvidenceObservationsTableHeader]: "| Quality-check | Evidence observations | Runner | CI step |",
28602
+ [CoreMessage.EvidenceObservationsTableHeader]: "| Kind of quality check | Evidence observations | Runner | CI step |",
28603
28603
  [CoreMessage.FitnessRunner]: "each fitness function's check step",
28604
28604
  [CoreMessage.FitnessCiStep]: (steps) => `${steps} step(s), each named on its fitness function's row of Claim Reconciliations.`,
28605
28605
  [CoreMessage.RunnerLayerNamesNone]: "no runner: the target names none.",
28606
28606
  [CoreMessage.RunnerLayerUnnamed]: "unnamed: the target has not said.",
28607
28607
  [CoreMessage.NoStepCountedAsItsRunnerRunsIt]: "no step counted as its runner runs it.",
28608
- [CoreMessage.RunnerKeyNotALayer]: (key) => `${key} \u2014 not a tier: the runner block is keyed by the four tiers, and this key excludes nothing.`,
28608
+ [CoreMessage.RunnerKeyNotALayer]: (key) => `${key} \u2014 not a layer: the runner block is keyed by the four layers, and this key excludes nothing.`,
28609
28609
  [CoreMessage.ReconcilerStep]: (step, whatItIs) => `${step} \u2014 the reconciler: ${whatItIs}.`,
28610
28610
  [CoreMessage.ReconcilerReconciles]: "this step runs the reconciliation this report is",
28611
28611
  [CoreMessage.ReconcilerRecords]: "this step writes the step record the reconciliation reads",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-controller",
3
- "version": "0.1.189",
3
+ "version": "0.1.191",
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.189"
29
+ "@3f-consulting/spec-controller-core": "0.1.191"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"