@kungfu-tech/buildchain 4.0.1-alpha.16 → 4.0.1-alpha.17

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.16",
7
+ "version": "4.0.1-alpha.17",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "majorLine": "v4",
@@ -2012,7 +2012,7 @@
2012
2012
  "release-state SHA is recorded as a durable audit entrance"
2013
2013
  ],
2014
2014
  "breakingDigest": "sha256:b627e1b2ece9b6049517a942c5139e342e6077cdd3d8962d61cef8481b1f70ad",
2015
- "auditDigest": "sha256:7b433d34f87651d8fb187d06b83113e93cbc0243a0f93ce33f375a4737f144f6"
2015
+ "auditDigest": "sha256:2988f713a00099a83b76302bff589c355502c90854c53f608d004e64e9ee7302"
2016
2016
  },
2017
2017
  {
2018
2018
  "contractVersion": 1,
@@ -2061,7 +2061,7 @@
2061
2061
  "prose-only public claims downgrade the release trust passport audit"
2062
2062
  ],
2063
2063
  "breakingDigest": "sha256:f0b636eb925ddbf45ff1a8872454ab7b4dd98857cac12bb75217830130e62a16",
2064
- "auditDigest": "sha256:7b433d34f87651d8fb187d06b83113e93cbc0243a0f93ce33f375a4737f144f6"
2064
+ "auditDigest": "sha256:2988f713a00099a83b76302bff589c355502c90854c53f608d004e64e9ee7302"
2065
2065
  },
2066
2066
  {
2067
2067
  "contractVersion": 1,
@@ -2233,7 +2233,7 @@
2233
2233
  "agents can discover supported Node APIs without importing internal file paths"
2234
2234
  ],
2235
2235
  "breakingDigest": "sha256:48f925608d3e2131d90936b07dc2a30341204cae3e6e785c0f77d61ad755c945",
2236
- "auditDigest": "sha256:5d9041bc69c11daa40a5e682cf4ac66f85fc706537970d6c5c5773288e5fcb01"
2236
+ "auditDigest": "sha256:faab536c4d343dcda528bef9fe3c1646dba922c64d8fd39a85fde543f3bab0de"
2237
2237
  },
