@rulvar/store-conformance 1.243.0 → 1.244.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 +2 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -470,6 +470,7 @@ function journalStoreConformance(mk) {
470
470
  tags: ["team:core"],
471
471
  budgetUsd: 12.5,
472
472
  maxInFlightExposureUsd: .07,
473
+ budgetPolicy: "immutable-lifetime",
473
474
  strictPricing: {
474
475
  maxRatesAgeDays: 30,
475
476
  allowUnpriced: ["local:llama"]
@@ -483,6 +484,7 @@ function journalStoreConformance(mk) {
483
484
  const roundTripped = (await store.listRuns()).find((candidate) => candidate.runId === RUN$3);
484
485
  ensure(roundTripped?.budgetUsd === 12.5, "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (budgetUsd)");
485
486
  ensure(roundTripped?.maxInFlightExposureUsd === .07, "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (maxInFlightExposureUsd)");
487
+ ensure(roundTripped?.budgetPolicy === "immutable-lifetime", "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (budgetPolicy)");
486
488
  ensure(roundTripped?.strictPricing?.maxRatesAgeDays === 30 && roundTripped.strictPricing.allowUnpriced?.[0] === "local:llama", "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (strictPricing)");
487
489
  ensure(roundTripped?.segments === 3, "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (segments)");
488
490
  ensure(roundTripped?.argsProvided === true && roundTripped.argsHash === "a".repeat(64), "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (argsProvided, argsHash)");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rulvar/store-conformance",
3
- "version": "1.243.0",
3
+ "version": "1.244.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.243.0"
25
+ "@rulvar/core": "1.244.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.20.1",