@kungfu-tech/buildchain 4.0.2-alpha.5 → 4.0.2-alpha.50

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 (171) 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 +70 -9
  7. package/architecture/ci-lane-change-budget.json +384 -0
  8. package/architecture/internal-capabilities.json +56 -9
  9. package/architecture/maintainability-debt.json +162 -107
  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 +64 -0
  22. package/architecture/v4-release-activation-shadow-domain.json +5 -2
  23. package/architecture/v4-release-topology.json +198 -38
  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 +176 -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 +1462 -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 +276 -72
  39. package/dist/site/capability-registry.json +5 -5
  40. package/dist/site/controller-registry.json +50 -13
  41. package/dist/site/kfd-claims.json +2610 -983
  42. package/dist/site/kfd-upstream-aggregate.json +1 -1
  43. package/dist/site/manual-registry.json +14 -14
  44. package/dist/site/node-api-registry.json +273 -127
  45. package/dist/site/page-registry.json +257 -53
  46. package/dist/site/public-surface-audit.json +3239 -1232
  47. package/dist/site/publication-authority-registry.json +1135 -363
  48. package/dist/site/publication-registry.json +4 -4
  49. package/dist/site/release-provenance.json +2 -1
  50. package/dist/site/schemas/dev-delivery-authority-v2.schema.json +16 -2
  51. package/dist/site/site-manifest.json +18 -18
  52. package/dist/site/workflow-registry.json +5097 -1659
  53. package/docs/MAP.md +2 -0
  54. package/docs/auditable-demo.md +1 -1
  55. package/docs/cli.md +21 -8
  56. package/docs/dev-delivery-warrant.md +1 -1
  57. package/docs/engineering-housekeeper.md +3 -3
  58. package/docs/kfd-support.md +26 -2
  59. package/docs/next-development-transition.md +2 -2
  60. package/docs/node-api-reference.md +216 -205
  61. package/docs/oci-publication.md +160 -0
  62. package/docs/publication-authority.md +2 -2
  63. package/docs/publish-transaction.md +36 -3
  64. package/docs/release-candidate.md +3 -3
  65. package/docs/release-flow.md +67 -19
  66. package/docs/release-governance.md +8 -8
  67. package/docs/release-passport.md +27 -2
  68. package/docs/reusable-build-surface.md +16 -0
  69. package/docs/v4-adopter-delivery.md +2 -2
  70. package/docs/v4-production-release.md +71 -8
  71. package/docs/v4-rust-wasm-production-authority.md +58 -0
  72. package/docs/v4-stage-capsule.md +2 -2
  73. package/docs/v4-tail-reseal.md +1 -1
  74. package/docs/workflow-catalog.md +155 -0
  75. package/docs/workflow-path-migration.md +109 -0
  76. package/package.json +12 -7
  77. package/packages/core/artifact-verification-envelope.js +5 -5
  78. package/packages/core/buildchain-contract.js +1 -1
  79. package/packages/core/buildchain-kfd-claims.js +2 -2
  80. package/packages/core/buildchain-publication-authority.js +43 -26
  81. package/packages/core/buildchain-v4-domain.wasm +0 -0
  82. package/packages/core/ci-lane-change-budget.js +14 -1
  83. package/packages/core/controller-evidence.js +4 -1
  84. package/packages/core/dev-delivery-candidate-identity.js +40 -6
  85. package/packages/core/dev-delivery-warrant-state.js +3 -4
  86. package/packages/core/dev-delivery-warrant.js +12 -2
  87. package/packages/core/github-governance-authority.js +4 -4
  88. package/packages/core/kfd-adopter-manifest.js +46 -47
  89. package/packages/core/next-development-projection.js +2 -2
  90. package/packages/core/next-development-transition.js +5 -6
  91. package/packages/core/oci-compose-qualification.js +140 -0
  92. package/packages/core/oci-publication-bundle.js +281 -0
  93. package/packages/core/oci-publication-graph.js +206 -0
  94. package/packages/core/paper-agent-entry.js +30 -4
  95. package/packages/core/paper-fleet.js +1 -1
  96. package/packages/core/paper-runtime-channels.js +348 -0
  97. package/packages/core/paper-scaffold-content.js +10 -0
  98. package/packages/core/paper.js +37 -71
  99. package/packages/core/publication-sealed-bundle.js +78 -13
  100. package/packages/core/release-line-dry-run.js +1 -1
  101. package/packages/core/release-passport-contract.js +5 -5
  102. package/packages/core/release-passport.js +5 -4
  103. package/packages/core/release-tail-product-capabilities.js +38 -0
  104. package/packages/core/release-tail-provider-plane.js +68 -1048
  105. package/packages/core/v4-canonical-contracts.js +15 -75
  106. package/packages/core/v4-domain-wasm-artifact.js +7 -0
  107. package/packages/core/v4-domain-wasm.js +216 -0
  108. package/packages/core/v4-floating-consumer-evidence.js +1 -1
  109. package/packages/core/v4-floating-consumer-policy.js +1 -1
  110. package/packages/core/v4-partial-mutation-recovery-qualification.js +9 -386
  111. package/packages/core/v4-product-publication.js +59 -0
  112. package/packages/core/v4-protected-publication-source.js +19 -21
  113. package/packages/core/v4-provider-operation-journal.js +18 -487
  114. package/packages/core/v4-provider-readback-idempotency.js +12 -97
  115. package/packages/core/v4-release-activation-shadow.js +13 -500
  116. package/packages/core/v4-release-invocation.js +28 -389
  117. package/packages/core/v4-stable-publication-fence.js +13 -342
  118. package/packages/core/v4-universal-workflow-bootstrap.js +586 -0
  119. package/scripts/binary-publication-evidence.mjs +135 -0
  120. package/scripts/build-contract-core.mjs +1 -14
  121. package/scripts/build-v4-domain-wasm.mjs +189 -0
  122. package/scripts/check-action-bundles.mjs +12 -2
  123. package/scripts/check-ci-lane-change-budget.mjs +4 -1
  124. package/scripts/check-core-mechanism-inventory.mjs +4 -3
  125. package/scripts/check-inventory.mjs +35 -44
  126. package/scripts/check-maintainability.mjs +16 -113
  127. package/scripts/check-v4-floating-consumer-policy-contract.mjs +2 -2
  128. package/scripts/check-v4-public-dogfood-contract.mjs +22 -9
  129. package/scripts/check-v4-release-topology.mjs +236 -50
  130. package/scripts/check-v4-runtime-semantic-closure.mjs +4 -1
  131. package/scripts/check-v4-universal-workflow-bootstrap.mjs +266 -0
  132. package/scripts/check-workflow-taxonomy.mjs +6 -0
  133. package/scripts/copy-v4-domain-wasm.mjs +14 -0
  134. package/scripts/dev-delivery-authority-command-adapters.mjs +1 -1
  135. package/scripts/dev-delivery-authority.mjs +8 -8
  136. package/scripts/dev-delivery-source-proof-reuse.mjs +2 -1
  137. package/scripts/dev-delivery-warrant-options.mjs +14 -9
  138. package/scripts/dev-delivery-warrant-store.mjs +73 -7
  139. package/scripts/dev-delivery-warrant-transition.mjs +109 -0
  140. package/scripts/dev-delivery-warrant.mjs +76 -99
  141. package/scripts/dev-pr-auto-merge.mjs +15 -15
  142. package/scripts/generate-channel-build-workflow.mjs +7 -2
  143. package/scripts/generate-channel-promotion-workflow.mjs +10 -25
  144. package/scripts/generate-site-bundle.mjs +11 -11
  145. package/scripts/generate-v4-universal-workflow-facades.mjs +497 -0
  146. package/scripts/generate-workflow-taxonomy.mjs +25 -0
  147. package/scripts/github-output.mjs +31 -0
  148. package/scripts/maintainability-metrics.mjs +16 -5
  149. package/scripts/maintainability-public-surface.mjs +115 -0
  150. package/scripts/next-development-review.mjs +307 -0
  151. package/scripts/oci-compose-preview.mjs +250 -0
  152. package/scripts/paper-work-fleet-cli.mjs +2 -0
  153. package/scripts/publication-candidate-kind.mjs +93 -0
  154. package/scripts/publication-candidate-sealer.mjs +16 -1
  155. package/scripts/release-asset-client.mjs +91 -0
  156. package/scripts/release-candidate-resolver.mjs +23 -35
  157. package/scripts/resume-from-candidate-run.mjs +11 -18
  158. package/scripts/site-capability-metadata.mjs +1 -0
  159. package/scripts/source-verification-evidence.mjs +344 -0
  160. package/scripts/stable-candidate-qualification.mjs +1 -1
  161. package/scripts/universal-facade-maintainability.mjs +91 -0
  162. package/scripts/v4-product-publication-intent.mjs +129 -0
  163. package/scripts/v4-publication-settlement.mjs +211 -0
  164. package/scripts/v4-universal-workflow-backflow.mjs +212 -0
  165. package/scripts/v4-universal-workflow-engine.mjs +620 -0
  166. package/scripts/v4-universal-workflow-self-dogfood.mjs +205 -0
  167. package/scripts/verify-version-state-delta.mjs +173 -0
  168. package/scripts/workflow-taxonomy.mjs +507 -0
  169. package/templates/native-dev-delivery.yml +4 -7
  170. package/templates/universal-buildchain-bootstrap-recovery.yml +282 -0
  171. package/templates/universal-buildchain-bootstrap.yml +28 -0
