@kungfu-tech/buildchain 4.0.2-alpha.2 → 4.0.2-alpha.21

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 (71) hide show
  1. package/architecture/agent-change-map.md +52 -1
  2. package/architecture/ci-lane-change-budget.json +349 -0
  3. package/architecture/internal-capabilities.json +44 -1
  4. package/architecture/maintainability-debt.json +53 -33
  5. package/architecture/maintainability-policy.json +20 -15
  6. package/architecture/v3-core-mechanism-inventory.json +1 -0
  7. package/architecture/v4-delivery-warrant-shadow-fixtures.json +5 -5
  8. package/architecture/v4-release-invocation-fixtures.json +20 -0
  9. package/architecture/v4-release-topology.json +160 -84
  10. package/architecture/v4-runtime-semantic-closure.json +4 -1
  11. package/architecture/v4-universal-workflow-bootstrap.json +171 -0
  12. package/architecture/v4-universal-workflow-fault-campaign.json +72 -0
  13. package/architecture/v4-universal-workflow-train-admission.json +40 -0
  14. package/contracts/buildchain-v2-residuals-v1.json +0 -54
  15. package/contracts/v4-release-invocation-v1.schema.json +50 -2
  16. package/dist/site/buildchain-contract.json +87 -42
  17. package/dist/site/buildchain-site.json +15 -10
  18. package/dist/site/capability-registry.json +1 -1
  19. package/dist/site/controller-registry.json +46 -10
  20. package/dist/site/kfd-claims.json +174 -196
  21. package/dist/site/kfd-upstream-aggregate.json +1 -1
  22. package/dist/site/manual-registry.json +2 -2
  23. package/dist/site/node-api-registry.json +95 -20
  24. package/dist/site/page-registry.json +9 -4
  25. package/dist/site/public-surface-audit.json +178 -198
  26. package/dist/site/publication-authority-registry.json +67 -57
  27. package/dist/site/publication-registry.json +4 -4
  28. package/dist/site/site-manifest.json +6 -6
  29. package/dist/site/workflow-registry.json +209 -259
  30. package/docs/node-api-reference.md +25 -22
  31. package/docs/reusable-build-surface.md +16 -0
  32. package/package.json +2 -2
  33. package/packages/core/buildchain-publication-authority.js +3 -2
  34. package/packages/core/ci-lane-change-budget.js +14 -1
  35. package/packages/core/dev-delivery-candidate-identity.js +18 -0
  36. package/packages/core/dev-delivery-execution-transfer.js +6 -7
  37. package/packages/core/dev-delivery-warrant-legacy-recovery.js +4 -2
  38. package/packages/core/dev-delivery-warrant-native-compatibility.js +33 -0
  39. package/packages/core/dev-delivery-warrant-state.js +42 -26
  40. package/packages/core/dev-delivery-warrant.js +8 -0
  41. package/packages/core/dev-delivery-writer-protocol-transition.js +72 -0
  42. package/packages/core/release-tail-product-capabilities.js +29 -0
  43. package/packages/core/release-tail-provider-plane.js +3 -3
  44. package/packages/core/v4-canonical-contracts.js +6 -0
  45. package/packages/core/v4-product-publication.js +387 -0
  46. package/packages/core/v4-protected-publication-source.js +93 -0
  47. package/packages/core/v4-publication-qualification.js +1 -0
  48. package/packages/core/v4-release-invocation.js +72 -3
  49. package/packages/core/v4-universal-workflow-bootstrap.js +586 -0
  50. package/scripts/check-inventory.mjs +13 -22
  51. package/scripts/check-maintainability.mjs +16 -113
  52. package/scripts/check-v4-release-topology.mjs +296 -40
  53. package/scripts/check-v4-universal-workflow-bootstrap.mjs +270 -0
  54. package/scripts/dev-delivery-warrant-store.mjs +73 -7
  55. package/scripts/dev-delivery-warrant-transition.mjs +109 -0
  56. package/scripts/dev-delivery-warrant.mjs +84 -100
  57. package/scripts/dev-pr-auto-merge.mjs +15 -15
  58. package/scripts/generate-channel-build-workflow.mjs +5 -1
  59. package/scripts/generate-channel-promotion-workflow.mjs +5 -3
  60. package/scripts/generate-v4-universal-workflow-facades.mjs +415 -0
  61. package/scripts/maintainability-public-surface.mjs +115 -0
  62. package/scripts/release-candidate-resolver.mjs +23 -24
  63. package/scripts/resume-from-candidate-run.mjs +16 -17
  64. package/scripts/universal-facade-maintainability.mjs +82 -0
  65. package/scripts/v4-product-publication-intent.mjs +114 -0
  66. package/scripts/v4-release-candidate-adapter.mjs +41 -0
  67. package/scripts/v4-universal-workflow-backflow.mjs +212 -0
  68. package/scripts/v4-universal-workflow-engine.mjs +617 -0
  69. package/scripts/v4-universal-workflow-self-dogfood.mjs +205 -0
  70. package/templates/universal-buildchain-bootstrap-recovery.yml +282 -0
  71. package/templates/universal-buildchain-bootstrap.yml +28 -0
