@xemahq/xema 0.33.1 → 0.33.2

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.
@@ -17,15 +17,6 @@
17
17
  "minimal/images.lock.json"
18
18
  ]
19
19
  },
20
- {
21
- "id": "core",
22
- "sourceCommit": "59da66e97c7b38ec98b7846f2cfb7fbc750c3078",
23
- "inputHash": "149da78845960be49cc1020621deedc204ab78ce082f47226fe22ec9ea0b33d4",
24
- "files": [
25
- "core/distribution.lock.json",
26
- "core/images.lock.json"
27
- ]
28
- },
29
20
  {
30
21
  "id": "starter",
31
22
  "sourceCommit": "59da66e97c7b38ec98b7846f2cfb7fbc750c3078",
@@ -73,6 +64,7 @@
73
64
  }
74
65
  ],
75
66
  "excludedEditions": {
67
+ "core": "paused in xema-distributions (paused/core) until the kernel optional-operation marker and the base floor re-declaration; returns then",
76
68
  "xema-internal": "operator-audience edition (pulls the operator-only fleet-management biome). @xemahq/xema is a PUBLIC npm package; operator inventory does not belong in it. Operators run it from the aggregator checkout or with --lock."
77
69
  },
78
70
  "packageAssets": [
@@ -107,14 +99,6 @@
107
99
  "path": "cloud/images.lock.json",
108
100
  "sha256": "08b8b97f8a2d015e90023224fe91fd498f58161d92a3d978b8d66f0eb9e58009"
109
101
  },
110
- {
111
- "path": "core/distribution.lock.json",
112
- "sha256": "de3630156fb43d91d11d8c614ab473f4786eabc751cef3d3c46b6528cca6d240"
113
- },
114
- {
115
- "path": "core/images.lock.json",
116
- "sha256": "2f087f1d459949051f1b6aa99fb0c9fc14dcfb3d947865af23568be6a50b31fd"
117
- },
118
102
  {
119
103
  "path": "keycloak/realm-xema.json",
120
104
  "sha256": "19d088befb751bffba361d0d6a0ccaacf5338b891d2e2f2929f39a710b6428ac"
@@ -2203,223 +2203,223 @@
2203
2203
  },
2204
2204
  {
2205
2205
  "package": "@xemahq/xema",
2206
- "version": "0.33.1",
2206
+ "version": "0.33.2",
2207
2207
  "path": "edition/adapter-host-versions.mjs",
2208
2208
  "sha256": "sha256:1b7ebd3592f4da1225fba74aaba912e7d85fbceeb1626f7dcdac83491cbb4d69"
2209
2209
  },
2210
2210
  {
2211
2211
  "package": "@xemahq/xema",
2212
- "version": "0.33.1",
2212
+ "version": "0.33.2",
2213
2213
  "path": "edition/authorization-base.mjs",
2214
2214
  "sha256": "sha256:bbeac7ff01376cb89ed2140526d4795d8e559b3f01612b404a701f19aaa24c6a"
2215
2215
  },
2216
2216
  {
2217
2217
  "package": "@xemahq/xema",
2218
- "version": "0.33.1",
2218
+ "version": "0.33.2",
2219
2219
  "path": "edition/build-ledger.mjs",
2220
2220
  "sha256": "sha256:05202cbdd606aee086c8e9c62d28be68c429653a8b1d73a289ed0fe4ff14da85"
2221
2221
  },
2222
2222
  {
2223
2223
  "package": "@xemahq/xema",
2224
- "version": "0.33.1",
2224
+ "version": "0.33.2",
2225
2225
  "path": "edition/connector-source-authority.mjs",
2226
2226
  "sha256": "sha256:ea94475f4324737673accd7de1303c44db1cbc4dac61a865a06cd83abe310164"
2227
2227
  },
2228
2228
  {
2229
2229
  "package": "@xemahq/xema",
2230
- "version": "0.33.1",
2230
+ "version": "0.33.2",
2231
2231
  "path": "edition/distribution-paths.mjs",
2232
2232
  "sha256": "sha256:d78a5c8405bc6c25d36fcec61b0030e1fdacac7d528e698adb96f906f4b70279"
2233
2233
  },
2234
2234
  {
2235
2235
  "package": "@xemahq/xema",
2236
- "version": "0.33.1",
2236
+ "version": "0.33.2",
2237
2237
  "path": "edition/edition-artifact.mjs",
2238
2238
  "sha256": "sha256:161f522eb39e3db705bc709f8512988dd3e6752851d972521354eeccffd8075d"
2239
2239
  },