@@ -14,54 +14,54 @@
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",
46
+ ".github/workflows/public-release-oci-compose-preview.yml"
49
47
  ],
50
48
  "unknownTopologyPolicy": "fail-closed"
51
49
  },
52
50
  "semanticScope": {
53
51
  "workflowPaths": [
54
52
  ".github/workflows/.release-candidate-promote.yml",
55
- ".github/workflows/buildchain-ref-promotion-recovery.yml",
56
- ".github/workflows/buildchain-ref-promotion.yml",
53
+ ".github/workflows/self-ops-promotion-recovery.yml",
54
+ ".github/workflows/self-release-promote.yml",
57
55
  ".github/workflows/release-candidate-promote.yml",
58
- ".github/workflows/v4-declarative-release-tail-dogfood.yml"
56
+ ".github/workflows/self-release-tail-dogfood.yml"
59
57
  ],
60
58
  "excludedMechanisms": [
61
59
  "Paper product release",
62
60
  "npm dry-run",
63
61
  "v3 rollback workflows",
64
- "retired compatibility workflows"
62
+ "retired compatibility workflows",
63
+ "Post-publication protected development review: no package, tag or Release mutation; independently inventoried in closedWorld and privilegedExecutableClosure.",
64
+ "Post-publication OCI Compose preview activation is measured separately in postPublicationScope; it consumes completed publication and qualification, copies one manifest to the sealed alias, and cannot materialize versions or release refs."
65
65
  ]
66
66
  },
