@kungfu-tech/buildchain 4.0.1-alpha.26 → 4.0.1-alpha.28

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.
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "name": "Buildchain",
6
6
  "package": "@kungfu-tech/buildchain",
7
- "version": "4.0.1-alpha.26",
7
+ "version": "4.0.1-alpha.28",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "majorLine": "v4",
@@ -5308,5 +5308,5 @@
5308
5308
  "compatibilityFactCutRoot": "sha256:f61b975d4a96c921cc4bd37fb3ed9a0596b47004fe34dc7219979d697e3707f9",
5309
5309
  "compatibilityProofRegistryRoot": "sha256:b7194b811e4d3af2df4390bc4d1731e16a86215bd64ee18cb630dd5492f4fb63",
5310
5310
  "compatibilityDigest": "sha256:5de1c69386510b74b17eb70141b8bdd07063d62c504f91db5e84b67c6d4b64a2",
5311
- "contractDigest": "sha256:ecf05ec927ee957d85b860d199a04843714a4928da62a912b73e3e30d67b47a6"
5311
+ "contractDigest": "sha256:62e5a481e28ba6397b3a08ea610eea9a5777a162cade57b491b4273ab96ef561"
5312
5312
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-bundle",
4
- "generatedAt": "2026-08-23T11:07:14.638Z",
5
- "publishedAt": "2026-08-23T11:07:14.638Z",
4
+ "generatedAt": "2026-08-23T13:40:22.242Z",
5
+ "publishedAt": "2026-08-23T13:40:22.242Z",
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": "029d464cac57f1c44d2a9bf4fd5ada9385813655",
22
+ "sourceRevision": "3c83a3212470ef967cda326752d11a2c608ad473",
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": "4.0.1-alpha.26",
40
+ "version": "4.0.1-alpha.28",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "source": {
@@ -21,7 +21,7 @@
21
21
  "contract": "kungfu-buildchain-public-surface-reverse-audit",
22
22
  "path": "dist/site/public-surface-audit.json",
23
23
  "status": "passed",
24
- "sha256": "1ae96af472762442fa4bab02abec983a27d1bba47def64270a10ae3b2963e823",
24
+ "sha256": "755a10787512d04ca0c065414c3c9c3bbb0f33dc40a3b12debbcfd1b191fa35b",
25
25
  "summary": {
26
26
  "cliCommandCount": 117,
27
27
  "workflowCount": 76,
@@ -246,7 +246,7 @@
246
246
  "contract": "kungfu-buildchain-public-surface-reverse-audit",
247
247
  "path": "dist/site/public-surface-audit.json",
248
248
  "status": "passed",
249
- "sha256": "1ae96af472762442fa4bab02abec983a27d1bba47def64270a10ae3b2963e823",
249
+ "sha256": "755a10787512d04ca0c065414c3c9c3bbb0f33dc40a3b12debbcfd1b191fa35b",
250
250
  "summary": {
251
251
  "cliCommandCount": 117,
252
252
  "workflowCount": 76,
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "id": "kungfu-tech-buildchain",
6
6
  "name": "@kungfu-tech/buildchain",
7
- "version": "4.0.1-alpha.26",
7
+ "version": "4.0.1-alpha.28",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "source": {
@@ -8846,7 +8846,7 @@
8846
8846
  "workflowRegistryPath": "dist/site/workflow-registry.json",
8847
8847
  "pageRegistryPath": "dist/site/page-registry.json",
8848
8848
  "cliRegistryDigest": "ea47a31ce7ef3577f23e22055ab7be7715c3af494bcef63f76b426f2883086aa",
8849
- "workflowRegistryDigest": "1df243c57f9a6f8f779ada8d66b4245f87c4d74a374d1af937797bc9cc0bdb3a",
8849
+ "workflowRegistryDigest": "5d343bb985329c655bab27298c7a9f0be50c296b6a764337428a45a3a6442647",
8850
8850
  "pageRegistryDigest": "9d9d0590c8d3110fc5a95978852ee25337567f93980b2562cc1159f0d5219ade"
8851
8851
  },
8852
8852
  "comparison": {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-publication-release-registry",
4
- "generatedAt": "2026-08-23T11:07:14.638Z",
5
- "publishedAt": "2026-08-23T11:07:14.638Z",
4
+ "generatedAt": "2026-08-23T13:40:22.242Z",
5
+ "publishedAt": "2026-08-23T13:40:22.242Z",
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": "029d464cac57f1c44d2a9bf4fd5ada9385813655",
22
+ "sourceRevision": "3c83a3212470ef967cda326752d11a2c608ad473",
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": "4.0.1-alpha.26",
35
+ "version": "4.0.1-alpha.28",
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-08-23T11:07:14.638Z",
5
- "publishedAt": "2026-08-23T11:07:14.638Z",
4
+ "generatedAt": "2026-08-23T13:40:22.242Z",
5
+ "publishedAt": "2026-08-23T13:40:22.242Z",
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": "029d464cac57f1c44d2a9bf4fd5ada9385813655",
22
+ "sourceRevision": "3c83a3212470ef967cda326752d11a2c608ad473",
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": "4.0.1-alpha.26",
40
+ "version": "4.0.1-alpha.28",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "entrypoint": "buildchain-site.json",
@@ -2027,7 +2027,7 @@
2027
2027
  "status": "preview",
2028
2028
  "owner": "buildchain-workflows",
2029
2029
  "maturity": "preview",
2030
- "introducedVersion": "4.0.1-alpha.26",
2030
+ "introducedVersion": "4.0.1-alpha.28",
2031
2031
  "compatibilityPromise": "preserved-through-the-v3-major-line",
2032
2032
  "deprecationReplacement": "",
2033
2033
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
@@ -2048,7 +2048,7 @@
2048
2048
  "status": "preview",
2049
2049
  "owner": "buildchain-workflows",
2050
2050
  "maturity": "preview",
2051
- "introducedVersion": "4.0.1-alpha.26",
2051
+ "introducedVersion": "4.0.1-alpha.28",
2052
2052
  "compatibilityPromise": "preserved-through-the-v3-major-line",
2053
2053
  "deprecationReplacement": "",
2054
2054
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
@@ -2069,7 +2069,7 @@
2069
2069
  "status": "preview",
2070
2070
  "owner": "buildchain-workflows",
2071
2071
  "maturity": "preview",
2072
- "introducedVersion": "4.0.1-alpha.26",
2072
+ "introducedVersion": "4.0.1-alpha.28",
2073
2073
  "compatibilityPromise": "preserved-through-the-v3-major-line",
2074
2074
  "deprecationReplacement": "",
2075
2075
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
@@ -2119,7 +2119,7 @@
2119
2119
  "status": "preview",
2120
2120
  "owner": "buildchain-workflows",
2121
2121
  "maturity": "preview",
2122
- "introducedVersion": "4.0.1-alpha.26",
2122
+ "introducedVersion": "4.0.1-alpha.28",
2123
2123
  "compatibilityPromise": "preserved-through-the-v3-major-line",
2124
2124
  "deprecationReplacement": "",
2125
2125
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kungfu-tech/buildchain",
3
- "version": "4.0.1-alpha.26",
3
+ "version": "4.0.1-alpha.28",
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",
@@ -78,14 +78,15 @@ export function resolveV4ConsumerPolicyCertificationIdentity({
78
78
  runtimeResume = undefined,
79
79
  sourceSha = "",
80
80
  } = {}) {
81
- const certifiedSourceSha =
82
- (release?.certification?.certification || release?.certification)?.caller
83
- ?.sourceSha || "";
81
+ const certification =
82
+ release?.certification?.certification || release?.certification;
83
+ const certifiedSourceSha = certification?.caller?.sourceSha || "";
84
84
  const treeEquivalentSources = [
85
85
  release?.builtSourceSha || release?.built_source_sha,
86
86
  release?.promotionChannelSha || release?.promotion_channel_sha,
87
87
  ];
88
- const buildRuntimeSha = runtimeResume?.lineage?.attempts?.build?.runtimeSha;
88
+ const buildSha = runtimeResume?.lineage?.attempts?.build?.runtimeSha;
89
+ const certifiedSha = certification?.invocation?.resolvedRuntimeSha || "";
89
90
  return {
90
91
  sourceSha:
91
92
  certifiedSourceSha === sourceSha ||
@@ -93,7 +94,7 @@ export function resolveV4ConsumerPolicyCertificationIdentity({
93
94
  treeEquivalentSources.includes(certifiedSourceSha))
94
95
  ? certifiedSourceSha
95
96
  : sourceSha,
96
- runtimeSha: buildRuntimeSha || routing?.runtime?.resolvedSha || "",
97
+ runtimeSha: buildSha || certifiedSha || routing?.runtime?.resolvedSha || "",
97
98
  };
98
99
  }
99
100
  export function requireV4ConsumerPolicyCertification({
@@ -164,15 +164,6 @@ async function qualifyProjectCut({
164
164
 
165
165
  let reuseDecision = null;
166
166
  if (currentBaseSha !== previousBaseSha) {
167
- const observedPullRequestBase = String(
168
- observedPullRequest.base?.sha || "",
169
- ).toLowerCase();
170
- if (observedPullRequestBase !== currentBaseSha) {
171
- mismatch("pre-enqueue-project-cut-base-stale", {
172
- observedPullRequestBase,
173
- currentBaseSha,
174
- });
175
- }
176
167
  const proof = readOptionalJson(options.sourceProofPath);
177
168
  if (!proof) mismatch("pre-enqueue-base-attribution-unknown");
178
169
  if (
@@ -342,15 +333,6 @@ export async function qualifyPreEnqueueReadback({
342
333
  ) {
343
334
  mismatch("head-sha-drift-after-project-cut");
344
335
  }
345
- const casPullRequestBase = String(
346
- casPullRequest.base?.sha || "",
347
- ).toLowerCase();
348
- if (casPullRequestBase && casPullRequestBase !== casBaseSha) {
349
- mismatch("pre-enqueue-project-cut-base-stale", {
350
- observedPullRequestBase: casPullRequestBase,
351
- currentBaseSha: casBaseSha,
352
- });
353
- }
354
336
  if (casPullRequest.mergeable === false) {
355
337
  mismatch("pre-enqueue-merge-conflict-after-project-cut");
356
338
  }