2240
2240
  {
2241
2241
  "package": "@xemahq/xema",
2242
- "version": "0.33.1",
2242
+ "version": "0.33.2",
2243
2243
  "path": "edition/edition-channel.mjs",
2244
2244
  "sha256": "sha256:3c0c1564dc50be133cad500452d953353aa5beb703142c05a17bbce8175ba9f3"
2245
2245
  },
2246
2246
  {
2247
2247
  "package": "@xemahq/xema",
2248
- "version": "0.33.1",
2248
+ "version": "0.33.2",
2249
2249
  "path": "edition/edition-chart-set.mjs",
2250
2250
  "sha256": "sha256:fbda500315d45e35eb974f4701bbf36729c3b642a5d735bc1b07085c91d25b23"
2251
2251
  },
2252
2252
  {
2253
2253
  "package": "@xemahq/xema",
2254
- "version": "0.33.1",
2254
+ "version": "0.33.2",
2255
2255
  "path": "edition/edition-config.mjs",
2256
2256
  "sha256": "sha256:e3997bd9a0082e02d01760868b2a4f41ed3081e904126b30fdf86e7938dc6137"
2257
2257
  },
2258
2258
  {
2259
2259
  "package": "@xemahq/xema",
2260
- "version": "0.33.1",
2260
+ "version": "0.33.2",
2261
2261
  "path": "edition/edition-constants.mjs",
2262
2262
  "sha256": "sha256:71ae51028847ab3430ffec9b229b0516a7705b75a6de1fcfa665f5e1abf8e9bb"
2263
2263
  },
2264
2264
  {
2265
2265
  "package": "@xemahq/xema",
2266
- "version": "0.33.1",
2266
+ "version": "0.33.2",
2267
2267
  "path": "edition/edition-contract-parse.mjs",
2268
2268
  "sha256": "sha256:c575e96b70bda82899931eb0b18567988e2e13e664fa498bcbef96b571dcabb4"
2269
2269
  },
2270
2270
  {
2271
2271
  "package": "@xemahq/xema",
2272
- "version": "0.33.1",
2272
+ "version": "0.33.2",
2273
2273
  "path": "edition/edition-contract.json",
2274
2274
  "sha256": "sha256:aa1a05f1728813a7bdb1e02d9305e9adf641d695e6767305210c67a1d81b38a7"
2275
2275
  },
2276
2276
  {
2277
2277
  "package": "@xemahq/xema",
2278
- "version": "0.33.1",
2278
+ "version": "0.33.2",
2279
2279
  "path": "edition/edition-protocol.mjs",
2280
2280
  "sha256": "sha256:2940a0ee8662970722aa2618a1635f8d5b4f5e54b85f09667f71ccf7c2c81b03"
2281
2281
  },
2282
2282
  {
2283
2283
  "package": "@xemahq/xema",
2284
- "version": "0.33.1",
2284
+ "version": "0.33.2",
2285
2285
  "path": "edition/edition-source-pins.mjs",
2286
2286
  "sha256": "sha256:b2190ace174a29875e2a9bd7209460b0ef6de186aca9b31bcd45dc17af57c1ba"
2287
2287
  },
2288
2288
  {
2289
2289
  "package": "@xemahq/xema",
2290
- "version": "0.33.1",
2290
+ "version": "0.33.2",
2291
2291
  "path": "edition/edition-workspace.mjs",
2292
2292
  "sha256": "sha256:f7267e93fd7dc07cf65fb8cac2c4439d28a72c1e0acbdeca1648c6859440eb32"
2293
2293
  },
2294
2294
  {
2295
2295
  "package": "@xemahq/xema",
2296
- "version": "0.33.1",
2296
+ "version": "0.33.2",
2297
2297
  "path": "edition/evidence-checkout.mjs",
2298
2298
  "sha256": "sha256:31fb669769b31de4c6f2b2501bb96959548172ef166e7568edbbfed7f5079a11"
2299
2299
  },
2300
2300
  {
2301
2301
  "package": "@xemahq/xema",
2302
- "version": "0.33.1",
2302
+ "version": "0.33.2",
2303
2303
  "path": "edition/evidence-grammars.mjs",
2304
2304
  "sha256": "sha256:4dae22b61ade99219a482b971c9780d68a3d37d021e39cdfe860b245364b8b9f"
2305
2305
  },
