@kungfu-tech/buildchain 4.0.2-alpha.4 → 4.0.2-alpha.40

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 (153) hide show
  1. package/AGENTS.md +10 -1
  2. package/CONTRIBUTING.md +24 -0
  3. package/README.md +2 -2
  4. package/actions/promote-buildchain-ref/README.md +1 -1
  5. package/actions/v4-release-candidate-promote/README.md +28 -0
  6. package/architecture/agent-change-map.md +66 -7
  7. package/architecture/ci-lane-change-budget.json +366 -0
  8. package/architecture/internal-capabilities.json +52 -8
  9. package/architecture/maintainability-debt.json +148 -92
  10. package/architecture/maintainability-policy.json +34 -30
  11. package/architecture/release-tail-contract-inventory.json +6 -6
  12. package/architecture/v4-architecture-constitution.md +23 -20
  13. package/architecture/v4-cross-platform-adopter-qualification.json +1 -1
  14. package/architecture/v4-delivery-authority-parity.json +2 -2
  15. package/architecture/v4-delivery-warrant-shadow-bootstrap-plan.json +1 -1
  16. package/architecture/v4-floating-consumer-policy.json +2 -2
  17. package/architecture/v4-next-development-parity.json +5 -5
  18. package/architecture/v4-partial-mutation-recovery-qualification.json +4 -1
  19. package/architecture/v4-platform-stage-checkpoints.json +1 -1
  20. package/architecture/v4-provider-operation-journal-contract.json +5 -2
  21. package/architecture/v4-publication-facade-patches.json +53 -0
  22. package/architecture/v4-release-activation-shadow-domain.json +5 -2
  23. package/architecture/v4-release-topology.json +143 -35
  24. package/architecture/v4-rust-wasm-production-authority.json +58 -0
  25. package/architecture/v4-stable-publication-fence.json +5 -2
  26. package/architecture/v4-stage-capsule-qualification.json +2 -2
  27. package/architecture/v4-tail-reseal-parity.json +8 -6
  28. package/architecture/v4-universal-workflow-bootstrap.json +171 -0
  29. package/architecture/v4-universal-workflow-fault-campaign.json +72 -0
  30. package/architecture/v4-universal-workflow-train-admission.json +40 -0
  31. package/architecture/workflow-taxonomy.json +1451 -0
  32. package/bin/buildchain.mjs +7 -7
  33. package/contracts/buildchain-v2-residuals-v1.json +57 -48
  34. package/contracts/dev-delivery-authority-v2.schema.json +16 -2
  35. package/contracts/fixtures/v4-tail-reseal-v1/valid.json +1 -1
  36. package/contracts/v4-canonical-contracts-v1.schema.json +1 -0
  37. package/dist/site/buildchain-contract.json +93 -48
  38. package/dist/site/buildchain-site.json +222 -69
  39. package/dist/site/capability-registry.json +4 -4
  40. package/dist/site/controller-registry.json +50 -13
  41. package/dist/site/kfd-claims.json +2569 -982
  42. package/dist/site/kfd-upstream-aggregate.json +1 -1
  43. package/dist/site/manual-registry.json +13 -13
  44. package/dist/site/node-api-registry.json +88 -83
  45. package/dist/site/page-registry.json +204 -51
  46. package/dist/site/public-surface-audit.json +3207 -1219
  47. package/dist/site/publication-authority-registry.json +1124 -362
  48. package/dist/site/publication-registry.json +4 -4
  49. package/dist/site/schemas/dev-delivery-authority-v2.schema.json +16 -2
  50. package/dist/site/site-manifest.json +17 -17
  51. package/dist/site/workflow-registry.json +5063 -1659
  52. package/docs/MAP.md +1 -0
  53. package/docs/auditable-demo.md +1 -1
  54. package/docs/cli.md +3 -3
  55. package/docs/dev-delivery-warrant.md +1 -1
  56. package/docs/engineering-housekeeper.md +3 -3
  57. package/docs/kfd-support.md +26 -2
  58. package/docs/next-development-transition.md +2 -2
  59. package/docs/node-api-reference.md +129 -129
  60. package/docs/publication-authority.md +2 -2
  61. package/docs/release-candidate.md +3 -3
  62. package/docs/release-flow.md +67 -19
  63. package/docs/release-governance.md +8 -8
  64. package/docs/release-passport.md +27 -2
  65. package/docs/reusable-build-surface.md +16 -0
  66. package/docs/v4-adopter-delivery.md +2 -2
  67. package/docs/v4-production-release.md +71 -8
  68. package/docs/v4-rust-wasm-production-authority.md +58 -0
  69. package/docs/v4-stage-capsule.md +2 -2
  70. package/docs/v4-tail-reseal.md +1 -1
  71. package/docs/workflow-catalog.md +154 -0
  72. package/docs/workflow-path-migration.md +109 -0
  73. package/package.json +10 -6
  74. package/packages/core/artifact-verification-envelope.js +5 -5
  75. package/packages/core/buildchain-contract.js +1 -1
  76. package/packages/core/buildchain-kfd-claims.js +2 -2
  77. package/packages/core/buildchain-publication-authority.js +42 -26
  78. package/packages/core/buildchain-v4-domain.wasm +0 -0
  79. package/packages/core/ci-lane-change-budget.js +14 -1
  80. package/packages/core/controller-evidence.js +4 -1
  81. package/packages/core/dev-delivery-candidate-identity.js +40 -6
  82. package/packages/core/dev-delivery-warrant-state.js +3 -4
  83. package/packages/core/dev-delivery-warrant.js +12 -2
  84. package/packages/core/github-governance-authority.js +4 -4
  85. package/packages/core/kfd-adopter-manifest.js +46 -47
  86. package/packages/core/next-development-projection.js +2 -2
  87. package/packages/core/release-line-dry-run.js +1 -1
  88. package/packages/core/release-passport-contract.js +5 -5
  89. package/packages/core/release-passport.js +5 -4
  90. package/packages/core/release-tail-product-capabilities.js +29 -0
  91. package/packages/core/release-tail-provider-plane.js +68 -1048
  92. package/packages/core/v4-canonical-contracts.js +14 -75
  93. package/packages/core/v4-domain-wasm-artifact.js +7 -0
  94. package/packages/core/v4-domain-wasm.js +216 -0
  95. package/packages/core/v4-floating-consumer-evidence.js +1 -1
  96. package/packages/core/v4-floating-consumer-policy.js +1 -1
  97. package/packages/core/v4-partial-mutation-recovery-qualification.js +9 -386
  98. package/packages/core/v4-product-publication.js +57 -0
  99. package/packages/core/v4-protected-publication-source.js +19 -21
  100. package/packages/core/v4-provider-operation-journal.js +18 -487
  101. package/packages/core/v4-provider-readback-idempotency.js +12 -97
  102. package/packages/core/v4-release-activation-shadow.js +13 -500
  103. package/packages/core/v4-release-invocation.js +28 -389
  104. package/packages/core/v4-stable-publication-fence.js +13 -342
  105. package/packages/core/v4-universal-workflow-bootstrap.js +586 -0
  106. package/scripts/binary-publication-evidence.mjs +135 -0
  107. package/scripts/build-contract-core.mjs +1 -14
  108. package/scripts/build-v4-domain-wasm.mjs +189 -0
  109. package/scripts/check-action-bundles.mjs +12 -2
  110. package/scripts/check-ci-lane-change-budget.mjs +4 -1
  111. package/scripts/check-core-mechanism-inventory.mjs +4 -3
  112. package/scripts/check-inventory.mjs +35 -44
  113. package/scripts/check-maintainability.mjs +16 -113
  114. package/scripts/check-v4-floating-consumer-policy-contract.mjs +2 -2
  115. package/scripts/check-v4-public-dogfood-contract.mjs +22 -9
  116. package/scripts/check-v4-release-topology.mjs +214 -50
  117. package/scripts/check-v4-runtime-semantic-closure.mjs +4 -1
  118. package/scripts/check-v4-universal-workflow-bootstrap.mjs +266 -0
  119. package/scripts/check-workflow-taxonomy.mjs +6 -0
  120. package/scripts/copy-v4-domain-wasm.mjs +14 -0
  121. package/scripts/dev-delivery-authority-command-adapters.mjs +1 -1
  122. package/scripts/dev-delivery-authority.mjs +8 -8
  123. package/scripts/dev-delivery-source-proof-reuse.mjs +2 -1
  124. package/scripts/dev-delivery-warrant-options.mjs +14 -9
  125. package/scripts/dev-delivery-warrant-store.mjs +73 -7
  126. package/scripts/dev-delivery-warrant-transition.mjs +109 -0
  127. package/scripts/dev-delivery-warrant.mjs +76 -99
  128. package/scripts/dev-pr-auto-merge.mjs +15 -15
  129. package/scripts/generate-channel-build-workflow.mjs +7 -2
  130. package/scripts/generate-channel-promotion-workflow.mjs +7 -5
  131. package/scripts/generate-site-bundle.mjs +11 -11
  132. package/scripts/generate-v4-universal-workflow-facades.mjs +458 -0
  133. package/scripts/generate-workflow-taxonomy.mjs +25 -0
  134. package/scripts/github-output.mjs +31 -0
  135. package/scripts/maintainability-metrics.mjs +16 -5
  136. package/scripts/maintainability-public-surface.mjs +115 -0
  137. package/scripts/next-development-review.mjs +307 -0
  138. package/scripts/release-asset-client.mjs +91 -0
  139. package/scripts/release-candidate-resolver.mjs +17 -18
  140. package/scripts/resume-from-candidate-run.mjs +1 -1
  141. package/scripts/source-verification-evidence.mjs +344 -0
  142. package/scripts/stable-candidate-qualification.mjs +1 -1
  143. package/scripts/universal-facade-maintainability.mjs +82 -0
  144. package/scripts/v4-product-publication-intent.mjs +121 -0
  145. package/scripts/v4-publication-settlement.mjs +211 -0
  146. package/scripts/v4-universal-workflow-backflow.mjs +212 -0
  147. package/scripts/v4-universal-workflow-engine.mjs +618 -0
  148. package/scripts/v4-universal-workflow-self-dogfood.mjs +205 -0
  149. package/scripts/verify-version-state-delta.mjs +173 -0
  150. package/scripts/workflow-taxonomy.mjs +507 -0
  151. package/templates/native-dev-delivery.yml +4 -7
  152. package/templates/universal-buildchain-bootstrap-recovery.yml +282 -0
  153. package/templates/universal-buildchain-bootstrap.yml +28 -0