@@ -100,19 +100,6 @@
100
100
  "runnerPolicy": "unqualified",
101
101
  "notes": ""
102
102
  },
103
- {
104
- "workflowPath": ".github/workflows/.sam-release.yml",
105
- "authorityClass": "retired-deny",
106
- "publicationCapable": false,
107
- "capabilityIds": [],
108
- "credentialMode": "none",
109
- "publisherWorkflowMode": "fixed",
110
- "publisherWorkflowPath": ".github/workflows/.sam-release.yml",
111
- "environment": "",
112
- "environmentMode": "fixed",
113
- "runnerPolicy": "unqualified",
114
- "notes": ""
115
- },
116
103
  {
117
104
  "workflowPath": ".github/workflows/.sam-verify.yml",
118
105
  "authorityClass": "retired-deny",
@@ -154,19 +141,6 @@
154
141
  "runnerPolicy": "qualified-measured",
155
142
  "notes": ""
156
143
  },
157
- {
158
- "workflowPath": ".github/workflows/.wheel-release.yml",
159
- "authorityClass": "retired-deny",
160
- "publicationCapable": false,
161
- "capabilityIds": [],
162
- "credentialMode": "none",
163
- "publisherWorkflowMode": "fixed",
164
- "publisherWorkflowPath": ".github/workflows/.wheel-release.yml",
165
- "environment": "",
166
- "environmentMode": "fixed",
167
- "runnerPolicy": "unqualified",
168
- "notes": ""
169
- },
170
144
  {
171
145
  "workflowPath": ".github/workflows/.wheel-verify.yml",
172
146
  "authorityClass": "retired-deny",
@@ -232,6 +206,21 @@
232
206
  "runnerPolicy": "unqualified",
233
207
  "notes": ""
234
208
  },
209
+ {
210
+ "workflowPath": ".github/workflows/bootstrap.yml",
211
+ "authorityClass": "product-publication",
212
+ "publicationCapable": true,
213
+ "capabilityIds": [
214
+ "universal-candidate-execution"
215
+ ],
216
+ "credentialMode": "caller-secrets",
217
+ "publisherWorkflowMode": "caller-bound",
218
+ "publisherWorkflowPath": ".github/workflows/bootstrap.yml",
219
+ "environment": "none",
220
+ "environmentMode": "fixed",
221
+ "runnerPolicy": "qualified-measured",
222
+ "notes": ""
223
+ },
235
224
  {
236
225
  "workflowPath": ".github/workflows/build-surface-fixture.yml",
237
226
  "authorityClass": "non-publication-oidc",
@@ -732,6 +721,36 @@
732
721
  "runnerPolicy": "unqualified",
733
722
  "notes": ""
734
723
  },
724
+ {
725
+ "workflowPath": ".github/workflows/universal-bootstrap-dogfood.yml",
726
+ "authorityClass": "product-publication",
727
+ "publicationCapable": true,
728
+ "capabilityIds": [
729
+ "universal-candidate-execution"
730
+ ],
731
+ "credentialMode": "caller-secrets",
732
+ "publisherWorkflowMode": "caller-bound",
733
+ "publisherWorkflowPath": ".github/workflows/universal-bootstrap-dogfood.yml",
734
+ "environment": "none",
735
+ "environmentMode": "fixed",
736
+ "runnerPolicy": "qualified-measured",
737
+ "notes": ""
738
+ },
739
+ {
740
+ "workflowPath": ".github/workflows/universal-bootstrap-recovery.yml",
741
+ "authorityClass": "product-publication",
742
+ "publicationCapable": true,
743
+ "capabilityIds": [
744
+ "universal-candidate-execution"
745
+ ],
746
+ "credentialMode": "caller-secrets",
747
+ "publisherWorkflowMode": "caller-bound",
748
+ "publisherWorkflowPath": ".github/workflows/universal-bootstrap-recovery.yml",
749
+ "environment": "none",
750
+ "environmentMode": "fixed",
751
+ "runnerPolicy": "qualified-measured",
752
+ "notes": ""
753
+ },
735
754
  {
736
755
  "workflowPath": ".github/workflows/v4-declarative-release-tail-dogfood.yml",
737
756
  "authorityClass": "product-publication",
@@ -807,21 +826,6 @@
807
826
  ],
808
827
  "classified": true
809
828
  },
810
- {
811
- "path": ".github/workflows/.release-docker.yml",
812
- "signals": [],
813
- "classified": false
814
- },
815
- {
816
- "path": ".github/workflows/.release-elastic-beanstalk.yml",
817
- "signals": [],
818
- "classified": false
819
- },
820
- {
821
- "path": ".github/workflows/.release-new-version.yml",
822
- "signals": [],
823
- "classified": false
824
- },
825
829
  {
826
830
  "path": ".github/workflows/.release-verify.yml",
827
831
  "signals": [
@@ -830,11 +834,6 @@
830
834
  ],
831
835
  "classified": true
832
836
  },