2306
2306
  {
2307
2307
  "package": "@xemahq/xema",
2308
- "version": "0.33.1",
2308
+ "version": "0.33.2",
2309
2309
  "path": "edition/evidence-trust-pin.mjs",
2310
2310
  "sha256": "sha256:b9dd5c01903394436530783614efb0cd357d982ed2befd844a39328479773cbc"
2311
2311
  },
2312
2312
  {
2313
2313
  "package": "@xemahq/xema",
2314
- "version": "0.33.1",
2314
+ "version": "0.33.2",
2315
2315
  "path": "edition/image-delivery-entitlement-descriptor.mjs",
2316
2316
  "sha256": "sha256:4726b66116f01bf2523fafe2b7a356591eca8fb5ca6bd8b154dd4821873e921b"
2317
2317
  },
2318
2318
  {
2319
2319
  "package": "@xemahq/xema",
2320
- "version": "0.33.1",
2320
+ "version": "0.33.2",
2321
2321
  "path": "edition/image-evidence-replay-state.mjs",
2322
2322
  "sha256": "sha256:eba0cf1d38af0ab2f00c5099fa8bc2edc543136ce92f895544d4d284b3d6af0f"
2323
2323
  },
2324
2324
  {
2325
2325
  "package": "@xemahq/xema",
2326
- "version": "0.33.1",
2326
+ "version": "0.33.2",
2327
2327
  "path": "edition/image-evidence.mjs",
2328
2328
  "sha256": "sha256:09945712ecc6524d5f52cfd82141ef4cade45be35210777f6e32818792068881"
2329
2329
  },
2330
2330
  {
2331
2331
  "package": "@xemahq/xema",
2332
- "version": "0.33.1",
2332
+ "version": "0.33.2",
2333
2333
  "path": "edition/kernel-capability-domain.mjs",
2334
2334
  "sha256": "sha256:3ecf887dd8d399e91a8285f6f115f6e418fb59bbf3f004539fe65ec667219356"
2335
2335
  },
2336
2336
  {
2337
2337
  "package": "@xemahq/xema",
2338
- "version": "0.33.1",
2338
+ "version": "0.33.2",
2339
2339
  "path": "edition/kernel-contract-authority.mjs",
2340
2340
  "sha256": "sha256:20abdde62a7b037c01ea9bbe1ff1e6094e6b0efd0add2f656f1938a04409bf82"
2341
2341
  },
2342
2342
  {
2343
2343
  "package": "@xemahq/xema",
2344
- "version": "0.33.1",
2344
+ "version": "0.33.2",
2345
2345
  "path": "edition/lib.mjs",
2346
2346
  "sha256": "sha256:4777627b3665e154f466251eb684ea7299ecd3c683447f65f2cc5b4041d29bdb"
2347
2347
  },
2348
2348
  {
2349
2349
  "package": "@xemahq/xema",
2350
- "version": "0.33.1",
2350
+ "version": "0.33.2",
2351
2351
  "path": "edition/no-follow-file.mjs",
2352
2352
  "sha256": "sha256:c17bdf5e441f3c079aa06d4b48bbed05cad087855b9ad2a5e6dc43d5ee2b17c3"
2353
2353
  },
2354
2354
  {
2355
2355
  "package": "@xemahq/xema",
2356
- "version": "0.33.1",
2356
+ "version": "0.33.2",
2357
2357
  "path": "edition/operation-requirements.mjs",
2358
2358
  "sha256": "sha256:ffe6fdc9da6b2974270fc86c11be0c41d0bc6d85c8e3c137d3c3bc00a72fc4f6"
2359
2359
  },
2360
2360
  {
2361
2361
  "package": "@xemahq/xema",
2362
- "version": "0.33.1",
2362
+ "version": "0.33.2",
2363
2363
  "path": "edition/pin-source.mjs",
2364
- "sha256": "sha256:4e64d25b7aacec344253d1963f419f946998f36e8c269eea58b8c848e0f35e52"
2364
+ "sha256": "sha256:fbaa6dffbdf4a262a13127bcf37bca791234fae74e327ac250e56ff4b78c1244"
2365
2365
  },
2366
2366
  {
2367
2367
  "package": "@xemahq/xema",
2368
- "version": "0.33.1",
2368
+ "version": "0.33.2",
2369
2369
  "path": "edition/source-authority.mjs",
2370
2370
  "sha256": "sha256:858b607dde94e2abd00a341f569e18cfa567d4bff139c64a2d60abbb7de4c85e"
2371
2371
  },