@@ -14,54 +14,52 @@
14
14
  ".github/workflows/.declarative-auditable-demo.yml",
15
15
  ".github/workflows/.publication-authority.yml",
16
16
  ".github/workflows/.release-candidate-promote.yml",
17
- ".github/workflows/.release-elastic-beanstalk.yml",
18
- ".github/workflows/.release-new-version.yml",
19
- ".github/workflows/.sam-release.yml",
20
17
  ".github/workflows/.web-surface.yml",
21
- ".github/workflows/.wheel-release.yml",
22
- ".github/workflows/auditable-demo.yml",
23
- ".github/workflows/binary-release-assets.yml",
24
- ".github/workflows/build-surface-fixture.yml",
18
+ ".github/workflows/self-build-demo-dogfood.yml",
19
+ ".github/workflows/self-release-binary-assets.yml",
20
+ ".github/workflows/self-build-fixture.yml",
25
21
  ".github/workflows/build.yml",
26
- ".github/workflows/buildchain-alpha-self-dogfood.yml",
27
- ".github/workflows/buildchain-dev-delivery.yml",
28
- ".github/workflows/buildchain-ref-promotion-recovery.yml",
29
- ".github/workflows/buildchain-ref-promotion.yml",
30
- ".github/workflows/buildchain-patrol-daily.yml",
31
- ".github/workflows/buildchain-patrol-monthly.yml",
32
- ".github/workflows/buildchain-patrol-weekly.yml",
33
- ".github/workflows/buildchain-stable-candidate-patrol.yml",
22
+ ".github/workflows/self-build-alpha-dogfood.yml",
23
+ ".github/workflows/self-ops-dev-delivery.yml",
24
+ ".github/workflows/self-ops-promotion-recovery.yml",
25
+ ".github/workflows/self-release-promote.yml",
26
+ ".github/workflows/self-ops-patrol-daily.yml",
27
+ ".github/workflows/self-ops-patrol-monthly.yml",
28
+ ".github/workflows/self-ops-patrol-weekly.yml",
29
+ ".github/workflows/self-ops-stable-candidate-patrol.yml",
34
30
  ".github/workflows/dev-alpha-candidate-patrol.yml",
