@kungfu-tech/buildchain 3.0.1-alpha.2 → 3.0.1-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.
- package/AGENTS.md +5 -5
- package/README.md +15 -17
- package/actions/promote-buildchain-ref/README.md +8 -8
- package/actions/report-buildchain-issue/README.md +2 -2
- package/actions/run-lifecycle/README.md +1 -1
- package/actions/validate-config/README.md +1 -1
- package/bin/buildchain.mjs +11 -4
- package/dist/site/buildchain-contract.json +59 -24
- package/dist/site/buildchain-site.json +78 -83
- package/dist/site/controller-registry.json +30 -2
- package/dist/site/kfd-claims.json +12 -5
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +18 -18
- package/dist/site/node-api-registry.json +5 -5
- package/dist/site/page-registry.json +54 -59
- package/dist/site/public-surface-audit.json +11 -9
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/release-provenance.json +2 -2
- package/dist/site/site-manifest.json +22 -22
- package/dist/site/workflow-registry.json +8 -1
- package/docs/MAP.md +5 -5
- package/docs/cli.md +20 -14
- package/docs/consumer-issue-reporting.md +1 -1
- package/docs/homebrew.md +7 -5
- package/docs/install.md +7 -3
- package/docs/kfd-agent-hub.md +1 -1
- package/docs/lifecycle-protocol.md +3 -3
- package/docs/migration-inventory.md +4 -4
- package/docs/ownership.md +4 -4
- package/docs/publication-artifacts.md +2 -2
- package/docs/release-candidate.md +4 -4
- package/docs/release-governance.md +13 -13
- package/docs/release-passport.md +6 -6
- package/docs/release-propagation.md +5 -5
- package/docs/reusable-build-surface.md +23 -23
- package/docs/runtime-train-validation.md +13 -13
- package/docs/shifu-gate-profiles.md +2 -2
- package/docs/site-bundle-contract.md +1 -1
- package/docs/stable-candidate-patrol.md +2 -2
- package/docs/toolkit-observability.md +14 -0
- package/docs/web-surface-deployments.md +7 -7
- package/fixtures/libnode-shaped/README.md +1 -1
- package/package.json +1 -1
- package/packages/core/issue-reporting.js +8 -3
- package/packages/core/logging.js +101 -0
- package/scripts/auditable-demo.mjs +1 -1
- package/scripts/check-inventory.mjs +36 -17
- package/scripts/init-repo.mjs +2 -2
- package/scripts/web-surface-production-release-pr.mjs +99 -0
- package/scripts/workflow-friction-report.mjs +10 -0
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"workflowCount": 53,
|
|
8
8
|
"actionCount": 5,
|
|
9
9
|
"sitePageCount": 56,
|
|
10
|
-
"docCommandRefCount":
|
|
10
|
+
"docCommandRefCount": 275,
|
|
11
11
|
"failureCount": 0
|
|
12
12
|
},
|
|
13
13
|
"enumerated": {
|
|
@@ -660,6 +660,13 @@
|
|
|
660
660
|
"artifact-retention-days",
|
|
661
661
|
"buildchain-ref",
|
|
662
662
|
"buildchain-repository",
|
|
663
|
+
"checkout-cache-fallback",
|
|
664
|
+
"checkout-cache-fetch-attempts",
|
|
665
|
+
"checkout-cache-github-timeout-seconds",
|
|
666
|
+
"checkout-cache-mirror-url-template",
|
|
667
|
+
"checkout-cache-mode",
|
|
668
|
+
"checkout-cache-reference-repository-template",
|
|
669
|
+
"checkout-cache-timeout-seconds",
|
|
663
670
|
"gate-command-json",
|
|
664
671
|
"gate-environment-json",
|
|
665
672
|
"gate-plan-command-json",
|
|
@@ -676,7 +683,7 @@
|
|
|
676
683
|
"untrusted-policy",
|
|
677
684
|
"working-directory"
|
|
678
685
|
],
|
|
679
|
-
"inputCount":
|
|
686
|
+
"inputCount": 26,
|
|
680
687
|
"secrets": [],
|
|
681
688
|
"secretCount": 0,
|
|
682
689
|
"outputs": [
|
|
@@ -3937,11 +3944,6 @@
|
|
|
3937
3944
|
"path": "docs/release-passport.md",
|
|
3938
3945
|
"command": "buildchain verify release-passport"
|
|
3939
3946
|
},
|
|
3940
|
-
{
|
|
3941
|
-
"id": "verify-release-passport",
|
|
3942
|
-
"path": "README.md",
|
|
3943
|
-
"command": "buildchain verify release-passport buildchain"
|
|
3944
|
-
},
|
|
3945
3947
|
{
|
|
3946
3948
|
"id": "version",
|
|
3947
3949
|
"path": "docs/install.md",
|
|
@@ -3964,8 +3966,8 @@
|
|
|
3964
3966
|
"workflowRegistryPath": "dist/site/workflow-registry.json",
|
|
3965
3967
|
"pageRegistryPath": "dist/site/page-registry.json",
|
|
3966
3968
|
"cliRegistryDigest": "5ba7fd93a13993b05767b6f02d0626a7347f25c3d7cd4589ed4f70028c1f1bd1",
|
|
3967
|
-
"workflowRegistryDigest": "
|
|
3968
|
-
"pageRegistryDigest": "
|
|
3969
|
+
"workflowRegistryDigest": "1ae515aa9c38a443aaac1ea21f92ecd53e0e0d771c949bf157e1c29c036ddc6e",
|
|
3970
|
+
"pageRegistryDigest": "752b9d4f725f90f731f4b83a599905fbfb50f6d668b220e085c4b5bddbc2fb5e"
|
|
3969
3971
|
},
|
|
3970
3972
|
"comparison": {
|
|
3971
3973
|
"missingCliRegistry": [],
|
|
@@ -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-26T12:42:50.669Z",
|
|
5
|
+
"publishedAt": "2026-07-26T12:42:50.669Z",
|
|
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": "3a01e45adedac327dd6095cff8cc83106fb7aa67",
|
|
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": "3.0.1-alpha.
|
|
35
|
+
"version": "3.0.1-alpha.4",
|
|
36
36
|
"versionSource": "package.json#version"
|
|
37
37
|
},
|
|
38
38
|
"sourceKind": "package-site-bundle",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"packageManager": "pnpm@11.7.0",
|
|
75
75
|
"inventoryRelease": "buildchain-v2",
|
|
76
76
|
"stableRefs": {
|
|
77
|
-
"actions": "kungfu-systems/buildchain/actions/<name>@
|
|
78
|
-
"workflows": "kungfu-systems/buildchain/.github/workflows/<workflow>.yml@
|
|
77
|
+
"actions": "kungfu-systems/buildchain/actions/<name>@v3",
|
|
78
|
+
"workflows": "kungfu-systems/buildchain/.github/workflows/<workflow>.yml@v3"
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -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-26T12:42:50.669Z",
|
|
5
|
+
"publishedAt": "2026-07-26T12:42:50.669Z",
|
|
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": "3a01e45adedac327dd6095cff8cc83106fb7aa67",
|
|
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": "3.0.1-alpha.
|
|
40
|
+
"version": "3.0.1-alpha.4",
|
|
41
41
|
"versionSource": "package.json#version"
|
|
42
42
|
},
|
|
43
43
|
"entrypoint": "buildchain-site.json",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"path": "docs/MAP.md",
|
|
54
54
|
"plane": "use",
|
|
55
55
|
"exists": true,
|
|
56
|
-
"digest": "sha256:
|
|
56
|
+
"digest": "sha256:fc8f7c63b8427e513f9524b8e22e4b0dcd8981fcc724417a29b942fe237fc0a9"
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
"id": "auditable-demo",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"path": "docs/install.md",
|
|
70
70
|
"plane": "use",
|
|
71
71
|
"exists": true,
|
|
72
|
-
"digest": "sha256:
|
|
72
|
+
"digest": "sha256:570bf79189925ae0dfc040a83804a71149cda122c033d5aa763672b2a137072a"
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"id": "release-passport",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"path": "docs/release-passport.md",
|
|
78
78
|
"plane": "verify",
|
|
79
79
|
"exists": true,
|
|
80
|
-
"digest": "sha256:
|
|
80
|
+
"digest": "sha256:c7f096af40224efb53b2e0e8b7e1ceedc3aafeb341c476a7cce7e5974004a775"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"id": "controller-evidence",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"path": "docs/release-candidate.md",
|
|
110
110
|
"plane": "verify",
|
|
111
111
|
"exists": true,
|
|
112
|
-
"digest": "sha256:
|
|
112
|
+
"digest": "sha256:887bc3c041c3231d8e6dd403964d04d28a9eb13081bc4154dc2a6ebd56697ecd"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"id": "release-propagation",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"path": "docs/release-propagation.md",
|
|
118
118
|
"plane": "use",
|
|
119
119
|
"exists": true,
|
|
120
|
-
"digest": "sha256:
|
|
120
|
+
"digest": "sha256:b7d2deef7d50fc412aa21c7ef1019c4c2bd8b0392b9b323356b1c0b1fc2596b6"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
"id": "readme-badges",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"path": "docs/homebrew.md",
|
|
134
134
|
"plane": "use",
|
|
135
135
|
"exists": true,
|
|
136
|
-
"digest": "sha256:
|
|
136
|
+
"digest": "sha256:e690ea465d4289f2246d93765776b057c6aca1c68dc290abcee94c947e5d5c47"
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
"id": "binary-distribution",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"path": "docs/consumer-issue-reporting.md",
|
|
150
150
|
"plane": "use",
|
|
151
151
|
"exists": true,
|
|
152
|
-
"digest": "sha256:
|
|
152
|
+
"digest": "sha256:96804310360c02f408fee9d540385d875a40d09bef046c3df369228d311a1cdd"
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
"id": "infra-contract",
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"path": "docs/toolkit-observability.md",
|
|
166
166
|
"plane": "use",
|
|
167
167
|
"exists": true,
|
|
168
|
-
"digest": "sha256:
|
|
168
|
+
"digest": "sha256:d7f4179c3912d7bbc5940bfba69e674fb03d020a740063c0b877a171bd5789e3"
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
"id": "site-bundle-contract",
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"path": "docs/site-bundle-contract.md",
|
|
174
174
|
"plane": "use",
|
|
175
175
|
"exists": true,
|
|
176
|
-
"digest": "sha256:
|
|
176
|
+
"digest": "sha256:40831ce35dca6ac2a3a81d54a83fb0e5ab064137829a4f7844e5d80ba61aa65c"
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
"id": "migration-inventory",
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
"path": "docs/migration-inventory.md",
|
|
182
182
|
"plane": "verify",
|
|
183
183
|
"exists": true,
|
|
184
|
-
"digest": "sha256:
|
|
184
|
+
"digest": "sha256:bb73731a3b747d02b9453537109754f194c58dba92c260ac84c632b0d58607af"
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
"id": "ownership",
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"path": "docs/ownership.md",
|
|
190
190
|
"plane": "why",
|
|
191
191
|
"exists": true,
|
|
192
|
-
"digest": "sha256:
|
|
192
|
+
"digest": "sha256:a9f54f211b55da6464d890b0ebfe046dbf564aabdfee3aadf457723f9aae398a"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
"id": "product-mechanism",
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
"path": "docs/cli.md",
|
|
206
206
|
"plane": "use",
|
|
207
207
|
"exists": true,
|
|
208
|
-
"digest": "sha256:
|
|
208
|
+
"digest": "sha256:f4518193026571d1e84bc245725a9f83e842b2e4b4dfaa072c8207021fa89cd1"
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
"id": "build-facts",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"path": "docs/kfd-agent-hub.md",
|
|
230
230
|
"plane": "use",
|
|
231
231
|
"exists": true,
|
|
232
|
-
"digest": "sha256:
|
|
232
|
+
"digest": "sha256:9bfba0a872590bb1b4f260ddbe71b54572ef291f3fc11d32bcd04e79f5e740ff"
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
"id": "lifecycle-protocol",
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"path": "docs/lifecycle-protocol.md",
|
|
238
238
|
"plane": "use",
|
|
239
239
|
"exists": true,
|
|
240
|
-
"digest": "sha256:
|
|
240
|
+
"digest": "sha256:55425241363da6105a6b36a46bf8c9d7edd5b0e0f9dbcebe1452327642eb2af9"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
"id": "reusable-build-surface",
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
"path": "docs/reusable-build-surface.md",
|
|
246
246
|
"plane": "use",
|
|
247
247
|
"exists": true,
|
|
248
|
-
"digest": "sha256:
|
|
248
|
+
"digest": "sha256:fe73561e8f038e73624bc776f7c527efe59bab105e1208bbaa5af6ebeade6216"
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
"id": "publish-transaction",
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
"path": "docs/release-governance.md",
|
|
262
262
|
"plane": "why",
|
|
263
263
|
"exists": true,
|
|
264
|
-
"digest": "sha256:
|
|
264
|
+
"digest": "sha256:a77c2bb1d2245e1ee2318f650ad64ada6c8cdd3292a62a028e3ccc7517fb4e12"
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
"id": "release-flow",
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
"path": "docs/runtime-train-validation.md",
|
|
278
278
|
"plane": "verify",
|
|
279
279
|
"exists": true,
|
|
280
|
-
"digest": "sha256:
|
|
280
|
+
"digest": "sha256:1315fe264d0e22215183122fc05e287be974751a78268642076898b689e435e6"
|
|
281
281
|
},
|
|
282
282
|
{
|
|
283
283
|
"id": "versioning",
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
"path": "docs/web-surface-deployments.md",
|
|
294
294
|
"plane": "use",
|
|
295
295
|
"exists": true,
|
|
296
|
-
"digest": "sha256:
|
|
296
|
+
"digest": "sha256:ed4ff02dcb6f66118a29084784f25d8008ca472f59005b2e014133524706a9c5"
|
|
297
297
|
}
|
|
298
298
|
],
|
|
299
299
|
"facts": [
|
|
@@ -226,6 +226,13 @@
|
|
|
226
226
|
"artifact-retention-days",
|
|
227
227
|
"buildchain-ref",
|
|
228
228
|
"buildchain-repository",
|
|
229
|
+
"checkout-cache-fallback",
|
|
230
|
+
"checkout-cache-fetch-attempts",
|
|
231
|
+
"checkout-cache-github-timeout-seconds",
|
|
232
|
+
"checkout-cache-mirror-url-template",
|
|
233
|
+
"checkout-cache-mode",
|
|
234
|
+
"checkout-cache-reference-repository-template",
|
|
235
|
+
"checkout-cache-timeout-seconds",
|
|
229
236
|
"gate-command-json",
|
|
230
237
|
"gate-environment-json",
|
|
231
238
|
"gate-plan-command-json",
|
|
@@ -242,7 +249,7 @@
|
|
|
242
249
|
"untrusted-policy",
|
|
243
250
|
"working-directory"
|
|
244
251
|
],
|
|
245
|
-
"inputCount":
|
|
252
|
+
"inputCount": 26,
|
|
246
253
|
"secrets": [],
|
|
247
254
|
"secretCount": 0,
|
|
248
255
|
"outputs": [
|
package/docs/MAP.md
CHANGED
|
@@ -45,7 +45,7 @@ workflow, action, and Node API export also carries a `capabilityGroup`,
|
|
|
45
45
|
| KFD-3 public surface reverse audit | `dist/site/public-surface-audit.json`, `dist/site/cli-registry.json`, `dist/site/workflow-registry.json`, `dist/site/page-registry.json` | [`cli.md`](cli.md), [`site-bundle-contract.md`](site-bundle-contract.md) |
|
|
46
46
|
| KFD-1 / KFD-2 / KFD-3 first-class CLI and Node API | `.buildchain/kfd/kfd-3/surfaces.json`, `dist/site/kfd-claims.json`, `buildchain.release.json`, KFD schemas from `@kungfu-tech/kfd` | [`kfd-support.md`](kfd-support.md), [`cli.md`](cli.md#commands) |
|
|
47
47
|
| Declarative KFD Agent Hub adapter conformance and Passport evidence | `.buildchain/kfd/agent-hub.json`, `.buildchain/artifacts/kfd-agent-hub/evidence.json`, `buildchain.release.json#kfdAgentHub` | [`kfd-agent-hub.md`](kfd-agent-hub.md) |
|
|
48
|
-
| Floating `@
|
|
48
|
+
| Floating `@v3` drift detection and compatibility issues | `dist/site/buildchain-contract.json` | [`reusable-build-surface.md`](reusable-build-surface.md#floating-ref-contract-lock) |
|
|
49
49
|
| npm publish transactions, evidence, dist-tags, and recovery | `dist/site/release-model.json`, `dist/site/artifact-schemas.json` | [`publish-transaction.md`](publish-transaction.md) |
|
|
50
50
|
| Git/source/version/module/product build facts | `dist/site/node-api-registry.json`, `dist/site/cli-registry.json`, `kungfu-buildchain-module-build-facts`, `kungfu-buildchain-product-build-facts` | [`build-facts.md`](build-facts.md) |
|
|
51
51
|
| GitHub Release passport/evidence publication | `dist/site/release-model.json`, `dist/site/artifact-schemas.json` | [`release-governance.md`](release-governance.md), [`release-candidate.md`](release-candidate.md) |
|
|
@@ -93,7 +93,7 @@ replace them.
|
|
|
93
93
|
| How do I gate KFD-3 collaboration-interface releases? | [`release-passport.md`](release-passport.md#kfd-3-collaboration-interface-release-gate) + [`cli.md`](cli.md) | verify/use | stable |
|
|
94
94
|
| How do I detect, register, audit, witness, or query KFD-3 product surfaces? | [`kfd-support.md`](kfd-support.md) + [`cli.md`](cli.md) | verify/use | stable |
|
|
95
95
|
| How do I adopt the KFD Agent Hub profile with one declaration and one adapter? | [`kfd-agent-hub.md`](kfd-agent-hub.md) | verify/use | preview |
|
|
96
|
-
| How do I keep `@
|
|
96
|
+
| How do I keep `@v3` floating refs while detecting Buildchain contract drift? | [`reusable-build-surface.md`](reusable-build-surface.md#floating-ref-contract-lock) | verify/use | stable |
|
|
97
97
|
| How do reusable workflows bind controller intent, source/runtime identity, outcomes, and receipt evidence? | [`controller-evidence.md`](controller-evidence.md) | verify/use | draft |
|
|
98
98
|
| How do I propagate finalized upstream releases to downstream package/site PRs? | [`release-propagation.md`](release-propagation.md) | use | preview |
|
|
99
99
|
| How do paper or report repositories publish PDFs, metadata, source bundles, site-consumable manifests, npm packages, and GitHub Releases? | [`publication-artifacts.md`](publication-artifacts.md) | use | stable |
|
|
@@ -110,7 +110,7 @@ replace them.
|
|
|
110
110
|
| How do self-hosted runners relay large artifacts through S3 before GitHub artifacts? | [`reusable-build-surface.md`](reusable-build-surface.md#artifact-transfer-relay) | use | stable |
|
|
111
111
|
| How do self-hosted runners reuse local Git checkout caches without weakening source locks? | [`reusable-build-surface.md`](reusable-build-surface.md#locked-source-checkout-cache) | use | stable |
|
|
112
112
|
| How do ephemeral GitHub-hosted runners share exact dependency or compiler caches without fixed-runner affinity? | [`cli.md`](cli.md#commands) | use/verify | preview |
|
|
113
|
-
| How do I validate an unreleased Buildchain runtime train while keeping `@
|
|
113
|
+
| How do I validate an unreleased Buildchain runtime train while keeping `@v3`? | [`runtime-train-validation.md`](runtime-train-validation.md) | use | stable |
|
|
114
114
|
| How do I automatically qualify alpha candidates and publish the newest non-revoked qualified candidate at a fixed window? | [`stable-candidate-patrol.md`](stable-candidate-patrol.md) | use | preview |
|
|
115
115
|
| How do I deploy a site/app preview, staging, or production surface? | [`web-surface-deployments.md`](web-surface-deployments.md) | use | stable |
|
|
116
116
|
| How do I publish observed infrastructure contracts for downstream consumers? | [`infra-contract.md`](infra-contract.md) | use | preview |
|
|
@@ -125,7 +125,7 @@ replace them.
|
|
|
125
125
|
|
|
126
126
|
- **ABV / old workflows / old action repositories** -> [`release-governance.md`](release-governance.md)
|
|
127
127
|
and [`migration-inventory.md`](migration-inventory.md).
|
|
128
|
-
- **v2 /
|
|
128
|
+
- **v2 / v3-alpha / v2.0 / v2.0-alpha / exact tags / floating tags** ->
|
|
129
129
|
[`release-governance.md`](release-governance.md) and
|
|
130
130
|
[`release-flow.md`](release-flow.md).
|
|
131
131
|
- **Buildchain self-dogfood / released alpha canary / stable compatibility lane** ->
|
|
@@ -181,7 +181,7 @@ replace them.
|
|
|
181
181
|
[`release-passport.md`](release-passport.md#kfd-2-release-trust-passport-audit).
|
|
182
182
|
- **KFD-3 collaboration-interface / agent-facing control surface closure** ->
|
|
183
183
|
[`release-passport.md`](release-passport.md#kfd-3-collaboration-interface-release-gate).
|
|
184
|
-
- **floating `@
|
|
184
|
+
- **floating `@v3` / contract lock / compatible drift issue** ->
|
|
185
185
|
[`reusable-build-surface.md`](reusable-build-surface.md#floating-ref-contract-lock).
|
|
186
186
|
- **GitHub Release passport / binary assets / artifact evidence / agent release checks** ->
|
|
187
187
|
[`release-passport.md`](release-passport.md),
|
package/docs/cli.md
CHANGED
|
@@ -31,7 +31,7 @@ Consumers should pin the exact Buildchain version that was validated in their
|
|
|
31
31
|
repository. When dogfooding a fresh Buildchain release immediately after it is
|
|
32
32
|
published, pnpm may block the install through a minimum release-age policy. In
|
|
33
33
|
that case, add a temporary package/version-specific `minimumReleaseAgeExclude`
|
|
34
|
-
entry, such as `@kungfu-tech/buildchain@
|
|
34
|
+
entry, such as `@kungfu-tech/buildchain@3.0.0`, and remove it once the package
|
|
35
35
|
has aged past the normal policy window. Do not replace that with a broad
|
|
36
36
|
registry or scope-wide exclude.
|
|
37
37
|
|
|
@@ -88,7 +88,7 @@ import publicSurfaceAudit from "@kungfu-tech/buildchain/site/public-surface-audi
|
|
|
88
88
|
|
|
89
89
|
Use `dist/site/manual-registry.json` to find the packaged operating manuals and
|
|
90
90
|
their SHA-256 digests. Use `dist/site/buildchain-contract.json` to verify the
|
|
91
|
-
floating-ref contract world for a runtime such as `@
|
|
91
|
+
floating-ref contract world for a runtime such as `@v3`.
|
|
92
92
|
|
|
93
93
|
## Commands
|
|
94
94
|
|
|
@@ -371,6 +371,12 @@ and have those events grouped into the same lifecycle summary.
|
|
|
371
371
|
is missing, has too few events, contains error events, or does not include
|
|
372
372
|
required phases, components, or event names.
|
|
373
373
|
|
|
374
|
+
The JSON summary also includes an additive `controlPlane` block. It counts
|
|
375
|
+
workflow-friction incident outcomes and production release-intent outcomes,
|
|
376
|
+
including incident reuse rate, release-intent suppression rate, and suppression
|
|
377
|
+
reasons. Buildchain writes those outcome events locally; it does not send
|
|
378
|
+
telemetry outside the runner.
|
|
379
|
+
|
|
374
380
|
The event protocol is JSONL and is also available from the SDK:
|
|
375
381
|
|
|
376
382
|
```js
|
|
@@ -518,7 +524,7 @@ buildchain publication-artifact npm-package --json
|
|
|
518
524
|
This command reads `project.type = "publication-artifact"`,
|
|
519
525
|
`publication.version`, and `[publish] kind = "npm-paper-package"` plus
|
|
520
526
|
`publish.package`; it writes `.buildchain/publication/npm-package` by default.
|
|
521
|
-
The `paper-release.yml@
|
|
527
|
+
The `paper-release.yml@v3` reusable workflow uses the same command before
|
|
522
528
|
running the standard npm publish transaction.
|
|
523
529
|
|
|
524
530
|
The command writes `.buildchain/publication/publication-artifact.json`,
|
|
@@ -555,7 +561,7 @@ Generate or check Homebrew tap projections from upstream release passports:
|
|
|
555
561
|
```bash
|
|
556
562
|
buildchain homebrew update-formula \
|
|
557
563
|
--package buildchain \
|
|
558
|
-
--release-passport https://github.com/kungfu-systems/buildchain/releases/download/
|
|
564
|
+
--release-passport https://github.com/kungfu-systems/buildchain/releases/download/v3.0.0/buildchain.release.json \
|
|
559
565
|
--write
|
|
560
566
|
|
|
561
567
|
buildchain homebrew check --json
|
|
@@ -571,7 +577,7 @@ GitHub Release assets or a local asset directory:
|
|
|
571
577
|
|
|
572
578
|
```bash
|
|
573
579
|
buildchain collect github-release \
|
|
574
|
-
--tag
|
|
580
|
+
--tag v3.0.0 \
|
|
575
581
|
--repository kungfu-systems/buildchain \
|
|
576
582
|
--assets-dir dist \
|
|
577
583
|
--output-dir .buildchain/release-passport
|
|
@@ -589,11 +595,11 @@ asset summary:
|
|
|
589
595
|
|
|
590
596
|
```bash
|
|
591
597
|
buildchain collect github-release \
|
|
592
|
-
--tag
|
|
598
|
+
--tag v3.0.0 \
|
|
593
599
|
--repository kungfu-systems/buildchain \
|
|
594
600
|
--assets-dir dist \
|
|
595
|
-
--publish-evidence-json .buildchain/release-evidence/
|
|
596
|
-
--transaction-json .buildchain/release-state/
|
|
601
|
+
--publish-evidence-json .buildchain/release-evidence/v3.0.0/evidence.json \
|
|
602
|
+
--transaction-json .buildchain/release-state/v3.0.0/state.json \
|
|
597
603
|
--package-set-json package-set.json \
|
|
598
604
|
--impact-json impact.json \
|
|
599
605
|
--trusted-publishing-json trusted-publishing.json \
|
|
@@ -602,7 +608,7 @@ buildchain collect github-release \
|
|
|
602
608
|
--platform-manifest-json .buildchain/artifacts/linux-x64/manifest.json \
|
|
603
609
|
--platform-manifest-json .buildchain/artifacts/darwin-arm64/manifest.json \
|
|
604
610
|
--platform-manifest-json .buildchain/artifacts/win32-x64/manifest.json \
|
|
605
|
-
--dist-tag-evidence-json .buildchain/release-evidence/
|
|
611
|
+
--dist-tag-evidence-json .buildchain/release-evidence/v3.0.0/dist-tag-evidence.json \
|
|
606
612
|
--kfd-1-witness-json .buildchain/kfd/kfd-1/contract-world.witness.json \
|
|
607
613
|
--kfd-2-claim-json .buildchain/kfd/kfd-2/release-claims.json \
|
|
608
614
|
--kfd-3-prebuild-witness-json .buildchain/kfd/kfd-3/collaboration-interface.prebuild.json \
|
|
@@ -813,10 +819,10 @@ even when the bundle hash has been refreshed.
|
|
|
813
819
|
maintainer opens or merges a channel PR:
|
|
814
820
|
|
|
815
821
|
```bash
|
|
816
|
-
buildchain release --dry-run --target-ref alpha/
|
|
817
|
-
buildchain release --dry-run --target-ref release/
|
|
818
|
-
buildchain release dry-run --target-ref publish-gate/major --source-ref release/
|
|
819
|
-
buildchain release explain --target-ref alpha/
|
|
822
|
+
buildchain release --dry-run --target-ref alpha/v3/v3.0
|
|
823
|
+
buildchain release --dry-run --target-ref release/v3/v3.0 --sha <verified-sha>
|
|
824
|
+
buildchain release dry-run --target-ref publish-gate/major --source-ref release/v3/v3.0
|
|
825
|
+
buildchain release explain --target-ref alpha/v3/v3.0 --json
|
|
820
826
|
```
|
|
821
827
|
|
|
822
828
|
This is a Buildchain-level dry-run, not an npm dry-run. It explains the legal
|
|
@@ -831,7 +837,7 @@ Pass `--json` for a machine-readable plan.
|
|
|
831
837
|
for the publish transaction state:
|
|
832
838
|
|
|
833
839
|
```bash
|
|
834
|
-
buildchain transaction inspect --version
|
|
840
|
+
buildchain transaction inspect --version v3.0.1-alpha.2
|
|
835
841
|
```
|
|
836
842
|
|
|
837
843
|
It reads or locally initializes the durable transaction record and validates
|
|
@@ -27,7 +27,7 @@ The recommended pattern is:
|
|
|
27
27
|
owner: kungfu-systems
|
|
28
28
|
repositories: buildchain
|
|
29
29
|
|
|
30
|
-
- uses: kungfu-systems/buildchain/actions/report-buildchain-issue@
|
|
30
|
+
- uses: kungfu-systems/buildchain/actions/report-buildchain-issue@v3
|
|
31
31
|
if: failure()
|
|
32
32
|
with:
|
|
33
33
|
token: ${{ steps.buildchain-issue-token.outputs.token }}
|
package/docs/homebrew.md
CHANGED
|
@@ -21,6 +21,8 @@ name = "homebrew-tap"
|
|
|
21
21
|
command = "buildchain homebrew check"
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
Buildchain v3.0.0 currently publishes evidence assets but no standalone platform archives, so the Buildchain formula continues to index the latest verified legacy binary line, v2.14.16. This does not change the tap repository's v3 management workflow.
|
|
25
|
+
|
|
24
26
|
The tap manifest is the repository-owned declaration of which upstream releases
|
|
25
27
|
are indexed. Buildchain writes `tap-manifest.json` as a machine-readable
|
|
26
28
|
projection:
|
|
@@ -37,10 +39,10 @@ projection:
|
|
|
37
39
|
"path": "Formula/buildchain.rb",
|
|
38
40
|
"upstream": {
|
|
39
41
|
"repository": "kungfu-systems/buildchain",
|
|
40
|
-
"tag": "v2.
|
|
41
|
-
"releasePassportUrl": "https://github.com/kungfu-systems/buildchain/releases/download/v2.
|
|
42
|
+
"tag": "v2.14.16",
|
|
43
|
+
"releasePassportUrl": "https://github.com/kungfu-systems/buildchain/releases/download/v2.14.16/buildchain.release.json"
|
|
42
44
|
},
|
|
43
|
-
"version": "2.
|
|
45
|
+
"version": "2.14.16",
|
|
44
46
|
"kfd": {
|
|
45
47
|
"kfd-1": "passed",
|
|
46
48
|
"kfd-2": "passed",
|
|
@@ -49,7 +51,7 @@ projection:
|
|
|
49
51
|
"artifacts": [
|
|
50
52
|
{
|
|
51
53
|
"platform": "darwin-arm64",
|
|
52
|
-
"url": "https://github.com/kungfu-systems/buildchain/releases/download/v2.
|
|
54
|
+
"url": "https://github.com/kungfu-systems/buildchain/releases/download/v2.14.16/buildchain-aarch64-apple-darwin.tar.gz",
|
|
53
55
|
"sha256": "..."
|
|
54
56
|
}
|
|
55
57
|
]
|
|
@@ -65,7 +67,7 @@ Update a formula and manifest from an upstream passport:
|
|
|
65
67
|
```bash
|
|
66
68
|
buildchain homebrew update-formula \
|
|
67
69
|
--package buildchain \
|
|
68
|
-
--release-passport https://github.com/kungfu-systems/buildchain/releases/download/v2.
|
|
70
|
+
--release-passport https://github.com/kungfu-systems/buildchain/releases/download/v2.14.16/buildchain.release.json \
|
|
69
71
|
--write
|
|
70
72
|
```
|
|
71
73
|
|
package/docs/install.md
CHANGED
|
@@ -6,6 +6,10 @@ adopting a new version.
|
|
|
6
6
|
|
|
7
7
|
## Standalone Binary
|
|
8
8
|
|
|
9
|
+
Buildchain v3.0.0 does not publish standalone platform archives. This section
|
|
10
|
+
documents the verified legacy binary release contract; v3 consumers should use
|
|
11
|
+
the npm package or repository workflow surface below.
|
|
12
|
+
|
|
9
13
|
Use the archive that matches the platform:
|
|
10
14
|
|
|
11
15
|
| Platform | Asset |
|
|
@@ -60,7 +64,7 @@ Stable consumers should pin the exact Buildchain version they have validated,
|
|
|
60
64
|
for example:
|
|
61
65
|
|
|
62
66
|
```bash
|
|
63
|
-
pnpm add -D @kungfu-tech/buildchain@
|
|
67
|
+
pnpm add -D @kungfu-tech/buildchain@3.0.0
|
|
64
68
|
```
|
|
65
69
|
|
|
66
70
|
If a repository dogfoods a just-published Buildchain version and pnpm's release
|
|
@@ -72,7 +76,7 @@ all packages:
|
|
|
72
76
|
{
|
|
73
77
|
"pnpm": {
|
|
74
78
|
"minimumReleaseAgeExclude": [
|
|
75
|
-
"@kungfu-tech/buildchain@
|
|
79
|
+
"@kungfu-tech/buildchain@3.0.0"
|
|
76
80
|
]
|
|
77
81
|
}
|
|
78
82
|
}
|
|
@@ -86,7 +90,7 @@ policy. Do not use a broad exclude such as `@kungfu-tech/*` for this case.
|
|
|
86
90
|
```bash
|
|
87
91
|
npx @kungfu-tech/buildchain init --type package --package-manager pnpm
|
|
88
92
|
npx @kungfu-tech/buildchain validate --require-version-state
|
|
89
|
-
npx @kungfu-tech/buildchain release --dry-run --target-ref alpha/
|
|
93
|
+
npx @kungfu-tech/buildchain release --dry-run --target-ref alpha/v3/v3.0
|
|
90
94
|
```
|
|
91
95
|
|
|
92
96
|
Use `.buildchain/buildchain.toml` to declare lifecycle commands. The commands may use Node
|
package/docs/kfd-agent-hub.md
CHANGED
|
@@ -83,7 +83,7 @@ not KFD certification, a security assessment, or production-fitness evidence.
|
|
|
83
83
|
```yaml
|
|
84
84
|
jobs:
|
|
85
85
|
build:
|
|
86
|
-
uses: kungfu-systems/buildchain/.github/workflows/build.yml@
|
|
86
|
+
uses: kungfu-systems/buildchain/.github/workflows/build.yml@v3
|
|
87
87
|
with:
|
|
88
88
|
kfd-agent-hub: auto
|
|
89
89
|
```
|
|
@@ -187,7 +187,7 @@ git diff --check
|
|
|
187
187
|
`lifecycle.check` is the repository-owned source-acceptance gate. It should
|
|
188
188
|
validate the checked-out source revision without entering the build, artifact,
|
|
189
189
|
or release lifecycle. Consumers can run it on GitHub-hosted Linux through
|
|
190
|
-
`.github/workflows/check.yml@
|
|
190
|
+
`.github/workflows/check.yml@v3` with `mode: source`; the reusable workflow runs
|
|
191
191
|
only `lifecycle.install` and `lifecycle.check`. The default `mode: verify`
|
|
192
192
|
continues to run `lifecycle.install` and `lifecycle.verify` for existing callers.
|
|
193
193
|
Both executed stages receive `BUILDCHAIN_CHECK_MODE=source` or
|
|
@@ -343,7 +343,7 @@ build and the first migration milestone is to prove the release metadata and
|
|
|
343
343
|
lifecycle protocol without consuming build runners.
|
|
344
344
|
|
|
345
345
|
```yaml
|
|
346
|
-
- uses: kungfu-systems/buildchain/actions/validate-config@
|
|
346
|
+
- uses: kungfu-systems/buildchain/actions/validate-config@v3
|
|
347
347
|
with:
|
|
348
348
|
require-version-state: "true"
|
|
349
349
|
require-lifecycle-stages: "install,build,verify"
|
|
@@ -353,7 +353,7 @@ Web-surface repositories can use the same action without requiring version
|
|
|
353
353
|
state:
|
|
354
354
|
|
|
355
355
|
```yaml
|
|
356
|
-
- uses: kungfu-systems/buildchain/actions/validate-config@
|
|
356
|
+
- uses: kungfu-systems/buildchain/actions/validate-config@v3
|
|
357
357
|
with:
|
|
358
358
|
require-lifecycle-stages: "build,verify"
|
|
359
359
|
```
|
|
@@ -33,9 +33,9 @@ surface. New publish integrations should use `.build.yml`, `buildchain.toml`,
|
|
|
33
33
|
Release templates that previously performed direct publishing or deployment are
|
|
34
34
|
now fail-closed when retained for compatibility discovery. They do not call
|
|
35
35
|
legacy publish actions, `npm publish`, or deploy providers directly. Callers must
|
|
36
|
-
migrate to `release-candidate-promote.yml@
|
|
36
|
+
migrate to `release-candidate-promote.yml@v3` or a project-owned
|
|
37
37
|
`lifecycle.publish` command behind a publish-gate source lock, so floating
|
|
38
|
-
`@
|
|
38
|
+
`@v3` consumers cannot bypass source-lock drift protection.
|
|
39
39
|
|
|
40
40
|
The public promotion workflow is now a generated dual-channel router. Existing
|
|
41
41
|
callers remain source-compatible, while callers that want alpha workflow-shell
|
|
@@ -113,8 +113,8 @@ older standalone action repository.
|
|
|
113
113
|
|
|
114
114
|
## Stable v2 Refs
|
|
115
115
|
|
|
116
|
-
- Actions: `kungfu-systems/buildchain/actions/<name>@
|
|
117
|
-
- Reusable workflows: `kungfu-systems/buildchain/.github/workflows/<workflow>.yml@
|
|
116
|
+
- Actions: `kungfu-systems/buildchain/actions/<name>@v3`
|
|
117
|
+
- Reusable workflows: `kungfu-systems/buildchain/.github/workflows/<workflow>.yml@v3`
|
|
118
118
|
|
|
119
119
|
## Verification Gates
|
|
120
120
|
|
package/docs/ownership.md
CHANGED
|
@@ -22,10 +22,10 @@ Any consumer migration must record:
|
|
|
22
22
|
|
|
23
23
|
New stable references should use:
|
|
24
24
|
|
|
25
|
-
- `kungfu-systems/buildchain/actions/validate-config@
|
|
26
|
-
- `kungfu-systems/buildchain/actions/run-lifecycle@
|
|
27
|
-
- `kungfu-systems/buildchain/actions/promote-buildchain-ref@
|
|
28
|
-
- `kungfu-systems/buildchain/.github/workflows/<workflow>.yml@
|
|
25
|
+
- `kungfu-systems/buildchain/actions/validate-config@v3`
|
|
26
|
+
- `kungfu-systems/buildchain/actions/run-lifecycle@v3`
|
|
27
|
+
- `kungfu-systems/buildchain/actions/promote-buildchain-ref@v3`
|
|
28
|
+
- `kungfu-systems/buildchain/.github/workflows/<workflow>.yml@v3`
|
|
29
29
|
|
|
30
30
|
## Publishing Rule
|
|
31
31
|
|
|
@@ -120,7 +120,7 @@ call the build-only wrapper directly:
|
|
|
120
120
|
```yaml
|
|
121
121
|
jobs:
|
|
122
122
|
publication:
|
|
123
|
-
uses: kungfu-systems/buildchain/.github/workflows/publication-artifact.yml@
|
|
123
|
+
uses: kungfu-systems/buildchain/.github/workflows/publication-artifact.yml@v3
|
|
124
124
|
with:
|
|
125
125
|
toolchain-type: config
|
|
126
126
|
verify-command: make check
|
|
@@ -182,7 +182,7 @@ on:
|
|
|
182
182
|
|
|
183
183
|
jobs:
|
|
184
184
|
paper-release:
|
|
185
|
-
uses: kungfu-systems/buildchain/.github/workflows/paper-release-sealed.yml@
|
|
185
|
+
uses: kungfu-systems/buildchain/.github/workflows/paper-release-sealed.yml@v3
|
|
186
186
|
permissions:
|
|
187
187
|
actions: read
|
|
188
188
|
checks: write
|