67
67
  "authorityClosure": {
@@ -70,9 +70,13 @@
70
70
  "actions/promote-buildchain-ref/v4-provider-plane.js",
71
71
  "actions/release-tail/index.js",
72
72
  "actions/v4-release-candidate-promote/index.js",
73
+ "actions/v4-release-candidate-promote/oci-provider.js",
74
+ "actions/v4-release-candidate-promote/product-provider-adapters.js",
75
+ "actions/v4-release-candidate-promote/product-provider-github-adapters.js",
73
76
  "actions/v4-release-candidate-promote/product-provider.js",
74
77
  "packages/core/buildchain-agent-manuals.js",
75
78
  "packages/core/index.js",
79
+ "packages/core/oci-compose-qualification.js",
76
80
  "packages/core/publication-rehearsal-runtime.js",
77
81
  "packages/core/release-tail-provider-adapters.js",
78
82
  "packages/core/release-tail-provider-plane.js",
@@ -80,15 +84,21 @@
80
84
  "packages/core/v4-publication-rehearsal.js"
81
85
  ],
82
86
  "runtimeSelectors": [
87
+ ".github/workflows/.build-engine.yml",
83
88
  ".github/workflows/.build.yml",
84
89
  ".github/workflows/.release-candidate-promote.yml",
90
+ ".github/workflows/.release-promote.yml",
85
91
  ".github/workflows/.web-surface.yml",
86
- ".github/workflows/buildchain-ref-promotion-recovery.yml",
87
- ".github/workflows/buildchain-ref-promotion.yml",
88
92
  ".github/workflows/paper-release.yml",
93
+ ".github/workflows/public-build-publication.yml",
94
+ ".github/workflows/public-ops-tail-reseal.yml",
95
+ ".github/workflows/public-release-paper.yml",
96
+ ".github/workflows/public-release-promote.yml",
97
+ ".github/workflows/public-release-web.yml",
89
98
  ".github/workflows/publication-artifact.yml",
90
99
  ".github/workflows/release-candidate-promote.yml",
91
- ".github/workflows/v4-tail-reseal.yml",
100
+ ".github/workflows/self-ops-promotion-recovery.yml",
101
+ ".github/workflows/self-release-promote.yml",
92
102
  "packages/core/buildchain-contract.js",
93
103
  "packages/core/v4-runtime-ref-resume-authority.js",
94
104
  "packages/core/v4-runtime-selector-persistence.js",
@@ -107,11 +117,119 @@
107
117
  "runtimeEngines": ["actions/v4-release-candidate-promote/index.js"],
108
118
  "terminalProjections": [
109
119
  ".github/workflows/.release-candidate-promote.yml",
120
+ ".github/workflows/.release-promote.yml",
110
121
  "actions/v4-release-candidate-promote/index.js",
111
- "packages/core/v4-release-invocation.js"
122
+ "packages/core/v4-release-invocation.js",
123
+ "scripts/v4-publication-settlement.mjs",
124
+ "scripts/v4-universal-workflow-engine.mjs"
125
+ ],
126
+ "privilegedExecutableClosure": {
127
+ "entrypoints": [
128
+ "actions/v4-release-candidate-promote/index.js",
129
+ "scripts/binary-publication-evidence.mjs",
130
+ "scripts/next-development-review.mjs",
131
+ "scripts/oci-compose-preview.mjs",
132
+ "scripts/v4-publication-settlement.mjs"
133
+ ],
134
+ "modules": [
135
+ "actions/promote-buildchain-ref/github-release.js",
136
+ "actions/promote-buildchain-ref/internal/version-state.js",
137
+ "actions/promote-buildchain-ref/reuse-complete-release.js",
138
+ "actions/promote-buildchain-ref/v4-provider-plane.js",
139
+ "actions/v4-release-candidate-promote/index.js",
140
+ "actions/v4-release-candidate-promote/next-development-queue.js",
141
+ "actions/v4-release-candidate-promote/oci-provider.js",
142
+ "actions/v4-release-candidate-promote/oci-registry-client.js",
143
+ "actions/v4-release-candidate-promote/product-provider-adapters.js",
144
+ "actions/v4-release-candidate-promote/product-provider-github-adapters.js",
145
+ "actions/v4-release-candidate-promote/product-provider.js",
146
+ "actions/v4-release-candidate-promote/publication-completion.js",
147
+ "packages/core/adopter-delivery-gate.js",
148
+ "packages/core/adopter-delivery-json.js",
149
+ "packages/core/adopter-delivery-passport.js",
150
+ "packages/core/artifact-verification-envelope.js",
151
+ "packages/core/buildchain-channel-identity.js",
152
+ "packages/core/buildchain-compatibility-authority.js",
153
+ "packages/core/buildchain-compatibility-fact.js",
154
+ "packages/core/buildchain-compatibility-facts.json",
155
+ "packages/core/buildchain-compatibility-proof.js",
156
+ "packages/core/buildchain-config.js",
157
+ "packages/core/buildchain-contract.js",
158
+ "packages/core/buildchain-layout.js",
159
+ "packages/core/controller-evidence.js",
160
+ "packages/core/dev-delivery-common.js",
161
+ "packages/core/dev-delivery-contract-surface.js",
162
+ "packages/core/github-artifact-attestation.js",
163
+ "packages/core/kfd-adopter-manifest.js",
164
+ "packages/core/kfd-gate.js",
165
+ "packages/core/kfd-product-gates.js",
166
+ "packages/core/kungfu-temporal-fact.js",
167
+ "packages/core/next-development-transition.js",
168
+ "packages/core/oci-compose-qualification.js",
169
+ "packages/core/oci-publication-bundle.js",
170
+ "packages/core/oci-publication-graph.js",
171
+ "packages/core/package-manager.js",
172
+ "packages/core/public-surface-audit.js",
173
+ "packages/core/public-surface-cli.js",
174
+ "packages/core/publication-artifact-candidate.js",
175
+ "packages/core/publication-authority.js",
176
+ "packages/core/publication-sealed-bundle.js",
177
+ "packages/core/publish-transaction.js",
178
+ "packages/core/release-candidate-recovery.js",
179
+ "packages/core/release-candidate.js",
180
+ "packages/core/release-passport-contract.js",
181
+ "packages/core/release-passport.js",
182
+ "packages/core/release-tail-product-capabilities.js",
183
+ "packages/core/release-tail-provider-adapters.js",
184
+ "packages/core/release-tail-provider-plane.js",
185
+ "packages/core/spawn-command.js",
186
+ "packages/core/surface-manifest.js",
187
+ "packages/core/v4-canonical-contracts.js",
188
+ "packages/core/v4-domain-wasm-artifact.js",
189
+ "packages/core/v4-domain-wasm.js",
190
+ "packages/core/v4-floating-consumer-evidence.js",
191
+ "packages/core/v4-floating-consumer-policy.js",
192
+ "packages/core/v4-floating-consumer-release-passport.js",
193
+ "packages/core/v4-product-publication.js",
194
+ "packages/core/v4-protected-publication-source.js",
195
+ "packages/core/v4-publication-qualification.js",
196
+ "packages/core/v4-release-invocation.js",
197
+ "packages/core/v4-runtime-ref-resume-authority.js",
198
+ "packages/core/v4-runtime-selector-persistence.js",
199
+ "packages/core/web-surface-publication-candidate.js",
200
+ "packages/core/workflow-yaml-contract.js",
201
+ "scripts/binary-publication-evidence.mjs",
202
+ "scripts/ensure-github-release.mjs",
203
+ "scripts/next-development-review.mjs",
204
+ "scripts/oci-compose-preview.mjs",
205
+ "scripts/release-asset-client.mjs",
206
+ "scripts/v4-publication-settlement.mjs",
207
+ "scripts/verify-version-state-delta.mjs"
208
+ ],
209
+ "root": "sha256:d2273ef843f1b186102ae6e6a1c2046483eafa25760c5e58f8d6f4e10827f161"
210
+ },
211
+ "rustWasmAuthority": {
212
+ "loader": "packages/core/v4-domain-wasm.js",
213
+ "metadata": "packages/core/v4-domain-wasm-artifact.js",
214
+ "artifact": "packages/core/buildchain-v4-domain.wasm",
215
+ "artifactRoot": "sha256:76600d4a9cfba5ac318c9b3be69e2a4e304faee714d2e72b1fba288f945c09f0",
216
+ "distributedArtifacts": [
217
+ "actions/promote-buildchain-ref/dist/buildchain-v4-domain.wasm",
218
+ "actions/release-tail/dist/buildchain-v4-domain.wasm",
219
+ "actions/v4-release-candidate-promote/dist/buildchain-v4-domain.wasm"
220
+ ],
221
+ "byteIdenticalDistributions": true,
222
+ "fallbackWriterCount": 0
223
+ },
224
+ "legacyEngineModules": [
225
+ "actions/promote-buildchain-ref/internal/durable-transaction-operations.js",
226
+ "actions/promote-buildchain-ref/internal/promote-alpha-channel.js",
227
+ "actions/promote-buildchain-ref/internal/promote-major-channel.js",
228
+ "actions/promote-buildchain-ref/internal/promote-release-channel.js",
229
+ "actions/promote-buildchain-ref/lib.js"
112
230
  ],
113
231
  "freshEntry": ".github/workflows/release-candidate-promote.yml",
114
- "recoveryEntry": ".github/workflows/buildchain-ref-promotion-recovery.yml",
232
+ "recoveryEntry": ".github/workflows/self-ops-promotion-recovery.yml",
115
233
  "forbiddenLegacyEnginePatterns": [
116
234
  "legacy-promote",
117
235
  "v4-declarative-promote",
@@ -173,14 +291,14 @@
173
291
  "path": ".github/workflows/.release-candidate-promote.yml",
174
292
  "triggers": ["workflow_call"],
175
293
  "jobs": [
176
- "apply|runner|-|write|write|artifactDownload,artifactUpload|contents-write,oidc-write,promotion-runtime",
294
+ "apply|runner|-|inherited|inherited|artifactDownload,artifactUpload|contents-write,oidc-write,promotion-runtime",
177
295
  "qualify|runner|-|read|-|artifactUpload,jobOutput|-",
178
296
  "settle|runner|-|read|-|artifactDownload,artifactUpload,jobOutput|-"
179
297
  ],
180
298
  "reusableEdges": []
181
299
  },
182
300
  {
183
- "path": ".github/workflows/buildchain-ref-promotion-recovery.yml",
301
+ "path": ".github/workflows/self-ops-promotion-recovery.yml",
184
302
  "triggers": ["workflow_dispatch"],
185
303
  "jobs": [
186
304
  "resume|reusable-call|kungfu-systems/buildchain/.github/workflows/release-candidate-promote.yml@v4-alpha|write|write|-|contents-write,oidc-write"
@@ -190,9 +308,10 @@
190
308
  ]
191
309
  },
192
310
  {
193
- "path": ".github/workflows/buildchain-ref-promotion.yml",
311
+ "path": ".github/workflows/self-release-promote.yml",
194
312
  "triggers": ["workflow_dispatch", "workflow_run:completed"],
195
313
  "jobs": [
314
+ "classify-workflow-run|runner|-|read|-|-|-",
196
315
  "promote|reusable-call|kungfu-systems/buildchain/.github/workflows/.release-candidate-promote.yml@v4-alpha|write|write|-|contents-write,oidc-write",
197
316
  "reject-invalid-candidate-recovery|runner|-|read|-|-|-",
198
317
  "reject-invalid-durable-recovery|runner|-|read|-|-|-",
@@ -207,7 +326,7 @@
207
326
  "triggers": ["workflow_call"],
208
327
  "jobs": [
209
328
  "consumer-admission|runner|-|read|-|artifactUpload|-",
210
- "invoke|reusable-call|kungfu-systems/buildchain/.github/workflows/.release-candidate-promote.yml@v4-alpha|write|write|-|contents-write,oidc-write",
329
+ "invoke|reusable-call|kungfu-systems/buildchain/.github/workflows/.release-candidate-promote.yml@v4-alpha|-|-|-|-",
211
330
  "resolve-promotion|runner|-|read|-|jobOutput|-"
212
331
  ],
213
332
  "reusableEdges": [
@@ -215,7 +334,7 @@
215
334
  ]
216
335
  },
217
336
  {
218
- "path": ".github/workflows/v4-declarative-release-tail-dogfood.yml",
337
+ "path": ".github/workflows/self-release-tail-dogfood.yml",
219
338
  "triggers": ["workflow_dispatch"],
220
339
  "jobs": [
221
340
  "publish|reusable-call|kungfu-systems/buildchain/.github/workflows/release-candidate-promote.yml@v4-alpha|-|-|-|-"
@@ -226,12 +345,12 @@
226
345
  }
227
346
  ],
228
347
  "metrics": {
229
- "workflowCount": 37,
230
- "jobCount": 92,
348
+ "workflowCount": 35,
349
+ "jobCount": 91,
231
350
  "reusableEdgeCount": 23,
232
- "mutationRelevantNodeCount": 74,
351
+ "mutationRelevantNodeCount": 76,
233
352
  "contentsWriteJobCount": 14,
234
- "oidcWriteJobCount": 16
353
+ "oidcWriteJobCount": 15
235
354
  },
236
355
  "semanticMetrics": {
237
356
  "workflowCount": 5,
@@ -239,5 +358,46 @@
239
358
  "contentsWriteJobCount": 1,
240
359
  "oidcWriteJobCount": 1
241
360
  }
361
+ },
362
+ "postPublicationScope": {
363
+ "workflowPaths": [
364
+ ".github/workflows/public-release-oci-compose-preview.yml"
365
+ ],
366
+ "authority": "exact-publication-plus-source-bound-qualification-and-expected-old-digest",
367
+ "observedTopology": {
368
+ "jobRecordFields": [
369
+ "id",
370
+ "kind",
371
+ "uses",
372
+ "contentsPermission",
373
+ "oidcPermission",
374
+ "carriers",
375
+ "mutationSignals"
376
+ ],
377
+ "workflows": [
378
+ {
379
+ "path": ".github/workflows/public-release-oci-compose-preview.yml",
380
+ "triggers": ["workflow_call"],
381
+ "jobs": [
382
+ "promote|runner|-|write|-|artifactDownload,artifactUpload,jobOutput|contents-write"
383
+ ],
384
+ "reusableEdges": []
385
+ }
386
+ ],
387
+ "metrics": {
388
+ "workflowCount": 1,
389
+ "jobCount": 1,
390
+ "reusableEdgeCount": 0,
391
+ "mutationRelevantNodeCount": 1,
392
+ "contentsWriteJobCount": 1,
393
+ "oidcWriteJobCount": 0
394
+ },
395
+ "semanticMetrics": {
396
+ "workflowCount": 1,
397
+ "mutationRelevantNodeCount": 1,
398
+ "contentsWriteJobCount": 1,
399
+ "oidcWriteJobCount": 0
400
+ }
401
+ }
242
402
  }
243
403
  }
@@ -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
  }