35
31
  ".github/workflows/dev-pr-auto-merge.yml",
36
32
  ".github/workflows/github-artifact-attestation.yml",
37
- ".github/workflows/npm-publish.yml",
33
+ ".github/workflows/self-release-npm-dry-run.yml",
38
34
  ".github/workflows/paper-release-sealed.yml",
39
35
  ".github/workflows/paper-release.yml",
40
36
  ".github/workflows/patrol-observed-evidence.yml",
41
37
  ".github/workflows/release-candidate-promote.yml",
42
- ".github/workflows/release-line-bootstrap.yml",
43
- ".github/workflows/release-new-version.yml",
38
+ ".github/workflows/self-release-line-open.yml",
39
+ ".github/workflows/self-release-new-version-compat.yml",
44
40
  ".github/workflows/release-propagation.yml",
45
41
  ".github/workflows/release-tail.yml",
46
42
  ".github/workflows/stable-candidate-patrol.yml",
47
- ".github/workflows/v4-publication-rehearsal-dogfood.yml",
48
- ".github/workflows/v4-declarative-release-tail-dogfood.yml"
43
+ ".github/workflows/self-release-rehearsal-dogfood.yml",
44
+ ".github/workflows/self-release-tail-dogfood.yml",
45
+ ".github/workflows/self-release-next-development.yml"
49
46
  ],
50
47
  "unknownTopologyPolicy": "fail-closed"
51
48
  },
52
49
  "semanticScope": {
53
50
  "workflowPaths": [
54
51
  ".github/workflows/.release-candidate-promote.yml",
55
- ".github/workflows/buildchain-ref-promotion-recovery.yml",
56
- ".github/workflows/buildchain-ref-promotion.yml",
52
+ ".github/workflows/self-ops-promotion-recovery.yml",
53
+ ".github/workflows/self-release-promote.yml",
57
54
  ".github/workflows/release-candidate-promote.yml",
58
- ".github/workflows/v4-declarative-release-tail-dogfood.yml"
55
+ ".github/workflows/self-release-tail-dogfood.yml"
59
56
  ],
60
57
  "excludedMechanisms": [
61
58
  "Paper product release",
62
59
  "npm dry-run",
63
60
  "v3 rollback workflows",
64
- "retired compatibility workflows"
61
+ "retired compatibility workflows",
62
+ "Post-publication protected development review: no package, tag or Release mutation; independently inventoried in closedWorld and privilegedExecutableClosure."
65
63
  ]
66
64
  },
67
65
  "authorityClosure": {
@@ -70,6 +68,8 @@
70
68
  "actions/promote-buildchain-ref/v4-provider-plane.js",
71
69
  "actions/release-tail/index.js",
72
70
  "actions/v4-release-candidate-promote/index.js",
71
+ "actions/v4-release-candidate-promote/product-provider-adapters.js",
72
+ "actions/v4-release-candidate-promote/product-provider-github-adapters.js",
73
73
  "actions/v4-release-candidate-promote/product-provider.js",
74
74
  "packages/core/buildchain-agent-manuals.js",
75
75
  "packages/core/index.js",
@@ -80,15 +80,21 @@
80
80
  "packages/core/v4-publication-rehearsal.js"
81
81
  ],