2372
2372
  {
2373
2373
  "package": "@xemahq/xema",
2374
- "version": "0.33.1",
2374
+ "version": "0.33.2",
2375
2375
  "path": "edition/strict-json.mjs",
2376
2376
  "sha256": "sha256:f95778396df7f38b086f55d2ec4f3b6644a8aeff2b32282a62829145fb544562"
2377
2377
  },
2378
2378
  {
2379
2379
  "package": "@xemahq/xema",
2380
- "version": "0.33.1",
2380
+ "version": "0.33.2",
2381
2381
  "path": "edition/string-order.mjs",
2382
2382
  "sha256": "sha256:b3210cd273e4b2e01fb8b1a91e28734cd211d4010c080d0ce95f5e5ff631cffb"
2383
2383
  },
2384
2384
  {
2385
2385
  "package": "@xemahq/xema",
2386
- "version": "0.33.1",
2386
+ "version": "0.33.2",
2387
2387
  "path": "edition/trusted-executable.mjs",
2388
2388
  "sha256": "sha256:37d46cdbc999ddd55d4ea8aeed4850ddd1efde89ed7b532f5a2ddec87105d796"
2389
2389
  },
2390
2390
  {
2391
2391
  "package": "@xemahq/xema",
2392
- "version": "0.33.1",
2392
+ "version": "0.33.2",
2393
2393
  "path": "edition/verifier-binding.mjs",
2394
2394
  "sha256": "sha256:80732658617f5255258c538eeb2383331ec8553b44b58d552b567845a7b916aa"
2395
2395
  },
2396
2396
  {
2397
2397
  "package": "@xemahq/xema",
2398
- "version": "0.33.1",
2398
+ "version": "0.33.2",
2399
2399
  "path": "edition/verifier-files.mjs",
2400
2400
  "sha256": "sha256:cdd14a20a63f0f194a8abb55680a5a7e3ced1f09f8b210a90d349e655f6de0c0"
2401
2401
  },
2402
2402
  {
2403
2403
  "package": "@xemahq/xema",
2404
- "version": "0.33.1",
2404
+ "version": "0.33.2",
2405
2405
  "path": "edition/verifier-provenance.mjs",
2406
2406
  "sha256": "sha256:3e2fb8e07cf1f66b8ad6c7ac2555fe3af64ec7abeb07cecbaf1939a18c2b3663"
2407
2407
  },
2408
2408
  {
2409
2409
  "package": "@xemahq/xema",
2410
- "version": "0.33.1",
2410
+ "version": "0.33.2",
2411
2411
  "path": "edition/verify-image-evidence.mjs",
2412
2412
  "sha256": "sha256:62f83f8bb835f360535402d12657156d2c9d6e651b426c2b30a04a2dc2f8d3e8"
2413
2413
  },
2414
2414
  {
2415
2415
  "package": "@xemahq/xema",
2416
- "version": "0.33.1",
2416
+ "version": "0.33.2",
2417
2417
  "path": "edition/workspace-sections.mjs",
2418
2418
  "sha256": "sha256:058c849767434e9ba911d9310092bede42e3ef959c75bbd35ff8879dc21ce3ff"
2419
2419
  },
2420
2420
  {
2421
2421
  "package": "@xemahq/xema",
2422
- "version": "0.33.1",
2422
+ "version": "0.33.2",
2423
2423
  "path": "scripts/build-evidence-verifier.mjs",
2424
2424
  "sha256": "sha256:5a688d20c47dc88aff37aa0c6cc02daf2c370a5bc610fef8446ce7be222d4c0b"
2425
2425
  },
@@ -35,10 +35,14 @@ export function sourceCheckoutPlan(index, { sourceRepositoryUrlPrefix }) {
35
35
  if (!SHA.test(String(pin.sourceCommit ?? ''))) {
36
36
  throw new Error(`${pin.repo} sourceCommit is not exact lowercase 40-hex`);
37
37
  }
38
+ if (!SHA.test(String(pin.vendoredSourceCommit ?? ''))) {
39
+ throw new Error(`${pin.repo} vendoredSourceCommit is not exact lowercase 40-hex`);
40
+ }
38
41
  return Object.freeze({
39
42
  repo: pin.repo,
40
43
  repositoryUrl: pin.repositoryUrl,
41
44
  sourceCommit: pin.sourceCommit,
45
+ vendoredSourceCommit: pin.vendoredSourceCommit,
42
46
  });
43
47
  });
44
48
  }
@@ -47,6 +51,18 @@ function git(args, env) {
47
51
  execFileSync('git', args, { env, stdio: 'inherit' });
48
52
  }
49
53
 
