@kungfu-tech/buildchain 4.1.3-alpha.7 → 4.1.3-alpha.9
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/site/buildchain-contract.json +4 -4
- package/dist/site/buildchain-site.json +4 -4
- package/dist/site/kfd-claims.json +2 -2
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +1 -1
- package/dist/site/node-api-registry.json +14 -14
- package/dist/site/page-registry.json +2 -2
- package/dist/site/public-surface-audit.json +2 -2
- package/dist/site/publication-registry.json +1 -1
- package/dist/site/site-manifest.json +2 -2
- package/dist/site/workflow-registry.json +1 -1
- package/docs/node-api-reference.md +12 -12
- package/package.json +1 -1
- package/packages/core/release/next-development-transition.js +15 -15
|
@@ -10814,8 +10814,8 @@
|
|
|
10814
10814
|
"workflowRegistryPath": "dist/site/workflow-registry.json",
|
|
10815
10815
|
"pageRegistryPath": "dist/site/page-registry.json",
|
|
10816
10816
|
"cliRegistryDigest": "e43fdb0289df88871f3f0febbe04dcb9311a252a2b1df9b3a83a2d10c9d4a70f",
|
|
10817
|
-
"workflowRegistryDigest": "
|
|
10818
|
-
"pageRegistryDigest": "
|
|
10817
|
+
"workflowRegistryDigest": "071f8c15fed251611c981d66e8961b74476bfdce7bd8a25e0c396e37947e2c47",
|
|
10818
|
+
"pageRegistryDigest": "1e79a71c8f1d094ad1291b2d8b4bc983633245dcc104ae5ef7bae755fb733209"
|
|
10819
10819
|
},
|
|
10820
10820
|
"comparison": {
|
|
10821
10821
|
"missingCliRegistry": [],
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"package": {
|
|
39
39
|
"name": "@kungfu-tech/buildchain",
|
|
40
|
-
"version": "4.1.3-alpha.
|
|
40
|
+
"version": "4.1.3-alpha.9",
|
|
41
41
|
"versionSource": "package.json#version"
|
|
42
42
|
},
|
|
43
43
|
"entrypoint": "buildchain-site.json",
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
"path": "docs/node-api-reference.md",
|
|
254
254
|
"plane": "use",
|
|
255
255
|
"exists": true,
|
|
256
|
-
"digest": "sha256:
|
|
256
|
+
"digest": "sha256:5c00176bff01621ea48e2d35fbea8c34810963eda6a7413a1819ca3fae529f6c"
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
259
|
"id": "build-facts",
|
|
@@ -1263,7 +1263,7 @@
|
|
|
1263
1263
|
"status": "preview",
|
|
1264
1264
|
"owner": "buildchain-workflows",
|
|
1265
1265
|
"maturity": "preview",
|
|
1266
|
-
"introducedVersion": "4.1.3-alpha.
|
|
1266
|
+
"introducedVersion": "4.1.3-alpha.9",
|
|
1267
1267
|
"compatibilityPromise": "current-contract-only",
|
|
1268
1268
|
"deprecationReplacement": "",
|
|
1269
1269
|
"sunsetCondition": "explicit-contract-change-review",
|
|
@@ -2351,18 +2351,18 @@ Target: `./packages/core/release/next-development-transition.js`. Public symbols
|
|
|
2351
2351
|
|
|
2352
2352
|
| Symbol | Kind and signature | Parameters | Return | Errors | Side effects | Example | Source |
|
|
2353
2353
|
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
2354
|
-
| `advanceNextDevelopmentTransition` | function: function advanceNextDevelopmentTransition(record, input = {}) | record, input = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { advanceNextDevelopmentTransition } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:
|
|
2355
|
-
| `bindNextDevelopmentAnchor` | function: function bindNextDevelopmentAnchor(record, input = {}) | record, input = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { bindNextDevelopmentAnchor } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:
|
|
2356
|
-
| `createNextDevelopmentTransition` | function: function createNextDevelopmentTransition(input = {}) | input = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createNextDevelopmentTransition } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:
|
|
2357
|
-
| `materializeNextDevelopmentTransition` | function: function materializeNextDevelopmentTransition({ cwd = process.cwd(), request, write = false, } = {}) | { cwd = process.cwd(), request, write = false, } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | local-filesystem-write | `import { materializeNextDevelopmentTransition } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:
|
|
2358
|
-
| `NEXT_DEVELOPMENT_ADR` | constant: const NEXT_DEVELOPMENT_ADR | none | value | Import does not declare a throw contract. | none-on-import | `import { NEXT_DEVELOPMENT_ADR } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:
|
|
2359
|
-
| `NEXT_DEVELOPMENT_INVARIANT` | constant: const NEXT_DEVELOPMENT_INVARIANT | none | value | Import does not declare a throw contract. | none-on-import | `import { NEXT_DEVELOPMENT_INVARIANT } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:
|
|
2360
|
-
| `NEXT_DEVELOPMENT_REQUEST_CONTRACT` | constant: const NEXT_DEVELOPMENT_REQUEST_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { NEXT_DEVELOPMENT_REQUEST_CONTRACT } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:
|
|
2361
|
-
| `NEXT_DEVELOPMENT_STATES` | constant: const NEXT_DEVELOPMENT_STATES | none | value | Import does not declare a throw contract. | none-on-import | `import { NEXT_DEVELOPMENT_STATES } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:
|
|
2362
|
-
| `NEXT_DEVELOPMENT_TRANSITION_CONTRACT` | constant: const NEXT_DEVELOPMENT_TRANSITION_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { NEXT_DEVELOPMENT_TRANSITION_CONTRACT } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:
|
|
2363
|
-
| `NEXT_DEVELOPMENT_VERSION_MODELS` | constant: const NEXT_DEVELOPMENT_VERSION_MODELS | none | value | Import does not declare a throw contract. | none-on-import | `import { NEXT_DEVELOPMENT_VERSION_MODELS } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:
|
|
2364
|
-
| `nextDevelopmentRoot` | function: function nextDevelopmentRoot(value) | value | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { nextDevelopmentRoot } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:
|
|
2365
|
-
| `recordNextDevelopmentMaterialization` | function: function recordNextDevelopmentMaterialization(record, { materialization, evidenceRoot, recordedAt } = {}) | record, { materialization, evidenceRoot, recordedAt } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | may-write-or-invoke-external-actions | `import { recordNextDevelopmentMaterialization } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:
|
|
2354
|
+
| `advanceNextDevelopmentTransition` | function: function advanceNextDevelopmentTransition(record, input = {}) | record, input = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { advanceNextDevelopmentTransition } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:344` |
|
|
2355
|
+
| `bindNextDevelopmentAnchor` | function: function bindNextDevelopmentAnchor(record, input = {}) | record, input = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { bindNextDevelopmentAnchor } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:305` |
|
|
2356
|
+
| `createNextDevelopmentTransition` | function: function createNextDevelopmentTransition(input = {}) | input = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createNextDevelopmentTransition } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:253` |
|
|
2357
|
+
| `materializeNextDevelopmentTransition` | function: function materializeNextDevelopmentTransition({ cwd = process.cwd(), request, write = false, } = {}) | { cwd = process.cwd(), request, write = false, } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | local-filesystem-write | `import { materializeNextDevelopmentTransition } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:472` |
|
|
2358
|
+
| `NEXT_DEVELOPMENT_ADR` | constant: const NEXT_DEVELOPMENT_ADR | none | value | Import does not declare a throw contract. | none-on-import | `import { NEXT_DEVELOPMENT_ADR } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:21` |
|
|
2359
|
+
| `NEXT_DEVELOPMENT_INVARIANT` | constant: const NEXT_DEVELOPMENT_INVARIANT | none | value | Import does not declare a throw contract. | none-on-import | `import { NEXT_DEVELOPMENT_INVARIANT } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:23` |
|
|
2360
|
+
| `NEXT_DEVELOPMENT_REQUEST_CONTRACT` | constant: const NEXT_DEVELOPMENT_REQUEST_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { NEXT_DEVELOPMENT_REQUEST_CONTRACT } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:19` |
|
|
2361
|
+
| `NEXT_DEVELOPMENT_STATES` | constant: const NEXT_DEVELOPMENT_STATES | none | value | Import does not declare a throw contract. | none-on-import | `import { NEXT_DEVELOPMENT_STATES } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:25` |
|
|
2362
|
+
| `NEXT_DEVELOPMENT_TRANSITION_CONTRACT` | constant: const NEXT_DEVELOPMENT_TRANSITION_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { NEXT_DEVELOPMENT_TRANSITION_CONTRACT } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:17` |
|
|
2363
|
+
| `NEXT_DEVELOPMENT_VERSION_MODELS` | constant: const NEXT_DEVELOPMENT_VERSION_MODELS | none | value | Import does not declare a throw contract. | none-on-import | `import { NEXT_DEVELOPMENT_VERSION_MODELS } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:33` |
|
|
2364
|
+
| `nextDevelopmentRoot` | function: function nextDevelopmentRoot(value) | value | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { nextDevelopmentRoot } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:64` |
|
|
2365
|
+
| `recordNextDevelopmentMaterialization` | function: function recordNextDevelopmentMaterialization(record, { materialization, evidenceRoot, recordedAt } = {}) | record, { materialization, evidenceRoot, recordedAt } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | may-write-or-invoke-external-actions | `import { recordNextDevelopmentMaterialization } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:416` |
|
|
2366
2366
|
| `validateNextDevelopmentTransition` | function: function validateNextDevelopmentTransition(record) | record | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { validateNextDevelopmentTransition } from "@kungfu-tech/buildchain/next-development-transition";` | `packages/core/release/next-development-transition.js:728` |
|
|
2367
2367
|
|
|
2368
2368
|
## `@kungfu-tech/buildchain/next-development-controller`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kungfu-tech/buildchain",
|
|
3
|
-
"version": "4.1.3-alpha.
|
|
3
|
+
"version": "4.1.3-alpha.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Buildchain Release Passport, release governance, CLI toolkit, and site facts.",
|
|
6
6
|
"repository": "https://github.com/kungfu-systems/buildchain",
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
6
|
+
import { isDeepStrictEqual } from "node:util";
|
|
6
7
|
|
|
7
8
|
import {
|
|
8
9
|
discoverConfiguredDerivedVersionMaterial,
|
|
@@ -606,7 +607,7 @@ function assertStaticTransition(record, recreated) {
|
|
|
606
607
|
throw new Error(`next-development ${field} drifted`);
|
|
607
608
|
}
|
|
608
609
|
for (const field of ["adapter", "declaredPaths", "effectBounds", "target"]) {
|
|
609
|
-
if (
|
|
610
|
+
if (!isDeepStrictEqual(record[field], recreated[field])) {
|
|
610
611
|
const label = field === "effectBounds" ? "effect bounds" : field;
|
|
611
612
|
throw new Error(`next-development ${label} drifted`);
|
|
612
613
|
}
|
|
@@ -638,20 +639,19 @@ function assertStaticTransition(record, recreated) {
|
|
|
638
639
|
}
|
|
639
640
|
|
|
640
641
|
function assertMaterialization(record) {
|
|
641
|
-
if (record.materialization
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
}
|
|
642
|
+
if (record.materialization === null) return;
|
|
643
|
+
const { materializationRoot, ...body } = record.materialization;
|
|
644
|
+
if (materializationRoot !== nextDevelopmentRoot(body))
|
|
645
|
+
throw new Error("next-development materialization root drifted");
|
|
646
|
+
const { paths = [] } = record.materialization;
|
|
647
|
+
const materializedPaths = paths.map(({ path }) => path);
|
|
648
|
+
// Reference adapters cover sources; transaction adapters cover all outputs.
|
|
649
|
+
if (
|
|
650
|
+
![record.adapter.sourcePaths, record.adapter.allowedChangePaths].some(
|
|
651
|
+
(expected) => isDeepStrictEqual(materializedPaths, expected),
|
|
652
|
+
)
|
|
653
|
+
) {
|
|
654
|
+
throw new Error("next-development materialization paths drifted");
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
657
|
|