82
82
  "runtimeSelectors": [
83
+ ".github/workflows/.build-engine.yml",
83
84
  ".github/workflows/.build.yml",
84
85
  ".github/workflows/.release-candidate-promote.yml",
86
+ ".github/workflows/.release-promote.yml",
85
87
  ".github/workflows/.web-surface.yml",
86
- ".github/workflows/buildchain-ref-promotion-recovery.yml",
87
- ".github/workflows/buildchain-ref-promotion.yml",
88
88
  ".github/workflows/paper-release.yml",
89
+ ".github/workflows/public-build-publication.yml",
90
+ ".github/workflows/public-ops-tail-reseal.yml",
91
+ ".github/workflows/public-release-paper.yml",
92
+ ".github/workflows/public-release-promote.yml",
93
+ ".github/workflows/public-release-web.yml",
89
94
  ".github/workflows/publication-artifact.yml",
90
95
  ".github/workflows/release-candidate-promote.yml",
91
- ".github/workflows/v4-tail-reseal.yml",
96
+ ".github/workflows/self-ops-promotion-recovery.yml",
97
+ ".github/workflows/self-release-promote.yml",
92
98
  "packages/core/buildchain-contract.js",
93
99
  "packages/core/v4-runtime-ref-resume-authority.js",
94
100
  "packages/core/v4-runtime-selector-persistence.js",
@@ -107,11 +113,112 @@
107
113
  "runtimeEngines": ["actions/v4-release-candidate-promote/index.js"],
108
114
  "terminalProjections": [
109
115
  ".github/workflows/.release-candidate-promote.yml",
116
+ ".github/workflows/.release-promote.yml",
110
117
  "actions/v4-release-candidate-promote/index.js",
111
- "packages/core/v4-release-invocation.js"
118
+ "packages/core/v4-release-invocation.js",
119
+ "scripts/v4-publication-settlement.mjs",
120
+ "scripts/v4-universal-workflow-engine.mjs"
121
+ ],
122
+ "privilegedExecutableClosure": {
123
+ "entrypoints": [
124
+ "actions/v4-release-candidate-promote/index.js",
125
+ "scripts/binary-publication-evidence.mjs",
126
+ "scripts/next-development-review.mjs",
127
+ "scripts/v4-publication-settlement.mjs"
128
+ ],
129
+ "modules": [
130
+ "actions/promote-buildchain-ref/github-release.js",
131
+ "actions/promote-buildchain-ref/internal/version-state.js",
132
+ "actions/promote-buildchain-ref/reuse-complete-release.js",
133
+ "actions/promote-buildchain-ref/v4-provider-plane.js",
134
+ "actions/v4-release-candidate-promote/index.js",
135
+ "actions/v4-release-candidate-promote/next-development-queue.js",
136
+ "actions/v4-release-candidate-promote/product-provider-adapters.js",
137
+ "actions/v4-release-candidate-promote/product-provider-github-adapters.js",
138
+ "actions/v4-release-candidate-promote/product-provider.js",
139
+ "actions/v4-release-candidate-promote/publication-completion.js",
140
+ "packages/core/adopter-delivery-gate.js",
141
+ "packages/core/adopter-delivery-json.js",
142
+ "packages/core/adopter-delivery-passport.js",
143
+ "packages/core/artifact-verification-envelope.js",
144
+ "packages/core/buildchain-channel-identity.js",
145
+ "packages/core/buildchain-compatibility-authority.js",
146
+ "packages/core/buildchain-compatibility-fact.js",
147
+ "packages/core/buildchain-compatibility-facts.json",
148
+ "packages/core/buildchain-compatibility-proof.js",
149
+ "packages/core/buildchain-config.js",
150
+ "packages/core/buildchain-contract.js",
151
+ "packages/core/buildchain-layout.js",
152
+ "packages/core/controller-evidence.js",
153
+ "packages/core/dev-delivery-common.js",
154
+ "packages/core/dev-delivery-contract-surface.js",
155
+ "packages/core/github-artifact-attestation.js",
156
+ "packages/core/kfd-adopter-manifest.js",
157
+ "packages/core/kfd-gate.js",
158
+ "packages/core/kfd-product-gates.js",
159
+ "packages/core/kungfu-temporal-fact.js",
160
+ "packages/core/next-development-transition.js",
161
+ "packages/core/package-manager.js",
162
+ "packages/core/public-surface-audit.js",
163
+ "packages/core/public-surface-cli.js",
164
+ "packages/core/publication-artifact-candidate.js",
165
+ "packages/core/publication-authority.js",
166
+ "packages/core/publication-sealed-bundle.js",
167
+ "packages/core/publish-transaction.js",
168
+ "packages/core/release-candidate-recovery.js",
169
+ "packages/core/release-candidate.js",
170
+ "packages/core/release-passport-contract.js",
171
+ "packages/core/release-passport.js",
172
+ "packages/core/release-tail-product-capabilities.js",
173
+ "packages/core/release-tail-provider-adapters.js",
174
+ "packages/core/release-tail-provider-plane.js",
175
+ "packages/core/spawn-command.js",
176
+ "packages/core/surface-manifest.js",
177
+ "packages/core/v4-canonical-contracts.js",
178
+ "packages/core/v4-domain-wasm-artifact.js",
179
+ "packages/core/v4-domain-wasm.js",
180
+ "packages/core/v4-floating-consumer-evidence.js",
181
+ "packages/core/v4-floating-consumer-policy.js",
182
+ "packages/core/v4-floating-consumer-release-passport.js",
183
+ "packages/core/v4-product-publication.js",
184
+ "packages/core/v4-protected-publication-source.js",
185
+ "packages/core/v4-publication-qualification.js",
186
+ "packages/core/v4-release-invocation.js",
187
+ "packages/core/v4-runtime-ref-resume-authority.js",
188
+ "packages/core/v4-runtime-selector-persistence.js",
189
+ "packages/core/web-surface-publication-candidate.js",
190
+ "packages/core/workflow-yaml-contract.js",
191
+ "scripts/binary-publication-evidence.mjs",
192
+ "scripts/ensure-github-release.mjs",
193
+ "scripts/next-development-review.mjs",
194
+ "scripts/release-asset-client.mjs",
195
+ "scripts/v4-publication-settlement.mjs",
196
+ "scripts/verify-version-state-delta.mjs"
197
+ ],
198
+ "root": "sha256:7a4de4f149edfdcced84267304aab1ccf9997badcaca899b7dc4fbe9288c34cb"
199
+ },
200
+ "rustWasmAuthority": {
201
+ "loader": "packages/core/v4-domain-wasm.js",
202
+ "metadata": "packages/core/v4-domain-wasm-artifact.js",
203
+ "artifact": "packages/core/buildchain-v4-domain.wasm",
204
+ "artifactRoot": "sha256:b37c330e9366b7e9cf9dc4b7573b1e9495212dd9520e8b8ec6cdc3fd0ab7cafd",
205
+ "distributedArtifacts": [
206
+ "actions/promote-buildchain-ref/dist/buildchain-v4-domain.wasm",
207
+ "actions/release-tail/dist/buildchain-v4-domain.wasm",
208
+ "actions/v4-release-candidate-promote/dist/buildchain-v4-domain.wasm"
209
+ ],
210
+ "byteIdenticalDistributions": true,
211
+ "fallbackWriterCount": 0
212
+ },
213
+ "legacyEngineModules": [
214
+ "actions/promote-buildchain-ref/internal/durable-transaction-operations.js",
215
+ "actions/promote-buildchain-ref/internal/promote-alpha-channel.js",
216
+ "actions/promote-buildchain-ref/internal/promote-major-channel.js",
217
+ "actions/promote-buildchain-ref/internal/promote-release-channel.js",
218
+ "actions/promote-buildchain-ref/lib.js"
112
219
  ],
113
220
  "freshEntry": ".github/workflows/release-candidate-promote.yml",
114
- "recoveryEntry": ".github/workflows/buildchain-ref-promotion-recovery.yml",
221
+ "recoveryEntry": ".github/workflows/self-ops-promotion-recovery.yml",
115
222
  "forbiddenLegacyEnginePatterns": [
116
223
  "legacy-promote",
117
224
  "v4-declarative-promote",
@@ -180,7 +287,7 @@
180
287
  "reusableEdges": []
181
288
  },
182
289
  {
183
- "path": ".github/workflows/buildchain-ref-promotion-recovery.yml",
290
+ "path": ".github/workflows/self-ops-promotion-recovery.yml",
184
291
  "triggers": ["workflow_dispatch"],
185
292
  "jobs": [
186
293
  "resume|reusable-call|kungfu-systems/buildchain/.github/workflows/release-candidate-promote.yml@v4-alpha|write|write|-|contents-write,oidc-write"
@@ -190,9 +297,10 @@
190
297
  ]
191
298
  },
192
299
  {
193
- "path": ".github/workflows/buildchain-ref-promotion.yml",
300
+ "path": ".github/workflows/self-release-promote.yml",
194
301
  "triggers": ["workflow_dispatch", "workflow_run:completed"],
195
302
  "jobs": [
303
+ "classify-workflow-run|runner|-|read|-|-|-",
196
304
  "promote|reusable-call|kungfu-systems/buildchain/.github/workflows/.release-candidate-promote.yml@v4-alpha|write|write|-|contents-write,oidc-write",
197
305
  "reject-invalid-candidate-recovery|runner|-|read|-|-|-",
198
306
  "reject-invalid-durable-recovery|runner|-|read|-|-|-",
@@ -215,7 +323,7 @@
215
323
  ]
216
324
  },
217
325
  {
218
- "path": ".github/workflows/v4-declarative-release-tail-dogfood.yml",
326
+ "path": ".github/workflows/self-release-tail-dogfood.yml",
219
327
  "triggers": ["workflow_dispatch"],
220
328
  "jobs": [
221
329
  "publish|reusable-call|kungfu-systems/buildchain/.github/workflows/release-candidate-promote.yml@v4-alpha|-|-|-|-"
@@ -226,10 +334,10 @@
226
334
  }
227
335
  ],
228
336
  "metrics": {
229
- "workflowCount": 37,
230
- "jobCount": 92,
337
+ "workflowCount": 34,
338
+ "jobCount": 90,
231
339
  "reusableEdgeCount": 23,
232
- "mutationRelevantNodeCount": 74,
340
+ "mutationRelevantNodeCount": 75,
233
341
  "contentsWriteJobCount": 14,
234
342
  "oidcWriteJobCount": 16
235
343
  },
@@ -0,0 +1,58 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "contract": "kungfu-buildchain-v4-rust-wasm-production-authority/v1",
4
+ "mode": "production",
5
+ "sourceAuthority": {
6
+ "crate": "crates/buildchain-v4-contracts",
7
+ "toolchain": "crates/buildchain-v4-contracts/rust-toolchain.toml",
8
+ "build": "scripts/build-v4-domain-wasm.mjs",
9
+ "reproducibilityCheck": "pnpm run check:v4-wasm"
10
+ },
11
+ "runtimeAuthority": {
12
+ "loader": "packages/core/v4-domain-wasm.js",
13
+ "metadata": "packages/core/v4-domain-wasm-artifact.js",
14
+ "artifact": "packages/core/buildchain-v4-domain.wasm",
15
+ "abiVersion": 1,
16
+ "fallbackWriterCount": 0,
17
+ "failurePolicy": "fail-closed"
18
+ },
19
+ "rustOwnedSemantics": [
20
+ "source-verification-evidence-identity-and-reuse",
21
+ "canonical-json-and-content-roots",
22
+ "release-invocation-plan-transaction-and-receipt",
23
+ "product-publication-plan-and-version-intent",
24
+ "provider-operation-journal-and-readback-fold",
25
+ "release-activation-plan-and-fold",
26
+ "stable-publication-fence",
27
+ "partial-mutation-recovery-plan",
28
+ "release-tail-plan-transaction-retry-readback-and-receipt"
29
+ ],
30
+ "nodeOwnedEffects": [
31
+ "provider-sdk-calls",
32
+ "filesystem-io",
33
+ "credential-and-environment-access",
34
+ "workflow-input-and-output-transport",
35
+ "provider-error-classification"
36
+ ],
37
+ "distribution": {
38
+ "npmPackage": "packages/core/buildchain-v4-domain.wasm",
39
+ "actionArtifacts": [
40
+ "actions/promote-buildchain-ref/dist/buildchain-v4-domain.wasm",
41
+ "actions/release-tail/dist/buildchain-v4-domain.wasm",
42
+ "actions/v4-release-candidate-promote/dist/buildchain-v4-domain.wasm"
43
+ ],
44
+ "artifactBinding": "sha256-metadata-before-instantiation",
45
+ "runtimeCompilation": false
46
+ },
47
+ "qualification": {
48
+ "platforms": ["linux-x64", "macos-arm64", "windows-x64"],
49
+ "productionRuntime": "node-24",
50
+ "checks": [
51
+ "tracked-artifact-reproducibility",
52
+ "abi-and-digest-binding",
53
+ "clean-process-loading-without-rust",
54
+ "missing-or-tampered-artifact-fails-closed",
55
+ "action-artifact-byte-identity"
56
+ ]
57
+ }
58
+ }
@@ -10,7 +10,7 @@
10
10
  "productionWriterCount": 1,
