@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.
Files changed (50) hide show
  1. package/AGENTS.md +5 -5
  2. package/README.md +15 -17
  3. package/actions/promote-buildchain-ref/README.md +8 -8
  4. package/actions/report-buildchain-issue/README.md +2 -2
  5. package/actions/run-lifecycle/README.md +1 -1
  6. package/actions/validate-config/README.md +1 -1
  7. package/bin/buildchain.mjs +11 -4
  8. package/dist/site/buildchain-contract.json +59 -24
  9. package/dist/site/buildchain-site.json +78 -83
  10. package/dist/site/controller-registry.json +30 -2
  11. package/dist/site/kfd-claims.json +12 -5
  12. package/dist/site/kfd-upstream-aggregate.json +1 -1
  13. package/dist/site/manual-registry.json +18 -18
  14. package/dist/site/node-api-registry.json +5 -5
  15. package/dist/site/page-registry.json +54 -59
  16. package/dist/site/public-surface-audit.json +11 -9
  17. package/dist/site/publication-registry.json +4 -4
  18. package/dist/site/release-provenance.json +2 -2
  19. package/dist/site/site-manifest.json +22 -22
  20. package/dist/site/workflow-registry.json +8 -1
  21. package/docs/MAP.md +5 -5
  22. package/docs/cli.md +20 -14
  23. package/docs/consumer-issue-reporting.md +1 -1
  24. package/docs/homebrew.md +7 -5
  25. package/docs/install.md +7 -3
  26. package/docs/kfd-agent-hub.md +1 -1
  27. package/docs/lifecycle-protocol.md +3 -3
  28. package/docs/migration-inventory.md +4 -4
  29. package/docs/ownership.md +4 -4
  30. package/docs/publication-artifacts.md +2 -2
  31. package/docs/release-candidate.md +4 -4
  32. package/docs/release-governance.md +13 -13
  33. package/docs/release-passport.md +6 -6
  34. package/docs/release-propagation.md +5 -5
  35. package/docs/reusable-build-surface.md +23 -23
  36. package/docs/runtime-train-validation.md +13 -13
  37. package/docs/shifu-gate-profiles.md +2 -2
  38. package/docs/site-bundle-contract.md +1 -1
  39. package/docs/stable-candidate-patrol.md +2 -2
  40. package/docs/toolkit-observability.md +14 -0
  41. package/docs/web-surface-deployments.md +7 -7
  42. package/fixtures/libnode-shaped/README.md +1 -1
  43. package/package.json +1 -1
  44. package/packages/core/issue-reporting.js +8 -3
  45. package/packages/core/logging.js +101 -0
  46. package/scripts/auditable-demo.mjs +1 -1
  47. package/scripts/check-inventory.mjs +36 -17
  48. package/scripts/init-repo.mjs +2 -2
  49. package/scripts/web-surface-production-release-pr.mjs +99 -0
  50. 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": 276,
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": 19,
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": "4a627dcf07131d07095d5e6bf0a3373e55c62cf325b3f81bb156c43d31367d62",
3968
- "pageRegistryDigest": "835b03c155e87749a3d43a9e9af284601b863698592e401c6d183625cbf6ef63"
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-26T01:19:14.862Z",
5
- "publishedAt": "2026-07-26T01:19:14.862Z",
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": "563a000b882460cdc7f632cb3d2c4f415e7119a2",
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.2",
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>@v2",
78
- "workflows": "kungfu-systems/buildchain/.github/workflows/<workflow>.yml@v2"
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-26T01:19:14.862Z",
5
- "publishedAt": "2026-07-26T01:19:14.862Z",
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": "563a000b882460cdc7f632cb3d2c4f415e7119a2",
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.2",
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:11ccb0a90cc0583a1a67da36609a8b07207f259815ac9ac0926c2ec8d7a8764a"
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:1879849c01f82b8820f2d9aeb09faed0931954cb7fe6939176a5eb69110cee59"
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:f10d2f0f9cc694976b2a1d2a61195ed155c1bc24c964de1551475882e8197c92"
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:e933241bc138661a73cf1b419690cad629ba328ce05ecbd85841199a337d37c1"
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:fc2b743e3d76c4f90cdd8c6560cf9d619ad25d74c15c074be96db7bcb6cc2a29"
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:2fc4e8411f35ca86d19d61c7843b9a1fa440f7afea25df13d3aa03342f09f90c"
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:8e2159312e47b42ab0bb644cb195362150acc8872e6ac0e7380ece0c5cf36955"
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:b2ffc3b2520ca7879309b7607b2eaa1aceb647503e893887159a6916de14e2d7"
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:583661a7886bdca7e8352a5325a105a9df5d134b3896dbda13ad9b637697481f"
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:18f98635bb16a4e43cac2d46443b3e812c305f708f071929dc6a46a8cd5dccd5"
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:49074fb520c404d3c9f5b49b33562d4bdc4e3ed407cf22543fa8e19e312a6b8e"
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:758625143a51d0fe66871220c52273ceaf5c7a47fc1a99bda4608e3ad587ae81"
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:7528f8a11c7fe67b350c0dd380b77d724c2d9e0001b4427949ee1c6012735d49"
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:9c669d3d2d1926dc5b421207089cca85bac0a6dcdb5544c28a7e1659ba9ed5ee"
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:ff6f36e1db2be12df37ef076935b5583493742528d98403297678a0682b67dc2"
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:5aa7fef2c831d14b4d1df4cddb45c6ce97929d8530eb14e3b3dfa3dee5e0d651"
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:1872e511b31c04ba75fc3a005c7a4f857c8b06ecadfedb75bc35b2ce70e7764a"
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:809d765d89277320d710ecfdc2287029530b74fe38f36dd04d057076dded9a0d"
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": 19,
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 `@v2` drift detection and compatibility issues | `dist/site/buildchain-contract.json` | [`reusable-build-surface.md`](reusable-build-surface.md#floating-ref-contract-lock) |
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 `@v2` floating refs while detecting Buildchain contract drift? | [`reusable-build-surface.md`](reusable-build-surface.md#floating-ref-contract-lock) | verify/use | stable |
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 `@v2`? | [`runtime-train-validation.md`](runtime-train-validation.md) | use | stable |
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 / v2-alpha / v2.0 / v2.0-alpha / exact tags / floating tags** ->
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 `@v2` / contract lock / compatible drift issue** ->
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@2.2.5`, and remove it once the package
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 `@v2`.
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@v2` reusable workflow uses the same command before
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/v2.8.15/buildchain.release.json \
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 v2.2.0 \
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 v2.3.2 \
598
+ --tag v3.0.0 \
593
599
  --repository kungfu-systems/buildchain \
594
600
  --assets-dir dist \
595
- --publish-evidence-json .buildchain/release-evidence/v2.3.2/evidence.json \
596
- --transaction-json .buildchain/release-state/v2.3.2/state.json \
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/v2.3.2/dist-tag-evidence.json \
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/v2/v2.2
817
- buildchain release --dry-run --target-ref release/v2/v2.2 --sha <verified-sha>
818
- buildchain release dry-run --target-ref publish-gate/major --source-ref release/v2/v2.2
819
- buildchain release explain --target-ref alpha/v2/v2.1 --json
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 v2.1.0-alpha.0
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@v2
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.8.15",
41
- "releasePassportUrl": "https://github.com/kungfu-systems/buildchain/releases/download/v2.8.15/buildchain.release.json"
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.8.15",
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.8.15/buildchain-aarch64-apple-darwin.tar.gz",
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.8.15/buildchain.release.json \
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@2.2.5
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@2.2.5"
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/v2/v2.2
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
@@ -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@v2
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@v2` with `mode: source`; the reusable workflow runs
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@v2
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@v2
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@v2` or a project-owned
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
- `@v2` consumers cannot bypass source-lock drift protection.
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>@v2`
117
- - Reusable workflows: `kungfu-systems/buildchain/.github/workflows/<workflow>.yml@v2`
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@v2`
26
- - `kungfu-systems/buildchain/actions/run-lifecycle@v2`
27
- - `kungfu-systems/buildchain/actions/promote-buildchain-ref@v2`
28
- - `kungfu-systems/buildchain/.github/workflows/<workflow>.yml@v2`
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@v2
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@v2
185
+ uses: kungfu-systems/buildchain/.github/workflows/paper-release-sealed.yml@v3
186
186
  permissions:
187
187
  actions: read
188
188
  checks: write