@kungfu-tech/buildchain 2.14.4-alpha.1 → 2.14.4-alpha.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.
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "name": "Buildchain",
6
6
  "package": "@kungfu-tech/buildchain",
7
- "version": "2.14.4-alpha.1",
7
+ "version": "2.14.4-alpha.2",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "majorLine": "v2",
@@ -170,7 +170,7 @@
170
170
  "GitHub Release passport and evidence publication is delegated to promote-buildchain-ref after the semver release transaction completes"
171
171
  ],
172
172
  "breakingDigest": "sha256:1f476fb9a4854b362c4b24cef89a3c7675d7d63baf3bc828d7b8ae7d2787cead",
173
- "auditDigest": "sha256:7a6f5954ee3d0ec949b4af945e05df514dca23016fab91b6329fcb71ce37cc6b"
173
+ "auditDigest": "sha256:d95a2804b117b1aae3b9ff415c1288a654caeac147c731d8f639484c625f6089"
174
174
  },
175
175
  {
176
176
  "contractVersion": 1,
@@ -2844,5 +2844,5 @@
2844
2844
  }
2845
2845
  ],
2846
2846
  "compatibilityDigest": "sha256:edc3653e5cb34efd97065a6941db16140bbf375a565bbcf329d9d795bb07676f",
2847
- "contractDigest": "sha256:10b01765e6c0a6e6d350c6a164f36f0b7a9618e935b514788e55a51083028577"
2847
+ "contractDigest": "sha256:37f62c159142ac5486cf43c2c7cf3891db1e29ec3f16ec0a8a26c98aa83f3219"
2848
2848
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-bundle",
4
- "generatedAt": "2026-07-20T14:30:08.216Z",
5
- "publishedAt": "2026-07-20T14:30:08.216Z",
4
+ "generatedAt": "2026-07-20T15:37:06.040Z",
5
+ "publishedAt": "2026-07-20T15:37:06.040Z",
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": "24d614a941bc9b9c452bf50ab8c1efd08770c2a5",
22
+ "sourceRevision": "980bdb3117661fc220f7e5050e8e7424e2cfca5b",
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.4-alpha.1",
40
+ "version": "2.14.4-alpha.2",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "source": {
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "id": "kungfu-tech-buildchain",
6
6
  "name": "@kungfu-tech/buildchain",
7
- "version": "2.14.4-alpha.1",
7
+ "version": "2.14.4-alpha.2",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "source": {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-publication-release-registry",
4
- "generatedAt": "2026-07-20T14:30:08.216Z",
5
- "publishedAt": "2026-07-20T14:30:08.216Z",
4
+ "generatedAt": "2026-07-20T15:37:06.040Z",
5
+ "publishedAt": "2026-07-20T15:37:06.040Z",
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": "24d614a941bc9b9c452bf50ab8c1efd08770c2a5",
22
+ "sourceRevision": "980bdb3117661fc220f7e5050e8e7424e2cfca5b",
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.4-alpha.1",
35
+ "version": "2.14.4-alpha.2",
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-20T14:30:08.216Z",
5
- "publishedAt": "2026-07-20T14:30:08.216Z",
4
+ "generatedAt": "2026-07-20T15:37:06.040Z",
5
+ "publishedAt": "2026-07-20T15:37:06.040Z",
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": "24d614a941bc9b9c452bf50ab8c1efd08770c2a5",
22
+ "sourceRevision": "980bdb3117661fc220f7e5050e8e7424e2cfca5b",
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.4-alpha.1",
40
+ "version": "2.14.4-alpha.2",
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.4-alpha.1",
3
+ "version": "2.14.4-alpha.2",
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",
@@ -90,9 +90,11 @@ function publicOutputs(outputBlock) {
90
90
  return [...routed, ...forwarded].join("\n");
91
91
  }
92
92
 
93
- function forwardedInputs(inputNames, { includeInternal = true } = {}) {
93
+ function forwardedInputs(inputNames, { includeInternal = true, unsupportedInputs = [] } = {}) {
94
+ const unsupported = new Set(unsupportedInputs);
94
95
  return inputNames
95
96
  .filter((name) => includeInternal || !internalInputs.has(name))
97
+ .filter((name) => !unsupported.has(name))
96
98
  .map((name) => {
97
99
  const routed = {
98
100
  "buildchain-ref": "runtime-ref",
@@ -134,7 +136,15 @@ function validateWorkflowRoute(name, route, expectedLogicalRef) {
134
136
  if (typeof route.forwardInternalInputs !== "boolean") {
135
137
  throw new Error(`promotion shell ${name} forwardInternalInputs must be boolean`);
136
138
  }
137
- return { ...route };
139
+ const unsupportedInputs = route.unsupportedInputs ?? [];
140
+ if (
141
+ !Array.isArray(unsupportedInputs) ||
142
+ unsupportedInputs.some((input) => !/^[a-z0-9-]+$/.test(input)) ||
143
+ new Set(unsupportedInputs).size !== unsupportedInputs.length
144
+ ) {
145
+ throw new Error(`promotion shell ${name} unsupportedInputs must contain unique workflow input names`);
146
+ }
147
+ return { ...route, unsupportedInputs };
138
148
  }
139
149
 
140
150
  export function parsePromotionShellRouting(source, { major = 2 } = {}) {
@@ -154,12 +164,14 @@ export function generateChannelPromotionWorkflow(source, { major = 2, shellRouti
154
164
  callRef: `v${major}-alpha`,
155
165
  workflowPath: ".github/workflows/.release-candidate-promote.yml",
156
166
  forwardInternalInputs: true,
167
+ unsupportedInputs: [],
157
168
  },
158
169
  stable: {
159
170
  logicalRef: `v${major}`,
160
171
  callRef: `v${major}`,
161
172
  workflowPath: ".github/workflows/.release-candidate-promote.yml",
162
173
  forwardInternalInputs: true,
174
+ unsupportedInputs: [],
163
175
  },
164
176
  };
165
177
  const alphaRoute = validateWorkflowRoute("alpha", routes.alpha, `v${major}-alpha`);
@@ -173,9 +185,11 @@ export function generateChannelPromotionWorkflow(source, { major = 2, shellRouti
173
185
  }
174
186
  const alphaForwarded = forwardedInputs(inputNames, {
175
187
  includeInternal: alphaRoute.forwardInternalInputs,
188
+ unsupportedInputs: alphaRoute.unsupportedInputs,
176
189
  });
177
190
  const stableForwarded = forwardedInputs(inputNames, {
178
191
  includeInternal: stableRoute.forwardInternalInputs,
192
+ unsupportedInputs: stableRoute.unsupportedInputs,
179
193
  });
180
194
  return `# Generated by scripts/generate-channel-promotion-workflow.mjs. Do not edit directly.
181
195
  name: Release Candidate Promote