11
11
  "fenceAuthority": "rust-v4-core",
12
12
  "fenceWriterCount": 1,
13
- "typescript": "byte-equivalent-provider-adapter",
13
+ "typescript": "wasm-calling-provider-adapter",
14
14
  "candidateSelfQualification": false,
15
15
  "productionWriteChange": true
16
16
  },
@@ -29,7 +29,10 @@
29
29
  "publicationTargets": ["stable-ref", "npm-tag", "oci-tag", "github-release"],
30
30
  "implementations": {
31
31
  "rustDomain": "crates/buildchain-v4-contracts/src/stable_publication_fence.rs",
32
- "typescript": "packages/core/v4-stable-publication-fence.js"
32
+ "typescript": "packages/core/v4-stable-publication-fence.js",
33
+ "wasmRuntime": "packages/core/v4-domain-wasm.js",
34
+ "wasmArtifact": "packages/core/buildchain-v4-domain.wasm",
35
+ "artifactMetadata": "packages/core/v4-domain-wasm-artifact.js"
33
36
  },
34
37
  "roots": [
35
38
  "stable-publication-candidate",
@@ -24,8 +24,8 @@
24
24
  ]
25
25
  },
26
26
  "publicConsumerDogfood": {
27
- "callerWorkflow": ".github/workflows/v4-public-consumer-dogfood.yml",
28
- "reusableWorkflow": "kungfu-systems/buildchain/.github/workflows/v4-stage-capsule-canary.yml",
27
+ "callerWorkflow": ".github/workflows/self-build-public-consumer-dogfood.yml",
28
+ "reusableWorkflow": "kungfu-systems/buildchain/.github/workflows/public-build-stage-capsule-canary.yml",
29
29
  "validationRef": "v4-alpha",
30
30
  "invocation": "workflow_call",
31
31
  "runtimeBinding": "job.workflow_sha",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "target": {
12
12
  "branch": "dev/v4/v4.0",
13
- "publicReusableWorkflow": "kungfu-systems/buildchain/.github/workflows/v4-tail-reseal.yml@v4-alpha",
13
+ "publicReusableWorkflow": "kungfu-systems/buildchain/.github/workflows/public-ops-tail-reseal.yml@v4-alpha",
14
14
  "requestSchema": "contracts/v4-tail-reseal-v1.schema.json",
15
15
  "planner": "packages/core/v4-tail-reseal.js",
16
16
  "admission": "packages/core/v4-tail-reseal-github.js",
@@ -57,7 +57,7 @@
57
57
  "disposition": "implemented",
58
58
  "implementationEvidence": [
59
59
  "scripts/v4-tail-reseal.mjs",
60
- ".github/workflows/v4-tail-reseal.yml"
60
+ ".github/workflows/public-ops-tail-reseal.yml"
61
61
  ],
62
62
  "verificationEvidence": ["tests/v4-tail-reseal.test.mjs"]
63
63
  },
@@ -84,7 +84,7 @@
84
84
  "disposition": "implemented",
85
85
  "implementationEvidence": [
86
86
  "packages/core/v4-tail-reseal.js",
87
- ".github/workflows/v4-tail-reseal.yml"
87
+ ".github/workflows/public-ops-tail-reseal.yml"
88
88
  ],
89
89
  "verificationEvidence": ["tests/v4-tail-reseal.test.mjs"]
90
90
  },
