@kungfu-tech/buildchain 3.0.9-alpha.8 → 4.0.0-alpha.0

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 (255) hide show
  1. package/AGENTS.md +39 -0
  2. package/README.md +17 -13
  3. package/actions/promote-buildchain-ref/README.md +0 -10
  4. package/actions/release-tail/README.md +6 -10
  5. package/architecture/internal-capabilities.json +502 -0
  6. package/architecture/maintainability-baseline.json +59 -0
  7. package/architecture/maintainability-policy.json +1384 -0
  8. package/architecture/release-tail-contract-inventory.json +587 -0
  9. package/architecture/v3-core-mechanism-inventory.json +1043 -0
  10. package/architecture/v3-core-mechanism-inventory.md +67 -0
  11. package/architecture/v4-adopter-delivery-parity.json +47 -0
  12. package/architecture/v4-architecture-constitution.md +210 -0
  13. package/architecture/v4-bootstrap-authority.json +56 -0
  14. package/architecture/v4-canonical-contract-fixtures.json +105 -0
  15. package/architecture/v4-capability-state-machine-manifest.json +480 -0
  16. package/architecture/v4-capability-state-machine-manifest.schema.json +202 -0
  17. package/architecture/v4-delivery-warrant-shadow-bootstrap-plan.json +830 -0
  18. package/architecture/v4-delivery-warrant-shadow-bootstrap-plan.md +223 -0
  19. package/architecture/v4-delivery-warrant-shadow-bootstrap-plan.schema.json +318 -0
  20. package/architecture/v4-delivery-warrant-shadow-fixtures.json +227 -0
  21. package/architecture/v4-delivery-warrant-shadow-fixtures.schema.json +67 -0
  22. package/architecture/v4-exception-ledger.json +5 -0
  23. package/architecture/v4-exception-ledger.schema.json +56 -0
  24. package/architecture/v4-partial-mutation-recovery-qualification.json +65 -0
  25. package/architecture/v4-platform-stage-checkpoints.json +97 -0
  26. package/architecture/v4-provider-operation-journal-contract.json +113 -0
  27. package/architecture/v4-release-activation-shadow-domain.json +61 -0
  28. package/architecture/v4-release-train-parity.json +68 -0
  29. package/architecture/v4-rust-libnode-bridge-evaluation.json +107 -0
  30. package/architecture/v4-rust-libnode-bridge-spike.md +85 -0
  31. package/architecture/v4-stable-publication-fence.json +66 -0
  32. package/architecture/v4-stage-capsule-contract.json +90 -0
  33. package/architecture/v4-stage-capsule-qualification.json +99 -0
  34. package/architecture/v4-stage-capsule-resume-planner.json +52 -0
  35. package/architecture/v4-stage-capsule-store-contract.json +72 -0
  36. package/bin/buildchain.mjs +15 -6
  37. package/contracts/auditable-demo-scenario-v1.schema.json +1 -1
  38. package/contracts/buildchain-v2-residuals-v1.json +2 -2
  39. package/contracts/fixtures/v4-delivery-warrant-trace-v1/golden.json +158 -0
  40. package/contracts/fixtures/v4-delivery-warrant-trace-v1/property.json +380 -0
  41. package/contracts/fixtures/v4-delivery-warrant-trace-v1/replay.json +163 -0
  42. package/contracts/fixtures/v4-partial-mutation-recovery-v1/shared.json +155 -0
  43. package/contracts/fixtures/v4-provider-operation-journal-v1/shared.json +457 -0
  44. package/contracts/fixtures/v4-provider-readback-idempotency-v1/shared.json +682 -0
  45. package/contracts/fixtures/v4-release-activation-shadow-v1/shared.json +53 -0
  46. package/contracts/fixtures/v4-stable-publication-fence-v1/shared.json +56 -0
  47. package/contracts/fixtures/v4-stage-capsule-resume-v1/late-platform-failure.json +176 -0
  48. package/contracts/fixtures/v4-stage-capsule-store-v1/shared.json +132 -0
  49. package/contracts/fixtures/v4-stage-capsule-v1/shared.json +111 -0
  50. package/contracts/v4-canonical-contracts-v1.schema.json +182 -0
  51. package/contracts/v4-delivery-warrant-semantic-diff-report-v1.schema.json +284 -0
  52. package/contracts/v4-delivery-warrant-trace-v1.schema.json +215 -0
  53. package/contracts/v4-host-contract-v1.schema.json +135 -0
  54. package/contracts/v4-partial-mutation-recovery-v1.schema.json +168 -0
  55. package/contracts/v4-provider-operation-journal-v1.schema.json +381 -0
  56. package/contracts/v4-release-activation-shadow-v1.schema.json +186 -0
  57. package/contracts/v4-stable-publication-fence-v1.schema.json +125 -0
  58. package/contracts/v4-stage-capsule-resume-v1.schema.json +225 -0
  59. package/contracts/v4-stage-capsule-store-v1.schema.json +154 -0
  60. package/contracts/v4-stage-capsule-v1.schema.json +178 -0
  61. package/crates/buildchain-v4-bridge/Cargo.lock +213 -0
  62. package/crates/buildchain-v4-bridge/Cargo.toml +12 -0
  63. package/crates/buildchain-v4-bridge/src/main.rs +495 -0
  64. package/dist/site/agent-index.json +0 -3
  65. package/dist/site/artifact-schemas.json +0 -6
  66. package/dist/site/buildchain-contract.json +103 -397
  67. package/dist/site/buildchain-site.json +302 -270
  68. package/dist/site/capability-registry.json +9 -11
  69. package/dist/site/cli-registry.json +8 -30
  70. package/dist/site/controller-registry.json +48 -8
  71. package/dist/site/kfd-claims.json +129 -142
  72. package/dist/site/kfd-upstream-aggregate.json +9 -9
  73. package/dist/site/manual-registry.json +18 -49
  74. package/dist/site/node-api-registry.json +1882 -4118
  75. package/dist/site/page-registry.json +278 -230
  76. package/dist/site/public-surface-audit.json +87 -185
  77. package/dist/site/publication-authority-registry.json +11 -1
  78. package/dist/site/publication-registry.json +4 -4
  79. package/dist/site/release-provenance.json +3 -7
  80. package/dist/site/schemas/kfd-support-projection-v1.schema.json +106 -0
  81. package/dist/site/site-manifest.json +22 -38
  82. package/dist/site/workflow-registry.json +80 -35
  83. package/docs/MAP.md +8 -4
  84. package/docs/auditable-demo.md +2 -2
  85. package/docs/aws-us-elastic-runner-burst-plane.md +7 -59
  86. package/docs/cli-reference.md +15 -92
  87. package/docs/cli.md +14 -14
  88. package/docs/dev-alpha-candidate-patrol.md +3 -11
  89. package/docs/dev-delivery-warrant.md +28 -100
  90. package/docs/engineering-housekeeper.md +12 -4
  91. package/docs/getting-started.md +1 -1
  92. package/docs/install.md +5 -5
  93. package/docs/kfd-support.md +2 -7
  94. package/docs/lifecycle-protocol.md +2 -4
  95. package/docs/node-api-reference.md +414 -523
  96. package/docs/release-flow.md +31 -31
  97. package/docs/release-governance.md +16 -28
  98. package/docs/release-passport.md +2 -15
  99. package/docs/release-tail-contract.md +13 -6
  100. package/docs/release-tail-provider-plane.md +13 -19
  101. package/docs/release-train.md +4 -4
  102. package/docs/reusable-build-surface.md +14 -27
  103. package/docs/site-bundle-contract.md +1 -5
  104. package/docs/stable-candidate-patrol.md +7 -7
  105. package/docs/v4-canonical-contracts.md +92 -0
  106. package/docs/v4-delivery-warrant-read-candidate.md +73 -0
  107. package/docs/v4-delivery-warrant-semantic-diff.md +75 -0
  108. package/docs/v4-production-release.md +63 -0
  109. package/docs/v4-stage-capsule.md +193 -0
  110. package/docs/versioning.md +3 -3
  111. package/package.json +19 -17
  112. package/packages/core/adopter-delivery-gate.js +576 -0
  113. package/packages/core/adopter-delivery-json.js +66 -0
  114. package/packages/core/artifact-signing.js +0 -61
  115. package/packages/core/artifact-verification-envelope.js +5 -5
  116. package/packages/core/build-facts.js +12 -4
  117. package/packages/core/buildchain-agent-manuals.js +0 -2
  118. package/packages/core/buildchain-config.js +4 -69
  119. package/packages/core/buildchain-contract.js +232 -46
  120. package/packages/core/buildchain-kfd-claims.js +1 -1
  121. package/packages/core/channel-candidate.js +0 -8
  122. package/packages/core/channel-promotion-baseline.js +0 -52
  123. package/packages/core/controller-evidence.js +3 -4
  124. package/packages/core/dev-alpha-candidate-selection.js +2 -10
  125. package/packages/core/dev-delivery-warrant-cancellation.js +0 -1
  126. package/packages/core/dev-delivery-warrant-settlement.js +1 -5
  127. package/packages/core/dev-delivery-warrant.js +12 -52
  128. package/packages/core/diagnostics.js +3 -8
  129. package/packages/core/github-governance-authority.js +3 -1
  130. package/packages/core/kfd-adopter-category-driver.js +167 -0
  131. package/packages/core/kfd-adopter-manifest.js +47 -46
  132. package/packages/core/kfd-gate.js +15 -45
  133. package/packages/core/paper-agent-entry.js +7 -16
  134. package/packages/core/paper-fleet.js +2 -2
  135. package/packages/core/paper-repository.js +2 -3
  136. package/packages/core/paper-scaffold-content.js +2 -23
  137. package/packages/core/paper.js +11 -43
  138. package/packages/core/publication-reproducibility.js +4 -4
  139. package/packages/core/release-line-bootstrap.js +21 -8
  140. package/packages/core/release-passport-contract.js +5 -5
  141. package/packages/core/release-passport.js +20 -131
  142. package/packages/core/self-dogfood-version.js +48 -35
  143. package/packages/core/spawn-command.js +232 -8
  144. package/packages/core/v4-adopter-delivery-parity.js +219 -0
  145. package/packages/core/v4-canonical-contracts.js +284 -0
  146. package/packages/core/v4-delivery-warrant-fixture-runner.js +371 -0
  147. package/packages/core/v4-delivery-warrant-read-candidate.js +279 -0
  148. package/packages/core/v4-delivery-warrant-semantic-diff-gate.js +352 -0
  149. package/packages/core/v4-delivery-warrant-shadow-adapter.js +447 -0
  150. package/packages/core/v4-partial-mutation-recovery-qualification.js +395 -0
  151. package/packages/core/v4-platform-stage-checkpoints.js +471 -0
  152. package/packages/core/v4-provider-operation-journal.js +531 -0
  153. package/packages/core/v4-provider-readback-idempotency.js +394 -0
  154. package/packages/core/v4-release-activation-shadow.js +519 -0
  155. package/packages/core/v4-stable-publication-fence.js +357 -0
  156. package/packages/core/v4-stage-capsule-local-store.js +426 -0
  157. package/packages/core/v4-stage-capsule-qualification-campaign.js +512 -0
  158. package/packages/core/v4-stage-capsule-qualification.js +456 -0
  159. package/packages/core/v4-stage-capsule-resume-planner.js +397 -0
  160. package/packages/core/v4-stage-capsule-store.js +401 -0
  161. package/packages/core/v4-stage-capsule.js +319 -0
  162. package/scripts/assemble-self-publication-admission.mjs +1 -1
  163. package/scripts/audit-publication-control-plane.mjs +5 -5
  164. package/scripts/auditable-demo-bundle-verification.mjs +3 -2
  165. package/scripts/auditable-demo-platform.mjs +2 -2
  166. package/scripts/auditable-demo-renditions.mjs +1 -1
  167. package/scripts/auditable-demo.mjs +2 -2
  168. package/scripts/aws-macos-jit-controller-core.mjs +13 -346
  169. package/scripts/aws-macos-jit-controller-runtime.mjs +2 -210
  170. package/scripts/aws-macos-jit-controller.mjs +37 -275
  171. package/scripts/aws-macos-jit-core.mjs +3 -41
  172. package/scripts/aws-macos-jit.mjs +0 -12
  173. package/scripts/aws-windows-jit-campaign.mjs +2 -2
  174. package/scripts/aws-windows-jit-controller-core.mjs +1 -1
  175. package/scripts/aws-windows-jit-controller.mjs +3 -3
  176. package/scripts/build-contract-core.mjs +3 -8
  177. package/scripts/build-standalone-binary.mjs +3 -14
  178. package/scripts/buildchain-channel-router.mjs +4 -0
  179. package/scripts/buildchain-cli-help.mjs +7 -13
  180. package/scripts/buildchain-contract-lock.mjs +0 -6
  181. package/scripts/check-action-bundles.mjs +3 -4
  182. package/scripts/check-internal-architecture.mjs +7 -6
  183. package/scripts/check-inventory.mjs +30 -25
  184. package/scripts/check-v4-public-dogfood-contract.mjs +270 -0
  185. package/scripts/create-release-bundle.mjs +8 -4
  186. package/scripts/dev-alpha-candidate-patrol.mjs +1 -22
  187. package/scripts/dev-delivery-proof.mjs +2 -54
  188. package/scripts/dev-delivery-warrant.mjs +59 -77
  189. package/scripts/dev-pr-auto-merge.mjs +4 -30
  190. package/scripts/dev-pr-delivery-warrant.mjs +0 -55
  191. package/scripts/dispatch-artifact-signing-authority.mjs +7 -4
  192. package/scripts/generate-buildchain-kfd-witnesses.mjs +94 -88
  193. package/scripts/generate-channel-build-workflow.mjs +54 -24
  194. package/scripts/generate-channel-promotion-workflow.mjs +15 -6
  195. package/scripts/generate-site-bundle.mjs +5 -21
  196. package/scripts/git-fetch-process-tree.mjs +34 -1
  197. package/scripts/init-repo.mjs +64 -159
  198. package/scripts/inspect-artifact-signing-requests.mjs +0 -6
  199. package/scripts/locked-source-checkout.mjs +3 -4
  200. package/scripts/maintainability-metrics.mjs +8 -2
  201. package/scripts/npm-publish-dry-run.mjs +2 -2
  202. package/scripts/npm-publish-transaction.mjs +2 -2
  203. package/scripts/publication-commit-evidence.mjs +23 -69
  204. package/scripts/release-candidate-resolver.mjs +11 -17
  205. package/scripts/release-tail.mjs +3 -49
  206. package/scripts/resume-from-candidate-run.mjs +9 -123
  207. package/scripts/run-lifecycle-core.mjs +12 -13
  208. package/scripts/seal-artifact-signing-requests.mjs +17 -21
  209. package/scripts/site-capability-metadata.mjs +2 -7
  210. package/scripts/stable-candidate-qualification.mjs +10 -10
  211. package/scripts/v4-architecture.mjs +12 -2
  212. package/scripts/v4-bridge-bootstrap.mjs +141 -0
  213. package/scripts/v4-bridge-evidence.mjs +141 -0
  214. package/scripts/v4-host-adapter.mjs +182 -0
  215. package/scripts/v4-platform-stage-checkpoint-rehearsal.mjs +207 -0
  216. package/scripts/v4-stage-capsule-qualification.mjs +528 -0
  217. package/scripts/v4-stage-capsule-resume-rehearsal.mjs +57 -0
  218. package/scripts/v4-warrant-shadow-plan.mjs +601 -0
  219. package/scripts/verify-golden-path.mjs +5 -5
  220. package/scripts/web-surface-cloudfront-rewrite.mjs +15 -15
  221. package/scripts/web-surface-core.mjs +2 -8
  222. package/scripts/workflow-call-contract.mjs +5 -184
  223. package/contracts/fixtures/kfd-adopter-release-v1/kfd-4-perspective.json +0 -16
  224. package/contracts/fixtures/kfd-adopter-release-v1/kfd-4-replay.json +0 -57
  225. package/contracts/fixtures/next-development-transition-v1/anchored-manual-waiting.json +0 -47
  226. package/contracts/fixtures/next-development-transition-v1/semver-auto-planned.json +0 -47
  227. package/contracts/fixtures/next-development-transition-v1/version-model-cases.json +0 -40
  228. package/contracts/next-development-request-v1.schema.json +0 -66
  229. package/contracts/next-development-transition-v1.schema.json +0 -292
  230. package/contracts/publication-rehearsal-capsule-v1.schema.json +0 -173
  231. package/dist/site/schemas/publication-rehearsal-capsule-v1.schema.json +0 -269
  232. package/dist/site/schemas/release-tail-capabilities-v1.schema.json +0 -353
  233. package/dist/site/schemas/release-tail-provider-bindings-v1.schema.json +0 -94
  234. package/docs/next-development-transition.md +0 -119
  235. package/docs/publication-rehearsal.md +0 -94
  236. package/packages/core/buildchain-compatibility-proof.js +0 -631
  237. package/packages/core/dev-delivery-native-proof.js +0 -333
  238. package/packages/core/dev-delivery-warrant-shadow.js +0 -502
  239. package/packages/core/next-development-candidate-reservation.js +0 -186
  240. package/packages/core/next-development-controller.js +0 -726
  241. package/packages/core/next-development-projection.js +0 -288
  242. package/packages/core/next-development-transition.js +0 -738
  243. package/packages/core/publication-rehearsal-projection.js +0 -173
  244. package/packages/core/publication-rehearsal-runtime.js +0 -921
  245. package/scripts/aws-macos-jit-instance-rehydrate.mjs +0 -260
  246. package/scripts/aws-macos-jit-source-rebind.mjs +0 -724
  247. package/scripts/dev-delivery-native-run.mjs +0 -187
  248. package/scripts/dev-delivery-two-phase.mjs +0 -598
  249. package/scripts/generate-next-development-guidance.mjs +0 -49
  250. package/scripts/materialize-self-release-candidate-version.mjs +0 -137
  251. package/scripts/next-development-self-dogfood-harness.mjs +0 -409
  252. package/scripts/next-development-self-dogfood.mjs +0 -532
  253. package/scripts/next-development-transition.mjs +0 -47
  254. package/scripts/release-candidate-tail-reseal.mjs +0 -426
  255. package/templates/native-dev-delivery.yml +0 -82
