@kungfu-tech/buildchain 2.12.5-alpha.2 → 2.12.5-alpha.4

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.12.5-alpha.2",
7
+ "version": "2.12.5-alpha.4",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "majorLine": "v2",
@@ -89,7 +89,7 @@
89
89
  "alpha and stable channel selections use separate consumer contract locks by default"
90
90
  ],
91
91
  "breakingDigest": "sha256:c4597dfa89e1a58f1023905092b849644f5c080abf150aeba9c7e1cd5ed43962",
92
- "auditDigest": "sha256:00f575bb160b851361927a998b4dab66f7eade003f80d1fa5bc72bb68328835c"
92
+ "auditDigest": "sha256:a265606dc3acc927c9be7b2c792bfd6f609eeabb8177fe5cf089adf191fdad78"
93
93
  },
94
94
  {
95
95
  "contractVersion": 1,
@@ -1374,7 +1374,7 @@
1374
1374
  "missing receipts are non-qualifying and must not be represented as a successful controller run"
1375
1375
  ],
1376
1376
  "breakingDigest": "sha256:d40dd05d7e07473d4b2dc1b62fbb0ed6f06449b4d3a7c44a2e8014313e3c0273",
1377
- "auditDigest": "sha256:00f575bb160b851361927a998b4dab66f7eade003f80d1fa5bc72bb68328835c"
1377
+ "auditDigest": "sha256:a265606dc3acc927c9be7b2c792bfd6f609eeabb8177fe5cf089adf191fdad78"
1378
1378
  },
1379
1379
  {
1380
1380
  "contractVersion": 1,
@@ -2549,5 +2549,5 @@
2549
2549
  }
2550
2550
  ],
2551
2551
  "compatibilityDigest": "sha256:2520207c5d6d6a737dd32251a42be9c5299644d9aebf690a8402ead1724ed495",
