@kungfu-tech/buildchain 2.14.17-alpha.0 → 2.14.17-alpha.1
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 +8 -5
- package/dist/site/buildchain-site.json +4 -4
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/node-api-registry.json +1 -1
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/site-manifest.json +4 -4
- package/package.json +1 -1
- package/packages/core/buildchain-contract.js +8 -1
- package/scripts/web-surface-production-decision.mjs +7 -3
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"product": {
|
|
5
5
|
"name": "Buildchain",
|
|
6
6
|
"package": "@kungfu-tech/buildchain",
|
|
7
|
-
"version": "2.14.17-alpha.
|
|
7
|
+
"version": "2.14.17-alpha.1",
|
|
8
8
|
"repository": "https://github.com/kungfu-systems/buildchain"
|
|
9
9
|
},
|
|
10
10
|
"majorLine": "v2",
|
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
"channel-aware artifact host facts are checked against the deploy plan before adapter side effects"
|
|
257
257
|
],
|
|
258
258
|
"breakingDigest": "sha256:da569f90374e878948e3d5160ed9929338ce0572473ca8ee54867b0fe1aaeace",
|
|
259
|
-
"auditDigest": "sha256:
|
|
259
|
+
"auditDigest": "sha256:4a7c696ec399c14aa3170fdd24adac0d624bd33db6a2639c489e2b58726c190b"
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
"contractVersion": 1,
|
|
@@ -323,6 +323,9 @@
|
|
|
323
323
|
"publish transactions can require a resolved publish-gate source lock to prevent floating-ref drift",
|
|
324
324
|
"semver GitHub Releases are created or updated only after transaction completion, with prerelease/latest metadata bound to the authoritative publication channel and tag syntax retained as the fallback for ordinary callers"
|
|
325
325
|
],
|
|
326
|
+
"compatibleBreakingDigests": [
|
|
327
|
+
"sha256:a59f0910e6df842e7699139472e5dd69ac2fdd7f7213bf2cb346d1d622556874"
|
|
328
|
+
],
|
|
326
329
|
"breakingDigest": "sha256:6147c0a8d5c36bfaa6021871574e1fc28192a3f1b8cfdae4d24ef3059ac1ebda",
|
|
327
330
|
"auditDigest": "sha256:ff220542fd1cb21fc4780d0bb31eb9f78d44d70746b6c4364483e104b48ae083"
|
|
328
331
|
},
|
|
@@ -604,7 +607,7 @@
|
|
|
604
607
|
"agents can discover supported Node APIs without importing internal file paths"
|
|
605
608
|
],
|
|
606
609
|
"breakingDigest": "sha256:48f925608d3e2131d90936b07dc2a30341204cae3e6e785c0f77d61ad755c945",
|
|
607
|
-
"auditDigest": "sha256:
|
|
610
|
+
"auditDigest": "sha256:915daa5d9dd8879a356865d2ab9336a8f2fb9806b43f5ba18eadfe448e6d8304"
|
|
608
611
|
},
|
|
609
612
|
{
|
|
610
613
|
"contractVersion": 1,
|
|
@@ -1850,7 +1853,7 @@
|
|
|
1850
1853
|
"missing receipts are non-qualifying and must not be represented as a successful controller run"
|
|
1851
1854
|
],
|
|
1852
1855
|
"breakingDigest": "sha256:f14825324a16b51c2e9ed708ebe64e1932e05b6d5e0866f83aea8439decb4a27",
|
|
1853
|
-
"auditDigest": "sha256:
|
|
1856
|
+
"auditDigest": "sha256:4a7c696ec399c14aa3170fdd24adac0d624bd33db6a2639c489e2b58726c190b"
|
|
1854
1857
|
},
|
|
1855
1858
|
{
|
|
1856
1859
|
"contractVersion": 1,
|
|
@@ -2913,5 +2916,5 @@
|
|
|
2913
2916
|
}
|
|
2914
2917
|
],
|
|
2915
2918
|
"compatibilityDigest": "sha256:cdf588422ec6b460bd6f631400efa6e361a045e052c8967d6c50fadd7aa4dd90",
|
|
2916
|
-
"contractDigest": "sha256:
|
|
2919
|
+
"contractDigest": "sha256:9d5bef7245674767352cc2746d507d556a11d685502120c00176f1a15bade2ba"
|
|
2917
2920
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"contract": "kungfu-buildchain-site-bundle",
|
|
4
|
-
"generatedAt": "2026-07-
|
|
5
|
-
"publishedAt": "2026-07-
|
|
4
|
+
"generatedAt": "2026-07-22T23:30:42.191Z",
|
|
5
|
+
"publishedAt": "2026-07-22T23:30:42.191Z",
|
|
6
6
|
"reproducible": true,
|
|
7
7
|
"timestampPolicy": "ci-injected",
|
|
8
8
|
"deterministicInputs": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"declared Buildchain surface manifest contract"
|
|
20
20
|
],
|
|
21
21
|
"sourceDateEpoch": "0",
|
|
22
|
-
"sourceRevision": "
|
|
22
|
+
"sourceRevision": "7c7ff64cd7cd3b34ad377999ed8aa22b1e1d8d93",
|
|
23
23
|
"timestampPolicyDetails": {
|
|
24
24
|
"contract": "kungfu-buildchain-surface-timestamp-policy",
|
|
25
25
|
"timestampFields": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"package": {
|
|
39
39
|
"name": "@kungfu-tech/buildchain",
|
|
40
|
-
"version": "2.14.17-alpha.
|
|
40
|
+
"version": "2.14.17-alpha.1",
|
|
41
41
|
"versionSource": "package.json#version"
|
|
42
42
|
},
|
|
43
43
|
"source": {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"specifier": "@kungfu-tech/buildchain/buildchain-contract",
|
|
100
100
|
"export": "./buildchain-contract",
|
|
101
101
|
"target": "./packages/core/buildchain-contract.js",
|
|
102
|
-
"digest": "sha256:
|
|
102
|
+
"digest": "sha256:1e5f8a1741a0a98116e754ef0874337db4c1821bb7a153ab398009145509681c",
|
|
103
103
|
"summary": "Runtime contract world and compatibility digest APIs for floating-ref drift checks.",
|
|
104
104
|
"capabilityGroup": "governance-versioning",
|
|
105
105
|
"audience": [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"contract": "kungfu-buildchain-publication-release-registry",
|
|
4
|
-
"generatedAt": "2026-07-
|
|
5
|
-
"publishedAt": "2026-07-
|
|
4
|
+
"generatedAt": "2026-07-22T23:30:42.191Z",
|
|
5
|
+
"publishedAt": "2026-07-22T23:30:42.191Z",
|
|
6
6
|
"reproducible": true,
|
|
7
7
|
"timestampPolicy": "ci-injected",
|
|
8
8
|
"deterministicInputs": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"declared Buildchain surface manifest contract"
|
|
20
20
|
],
|
|
21
21
|
"sourceDateEpoch": "0",
|
|
22
|
-
"sourceRevision": "
|
|
22
|
+
"sourceRevision": "7c7ff64cd7cd3b34ad377999ed8aa22b1e1d8d93",
|
|
23
23
|
"timestampPolicyDetails": {
|
|
24
24
|
"contract": "kungfu-buildchain-surface-timestamp-policy",
|
|
25
25
|
"timestampFields": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"package": {
|
|
34
34
|
"name": "@kungfu-tech/buildchain",
|
|
35
|
-
"version": "2.14.17-alpha.
|
|
35
|
+
"version": "2.14.17-alpha.1",
|
|
36
36
|
"versionSource": "package.json#version"
|
|
37
37
|
},
|
|
38
38
|
"sourceKind": "package-site-bundle",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"contract": "kungfu-buildchain-site-manifest",
|
|
4
|
-
"generatedAt": "2026-07-
|
|
5
|
-
"publishedAt": "2026-07-
|
|
4
|
+
"generatedAt": "2026-07-22T23:30:42.191Z",
|
|
5
|
+
"publishedAt": "2026-07-22T23:30:42.191Z",
|
|
6
6
|
"reproducible": true,
|
|
7
7
|
"timestampPolicy": "ci-injected",
|
|
8
8
|
"deterministicInputs": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"declared Buildchain surface manifest contract"
|
|
20
20
|
],
|
|
21
21
|
"sourceDateEpoch": "0",
|
|
22
|
-
"sourceRevision": "
|
|
22
|
+
"sourceRevision": "7c7ff64cd7cd3b34ad377999ed8aa22b1e1d8d93",
|
|
23
23
|
"timestampPolicyDetails": {
|
|
24
24
|
"contract": "kungfu-buildchain-surface-timestamp-policy",
|
|
25
25
|
"timestampFields": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"package": {
|
|
39
39
|
"name": "@kungfu-tech/buildchain",
|
|
40
|
-
"version": "2.14.17-alpha.
|
|
40
|
+
"version": "2.14.17-alpha.1",
|
|
41
41
|
"versionSource": "package.json#version"
|
|
42
42
|
},
|
|
43
43
|
"entrypoint": "buildchain-site.json",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kungfu-tech/buildchain",
|
|
3
|
-
"version": "2.14.17-alpha.
|
|
3
|
+
"version": "2.14.17-alpha.1",
|
|
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",
|
|
@@ -351,6 +351,9 @@ export function createBuildchainContractWorld({
|
|
|
351
351
|
"publish transactions can require a resolved publish-gate source lock to prevent floating-ref drift",
|
|
352
352
|
"semver GitHub Releases are created or updated only after transaction completion, with prerelease/latest metadata bound to the authoritative publication channel and tag syntax retained as the fallback for ordinary callers",
|
|
353
353
|
],
|
|
354
|
+
compatibleBreakingDigests: [
|
|
355
|
+
"sha256:a59f0910e6df842e7699139472e5dd69ac2fdd7f7213bf2cb346d1d622556874",
|
|
356
|
+
],
|
|
354
357
|
}),
|
|
355
358
|
surface(root, {
|
|
356
359
|
id: "report-buildchain-issue-action",
|
|
@@ -758,7 +761,11 @@ export function evaluateBuildchainContractLock({
|
|
|
758
761
|
reasons.push(`surface removed: ${oldSurface.id}`);
|
|
759
762
|
continue;
|
|
760
763
|
}
|
|
761
|
-
|
|
764
|
+
const compatibleBreakingDigests = new Set(nextSurface.compatibleBreakingDigests || []);
|
|
765
|
+
if (
|
|
766
|
+
nextSurface.breakingDigest !== oldSurface.breakingDigest
|
|
767
|
+
&& !compatibleBreakingDigests.has(oldSurface.breakingDigest)
|
|
768
|
+
) {
|
|
762
769
|
reasons.push(`surface breaking digest changed: ${oldSurface.id}`);
|
|
763
770
|
}
|
|
764
771
|
}
|
|
@@ -8,6 +8,7 @@ const TRUSTED_PERMISSIONS = new Set(["write", "maintain", "admin"]);
|
|
|
8
8
|
|
|
9
9
|
export function resolveWebSurfaceProductionDecision({
|
|
10
10
|
eventName,
|
|
11
|
+
eventAction = "",
|
|
11
12
|
refName,
|
|
12
13
|
repository,
|
|
13
14
|
sourceSha,
|
|
@@ -36,9 +37,11 @@ export function resolveWebSurfaceProductionDecision({
|
|
|
36
37
|
reason: trusted ? "trusted-manual-dispatch" : "manual-actor-permission-insufficient",
|
|
37
38
|
});
|
|
38
39
|
}
|
|
40
|
+
const reviewedReleaseEvent =
|
|
41
|
+
(eventName === "push" && refName === "main") ||
|
|
42
|
+
(eventName === "pull_request" && eventAction === "closed");
|
|
39
43
|
if (
|
|
40
|
-
|
|
41
|
-
refName === "main" &&
|
|
44
|
+
reviewedReleaseEvent &&
|
|
42
45
|
productionApply === true &&
|
|
43
46
|
productionReleaseOnMain === true &&
|
|
44
47
|
releaseApproved === true
|
|
@@ -103,9 +106,10 @@ async function main() {
|
|
|
103
106
|
}
|
|
104
107
|
const decision = resolveWebSurfaceProductionDecision({
|
|
105
108
|
eventName,
|
|
109
|
+
eventAction: process.env.GITHUB_EVENT_ACTION,
|
|
106
110
|
refName: process.env.GITHUB_REF_NAME,
|
|
107
111
|
repository,
|
|
108
|
-
sourceSha: process.env.GITHUB_SHA,
|
|
112
|
+
sourceSha: process.env.BUILDCHAIN_PRODUCTION_SOURCE_SHA || process.env.GITHUB_SHA,
|
|
109
113
|
actor,
|
|
110
114
|
productionApply: bool("BUILDCHAIN_PRODUCTION_APPLY"),
|
|
111
115
|
productionApproved: bool("BUILDCHAIN_PRODUCTION_APPROVED"),
|