@@ -111,7 +111,7 @@
111
111
  "disposition": "implemented",
112
112
  "implementationEvidence": [
113
113
  "packages/core/v4-tail-reseal-receipt.js",
114
- ".github/workflows/v4-tail-reseal.yml"
114
+ ".github/workflows/public-ops-tail-reseal.yml"
115
115
  ],
116
116
  "verificationEvidence": ["tests/v4-tail-reseal.test.mjs"]
117
117
  },
@@ -119,7 +119,9 @@
119
119
  "id": "TR-10",
120
120
  "claim": "The reusable workflow resolves job.workflow_sha as runtime evidence and exposes no persisted SHA, variable indirection or private self-dogfood path.",
121
121
  "disposition": "implemented",
122
- "implementationEvidence": [".github/workflows/v4-tail-reseal.yml"],
122
+ "implementationEvidence": [
123
+ ".github/workflows/public-ops-tail-reseal.yml"
124
+ ],
123
125
  "verificationEvidence": ["tests/v4-tail-reseal-parity.test.mjs"]
124
126
  },
125
127
  {
@@ -146,5 +148,5 @@
146
148
  "verificationEvidence": []
147
149
  }
148
150
  ],
149
- "matrixRoot": "sha256:126ec51c12a9dedeb9b9e187202781e3895856af1927b399ba3902f3940750ad"
151
+ "matrixRoot": "sha256:dc8d99f2e90473abde7a04c02300e7bfd0b48a2ff187e99fae0bc090ff2a855d"
150
152
  }