54
+ /**
55
+ * The SOURCE-axis commit a checkout must also hold when it differs from the
56
+ * image-axis `sourceCommit`: dist-check, publish-editions, seal-image-digests and
57
+ * store-publish read vendored and content-only bytes at `vendoredSourceCommit`.
58
+ * Maps repo to that commit; repositories whose axes are equal are absent.
59
+ */
60
+ export function sourceAxisExtraCommits(plan) {
61
+ return new Map(
62
+ plan.filter((entry) => entry.vendoredSourceCommit !== entry.sourceCommit).map((entry) => [entry.repo, entry.vendoredSourceCommit]),
63
+ );
64
+ }
65
+
50
66
  /**
51
67
  * The extra commits each checkout must also hold: resolve reads every platform
52
68
  * service's manifest at the `sourceCommit` platform-service-index.json pins, and
@@ -118,6 +134,7 @@ export function checkoutIndexedSources({ workspaceRoot, index, platformServiceIn
118
134
  const workspace = editionWorkspaceConfig();
119
135
  const plan = sourceCheckoutPlan(index, workspace);
120
136
  const extraCommits = platformServiceExtraCommits(plan, platformServiceIndex);
137
+ const sourceAxisCommits = sourceAxisExtraCommits(plan);
121
138
  const heldCommits = editionHeldCommits(plan, editionSourcePins);
122
139
  for (const entry of plan) {holdSource({ name: entry.repo, url: entry.repositoryUrl }, workspace, env);}
123
140
  for (const entry of plan) {
@@ -138,6 +155,11 @@ export function checkoutIndexedSources({ workspaceRoot, index, platformServiceIn
138
155
  if (actual !== entry.sourceCommit) {
139
156
  throw new Error(`${entry.repo} resolved ${actual}, expected ${entry.sourceCommit}`);
140
157
  }
158
+ if (sourceAxisCommits.has(entry.repo)) {
159
+ const commit = sourceAxisCommits.get(entry.repo);
160
+ runGit(['-C', target, 'fetch', '--quiet', '--depth=1', 'origin', commit], gitEnv);
161
+ console.log(`[source-checkout] ${entry.repo} also holds source-axis commit ${commit}`);
162
+ }
141
163
  for (const commit of extraCommits.get(entry.repo) ?? []) {
142
164
  runGit(['-C', target, 'fetch', '--quiet', '--depth=1', 'origin', commit], gitEnv);
143
165
  console.log(`[source-checkout] ${entry.repo} also holds platform-service commit ${commit}`);
@@ -222,10 +222,16 @@ function applySnapshot(runtimeSourceIndex, pins) {
222
222
  ...runtimeSourceIndex,
223
223
  repositoryPins: graph.map((pin) => ({
224
224
  ...pin,
225
- // The IMAGE axis only. `vendoredSourceCommit` is the SOURCE axis (the
226
- // published tip vendored bytes come from) and is deliberately NOT fused
227
- // with it: see `build-runtime-image-source-index.mjs#repositoryIdentity`
228
- // for the measured production failure that fusing the two caused.
225
+ // A develop snapshot pins every repository at its develop head, so that one
226
+ // SHA is both the built commit (image axis, `sourceCommit`) and the source
227
+ // tip (`vendoredSourceCommit`): the image pin lagging the source tip cannot
228
+ // arise, and the snapshot is "one frozen snapshot of pins and nothing else".
229
+ // Fusing both axes is the rule `effectiveRepositoryPins` and
230
+ // `createExactCommitSourceAuthority` already apply for an exact commit.
231
+ // The COMMITTED index keeps the axes apart (release channel): see
232
+ // `source-authority.mjs#publishedSourceTip` and
233
+ // `build-runtime-image-source-index.mjs#repositoryIdentity`.
234
+ vendoredSourceCommit: pins[pin.repo],
229
235
  sourceCommit: pins[pin.repo],
230
236
  })),
231
237
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/xema",
3
- "version": "0.33.1",
3
+ "version": "0.33.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/xema-dev/xema-cli.git",
@@ -92,6 +92,6 @@
92
92
  "typecheck": "tsc --noEmit"
93
93
  },
94
94
  "xemaRelease": {
95
- "sourceDigest": "sha256:a6f12761c7c95f7810ac5134c53e5e9712d2822e7f3d0a91f96eed09741f9605"
95
+ "sourceDigest": "sha256:de506f4bb207dcf31fb135d585486f8fa5bf4fc11d0d1841506d8773393fa423"
96
96
  }
97
97
  }