@@ -0,0 +1,1043 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "contract": "kungfu-buildchain-v3-core-mechanism-inventory",
4
+ "baseline": {
5
+ "branch": "dev/v3/v3.0",
6
+ "commit": "e6d6ecd6204518298898962f01aba5d73ed70b60",
7
+ "tree": "26c8476dcc63d1b8cf9b32fe12ffbf3ee52246cf"
8
+ },
9
+ "maintainability": {
10
+ "handMaintainedSourceFiles": 275,
11
+ "handMaintainedSourceLines": 104953,
12
+ "workflowFiles": 64,
13
+ "workflowLines": 22240,
14
+ "dependencyEdges": 225,
15
+ "dependencyCycles": 0,
16
+ "interpretation": "Structural metrics are an exact migration baseline, not correctness evidence."
17
+ },
18
+ "reverseScan": {
19
+ "registries": [
20
+ "dist/site/cli-registry.json",
21
+ "dist/site/node-api-registry.json",
22
+ "dist/site/workflow-registry.json",
23
+ "dist/site/public-surface-audit.json"
24
+ ],
25
+ "commandRegistry": "bin/internal/command-registry.mjs",
26
+ "packageExports": "package.json#exports",
27
+ "generatedReferences": [
28
+ "docs/cli-reference.md",
29
+ "docs/node-api-reference.md"
30
+ ],
31
+ "authoritySourceRules": [
32
+ {
33
+ "mechanismId": "dev-delivery-warrant",
34
+ "root": "packages/core",
35
+ "pattern": "^dev-delivery-(?:warrant(?:-[a-z-]+)?|proof)\\.js$"
36
+ },
37
+ {
38
+ "mechanismId": "release-candidate-passport",
39
+ "root": "packages/core",
40
+ "pattern": "^release-(?:candidate|train)\\.js$"
41
+ },
42
+ {
43
+ "mechanismId": "release-candidate-recovery",
44
+ "root": "packages/core",
45
+ "pattern": "^release-candidate-recovery\\.js$"
46
+ },
47
+ {
48
+ "mechanismId": "stable-candidate-ledger",
49
+ "root": "packages/core",
50
+ "pattern": "^stable-candidate-ledger\\.js$"
51
+ },
52
+ {
53
+ "mechanismId": "publish-transaction",
54
+ "root": "packages/core",
55
+ "pattern": "^publish-transaction\\.js$"
56
+ },
57
+ {
58
+ "mechanismId": "publish-transaction",
59
+ "root": "actions/promote-buildchain-ref/internal",
60
+ "pattern": "^(?:durable-transaction-[a-z-]+|existing-version-state)\\.js$"
61
+ },
62
+ {
63
+ "mechanismId": "publish-transaction",
64
+ "root": "actions/promote-buildchain-ref",
65
+ "pattern": "^reuse-complete-release\\.js$"
66
+ },
67
+ {
68
+ "mechanismId": "release-activation-transaction",
69
+ "root": "packages/core",
70
+ "pattern": "^release-activation-transaction\\.js$"
71
+ },
72
+ {
73
+ "mechanismId": "publication-authority",
74
+ "root": "packages/core",
75
+ "pattern": "^(?:(?:buildchain-)?publication-authority|publication-control-plane-audit)\\.js$"
76
+ },
77
+ {
78
+ "mechanismId": "publication-authority",
79
+ "root": "scripts",
80
+ "pattern": "^publication-candidate-sealer\\.mjs$"
81
+ },
82
+ {
83
+ "mechanismId": "github-governance-authority",
84
+ "root": "packages/core",
85
+ "pattern": "^github-governance-authority\\.js$"
86
+ },
87
+ {
88
+ "mechanismId": "engineering-housekeeper",
89
+ "root": "packages/core",
90
+ "pattern": "^engineering-housekeeper(?:-github(?:-client)?)?\\.js$"
91
+ },
92
+ {
93
+ "mechanismId": "engineering-housekeeper",
94
+ "root": "scripts",
95
+ "pattern": "^engineering-housekeeper-workflow\\.mjs$"
96
+ },
97
+ {
98
+ "mechanismId": "release-passport-and-artifact-proof",
99
+ "root": "packages/core",
100
+ "pattern": "^(?:release-passport(?:-contract)?|artifact-passport|github-artifact-attestation|publication-artifact|publication-sealed-bundle)\\.js$"
101
+ },
102
+ {
103
+ "mechanismId": "release-propagation-work-control",
104
+ "root": "packages/core",
105
+ "pattern": "^release-propagation(?:-[a-z-]+)?\\.js$"
106
+ },
107
+ {
108
+ "mechanismId": "release-tail-provider-plane",
109
+ "root": "packages/core",
110
+ "pattern": "^release-tail-(?:provider-plane|provider-adapters|compatibility)\\.js$"
111
+ }
112
+ ],
113
+ "gitRefStores": [
114
+ {
115
+ "mechanismId": "dev-delivery-warrant",
116
+ "sourcePath": "scripts/dev-delivery-warrant.mjs",
117
+ "marker": "buildchain/dev-delivery-warrant/"
118
+ },
119
+ {
120
+ "mechanismId": "stable-candidate-ledger",
121
+ "sourcePath": "scripts/stable-candidate-patrol.mjs",
122
+ "marker": "ledgerRef"
123
+ },
124
+ {
125
+ "mechanismId": "publish-transaction",
126
+ "sourcePath": "packages/core/publish-transaction.js",
127
+ "marker": "buildchain/release-state/"
128
+ }
129
+ ],
130
+ "orphanPolicy": "Every state-bearing mechanism must own source, tests, public surfaces, durable-store disposition, recovery, and v4 migration disposition; missing or ambiguous ownership fails validation."
131
+ },
132
+ "mechanisms": [
133
+ {
134
+ "id": "dev-delivery-warrant",
135
+ "owner": "Buildchain Dev delivery control plane",
136
+ "writers": [
137
+ "scripts/dev-delivery-warrant.mjs",
138
+ "scripts/dev-pr-delivery-warrant.mjs",
139
+ "scripts/dev-pr-auto-merge.mjs"
140
+ ],
141
+ "schemas": [
142
+ "kungfu-buildchain-dev-delivery-warrant-queue",
143
+ "kungfu.buildchain.dev-delivery-warrant/v1",
144
+ "kungfu.buildchain.release-blocker-priority-claim/v1"
145
+ ],
146
+ "stores": [
147
+ "Git ref selected by --warrant-state-ref",
148
+ "rooted queue JSON and immutable transition receipts"
149
+ ],
150
+ "states": [
151
+ "queued",
152
+ "selected",
153
+ "proving",
154
+ "waiting",
155
+ "blocked",
156
+ "merged",
157
+ "terminal-failure",
158
+ "dequeued",
159
+ "cancelled"
160
+ ],
161
+ "events": [
162
+ "submit",
163
+ "select",
164
+ "lease",
165
+ "renew",
166
+ "recover-expired",
167
+ "settle",
168
+ "cancel"
169
+ ],
170
+ "transitions": [
171
+ "root-checked compare-and-set queue successors",
172
+ "one active leased candidate per protected base",
173
+ "rooted release blocker ahead of only not-yet-leased ordinary work"
174
+ ],
175
+ "recovery": [
176
+ "expired lease returns eligible candidate to the queue",
177
+ "head/proof refresh preserves age when safe"
178
+ ],
179
+ "effects": [
180
+ "Git ref state commit",
181
+ "GitHub PR admission and merge-queue intent"
182
+ ],
183
+ "retry": [
184
+ "lease expiry and expected-old mismatch are bounded retry points"
185
+ ],
186
+ "invalidation": [
187
+ "head SHA drift",
188
+ "proof-root drift",
189
+ "lease expiry",
190
+ "terminal PR state"
191
+ ],
192
+ "providerReadback": ["GitHub PR head and checks", "Git ref state root"],
193
+ "publicSurfaces": [
194
+ "export:./dev-delivery-warrant",
195
+ "cli:dev",
196
+ "workflow:dev-pr-auto-merge",
197
+ "workflow:dev-delivery-warrant-cancel",
198
+ "workflow:dev-delivery-warrant-close"
199
+ ],
200
+ "compatibilityCallers": [
201
+ "scripts/dev-merge-queue.mjs",
202
+ ".github/workflows/dev-pr-auto-merge.yml"
203
+ ],
204
+ "sourcePaths": [
205
+ "packages/core/dev-delivery-proof.js",
206
+ "packages/core/dev-delivery-warrant-cancellation.js",
207
+ "packages/core/dev-delivery-warrant-settlement.js",
208
+ "packages/core/dev-delivery-warrant.js",
209
+ "packages/core/release-blocker-priority.js",
210
+ "scripts/dev-delivery-proof.mjs",
211
+ "scripts/dev-delivery-warrant.mjs",
212
+ "scripts/dev-pr-auto-merge.mjs",
213
+ "scripts/dev-pr-delivery-warrant.mjs"
214
+ ],
215
+ "testPaths": [
216
+ "tests/dev-delivery-warrant.test.mjs",
217
+ "tests/dev-delivery-warrant-command.test.mjs",
218
+ "tests/release-blocker-priority.test.mjs"
219
+ ],
220
+ "migrationDisposition": "rebuild-in-rust-with-compatibility-projection",
221
+ "unresolved": [
222
+ "v4 durable store and lease authority are not yet selected"
223
+ ]
224
+ },
225
+ {
226
+ "id": "release-candidate-passport",
227
+ "owner": "Buildchain candidate evidence plane",
228
+ "writers": [
229
+ "packages/core/dev-alpha-active-release-train.js",
230
+ "packages/core/release-train.js",
231
+ "scripts/dev-alpha-candidate-patrol.mjs",
232
+ "scripts/generate-release-candidate-passport.mjs",
233
+ "actions/promote-buildchain-ref/lib.js"
234
+ ],
235
+ "schemas": [
236
+ "kungfu-buildchain-release-candidate-passport",
237
+ "kungfu-buildchain-initiative-family-release-evidence/v1",
238
+ "kungfu-buildchain-release-cut/v1",
239
+ "kungfu-buildchain-release-blocker-repair/v1",
240
+ "kungfu-buildchain-release-train-hold/v1",
241
+ "kungfu-buildchain-release-train/v1",
242
+ "kungfu-buildchain-release-train-transition/v1"
243
+ ],
244
+ "stores": [
245
+ "candidate workflow artifacts",
246
+ "Passport JSON bound by sha256 root",
247
+ "rooted Release Cut and append-only Release Train projection"
248
+ ],
249
+ "states": [
250
+ "assembled",
251
+ "validated",
252
+ "qualified",
253
+ "invalidated",
254
+ "preparing",
255
+ "building",
256
+ "held",
257
+ "repair-required",
258
+ "publication-blocked",
259
+ "publishable",
260
+ "superseded",
261
+ "terminal"
262
+ ],
263
+ "events": [
264
+ "build-summary-complete",
265
+ "gate-pass",
266
+ "controller-receipts-attached",
267
+ "promotion-read",
268
+ "release-cut-created",
269
+ "release-train-held",
270
+ "release-train-transitioned",
271
+ "dev-head-observed"
272
+ ],
273
+ "transitions": [
274
+ "evidence assembly to immutable validated Passport",
275
+ "rooted compare-and-swap Release Train state transition",
276
+ "active-train resolution before new candidate selection",
277
+ "rooted cut-first release-blocker repair with exact Dev patch settlement",
278
+ "enumerated-cause supersession to a new Release Cut generation"
279
+ ],
280
+ "recovery": [
281
+ "never rebuild from recovery; delegate to candidate-run recovery",
282
+ "replay the exact rooted transition chain from the frozen Release Cut"
283
+ ],
284
+ "effects": [
285
+ "candidate artifact upload",
286
+ "promotion admission",
287
+ "rooted candidate hold projection",
288
+ "Release Train state projection"
289
+ ],
290
+ "retry": [
291
+ "regenerate only from the same immutable build evidence",
292
+ "repeat an identical transition request idempotently"
293
+ ],
294
+ "invalidation": [
295
+ "source/runtime/root mismatch",
296
+ "candidate tree, Alpha base, runtime or route readback mismatch",
297
+ "failed gate",
298
+ "invalidated family evidence",
299
+ "invalid state-chain root or unenumerated supersession cause"
300
+ ],
301
+ "providerReadback": [
302
+ "GitHub Actions run and artifact metadata",
303
+ "candidate PR ancestry",
304
+ "exact dev, alpha and runtime Git refs"
305
+ ],
306
+ "publicSurfaces": [
307
+ "export:./release-candidate",
308
+ "export:./release-train",
309
+ "cli:candidate",
310
+ "workflow:release-candidate-promote",
311
+ "workflow:buildchain-stable-candidate-qualification"
312
+ ],
313
+ "compatibilityCallers": [
314
+ "actions/promote-buildchain-ref/lib.js",
315
+ "scripts/stable-candidate-qualification.mjs",
316
+ "scripts/dev-alpha-candidate-patrol.mjs"
317
+ ],
318
+ "sourcePaths": [
319
+ "packages/core/release-candidate.js",
320
+ "packages/core/dev-alpha-active-release-train.js",
321
+ "packages/core/dev-alpha-candidate-selection.js",
322
+ "packages/core/release-train.js",
323
+ "scripts/dev-alpha-candidate-patrol.mjs",
324
+ "scripts/generate-release-candidate-passport.mjs"
325
+ ],
326
+ "testPaths": [
327
+ "tests/release-candidate.test.mjs",
328
+ "tests/dev-alpha-candidate-patrol.test.mjs",
329
+ "tests/release-train.test.mjs",
330
+ "tests/build-surface-promotion.test.mjs"
331
+ ],
332
+ "migrationDisposition": "preserve-schema-byte-and-root-semantics-behind-rust-authority",
333
+ "unresolved": [
334
+ "v4 canonical serialization boundary is not yet selected",
335
+ "v4 Release Train authority remains deferred to the parity wave"
336
+ ]
337
+ },
338
+ {
339
+ "id": "release-candidate-recovery",
340
+ "owner": "Buildchain promotion recovery plane",
341
+ "writers": [
342
+ "scripts/resume-from-candidate-run.mjs",
343
+ "actions/promote-buildchain-ref/lib.js"
344
+ ],
345
+ "schemas": ["kungfu-buildchain-release-candidate-recovery/v1"],
346
+ "stores": [
347
+ "immutable recovery receipt",
348
+ "original candidate artifacts and transaction record"
349
+ ],
350
+ "states": [
351
+ "discovering",
352
+ "verified",
353
+ "recoverable",
354
+ "rejected",
355
+ "resumed"
356
+ ],
357
+ "events": [
358
+ "artifact-discovery",
359
+ "provenance-check",
360
+ "payload-check",
361
+ "transaction-check",
362
+ "resume"
363
+ ],
364
+ "transitions": [
365
+ "complete byte-identical artifact set to verified recovery receipt"
366
+ ],
367
+ "recovery": [
368
+ "resume exact candidate bytes",
369
+ "fail closed instead of rebuilding or retargeting"
370
+ ],
371
+ "effects": ["GitHub artifact download", "promotion resume"],
372
+ "retry": [
373
+ "transient provider reads may retry; identity conflicts enter repair_required"
374
+ ],
375
+ "invalidation": [
376
+ "expired/missing artifact",
377
+ "fork or ancestry mismatch",
378
+ "runtime/payload/transaction drift"
379
+ ],
380
+ "providerReadback": [
381
+ "GitHub run, workflow, PR, artifact and ancestry APIs"
382
+ ],
383
+ "publicSurfaces": [
384
+ "export:./release-candidate-recovery",
385
+ "cli:release-transaction",
386
+ "workflow:buildchain-candidate-recovery-dogfood-failure"
387
+ ],
388
+ "compatibilityCallers": ["actions/promote-buildchain-ref/lib.js"],
389
+ "sourcePaths": [
390
+ "packages/core/release-candidate-recovery.js",
391
+ "scripts/resume-from-candidate-run.mjs"
392
+ ],
393
+ "testPaths": [
394
+ "tests/release-candidate-recovery.test.mjs",
395
+ "tests/promote-buildchain-ref-recovery.test.mjs"
396
+ ],
397
+ "migrationDisposition": "port-verifier-first-and-keep-no-rebuild-invariant",
398
+ "unresolved": ["v4 provider adapter boundary is not yet selected"]
399
+ },
400
+ {
401
+ "id": "stable-candidate-ledger",
402
+ "owner": "Buildchain stable release selection plane",
403
+ "writers": [
404
+ "scripts/stable-candidate-patrol.mjs",
405
+ "scripts/stable-candidate-qualification.mjs"
406
+ ],
407
+ "schemas": ["kungfu-buildchain-stable-candidate-ledger"],
408
+ "stores": ["Git ref selected by ledger-ref", "rooted ledger JSON"],
409
+ "states": ["soaking", "qualified", "revoked", "promoted"],
410
+ "events": ["register", "qualify", "hold", "revoke", "select", "promote"],
411
+ "transitions": [
412
+ "soaking to qualified",
413
+ "qualified to promoted",
414
+ "non-promoted to revoked"
415
+ ],
416
+ "recovery": [
417
+ "idempotent registration and qualification",
418
+ "explicit release-now selection"
419
+ ],
420
+ "effects": ["Git ref ledger commit", "stable promotion dispatch"],
421
+ "retry": ["provider/check delay retains candidate in soaking"],
422
+ "invalidation": [
423
+ "revocation",
424
+ "hold",
425
+ "failed or incomplete qualification",
426
+ "competing stable version promotion"
427
+ ],
428
+ "providerReadback": [
429
+ "qualification workflow results",
430
+ "remote ledger ref",
431
+ "promotion refs"
432
+ ],
433
+ "publicSurfaces": [
434
+ "export:./stable-candidate-ledger",
435
+ "workflow:stable-candidate-patrol",
436
+ "workflow:buildchain-stable-candidate-patrol"
437
+ ],
438
+ "compatibilityCallers": [
439
+ "scripts/stable-candidate-patrol.mjs",
440
+ "scripts/stable-release-gate.mjs"
441
+ ],
442
+ "sourcePaths": [
443
+ "packages/core/stable-candidate-ledger.js",
444
+ "scripts/stable-candidate-patrol.mjs",
445
+ "scripts/stable-release-gate.mjs"
446
+ ],
447
+ "testPaths": [
448
+ "tests/stable-candidate-ledger.test.mjs",
449
+ "tests/stable-candidate-patrol.test.mjs"
450
+ ],
451
+ "migrationDisposition": "preserve-ledger-contract-and-make-store-authority-explicit",
452
+ "unresolved": [
453
+ "v4 scheduler and ledger store ownership are not yet selected"
454
+ ]
455
+ },
456
+ {
457
+ "id": "publish-transaction",
458
+ "owner": "Buildchain package and release publication plane",
459
+ "writers": [
460
+ "scripts/release-transaction.mjs",
461
+ "actions/promote-buildchain-ref/lib.js"
462
+ ],
463
+ "schemas": [
464
+ "release transaction record",
465
+ "publish evidence",
466
+ "sealed publication bundle"
467
+ ],
468
+ "stores": [
469
+ "refs/heads/buildchain/release-state/<version>",
470
+ ".buildchain/release-state/<version>.json",
471
+ ".buildchain/release-evidence/<version>"
472
+ ],
473
+ "states": [
474
+ "prepared",
475
+ "sealed",
476
+ "publishing",
477
+ "publish_failed",
478
+ "published",
479
+ "finalizing",
480
+ "complete",
481
+ "repair_required",
482
+ "abandoned",
483
+ "failed_permanently"
484
+ ],
485
+ "events": [
486
+ "seal",
487
+ "publish",
488
+ "publish-fail",
489
+ "finalize",
490
+ "complete",
491
+ "recover",
492
+ "abort"
493
+ ],
494
+ "transitions": [
495
+ "explicit ALLOWED_TRANSITIONS compare-and-set successors"
496
+ ],
497
+ "recovery": [
498
+ "published registry readback resumes finalization",
499
+ "terminal records require explicit recovery intent"
500
+ ],
501
+ "effects": [
502
+ "npm publish/dist-tag",
503
+ "GitHub Release",
504
+ "Git tag/ref update",
505
+ "evidence commit"
506
+ ],
507
+ "retry": [
508
+ "publish_failed may retry publishing",
509
+ "repair_required requires bounded repair"
510
+ ],
511
+ "invalidation": [
512
+ "artifact coordinate drift",
513
+ "state-root conflict",
514
+ "registry/provider disagreement"
515
+ ],
516
+ "providerReadback": [
517
+ "npm package and dist-tags",
518
+ "GitHub release/tag/ref",
519
+ "durable state ref"
520
+ ],
521
+ "publicSurfaces": [
522
+ "action:promote-buildchain-ref",
523
+ "cli:release-transaction",
524
+ "workflow:release-candidate-promote",
525
+ "workflow:paper-release-sealed"
526
+ ],
527
+ "compatibilityCallers": [
528
+ "actions/promote-buildchain-ref/lib.js",
529
+ "scripts/ensure-github-release.mjs"
530
+ ],
531
+ "sourcePaths": [
532
+ "packages/core/publish-transaction.js",
533
+ "scripts/release-transaction.mjs",
534
+ "actions/promote-buildchain-ref/internal/durable-transaction-operations.js",
535
+ "actions/promote-buildchain-ref/internal/durable-transaction-store.js",
536
+ "actions/promote-buildchain-ref/internal/existing-version-state.js",
537
+ "actions/promote-buildchain-ref/reuse-complete-release.js"
538
+ ],
539
+ "testPaths": [
540
+ "tests/publish-transaction.test.mjs",
541
+ "tests/promote-buildchain-ref.test.mjs"
542
+ ],
543
+ "migrationDisposition": "primary-rust-authority-with-v3-record-reader",
544
+ "unresolved": [
545
+ "v4 transaction journal store and npm effect executor are not yet selected"
546
+ ]
547
+ },
548
+ {
549
+ "id": "release-activation-transaction",
550
+ "owner": "Buildchain release activation plane",
551
+ "writers": ["release orchestration callers"],
552
+ "schemas": [
553
+ "kungfu-buildchain-release-activation-transaction/v1",
554
+ "kungfu-buildchain-release-activation-receipt-set/v1"
555
+ ],
556
+ "stores": ["rooted transaction and immutable receipt set"],
557
+ "states": ["open", "complete", "aborted", "rolled-back"],
558
+ "events": ["record-phase", "abort", "rollback", "seal-receipts"],
559
+ "transitions": [
560
+ "ordered six-phase pass",
561
+ "open to aborted",
562
+ "complete or aborted to rolled-back"
563
+ ],
564
+ "recovery": ["explicit abort reason and rollback receipt bindings"],
565
+ "effects": [
566
+ "phase-specific publication effects are external and receipt-bound"
567
+ ],
568
+ "retry": [
569
+ "failed phase can be retried only while transaction remains open"
570
+ ],
571
+ "invalidation": [
572
+ "out-of-order phase",
573
+ "binding drift",
574
+ "receipt mismatch"
575
+ ],
576
+ "providerReadback": ["public readback phase", "effect receipt roots"],
577
+ "publicSurfaces": ["export:./release-activation-transaction"],
578
+ "compatibilityCallers": ["packages/core/index.js"],
579
+ "sourcePaths": ["packages/core/release-activation-transaction.js"],
580
+ "testPaths": ["tests/release-activation-transaction.test.mjs"],
581
+ "migrationDisposition": "port-state-machine-and-receipt-contract-together",
582
+ "unresolved": ["v4 phase executor ownership is not yet selected"]
583
+ },
584
+ {
585
+ "id": "publication-authority",
586
+ "owner": "Buildchain publication admission and qualification plane",
587
+ "writers": ["publication admission assemblers", "publication workflows"],
588
+ "schemas": [
589
+ "kungfu-buildchain-publication-authority-registry",
590
+ "publication admission",
591
+ "publication gate decision",
592
+ "publication qualification receipt"
593
+ ],
594
+ "stores": [
595
+ "publication authority registry",
596
+ "admission and qualification artifacts"
597
+ ],
598
+ "states": [
599
+ "detected",
600
+ "admitted",
601
+ "qualified",
602
+ "rejected",
603
+ "published",
604
+ "read-back"
605
+ ],
606
+ "events": [
607
+ "detect-authority",
608
+ "admit",
609
+ "gate",
610
+ "qualify",
611
+ "publish",
612
+ "verify-readback"
613
+ ],
614
+ "transitions": [
615
+ "exact workflow/runner/control-plane binding to qualified capability"
616
+ ],
617
+ "recovery": [
618
+ "re-run qualification against immutable admission; never infer success from local files"
619
+ ],
620
+ "effects": [
621
+ "npm/GitHub/site publication delegated through declared capability"
622
+ ],
623
+ "retry": [
624
+ "provider delay may retry readback; binding failures require new admission"
625
+ ],
626
+ "invalidation": [
627
+ "workflow/runtime/runner/nonce/artifact/control-plane drift"
628
+ ],
629
+ "providerReadback": [
630
+ "provider publication coordinates",
631
+ "runner provenance",
632
+ "control-plane audit facts"
633
+ ],
634
+ "publicSurfaces": [
635
+ "export:./publication-authority",
636
+ "export:./buildchain-publication-authority",
637
+ "cli:audit",
638
+ "cli:create",
639
+ "cli:verify-publication-admission",
640
+ "workflow:publication-artifact"
641
+ ],
642
+ "compatibilityCallers": [
643
+ "scripts/assemble-self-publication-admission.mjs",
644
+ "scripts/assemble-web-surface-publication-admission.mjs"
645
+ ],
646
+ "sourcePaths": [
647
+ "packages/core/publication-authority.js",
648
+ "packages/core/buildchain-publication-authority.js",
649
+ "packages/core/publication-control-plane-audit.js",
650
+ "scripts/audit-publication-control-plane.mjs",
651
+ "scripts/publication-candidate-sealer.mjs"
652
+ ],
653
+ "testPaths": [
654
+ "tests/publication-authority.test.mjs",
655
+ "tests/publication-control-plane-script.test.mjs"
656
+ ],
657
+ "migrationDisposition": "make-rust-authority-primary-and-preserve-json-contracts",
658
+ "unresolved": [
659
+ "v4 capability registry and provider-effect interface are not yet selected"
660
+ ]
661
+ },
662
+ {
663
+ "id": "github-governance-authority",
664
+ "owner": "Buildchain GitHub governance plane",
665
+ "writers": [
666
+ "scripts/reconcile-release-governance.mjs",
667
+ "scripts/audit-github-governance.mjs"
668
+ ],
669
+ "schemas": [
670
+ "kungfu-buildchain-github-governance-authority/v1",
671
+ "kungfu-buildchain-github-governance-receipt/v1"
672
+ ],
673
+ "stores": [
674
+ "GitHub rulesets, branch protection and CODEOWNERS",
675
+ "governance audit receipt"
676
+ ],
677
+ "states": ["observed", "compliant", "drifted", "planned", "reconciled"],
678
+ "events": [
679
+ "snapshot",
680
+ "compile-effective-policy",
681
+ "audit",
682
+ "plan",
683
+ "reconcile",
684
+ "readback"
685
+ ],
686
+ "transitions": ["provider snapshot to fail-closed governance receipt"],
687
+ "recovery": [
688
+ "reconcile from explicit rollout plan and audit provider state again"
689
+ ],
690
+ "effects": ["GitHub ruleset and branch-protection mutation"],
691
+ "retry": ["provider conflicts require fresh snapshot before retry"],
692
+ "invalidation": [
693
+ "CODEOWNERS drift",
694
+ "required-check drift",
695
+ "bypass actor drift",
696
+ "target-ref drift"
697
+ ],
698
+ "providerReadback": [
699
+ "GitHub rulesets",
700
+ "branch protection",
701
+ "CODEOWNERS",
702
+ "repository metadata"
703
+ ],
704
+ "publicSurfaces": [
705
+ "export:./github-governance-authority",
706
+ "cli:release-governance",
707
+ "workflow:release-governance-reconcile"
708
+ ],
709
+ "compatibilityCallers": ["actions/promote-buildchain-ref/lib.js"],
710
+ "sourcePaths": [
711
+ "packages/core/github-governance-authority.js",
712
+ "scripts/reconcile-release-governance.mjs",
713
+ "scripts/audit-github-governance.mjs"
714
+ ],
715
+ "testPaths": [
716
+ "tests/github-governance-authority.test.mjs",
717
+ "tests/release-governance-reconciliation.test.mjs"
718
+ ],
719
+ "migrationDisposition": "retain-provider-policy-compiler-as-separate-authority-adapter",
720
+ "unresolved": [
721
+ "v4 policy ownership boundary between core and GitHub adapter is not yet selected"
722
+ ]
723
+ },
724
+ {
725
+ "id": "engineering-housekeeper",
726
+ "owner": "Buildchain engineering hygiene plane",
727
+ "writers": [
728
+ "Engineering Housekeeper reusable workflow under an explicit bounded apply gate"
729
+ ],
730
+ "schemas": ["kungfu-buildchain-engineering-housekeeper/v1"],
731
+ "stores": ["immutable rooted plan, report, and apply receipts"],
732
+ "states": [
733
+ "observed",
734
+ "report-only",
735
+ "apply-eligible",
736
+ "applied",
737
+ "retained"
738
+ ],
739
+ "events": [
740
+ "inventory",
741
+ "classify",
742
+ "plan",
743
+ "revalidate",
744
+ "delete-branch",
745
+ "label-stale-pull-request"
746
+ ],
747
+ "transitions": [
748
+ "exact provider inventory to deterministic plan and rooted receipt"
749
+ ],
750
+ "recovery": [
751
+ "re-read provider state and fail closed on any OID, ancestry, protection, or active-PR drift"
752
+ ],
753
+ "effects": [
754
+ "delete an exact merged allowlisted temporary branch",
755
+ "optionally label but never close a stale pull request"
756
+ ],
757
+ "retry": ["provider failure or drift requires a fresh plan"],
758
+ "invalidation": [
759
+ "source or target OID drift",
760
+ "active pull request",
761
+ "unknown branch family",
762
+ "protection or ancestry ambiguity"
763
+ ],
764
+ "providerReadback": [
765
+ "GitHub refs, protected branches, pull requests, and commit ancestry"
766
+ ],
767
+ "publicSurfaces": [
768
+ "export:./engineering-housekeeper",
769
+ "export:./engineering-housekeeper-github",
770
+ "workflow:engineering-housekeeper"
771
+ ],
772
+ "compatibilityCallers": [
773
+ "engineering-housekeeper-daily",
774
+ "engineering-housekeeper-weekly",
775
+ "engineering-housekeeper-monthly"
776
+ ],
777
+ "sourcePaths": [
778
+ "packages/core/engineering-housekeeper.js",
779
+ "packages/core/engineering-housekeeper-github-client.js",
780
+ "packages/core/engineering-housekeeper-github.js",
781
+ "scripts/engineering-housekeeper-workflow.mjs"
782
+ ],
783
+ "testPaths": [
784
+ "tests/engineering-housekeeper.test.mjs",
785
+ "tests/engineering-housekeeper-github.test.mjs",
786
+ "tests/engineering-housekeeper-workflow.test.mjs"
787
+ ],
788
+ "migrationDisposition": "preserve-v3-contract-and-typescript-writer-without-a-second-provider-authority",
789
+ "unresolved": [
790
+ "A future Rust migration would require a separately qualified writer cutover; v4 intentionally retains the TypeScript production authority."
791
+ ]
792
+ },
793
+ {
794
+ "id": "release-passport-and-artifact-proof",
795
+ "owner": "Buildchain release trust plane",
796
+ "writers": [
797
+ "release passport generators",
798
+ "artifact verification commands"
799
+ ],
800
+ "schemas": [
801
+ "kungfu-buildchain-release-passport",
802
+ "kungfu-buildchain-artifact-evidence",
803
+ "kungfu-buildchain-artifact-verification"
804
+ ],
805
+ "stores": [
806
+ "buildchain.release.json",
807
+ "impact and agent index projections",
808
+ "artifact sidecars and provider locators",
809
+ "release-state Git ref readback"
810
+ ],
811
+ "states": [
812
+ "collected",
813
+ "sealed",
814
+ "discoverable",
815
+ "verified",
816
+ "unverifiable",
817
+ "invalid"
818
+ ],
819
+ "events": ["collect", "seal", "publish", "discover", "verify", "explain"],
820
+ "transitions": [
821
+ "rooted evidence set to Passport",
822
+ "subject locator to verification report"
823
+ ],
824
+ "recovery": [
825
+ "discover alternate authoritative locator; never replace failed evidence with narrative"
826
+ ],
827
+ "effects": [
828
+ "Passport and sidecar publication",
829
+ "human/agent explanation"
830
+ ],
831
+ "retry": [
832
+ "remote lookup may retry; digest mismatch is terminal for that artifact"
833
+ ],
834
+ "invalidation": [
835
+ "digest/version/source mismatch",
836
+ "missing required gate",
837
+ "stale locator"
838
+ ],
839
+ "providerReadback": [
840
+ "npm metadata",
841
+ "GitHub Release assets",
842
+ "local package/sidecar"
843
+ ],
844
+ "publicSurfaces": [
845
+ "action:github-artifact-attestation",
846
+ "export:./release-passport",
847
+ "export:./artifact-passport",
848
+ "cli:verify-release-passport",
849
+ "cli:verify-artifact",
850
+ "cli:inspect-release",
851
+ "cli:inspect-artifact"
852
+ ],
853
+ "compatibilityCallers": [
854
+ "binary distribution",
855
+ "Homebrew",
856
+ "site and package publication consumers"
857
+ ],
858
+ "sourcePaths": [
859
+ "packages/core/artifact-passport.js",
860
+ "packages/core/github-artifact-attestation.js",
861
+ "packages/core/publication-artifact.js",
862
+ "packages/core/publication-sealed-bundle.js",
863
+ "packages/core/release-passport-contract.js",
864
+ "packages/core/release-passport.js"
865
+ ],
866
+ "testPaths": [
867
+ "tests/release-passport.test.mjs",
868
+ "tests/artifact-verification-envelope.test.mjs",
869
+ "tests/release-passport-contract.test.mjs"
870
+ ],
871
+ "migrationDisposition": "preserve-public-schema-and-verifier-semantics-across-rust-boundary",
872
+ "unresolved": [
873
+ "v4 proof graph storage and compatibility projection boundary are not yet selected"
874
+ ]
875
+ },
876
+ {
877
+ "id": "release-propagation-work-control",
878
+ "owner": "Buildchain downstream release propagation plane",
879
+ "writers": ["release-propagation CLI and reusable workflow"],
880
+ "schemas": [
881
+ "kungfu-buildchain-release-propagation-work",
882
+ "kungfu-buildchain-release-propagation-stage-receipt"
883
+ ],
884
+ "stores": [
885
+ "rooted Work document",
886
+ "ordered immutable stage receipts",
887
+ "family-state and authority references"
888
+ ],
889
+ "states": [
890
+ "paused",
891
+ "ready",
892
+ "retryable-failure",
893
+ "needs-decision",
894
+ "hard-safety-gate",
895
+ "complete"
896
+ ],
897
+ "events": ["claim", "record-stage", "repair", "complete"],
898
+ "transitions": [
899
+ "twelve ordered stages from materialize through online-readback and complete"
900
+ ],
901
+ "recovery": [
902
+ "recovery cursor retries only typed transient failures at the exact stage"
903
+ ],
904
+ "effects": [
905
+ "downstream branch push",
906
+ "PR",
907
+ "preview/staging/production deployment",
908
+ "online readback"
909
+ ],
910
+ "retry": [
911
+ "stale branch, expected-old mismatch, lock drift, check delay and interrupted execution"
912
+ ],
913
+ "invalidation": [
914
+ "work-root drift",
915
+ "authority/family-state drift",
916
+ "receipt chain mismatch"
917
+ ],
918
+ "providerReadback": [
919
+ "Git refs and PR",
920
+ "deployment workflows",
921
+ "production release and online endpoint"
922
+ ],
923
+ "publicSurfaces": [
924
+ "export:./release-propagation",
925
+ "cli:release-propagation",
926
+ "workflow:release-propagation"
927
+ ],
928
+ "compatibilityCallers": ["Paper/KFD/Buildchain/Core Site agent entry"],
929
+ "sourcePaths": [
930
+ "packages/core/release-propagation-agent-entry.js",
931
+ "packages/core/release-propagation-capture.js",
932
+ "packages/core/release-propagation-common.js",
933
+ "packages/core/release-propagation-execution-profile.js",
934
+ "packages/core/release-propagation-pickup.js",
935
+ "packages/core/release-propagation-push.js",
936
+ "packages/core/release-propagation-release.js",
937
+ "packages/core/release-propagation-stage-evidence.js",
938
+ "packages/core/release-propagation-work-capture.js",
939
+ "packages/core/release-propagation-work-control.js",
940
+ "packages/core/release-propagation-work.js",
941
+ "packages/core/release-propagation-work-transitions.js",
942
+ "packages/core/release-propagation-work-constants.js",
943
+ "packages/core/release-propagation.js"
944
+ ],
945
+ "testPaths": [
946
+ "tests/release-propagation.test.mjs",
947
+ "tests/release-propagation-pickup.test.mjs"
948
+ ],
949
+ "migrationDisposition": "reuse-work-control-contract-as-v4-orchestration-boundary",
950
+ "unresolved": [
951
+ "v4 Work persistence and external executor protocol are not yet selected"
952
+ ]
953
+ },
954
+ {
955
+ "id": "release-tail-provider-plane",
956
+ "owner": "Buildchain declarative release provider plane",
957
+ "writers": [
958
+ "Buildchain release-tail transaction executor",
959
+ "release-tail Action and reusable workflow"
960
+ ],
961
+ "schemas": [
962
+ "kungfu-buildchain-release-tail-capabilities",
963
+ "kungfu.buildchain.release-tail.provider-bindings/v1",
964
+ "kungfu.buildchain.release-tail.transaction/v1",
965
+ "kungfu.buildchain.release-tail.effect/v1",
966
+ "kungfu.buildchain.release-tail.observation/v1",
967
+ "kungfu.buildchain.release-tail.receipt/v1"
968
+ ],
969
+ "stores": [
970
+ "atomic local transaction checkpoint",
971
+ "rooted provider observations",
972
+ "ordered immutable receipts"
973
+ ],
974
+ "states": [
975
+ "preparing",
976
+ "prepared",
977
+ "publishing",
978
+ "committing",
979
+ "activating",
980
+ "reading-back",
981
+ "settling",
982
+ "complete",
983
+ "blocked",
984
+ "repair-required",
985
+ "terminal-failure"
986
+ ],
987
+ "events": ["plan", "readback", "apply", "retry", "settle"],
988
+ "transitions": [
989
+ "four fixed capability effects execute in registry order through one transaction"
990
+ ],
991
+ "recovery": [
992
+ "atomic checkpoint resume with readback before every local retry",
993
+ "lost responses resolve only from rooted provider observation"
994
+ ],
995
+ "effects": [
996
+ "GitHub Release artifact publication",
997
+ "signed channel commit",
998
+ "site release activation",
999
+ "released-evidence synthesis"
1000
+ ],
1001
+ "retry": [
1002
+ "never, readback, or provider-transient with at most three local retries"
1003
+ ],
1004
+ "invalidation": [
1005
+ "declaration or plan root drift",
1006
+ "subject or target identity drift",
1007
+ "stale provider state",
1008
+ "immutable provider conflict"
1009
+ ],
1010
+ "providerReadback": [
1011
+ "GitHub Release asset digests",
1012
+ "HTTPS rooted JSON documents",
1013
+ "local rooted released-evidence document"
1014
+ ],
1015
+ "publicSurfaces": [
1016
+ "export:./release-tail-provider-plane",
1017
+ "export:./release-tail-provider-adapters",
1018
+ "export:./release-tail-compatibility",
1019
+ "cli:release-tail",
1020
+ "workflow:release-tail",
1021
+ "action:release-tail"
1022
+ ],
1023
+ "compatibilityCallers": [
1024
+ "frozen v3 managed release-tail callers through bounded diagnostics only"
1025
+ ],
1026
+ "sourcePaths": [
1027
+ "packages/core/release-tail-provider-plane.js",
1028
+ "packages/core/release-tail-provider-adapters.js",
1029
+ "packages/core/release-tail-compatibility.js",
1030
+ "scripts/release-tail.mjs",
1031
+ "actions/release-tail/index.js"
1032
+ ],
1033
+ "testPaths": [
1034
+ "tests/release-tail-provider-plane.test.mjs",
1035
+ "tests/release-tail-contract.test.mjs"
1036
+ ],
1037
+ "migrationDisposition": "preserve-closed-world-provider-contract-as-v4-capability-boundary",
1038
+ "unresolved": [
1039
+ "consumer cutovers and production provider credentials remain separate reviewed changes"
1040
+ ]
1041
+ }
1042
+ ]
1043
+ }