@rulvar/store-conformance 1.159.0 → 1.161.0

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/index.js +5 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -470,6 +470,10 @@ function journalStoreConformance(mk) {
470
470
  tags: ["team:core"],
471
471
  budgetUsd: 12.5,
472
472
  maxInFlightExposureUsd: .07,
473
+ strictPricing: {
474
+ maxRatesAgeDays: 30,
475
+ allowUnpriced: ["local:llama"]
476
+ },
473
477
  segments: 3,
474
478
  argsProvided: true,
475
479
  argsHash: "a".repeat(64),
@@ -479,6 +483,7 @@ function journalStoreConformance(mk) {
479
483
  const roundTripped = (await store.listRuns()).find((candidate) => candidate.runId === RUN$3);
480
484
  ensure(roundTripped?.budgetUsd === 12.5, "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (budgetUsd)");
481
485
  ensure(roundTripped?.maxInFlightExposureUsd === .07, "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (maxInFlightExposureUsd)");
486
+ ensure(roundTripped?.strictPricing?.maxRatesAgeDays === 30 && roundTripped.strictPricing.allowUnpriced?.[0] === "local:llama", "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (strictPricing)");
482
487
  ensure(roundTripped?.segments === 3, "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (segments)");
483
488
  ensure(roundTripped?.argsProvided === true && roundTripped.argsHash === "a".repeat(64), "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (argsProvided, argsHash)");
484
489
  ensure(roundTripped?.genesis === "g".repeat(26), "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (genesis)");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rulvar/store-conformance",
3
- "version": "1.159.0",
3
+ "version": "1.161.0",
4
4
  "description": "Rulvar executable store conformance kit (DEF-4).",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -22,7 +22,7 @@
22
22
  "access": "public"
23
23
  },
24
24
  "dependencies": {
25
- "@rulvar/core": "1.159.0"
25
+ "@rulvar/core": "1.161.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.20.1",