2552
- "contractDigest": "sha256:297bf3fb92da8a668f0bcbe9cf4d87fc544dd24b241a1047404eaf64fdfba420"
2552
+ "contractDigest": "sha256:cd59db4c30850116198c3897891d18884fbc4542872a1bdbf0639ff30b527fab"
2553
2553
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-bundle",
4
- "generatedAt": "2026-07-14T02:08:07.124Z",
5
- "publishedAt": "2026-07-14T02:08:07.124Z",
4
+ "generatedAt": "2026-07-14T02:40:54.371Z",
5
+ "publishedAt": "2026-07-14T02:40:54.371Z",
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": "0cb2a220385a2ef7bc6eafb76d1e99eaf4b31501",
22
+ "sourceRevision": "0b3b7bb5a4cdd0fc0460f4b802e590a8d9767f62",
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.12.5-alpha.2",
40
+ "version": "2.12.5-alpha.4",
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.12.5-alpha.2",
7
+ "version": "2.12.5-alpha.4",
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-14T02:08:07.124Z",
5
- "publishedAt": "2026-07-14T02:08:07.124Z",
4
+ "generatedAt": "2026-07-14T02:40:54.371Z",
5
+ "publishedAt": "2026-07-14T02:40:54.371Z",
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": "0cb2a220385a2ef7bc6eafb76d1e99eaf4b31501",
22
+ "sourceRevision": "0b3b7bb5a4cdd0fc0460f4b802e590a8d9767f62",
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.12.5-alpha.2",
35
+ "version": "2.12.5-alpha.4",
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-14T02:08:07.124Z",
5
- "publishedAt": "2026-07-14T02:08:07.124Z",
4
+ "generatedAt": "2026-07-14T02:40:54.371Z",
5
+ "publishedAt": "2026-07-14T02:40:54.371Z",
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": "0cb2a220385a2ef7bc6eafb76d1e99eaf4b31501",
22
+ "sourceRevision": "0b3b7bb5a4cdd0fc0460f4b802e590a8d9767f62",
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.12.5-alpha.2",
40
+ "version": "2.12.5-alpha.4",
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.12.5-alpha.2",
3
+ "version": "2.12.5-alpha.4",
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",
@@ -92,20 +92,20 @@ function routerControllerPlanJob() {
92
92
  controller-plan-digest: \${{ steps.plan.outputs.controller-plan-digest }}
93
93
  runtime-sha: \${{ steps.identities.outputs.runtime-sha }}
94
94
  steps:
95
- - name: Checkout selected Buildchain runtime
95
+ - name: Checkout Buildchain controller workflow shell
96
96
  uses: actions/checkout@v7.0.0
97
97
  with:
98
- repository: \${{ inputs.buildchain-repository }}
99
- ref: \${{ needs.resolve-channel.outputs.buildchain-ref }}
100
- path: .buildchain/runtime
98
+ repository: \${{ needs.resolve-channel.outputs.router-repository }}
99
+ ref: \${{ needs.resolve-channel.outputs.router-ref }}
100
+ path: .buildchain/controller-runtime
101
101
  persist-credentials: false
102
102
 
103
- - name: Resolve selected runtime identity
103
+ - name: Resolve controller workflow shell identity
104
104
  id: identities
105
105
  shell: bash
106
106
  run: |
107
- runtime_sha="$(git -C .buildchain/runtime rev-parse HEAD)"
108
- contract_digest="$(node -e 'const fs=require("fs"); const value=JSON.parse(fs.readFileSync(".buildchain/runtime/dist/site/buildchain-contract.json","utf8")); process.stdout.write(value.contractDigest)')"
107
+ runtime_sha="$(git -C .buildchain/controller-runtime rev-parse HEAD)"
108
+ contract_digest="$(node -e 'const fs=require("fs"); const value=JSON.parse(fs.readFileSync(".buildchain/controller-runtime/dist/site/buildchain-contract.json","utf8")); process.stdout.write(value.contractDigest)')"
109
109
  {
110
110
  echo "runtime-sha=\${runtime_sha}"
111
111
  echo "contract-digest=\${contract_digest}"
@@ -113,14 +113,15 @@ function routerControllerPlanJob() {
113
113
 
114
114
  - name: Create channel router controller plan
115
115
  id: plan
116
- run: node .buildchain/runtime/scripts/controller-evidence.mjs --mode plan
116
+ run: node .buildchain/controller-runtime/scripts/controller-evidence.mjs --mode plan
117
117
  env:
118
118
  BUILDCHAIN_CONTROLLER_ID: build-channel-router
119
119
  BUILDCHAIN_CONTROLLER_SOURCE_REPOSITORY: \${{ github.repository }}
120
120
  BUILDCHAIN_CONTROLLER_SOURCE_SHA: \${{ github.sha }}
121
- BUILDCHAIN_CONTROLLER_RUNTIME_REF: \${{ needs.resolve-channel.outputs.buildchain-ref }}
121
+ BUILDCHAIN_CONTROLLER_RUNTIME_REF: \${{ needs.resolve-channel.outputs.router-ref }}
122
122
  BUILDCHAIN_CONTROLLER_RUNTIME_SHA: \${{ steps.identities.outputs.runtime-sha }}
123
123
  BUILDCHAIN_CONTROLLER_CONTRACT_DIGEST: \${{ steps.identities.outputs.contract-digest }}
124
+ BUILDCHAIN_CONTROLLER_REGISTRY: .buildchain/controller-runtime/dist/site/controller-registry.json
124
125
  BUILDCHAIN_CONTROLLER_INPUTS_JSON: \${{ toJSON(inputs) }}
125
126
  BUILDCHAIN_CONTROLLER_PLAN_PATH: .buildchain/controller/plan.json
126
127
 
@@ -153,12 +154,12 @@ function routerControllerReceiptJob() {
153
154
  controller-receipt-digest: \${{ steps.receipt.outputs.controller-receipt-digest }}
154
155
  controller-receipt-status: \${{ steps.receipt.outputs.controller-receipt-status }}
155
156
  steps:
156
- - name: Checkout selected Buildchain runtime
157
+ - name: Checkout Buildchain controller workflow shell
157
158
  uses: actions/checkout@v7.0.0
158
159
  with:
159
- repository: \${{ inputs.buildchain-repository }}
160
+ repository: \${{ needs.resolve-channel.outputs.router-repository }}
160
161
  ref: \${{ needs.controller-plan.outputs.runtime-sha }}
161
- path: .buildchain/runtime
162
+ path: .buildchain/controller-runtime
162
163
  persist-credentials: false
163
164
 
164
165
  - name: Download channel router controller plan
@@ -169,7 +170,7 @@ function routerControllerReceiptJob() {
169
170
 
170
171
  - name: Create channel router controller receipt
171
172
  id: receipt
172
- run: node .buildchain/runtime/scripts/controller-evidence.mjs --mode receipt
173
+ run: node .buildchain/controller-runtime/scripts/controller-evidence.mjs --mode receipt
173
174
  env:
174
175
  BUILDCHAIN_CONTROLLER_PLAN_PATH: .buildchain/controller/plan.json
175
176
  BUILDCHAIN_CONTROLLER_STAGES_JSON: >-
@@ -214,6 +215,15 @@ function generateChannelBuildWorkflowBase(source) {
214
215
 
215
216
  export function generateChannelBuildWorkflow(source) {
216
217
  const generated = generateChannelBuildWorkflowBase(source)
218
+ .replace(
219
+ " contract-lock-path: ${{ steps.lock.outputs.path }}\n",
220
+ [
221
+ " contract-lock-path: ${{ steps.lock.outputs.path }}",
222
+ " router-repository: ${{ steps.router.outputs.repository }}",
223
+ " router-ref: ${{ steps.router.outputs.ref }}",
224
+ "",
225
+ ].join("\n"),
226
+ )
217
227
  .replace("\n build:\n", `\n${routerControllerPlanJob()}\n\n build:\n`)
218
228
  .replace(
219
229
  " needs: resolve-channel\n uses: ./.github/workflows/.build.yml",