833
- {
834
- "path": ".github/workflows/.sam-release.yml",
835
- "signals": [],
836
- "classified": true
837
- },
838
837
  {
839
838
  "path": ".github/workflows/.sam-verify.yml",
840
839
  "signals": [
@@ -864,11 +863,6 @@
864
863
  ],
865
864
  "classified": true
866
865
  },
867
- {
868
- "path": ".github/workflows/.wheel-release.yml",
869
- "signals": [],
870
- "classified": true
871
- },
872
866
  {
873
867
  "path": ".github/workflows/.wheel-verify.yml",
874
868
  "signals": [
@@ -910,6 +904,11 @@
910
904
  ],
911
905
  "classified": true
912
906
  },
907
+ {
908
+ "path": ".github/workflows/bootstrap.yml",
909
+ "signals": [],
910
+ "classified": true
911
+ },
913
912
  {
914
913
  "path": ".github/workflows/build-surface-fixture.yml",
915
914
  "signals": [],
@@ -1197,11 +1196,6 @@
1197
1196
  ],
1198
1197
  "classified": true
1199
1198
  },
1200
- {
1201
- "path": ".github/workflows/schedule-purge-artifacts.yml",
1202
- "signals": [],
1203
- "classified": false
1204
- },
1205
1199
  {
1206
1200
  "path": ".github/workflows/self-hosted-runner-smoke.yml",
1207
1201
  "signals": [],
@@ -1214,6 +1208,22 @@
1214
1208
  ],
1215
1209
  "classified": true
1216
1210
  },
1211
+ {
1212
+ "path": ".github/workflows/universal-bootstrap-dogfood.yml",
1213
+ "signals": [
1214
+ "write-permission",
1215
+ "oidc"
1216
+ ],
1217
+ "classified": true
1218
+ },
1219
+ {
1220
+ "path": ".github/workflows/universal-bootstrap-recovery.yml",
1221
+ "signals": [
1222
+ "write-permission",
1223
+ "oidc"
1224
+ ],
1225
+ "classified": true
1226
+ },
1217
1227
  {
1218
1228
  "path": ".github/workflows/v4-adopter-delivery-dogfood.yml",
1219
1229
  "signals": [],
@@ -1259,5 +1269,5 @@
1259
1269
  "classified": false
1260
1270
  }
1261
1271
  ],
1262
- "registryDigest": "123c20ea9806ce8ba7b82545165b30ce08537eee64795c2de11f0cc3546a0844"
1272
+ "registryDigest": "3fb8f77f124ae720c5935fb1a571028360f0ba9993641033190b4ff2fe418594"
1263
1273
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-publication-release-registry",
4
- "generatedAt": "2026-08-29T09:02:41.579Z",
5
- "publishedAt": "2026-08-29T09:02:41.579Z",
4
+ "generatedAt": "2026-09-02T15:23:01.000Z",
5
+ "publishedAt": "2026-09-02T15:23:01.000Z",
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": "037d638ce54635606528d8fe3bb466983a5262dd",
22
+ "sourceRevision": "ecf48b3ce33421a0f219470b42ee8b67c0e6f843",
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.2-alpha.2",
35
+ "version": "4.0.2-alpha.21",
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-29T09:02:41.579Z",
5
- "publishedAt": "2026-08-29T09:02:41.579Z",
4
+ "generatedAt": "2026-09-02T15:23:01.000Z",
5
+ "publishedAt": "2026-09-02T15:23:01.000Z",
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": "037d638ce54635606528d8fe3bb466983a5262dd",
22
+ "sourceRevision": "ecf48b3ce33421a0f219470b42ee8b67c0e6f843",
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.2-alpha.2",
40
+ "version": "4.0.2-alpha.21",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "entrypoint": "buildchain-site.json",
@@ -253,7 +253,7 @@
253
253
  "path": "docs/node-api-reference.md",
254
254
  "plane": "use",
255
255
  "exists": true,
256
- "digest": "sha256:cf61043790140da9953b53522dec4f2c408ffae87ba69168f6625bf17f7063e1"
256
+ "digest": "sha256:977a362563fd8fb93571dd670fea95b2285751140bfca2bc4d133123a0b4bb20"
257
257
  },
258
258
  {
259
259
  "id": "build-facts",
@@ -293,7 +293,7 @@
293
293
  "path": "docs/reusable-build-surface.md",
294
294
  "plane": "use",
295
295
  "exists": true,
296
- "digest": "sha256:fc2649d0ae4dc6a08275bc1f2509efd3e9730227eaa8157ef64daf4b9c850264"
296
+ "digest": "sha256:0ea67ecc0eb6e4d49f71e11ccd670d442b811c9132736dd8c600d038dc6ebbe9"
297
297
  },
298
298
  {
299
299
  "id": "v4-adopter-delivery",