@@ -0,0 +1,171 @@
1
+ {
2
+ "schema": "kungfu-buildchain-v4-universal-workflow-bootstrap/v1",
3
+ "status": "migration-active",
4
+ "bootstrap": {
5
+ "publicWorkflow": ".github/workflows/bootstrap.yml",
6
+ "requestSchema": "kungfu-buildchain-v4-universal-workflow-request/v1",
7
+ "admissionSchema": "kungfu-buildchain-v4-universal-workflow-admission/v1",
8
+ "terminalReceiptSchema": "kungfu-buildchain-v4-universal-workflow-terminal-receipt/v1",
9
+ "candidateRepository": "kungfu-systems/buildchain",
10
+ "candidateEnginePath": "scripts/v4-universal-workflow-engine.mjs",
11
+ "consumerTemplate": "templates/universal-buildchain-bootstrap.yml",
12
+ "consumerRecoveryTemplate": "templates/universal-buildchain-bootstrap-recovery.yml",
13
+ "consumerRecoveryWorkflow": ".github/workflows/universal-bootstrap-recovery.yml",
14
+ "consumerRecoveryMode": "separate-pre-positioned-consumer-owned-shell",
15
+ "recoveryDependsOnPublishedBuildchain": false,
16
+ "selfDogfoodWorkflow": ".github/workflows/self-ops-bootstrap-dogfood.yml",
17
+ "faultCampaign": "architecture/v4-universal-workflow-fault-campaign.json",
18
+ "discoveryRefExecutionAuthority": false,
19
+ "exactShaExecutionAuthority": true,
20
+ "consumerSourceMutationPerIncident": false,
21
+ "consumerAdmission": "verified-caller-exact-repository-workflow-and-source",
22
+ "reviewRuntimeBinding": "reviewed-head-or-protected-alpha-merge-to-exact-runtime",
23
+ "buildchainReleasePromotionPerIncident": false,
24
+ "selfDogfoodUsesPublicContract": true
25
+ },
26
+ "capabilityAdapters": [
27
+ {
28
+ "id": "bootstrap-conformance",
29
+ "execution": "exact-candidate-engine",
30
+ "payloadSchema": "kungfu-buildchain-v4-universal-bootstrap-conformance/v1",
31
+ "providerEffects": false
32
+ },
33
+ {
34
+ "id": "release-candidate-promote",
35
+ "execution": "exact-candidate-action-and-provider-readback",
36
+ "payloadSchema": "kungfu-buildchain-v4-universal-release-promotion/v1",
37
+ "providerEffects": true
38
+ },
39
+ {
40
+ "id": "release-invocation",
41
+ "execution": "exact-candidate-canonical-projection",
42
+ "payloadSchema": "kungfu-buildchain-v4-release-invocation/v1",
43
+ "providerEffects": false
44
+ }
45
+ ],
46
+ "complexityBudget": {
47
+ "bootstrapAbis": 1,
48
+ "requestEnvelopes": 1,
49
+ "candidateResolvers": 1,
50
+ "candidateEngines": 1,
51
+ "terminalReceiptAuthorities": 1,
52
+ "perWorkflowBootstrapImplementations": 0,
53
+ "buildchainOnlySelfReleasePaths": 0,
54
+ "perIncidentConsumerEdits": 0
55
+ },
56
+ "permissionCeiling": {
57
+ "actions": "write",
58
+ "artifact-metadata": "write",
59
+ "attestations": "write",
60
+ "checks": "write",
61
+ "contents": "write",
62
+ "deployments": "write",
63
+ "id-token": "write",
64
+ "issues": "write",
65
+ "packages": "write",
66
+ "pages": "write",
67
+ "pull-requests": "write",
68
+ "security-events": "write",
69
+ "statuses": "write"
70
+ },
71
+ "inventoryWorkflows": [
72
+ ".github/workflows/.auditable-demo.yml",
73
+ ".github/workflows/.binary-release-assets.yml",
74
+ ".github/workflows/.build.yml",
75
+ ".github/workflows/.bump-minor-version.yml",
76
+ ".github/workflows/.declarative-auditable-demo.yml",
77
+ ".github/workflows/.gate-profile.yml",
78
+ ".github/workflows/.publication-authority.yml",
79
+ ".github/workflows/.release-candidate-promote.yml",
80
+ ".github/workflows/.release-verify.yml",
81
+ ".github/workflows/.sam-verify.yml",
82
+ ".github/workflows/.sync-release-page.yml",
83
+ ".github/workflows/.sync-remote-git.yml",
84
+ ".github/workflows/.web-surface.yml",
85
+ ".github/workflows/.wheel-verify.yml",
86
+ ".github/workflows/bootstrap.yml",
87
+ ".github/workflows/build.yml",
88
+ ".github/workflows/buildchain-patrol.yml",
89
+ ".github/workflows/check.yml",
90
+ ".github/workflows/dev-alpha-candidate-patrol.yml",
91
+ ".github/workflows/dev-delivery-warrant-cancel.yml",
92
+ ".github/workflows/dev-delivery-warrant-close.yml",
93
+ ".github/workflows/dev-pr-auto-merge.yml",
94
+ ".github/workflows/dev-qualification-patrol.yml",
95
+ ".github/workflows/engineering-housekeeper.yml",
96
+ ".github/workflows/github-artifact-attestation.yml",
97
+ ".github/workflows/paper-release-sealed.yml",
98
+ ".github/workflows/paper-release.yml",
99
+ ".github/workflows/patrol-daily.yml",
100
+ ".github/workflows/patrol-monthly.yml",
101
+ ".github/workflows/patrol-observed-evidence.yml",
102
+ ".github/workflows/patrol-weekly.yml",
103
+ ".github/workflows/publication-artifact.yml",
104
+ ".github/workflows/release-candidate-promote.yml",
105
+ ".github/workflows/release-governance-reconcile.yml",
106
+ ".github/workflows/release-propagation.yml",
107
+ ".github/workflows/release-tail.yml",
108
+ ".github/workflows/stable-candidate-patrol.yml",
109
+ ".github/workflows/universal-bootstrap-recovery.yml",
110
+ ".github/workflows/v4-adopter-delivery.yml",
111
+ ".github/workflows/v4-stage-capsule-canary.yml",
112
+ ".github/workflows/v4-tail-reseal.yml"
113
+ ],
114
+ "retiredWorkflowSurfaces": [],
115
+ "bootstrapGovernedWorkflows": [
116
+ ".github/workflows/.auditable-demo.yml",
117
+ ".github/workflows/.binary-release-assets.yml",
118
+ ".github/workflows/.build.yml",
119
+ ".github/workflows/.bump-minor-version.yml",
120
+ ".github/workflows/.declarative-auditable-demo.yml",
121
+ ".github/workflows/.gate-profile.yml",
122
+ ".github/workflows/.publication-authority.yml",
123
+ ".github/workflows/.release-candidate-promote.yml",
124
+ ".github/workflows/.release-verify.yml",
125
+ ".github/workflows/.sam-verify.yml",
126
+ ".github/workflows/.sync-release-page.yml",
127
+ ".github/workflows/.sync-remote-git.yml",
128
+ ".github/workflows/.web-surface.yml",
129
+ ".github/workflows/.wheel-verify.yml",
130
+ ".github/workflows/bootstrap.yml",
131
+ ".github/workflows/build.yml",
132
+ ".github/workflows/buildchain-patrol.yml",
133
+ ".github/workflows/check.yml",
134
+ ".github/workflows/dev-alpha-candidate-patrol.yml",
135
+ ".github/workflows/dev-delivery-warrant-cancel.yml",
136
+ ".github/workflows/dev-delivery-warrant-close.yml",
137
+ ".github/workflows/dev-pr-auto-merge.yml",
138
+ ".github/workflows/dev-qualification-patrol.yml",
139
+ ".github/workflows/engineering-housekeeper.yml",
140
+ ".github/workflows/github-artifact-attestation.yml",
141
+ ".github/workflows/paper-release-sealed.yml",
142
+ ".github/workflows/paper-release.yml",
143
+ ".github/workflows/patrol-daily.yml",
144
+ ".github/workflows/patrol-monthly.yml",
145
+ ".github/workflows/patrol-observed-evidence.yml",
146
+ ".github/workflows/patrol-weekly.yml",
147
+ ".github/workflows/publication-artifact.yml",
148
+ ".github/workflows/release-candidate-promote.yml",
149
+ ".github/workflows/release-governance-reconcile.yml",
150
+ ".github/workflows/release-propagation.yml",
151
+ ".github/workflows/release-tail.yml",
152
+ ".github/workflows/stable-candidate-patrol.yml",
153
+ ".github/workflows/v4-adopter-delivery.yml",
154
+ ".github/workflows/v4-stage-capsule-canary.yml",
155
+ ".github/workflows/v4-tail-reseal.yml"
156
+ ],
157
+ "migration": {
158
+ "compatibilityFacadeGenerator": "scripts/generate-v4-universal-workflow-facades.mjs",
159
+ "facadeSourceRevision": "06a2d9f7d5753c5c9b2bf0e7f0e3220fc18cc183",
160
+ "channelGeneratedFacades": [
161
+ ".github/workflows/build.yml",
162
+ ".github/workflows/release-candidate-promote.yml"
163
+ ],
164
+ "staticBootstrap": "implemented",
165
+ "candidateEngine": "bounded-capability-adapters",
166
+ "compatibilityFacades": "generated-dual-path",
167
+ "externalConsumerDogfood": "public-consumer-three-platform-runtime-and-non-circular-recovery-hosted-proof-passed",
168
+ "buildchainSelfDogfood": "train-primary-and-consumer-recovery-three-pair-hosted-proof-passed",
169
+ "oldPathRetirement": "pending-protected-dev-integration"
170
+ }
171
+ }