2238
2238
  {
2239
2239
  "contractVersion": 1,
@@ -5308,5 +5308,5 @@
5308
5308
  "compatibilityFactCutRoot": "sha256:f61b975d4a96c921cc4bd37fb3ed9a0596b47004fe34dc7219979d697e3707f9",
5309
5309
  "compatibilityProofRegistryRoot": "sha256:b7194b811e4d3af2df4390bc4d1731e16a86215bd64ee18cb630dd5492f4fb63",
5310
5310
  "compatibilityDigest": "sha256:5de1c69386510b74b17eb70141b8bdd07063d62c504f91db5e84b67c6d4b64a2",
5311
- "contractDigest": "sha256:ef3e4d5c123bbc7cf4fe62e6d84b08d54ce8b87de0c6b2f7af92ba8b4161ba09"
5311
+ "contractDigest": "sha256:03b746ccd219a4507dd85d97fa0fd8f3739f33aa0f67db38b8c7fcb57688d073"
5312
5312
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-bundle",
4
- "generatedAt": "2026-08-22T21:16:23.467Z",
5
- "publishedAt": "2026-08-22T21:16:23.467Z",
4
+ "generatedAt": "2026-08-22T22:46:52.216Z",
5
+ "publishedAt": "2026-08-22T22:46:52.216Z",
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": "3f16e16bfe8ccb6ca2bae7e095aedc6fc5a140d2",
22
+ "sourceRevision": "77ca1c875ca2c02ba55b09932e05d227445462d4",
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.16",
40
+ "version": "4.0.1-alpha.17",
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": "9b9215aa74419a85a52e7cad966b56297a6b5751f6258163e1d8ac3bbcb2b52e",
24
+ "sha256": "10450d725d7397da00e3563dd5cdaeb5c4973f24562ef318260f38407a6558ad",
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": "9b9215aa74419a85a52e7cad966b56297a6b5751f6258163e1d8ac3bbcb2b52e",
249
+ "sha256": "10450d725d7397da00e3563dd5cdaeb5c4973f24562ef318260f38407a6558ad",
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.16",
7
+ "version": "4.0.1-alpha.17",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "source": {
@@ -29521,7 +29521,7 @@
29521
29521
  "specifier": "@kungfu-tech/buildchain/release-passport",
29522
29522
  "export": "./release-passport",
29523
29523
  "target": "./packages/core/release-passport.js",
29524
- "digest": "sha256:7b433d34f87651d8fb187d06b83113e93cbc0243a0f93ce33f375a4737f144f6",
29524
+ "digest": "sha256:2988f713a00099a83b76302bff589c355502c90854c53f608d004e64e9ee7302",
29525
29525
  "summary": "Release passport collection, verification, explanation, and evidence APIs.",
29526
29526
  "capabilityGroup": "release-passport-trust",
29527
29527
  "audience": [
@@ -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": "d9c7193d3e6ad62b58a06931cccb3c4ee24285e75a705dd390cbf3ccd88645ad",
8849
+ "workflowRegistryDigest": "03d89259ecfd441286fb87e1be364c139c163ae3921bf901237583d609b1d510",
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-22T21:16:23.467Z",
5
- "publishedAt": "2026-08-22T21:16:23.467Z",
4
+ "generatedAt": "2026-08-22T22:46:52.216Z",
5
+ "publishedAt": "2026-08-22T22:46:52.216Z",
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": "3f16e16bfe8ccb6ca2bae7e095aedc6fc5a140d2",
22
+ "sourceRevision": "77ca1c875ca2c02ba55b09932e05d227445462d4",
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.16",
35
+ "version": "4.0.1-alpha.17",
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-22T21:16:23.467Z",
5
- "publishedAt": "2026-08-22T21:16:23.467Z",
4
+ "generatedAt": "2026-08-22T22:46:52.216Z",
5
+ "publishedAt": "2026-08-22T22:46:52.216Z",
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": "3f16e16bfe8ccb6ca2bae7e095aedc6fc5a140d2",
22
+ "sourceRevision": "77ca1c875ca2c02ba55b09932e05d227445462d4",
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.16",
40
+ "version": "4.0.1-alpha.17",
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.16",
2030
+ "introducedVersion": "4.0.1-alpha.17",
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.16",
2051
+ "introducedVersion": "4.0.1-alpha.17",
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.16",
2072
+ "introducedVersion": "4.0.1-alpha.17",
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.16",
2122
+ "introducedVersion": "4.0.1-alpha.17",
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.16",
3
+ "version": "4.0.1-alpha.17",
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",
@@ -1120,7 +1120,7 @@ function normalizePromotionEvidence({
1120
1120
  }) {
1121
1121
  const routing = normalizePromotionRouting(release.promotionRouting);
1122
1122
  const identity = resolveV4ConsumerPolicyCertificationIdentity({
1123
- release,
1123
+ release: { ...release, certification },
1124
1124
  routing,
1125
1125
  runtimeResume: v4RuntimeResumeEvidence,
1126
1126
  sourceSha,
@@ -76,7 +76,6 @@ function normalizeCertification(value, expected) {
76
76
  }
77
77
  return { certificationRoot: verification.certificationRoot, certification };
78
78
  }
79
-
80
79
  export function resolveV4ConsumerPolicyCertificationIdentity({
81
80
  release = {},
82
81
  routing = {},
@@ -85,9 +84,10 @@ export function resolveV4ConsumerPolicyCertificationIdentity({
85
84
  } = {}) {
86
85
  const builtSourceSha =
87
86
  release?.builtSourceSha || release?.built_source_sha || "";
87
+ const retainsCaller = release?.certification?.caller?.sourceSha === sourceSha;
88
88
  return {
89
89
  sourceSha:
90
- release?.treeEquivalent === true && builtSourceSha
90
+ release?.treeEquivalent === true && builtSourceSha && !retainsCaller
91
91
  ? builtSourceSha
92
92
  : sourceSha,
93
93
  runtimeSha:
@@ -134,7 +134,7 @@ export function releasePassportCertificationVerificationOptions({
134
134
  }) {
135
135
  const authority = evidence?.certification?.authority || {};
136
136
  const identity = resolveV4ConsumerPolicyCertificationIdentity({
137
- release: passport?.release,
137
+ release: { ...passport?.release, certification: evidence?.certification },
138
138
  routing,
139
139
  runtimeResume: passport?.v4RuntimeResume,
140
140
  sourceSha: passport?.release?.sourceSha || "",