spec-controller 0.1.211 → 0.1.212

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
@@ -12059,7 +12059,7 @@ function reconciliationLineTotals(ledger) {
12059
12059
  total,
12060
12060
  byOutcome,
12061
12061
  outOfBalance: total - byOutcome.satisfied,
12062
- missingByQualityCheckKind: QUALITY_CHECK_KINDS.filter((s) => (missing.get(s) ?? 0) > 0).map((subject) => ({ subject, count: missing.get(subject) }))
12062
+ missingByQualityCheckKind: QUALITY_CHECK_KINDS.filter((s) => (missing.get(s) ?? 0) > 0).map((qualityCheckKind) => ({ qualityCheckKind, count: missing.get(qualityCheckKind) }))
12063
12063
  };
12064
12064
  }
12065
12065
  function behaviouralObservationTally(ledger) {
@@ -32302,7 +32302,7 @@ var init_markdown = __esm({
32302
32302
  evidenceReconciliationSection = (report) => {
32303
32303
  const { claimReconciliations, reconciliationLines, pending } = report.summary.evidenceReconciliation;
32304
32304
  const row = (cells) => `| ${cells.join(" | ")} |`;
32305
- const missingSplit = reconciliationLines.missingByQualityCheckKind.map(({ subject, count }) => `${count} ${subject}`).join(" + ");
32305
+ const missingSplit = reconciliationLines.missingByQualityCheckKind.map(({ qualityCheckKind, count }) => `${count} ${qualityCheckKind}`).join(" + ");
32306
32306
  const lines = [
32307
32307
  CORE_MESSAGES[CoreMessage.EvidenceReconciliationHeading],
32308
32308
  "",
@@ -32850,7 +32850,18 @@ var init_inputShapes = __esm({
32850
32850
  fields: {
32851
32851
  runProvenance: { fields: { corpus: "string" }, required: ["corpus"] },
32852
32852
  summary: {
32853
- fields: { evidenceReconciliation: { fields: {} }, evidenceObservations: { fields: {} } },
32853
+ fields: {
32854
+ evidenceReconciliation: {
32855
+ fields: {
32856
+ reconciliationLines: {
32857
+ fields: {
32858
+ missingByQualityCheckKind: { list: { fields: { qualityCheckKind: "string" }, required: ["qualityCheckKind"] } }
32859
+ }
32860
+ }
32861
+ }
32862
+ },
32863
+ evidenceObservations: { fields: {} }
32864
+ },
32854
32865
  required: ["evidenceReconciliation", "evidenceObservations"]
32855
32866
  },
32856
32867
  ledger: { fields: { claimReconciliations: { list: "anything" } }, required: ["claimReconciliations"] },
@@ -538,19 +538,29 @@
538
538
  "MissingByQualityCheckKind": {
539
539
  "type": "object",
540
540
  "properties": {
541
- "subject": {
542
- "type": "string"
541
+ "qualityCheckKind": {
542
+ "$ref": "#/definitions/QualityCheckKind"
543
543
  },
544
544
  "count": {
545
545
  "type": "number"
546
546
  }
547
547
  },
548
548
  "required": [
549
- "subject",
549
+ "qualityCheckKind",
550
550
  "count"
551
551
  ],
552
552
  "additionalProperties": false
553
553
  },
554
+ "QualityCheckKind": {
555
+ "type": "string",
556
+ "enum": [
557
+ "fitness",
558
+ "unit",
559
+ "integration",
560
+ "e2e",
561
+ "performance"
562
+ ]
563
+ },
554
564
  "EvidenceObservationTally": {
555
565
  "type": "object",
556
566
  "properties": {
@@ -610,16 +620,6 @@
610
620
  ],
611
621
  "additionalProperties": false
612
622
  },
613
- "QualityCheckKind": {
614
- "type": "string",
615
- "enum": [
616
- "fitness",
617
- "unit",
618
- "integration",
619
- "e2e",
620
- "performance"
621
- ]
622
- },
623
623
  "StepAccounting": {
624
624
  "type": "object",
625
625
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-controller",
3
- "version": "0.1.211",
3
+ "version": "0.1.212",
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.211"
29
+ "@3f-consulting/spec-controller-core": "0.1.212"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"