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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/actions/release-tail/README.md +8 -0
  2. package/architecture/ci-lane-change-budget.json +187 -0
  3. package/architecture/decisions/0002-next-development-transition.md +101 -0
  4. package/architecture/decisions/0003-two-phase-delivery-warrant.md +152 -0
  5. package/architecture/internal-capabilities.json +211 -8
  6. package/architecture/maintainability-policy.json +113 -28
  7. package/architecture/release-tail-contract-inventory.json +5 -2
  8. package/architecture/v3-core-mechanism-inventory.json +91 -0
  9. package/architecture/v4-adopter-delivery-parity.json +32 -5
  10. package/architecture/v4-capability-state-machine-manifest.json +73 -0
  11. package/architecture/v4-compatibility-facts-parity.json +77 -0
  12. package/architecture/v4-delivery-authority-parity.json +250 -0
  13. package/architecture/v4-delivery-warrant-shadow-fixtures.json +41 -9
  14. package/architecture/v4-floating-consumer-policy.json +6 -0
  15. package/architecture/v4-next-development-parity.json +192 -0
  16. package/architecture/v4-publication-rehearsal-parity.json +84 -0
  17. package/architecture/v4-release-train-parity.json +1 -0
  18. package/architecture/v4-tail-reseal-parity.json +150 -0
  19. package/bin/buildchain.mjs +32 -3
  20. package/bin/internal/adopter-delivery-cli.mjs +70 -0
  21. package/bin/internal/command-registry.mjs +3 -0
  22. package/bin/internal/compatibility-facts-cli.mjs +101 -0
  23. package/contracts/dev-delivery-authority-v2.schema.json +662 -0
  24. package/contracts/fixtures/next-development-transition-v1/anchored-manual-waiting.json +47 -0
  25. package/contracts/fixtures/next-development-transition-v1/semver-auto-planned.json +47 -0
  26. package/contracts/fixtures/next-development-transition-v1/version-model-cases.json +40 -0
  27. package/contracts/fixtures/v4-adopter-delivery-v1/archive-template.json +19 -0
  28. package/contracts/fixtures/v4-adopter-delivery-v1/bootstrap-positive.json +93 -0
  29. package/contracts/fixtures/v4-adopter-delivery-v1/gate-positive.json +29 -0
  30. package/contracts/fixtures/v4-adopter-delivery-v1/gate-unknown-selector.json +26 -0
  31. package/contracts/fixtures/v4-adopter-delivery-v1/offline-vectors.json +50 -0
  32. package/contracts/fixtures/v4-compatibility-facts-v1/shared.json +1129 -0
  33. package/contracts/fixtures/v4-floating-consumer-policy-v1/cases.json +7 -1
  34. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/artifacts/product.bin +1 -0
  35. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/config/buildchain.toml +5 -0
  36. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/documents/release-activation.json +1 -0
  37. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/documents/signed-channel.json +1 -0
  38. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/evidence/qualification.json +1 -0
  39. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/manifests/candidate.json +5 -0
  40. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/manifests/release-passport.json +1 -0
  41. package/contracts/fixtures/v4-publication-rehearsal-v1/capsule.json +707 -0
  42. package/contracts/fixtures/v4-publication-rehearsal-v1/offline-vectors.json +27 -0
  43. package/contracts/fixtures/v4-tail-reseal-v1/valid.json +229 -0
  44. package/contracts/next-development-request-v1.schema.json +66 -0
  45. package/contracts/next-development-transition-v1.schema.json +292 -0
  46. package/contracts/v4-adopter-delivery-v1.schema.json +81 -0
  47. package/contracts/v4-compatibility-facts-v1.schema.json +230 -0
  48. package/contracts/v4-floating-consumer-policy-receipt-v1.schema.json +4 -2
  49. package/contracts/v4-publication-rehearsal-capsule-v1.schema.json +233 -0
  50. package/contracts/v4-tail-reseal-v1.schema.json +276 -0
  51. package/dist/site/agent-index.json +5 -0
  52. package/dist/site/artifact-schemas.json +10 -0
  53. package/dist/site/buildchain-contract.json +1475 -27
  54. package/dist/site/buildchain-site.json +627 -31
  55. package/dist/site/capability-registry.json +17 -14
  56. package/dist/site/cli-registry.json +205 -3
  57. package/dist/site/kfd-claims.json +490 -16
  58. package/dist/site/kfd-upstream-aggregate.json +1 -1
  59. package/dist/site/manual-registry.json +52 -6
  60. package/dist/site/node-api-registry.json +14736 -8851
  61. package/dist/site/page-registry.json +593 -21
  62. package/dist/site/public-surface-audit.json +837 -48
  63. package/dist/site/publication-authority-registry.json +44 -8
  64. package/dist/site/publication-registry.json +4 -4
  65. package/dist/site/release-provenance.json +24 -0
  66. package/dist/site/schemas/dev-delivery-authority-v2.schema.json +662 -0
  67. package/dist/site/schemas/release-tail-capabilities-v1.schema.json +199 -0
  68. package/dist/site/schemas/v4-adopter-delivery-v1.schema.json +81 -0
  69. package/dist/site/schemas/v4-compatibility-facts-v1.schema.json +230 -0
  70. package/dist/site/schemas/v4-publication-rehearsal-capsule-v1.schema.json +233 -0
  71. package/dist/site/site-manifest.json +34 -10
  72. package/dist/site/workflow-registry.json +160 -10
  73. package/docs/MAP.md +8 -2
  74. package/docs/cli-reference.md +404 -13
  75. package/docs/cli.md +8 -0
  76. package/docs/dev-alpha-candidate-patrol.md +8 -0
  77. package/docs/dev-delivery-qualification-landing-adr.md +251 -0
  78. package/docs/dev-delivery-warrant.md +351 -38
  79. package/docs/next-development-transition.md +118 -0
  80. package/docs/node-api-reference.md +646 -293
  81. package/docs/release-tail-provider-plane.md +30 -0
  82. package/docs/v4-adopter-delivery.md +133 -0
  83. package/docs/v4-compatibility-facts.md +91 -0
  84. package/docs/v4-publication-rehearsal.md +130 -0
  85. package/docs/v4-tail-reseal.md +73 -0
  86. package/docs/versioning.md +4 -3
  87. package/package.json +34 -6
  88. package/packages/core/adopter-delivery-passport.js +259 -0
  89. package/packages/core/adopter-delivery-vectors.js +158 -0
  90. package/packages/core/adopter-delivery-vectors.json +77 -0
  91. package/packages/core/buildchain-agent-manuals.js +3 -0
  92. package/packages/core/buildchain-compatibility-authority.js +336 -0
  93. package/packages/core/buildchain-compatibility-fact.js +394 -0
  94. package/packages/core/buildchain-compatibility-facts.json +217 -0
  95. package/packages/core/buildchain-compatibility-proof.js +566 -0
  96. package/packages/core/buildchain-config.js +84 -0
  97. package/packages/core/buildchain-contract.js +96 -143
  98. package/packages/core/buildchain-delivery-bootstrap.js +240 -0
  99. package/packages/core/buildchain-delivery-infrastructure.js +164 -0
  100. package/packages/core/buildchain-delivery-self-dogfood.js +395 -0
  101. package/packages/core/buildchain-publication-authority.js +1 -0
  102. package/packages/core/channel-candidate.js +8 -0
  103. package/packages/core/channel-promotion-baseline.js +55 -0
  104. package/packages/core/ci-lane-change-budget.js +247 -0
  105. package/packages/core/dev-alpha-candidate-selection.js +10 -2
  106. package/packages/core/dev-delivery-authority-candidate.js +270 -0
  107. package/packages/core/dev-delivery-authority-evidence.js +146 -0
  108. package/packages/core/dev-delivery-authority-landing.js +461 -0
  109. package/packages/core/dev-delivery-authority-observation.js +48 -0
  110. package/packages/core/dev-delivery-authority-qualification.js +591 -0
  111. package/packages/core/dev-delivery-authority-settlement.js +213 -0
  112. package/packages/core/dev-delivery-authority-state.js +583 -0
  113. package/packages/core/dev-delivery-candidate-identity.js +13 -0
  114. package/packages/core/dev-delivery-contract-surface.js +76 -0
  115. package/packages/core/dev-delivery-execution-failure.js +133 -0
  116. package/packages/core/dev-delivery-execution-transfer.js +592 -0
  117. package/packages/core/dev-delivery-landing-admission-core.js +119 -0
  118. package/packages/core/dev-delivery-landing-readback.js +598 -0
  119. package/packages/core/dev-delivery-landing-terminal-evidence.js +271 -0
  120. package/packages/core/dev-delivery-landing-testing-port.js +6 -0
  121. package/packages/core/dev-delivery-native-execution.js +110 -0
  122. package/packages/core/dev-delivery-native-proof.js +562 -0
  123. package/packages/core/dev-delivery-process-boundary.js +563 -0
  124. package/packages/core/dev-delivery-provider-attempt.js +127 -0
  125. package/packages/core/dev-delivery-provider-heartbeat.js +382 -0
  126. package/packages/core/dev-delivery-warrant-cancellation.js +1 -0
  127. package/packages/core/dev-delivery-warrant-qualification.js +145 -0
  128. package/packages/core/dev-delivery-warrant-settlement.js +237 -36
  129. package/packages/core/dev-delivery-warrant-state.js +587 -0
  130. package/packages/core/dev-delivery-warrant.js +328 -370
  131. package/packages/core/github-governance-authority.js +1 -0
  132. package/packages/core/index.js +5 -0
  133. package/packages/core/kungfu-temporal-fact.js +557 -0
  134. package/packages/core/legacy-kfd-adopter-driver.js +167 -0
  135. package/packages/core/next-development-candidate-reservation.js +186 -0
  136. package/packages/core/next-development-controller.js +728 -0
  137. package/packages/core/next-development-projection.js +287 -0
  138. package/packages/core/next-development-transition.js +738 -0
  139. package/packages/core/paper-agent-entry.js +11 -5
  140. package/packages/core/paper.js +16 -5
  141. package/packages/core/published-delivery-authority.js +266 -0
  142. package/packages/core/release-candidate-recovery.js +70 -15
  143. package/packages/core/release-candidate.js +2 -2
  144. package/packages/core/release-passport.js +36 -9
  145. package/packages/core/v4-adopter-delivery-parity.js +3 -3
  146. package/packages/core/v4-adopter-delivery.js +359 -0
  147. package/packages/core/v4-canonical-contracts.js +5 -0
  148. package/packages/core/v4-delivery-warrant-read-candidate.js +10 -3
  149. package/packages/core/v4-floating-consumer-evidence.js +18 -4
  150. package/packages/core/v4-floating-consumer-policy.js +143 -20
  151. package/packages/core/v4-floating-consumer-release-passport.js +32 -5
  152. package/packages/core/v4-publication-rehearsal-capsule.js +468 -0
  153. package/packages/core/v4-publication-rehearsal-provider-bindings.js +212 -0
  154. package/packages/core/v4-publication-rehearsal.js +481 -0
  155. package/packages/core/v4-tail-reseal-contract.js +26 -0
  156. package/packages/core/v4-tail-reseal-github.js +178 -0
  157. package/packages/core/v4-tail-reseal-receipt.js +225 -0
  158. package/packages/core/v4-tail-reseal.js +594 -0
  159. package/packages/core/workflow-yaml-contract.js +24 -2
  160. package/scripts/buildchain-cli-help.mjs +41 -2
  161. package/scripts/check-ci-lane-change-budget.mjs +100 -0
  162. package/scripts/check-inventory.mjs +14 -3
  163. package/scripts/check-v4-floating-consumer-policy-contract.mjs +23 -4
  164. package/scripts/dev-alpha-candidate-patrol.mjs +22 -1
  165. package/scripts/dev-delivery-authority-command-adapters.mjs +206 -0
  166. package/scripts/dev-delivery-authority-provider.mjs +28 -0
  167. package/scripts/dev-delivery-authority.mjs +490 -0
  168. package/scripts/dev-delivery-native-run.mjs +177 -0
  169. package/scripts/dev-delivery-process-boundary.mjs +260 -0
  170. package/scripts/dev-delivery-proof.mjs +67 -2
  171. package/scripts/dev-delivery-provider-heartbeat.mjs +215 -0
  172. package/scripts/dev-delivery-source-proof-replay.mjs +153 -0
  173. package/scripts/dev-delivery-source-proof-reuse.mjs +13 -97
  174. package/scripts/dev-delivery-two-phase-resume.mjs +345 -0
  175. package/scripts/dev-delivery-two-phase.mjs +573 -0
  176. package/scripts/dev-delivery-warrant-options.mjs +266 -0
  177. package/scripts/dev-delivery-warrant-store.mjs +231 -0
  178. package/scripts/dev-delivery-warrant.mjs +232 -194
  179. package/scripts/dev-pr-auto-merge.mjs +1 -1
  180. package/scripts/dev-pr-delivery-warrant.mjs +11 -0
  181. package/scripts/dev-qualification-patrol.mjs +9 -9
  182. package/scripts/dispatch-artifact-signing-authority.mjs +1 -1
  183. package/scripts/generate-channel-promotion-workflow.mjs +2 -2
  184. package/scripts/generate-next-development-guidance.mjs +49 -0
  185. package/scripts/generate-release-candidate-passport.mjs +152 -0
  186. package/scripts/generate-site-bundle.mjs +69 -4
  187. package/scripts/init-repo.mjs +22 -4
  188. package/scripts/next-development-self-dogfood-harness.mjs +460 -0
  189. package/scripts/next-development-self-dogfood.mjs +597 -0
  190. package/scripts/next-development-transition.mjs +47 -0
  191. package/scripts/npm-publish-transaction.mjs +2 -2
  192. package/scripts/promotion-channel-router.mjs +4 -4
  193. package/scripts/release-candidate-anchor-provenance.mjs +99 -0
  194. package/scripts/release-tail.mjs +51 -3
  195. package/scripts/release-train-self-dogfood.mjs +94 -92
  196. package/scripts/resume-from-candidate-run.mjs +557 -30
  197. package/scripts/site-capability-metadata.mjs +41 -0
  198. package/scripts/stable-candidate-qualification.mjs +9 -10
  199. package/scripts/v4-consumer-policy.mjs +5 -5
  200. package/scripts/v4-publication-rehearsal-fixture.mjs +144 -0
  201. package/scripts/v4-tail-reseal-macos-rehearsal.mjs +134 -0
  202. package/scripts/v4-tail-reseal.mjs +416 -0
  203. package/templates/native-dev-delivery.yml +143 -0
@@ -0,0 +1,233 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://buildchain.kungfu.ai/contracts/v4-publication-rehearsal-capsule-v1.schema.json",
4
+ "title": "Buildchain v4 Publication Rehearsal Capsule",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema",
9
+ "coreVersion",
10
+ "source",
11
+ "candidate",
12
+ "manifest",
13
+ "config",
14
+ "providerBindings",
15
+ "providerBindingsRoot",
16
+ "providerPolicy",
17
+ "expectedObservations",
18
+ "declaration",
19
+ "transaction",
20
+ "files",
21
+ "capsuleRoot"
22
+ ],
23
+ "properties": {
24
+ "schema": { "const": "buildchain-v4-publication-rehearsal-capsule/v1" },
25
+ "coreVersion": { "const": "buildchain.release-tail/v1" },
26
+ "source": {
27
+ "type": "object",
28
+ "additionalProperties": false,
29
+ "required": ["repository", "revision", "root"],
30
+ "properties": {
31
+ "repository": { "type": "string", "minLength": 1 },
32
+ "revision": { "type": "string", "pattern": "^[0-9a-f]{40}$" },
33
+ "root": { "$ref": "#/$defs/root" }
34
+ }
35
+ },
36
+ "candidate": {
37
+ "type": "object",
38
+ "additionalProperties": false,
39
+ "required": ["root"],
40
+ "properties": { "root": { "$ref": "#/$defs/root" } }
41
+ },
42
+ "manifest": { "$ref": "#/$defs/fileBinding" },
43
+ "config": { "$ref": "#/$defs/fileBinding" },
44
+ "providerBindings": { "$ref": "#/$defs/providerBindings" },
45
+ "providerBindingsRoot": { "$ref": "#/$defs/root" },
46
+ "providerPolicy": {
47
+ "type": "object",
48
+ "additionalProperties": false,
49
+ "required": [
50
+ "schema",
51
+ "effectDefault",
52
+ "allowedCapabilityIds",
53
+ "allowedAdapters",
54
+ "root"
55
+ ],
56
+ "properties": {
57
+ "schema": {
58
+ "const": "buildchain-v4-publication-rehearsal-provider-policy/v1"
59
+ },
60
+ "effectDefault": { "const": "disabled" },
61
+ "allowedCapabilityIds": {
62
+ "type": "array",
63
+ "minItems": 1,
64
+ "uniqueItems": true,
65
+ "items": { "type": "string", "minLength": 1 }
66
+ },
67
+ "allowedAdapters": {
68
+ "type": "array",
69
+ "minItems": 1,
70
+ "uniqueItems": true,
71
+ "items": {
72
+ "type": "string",
73
+ "pattern": "^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$"
74
+ }
75
+ },
76
+ "root": { "$ref": "#/$defs/root" }
77
+ }
78
+ },
79
+ "expectedObservations": {
80
+ "type": "object",
81
+ "additionalProperties": false,
82
+ "required": ["entries", "root"],
83
+ "properties": {
84
+ "entries": {
85
+ "type": "array",
86
+ "items": { "$ref": "#/$defs/observationSequence" }
87
+ },
88
+ "root": { "$ref": "#/$defs/root" }
89
+ }
90
+ },
91
+ "declaration": { "$ref": "release-tail-capabilities-v1.schema.json" },
92
+ "transaction": { "type": "object" },
93
+ "files": {
94
+ "type": "array",
95
+ "minItems": 1,
96
+ "items": {
97
+ "type": "object",
98
+ "additionalProperties": false,
99
+ "required": ["role", "path", "size", "root"],
100
+ "properties": {
101
+ "role": {
102
+ "type": "string",
103
+ "pattern": "^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$"
104
+ },
105
+ "path": { "$ref": "#/$defs/path" },
106
+ "size": { "type": "integer", "minimum": 0 },
107
+ "root": { "$ref": "#/$defs/root" }
108
+ }
109
+ }
110
+ },
111
+ "capsuleRoot": { "$ref": "#/$defs/root" }
112
+ },
113
+ "$defs": {
114
+ "root": { "type": "string", "pattern": "^sha256:[0-9a-f]{64}$" },
115
+ "path": {
116
+ "type": "string",
117
+ "minLength": 1,
118
+ "pattern": "^(?!/)(?!.*(?:^|/)\\.(?:/|$))(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*//)(?!.*\\\\)(?!.*\/$).+$"
119
+ },
120
+ "providerBindings": {
121
+ "type": "object",
122
+ "additionalProperties": false,
123
+ "required": ["schema", "artifacts", "documents", "evidence"],
124
+ "properties": {
125
+ "schema": {
126
+ "const": "kungfu.buildchain.release-tail.provider-bindings/v1"
127
+ },
128
+ "artifacts": {
129
+ "type": "object",
130
+ "propertyNames": {
131
+ "pattern": "^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$"
132
+ },
133
+ "additionalProperties": {
134
+ "type": "object",
135
+ "additionalProperties": false,
136
+ "required": ["path", "name"],
137
+ "properties": {
138
+ "path": { "$ref": "#/$defs/path" },
139
+ "name": { "type": "string", "minLength": 1 }
140
+ }
141
+ }
142
+ },
143
+ "documents": {
144
+ "type": "object",
145
+ "propertyNames": {
146
+ "pattern": "^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$"
147
+ },
148
+ "additionalProperties": { "$ref": "#/$defs/providerDocument" }
149
+ },
150
+ "evidence": {
151
+ "type": "object",
152
+ "additionalProperties": false,
153
+ "required": ["inputs", "output"],
154
+ "properties": {
155
+ "inputs": {
156
+ "type": "array",
157
+ "uniqueItems": true,
158
+ "items": { "$ref": "#/$defs/path" }
159
+ },
160
+ "output": { "$ref": "#/$defs/path" }
161
+ }
162
+ }
163
+ }
164
+ },
165
+ "providerDocument": {
166
+ "type": "object",
167
+ "additionalProperties": false,
168
+ "required": ["path", "method"],
169
+ "properties": {
170
+ "path": { "$ref": "#/$defs/path" },
171
+ "method": { "enum": ["PUT", "POST"] }
172
+ }
173
+ },
174
+ "fileBinding": {
175
+ "type": "object",
176
+ "additionalProperties": false,
177
+ "required": ["path", "root"],
178
+ "properties": {
179
+ "path": { "$ref": "#/$defs/path" },
180
+ "root": { "$ref": "#/$defs/root" }
181
+ }
182
+ },
183
+ "readback": {
184
+ "type": "object",
185
+ "additionalProperties": false,
186
+ "required": [
187
+ "outcome",
188
+ "subjectRoot",
189
+ "targetRoot",
190
+ "evidenceRoots",
191
+ "providerCode"
192
+ ],
193
+ "properties": {
194
+ "outcome": { "enum": ["observed", "absent", "transient", "conflict"] },
195
+ "subjectRoot": {
196
+ "oneOf": [{ "$ref": "#/$defs/root" }, { "const": "" }]
197
+ },
198
+ "targetRoot": {
199
+ "oneOf": [{ "$ref": "#/$defs/root" }, { "const": "" }]
200
+ },
201
+ "evidenceRoots": {
202
+ "type": "array",
203
+ "uniqueItems": true,
204
+ "items": { "$ref": "#/$defs/root" }
205
+ },
206
+ "providerCode": { "type": "string", "minLength": 1 }
207
+ }
208
+ },
209
+ "observationSequence": {
210
+ "type": "object",
211
+ "additionalProperties": false,
212
+ "required": ["operationId", "readbacks", "apply"],
213
+ "properties": {
214
+ "operationId": { "$ref": "#/$defs/root" },
215
+ "readbacks": {
216
+ "type": "array",
217
+ "minItems": 1,
218
+ "items": { "$ref": "#/$defs/readback" }
219
+ },
220
+ "apply": {
221
+ "type": "object",
222
+ "additionalProperties": false,
223
+ "required": ["outcome", "code", "classification"],
224
+ "properties": {
225
+ "outcome": { "enum": ["applied", "transient", "conflict"] },
226
+ "code": { "type": "string", "minLength": 1 },
227
+ "classification": { "type": "string", "minLength": 1 }
228
+ }
229
+ }
230
+ }
231
+ }
232
+ }
233
+ }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-manifest",
4
- "generatedAt": "2026-08-15T11:38:16.137Z",
5
- "publishedAt": "2026-08-15T11:38:16.137Z",
4
+ "generatedAt": "2026-08-23T04:23:57.352Z",
5
+ "publishedAt": "2026-08-23T04:23:57.352Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "8c8a952f024c32f8961c05dd59238a29ed361e72",
22
+ "sourceRevision": "68a6a52089002743c0fe3aebca5f24e9a18a5787",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "package": {
39
39
  "name": "@kungfu-tech/buildchain",
40
- "version": "4.0.1-alpha.2",
40
+ "version": "4.0.1-alpha.21",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "entrypoint": "buildchain-site.json",
@@ -53,7 +53,7 @@
53
53
  "path": "docs/MAP.md",
54
54
  "plane": "use",
55
55
  "exists": true,
56
- "digest": "sha256:c6be6076530f21d1a81f4f3d64f7aa2a9e5e8fb35a02f79a895814a85cad4838"
56
+ "digest": "sha256:a04d321dbec562807cb29b748039839d097a97d2c9d2f0e76d6d22f2845055ba"
57
57
  },
58
58
  {
59
59
  "id": "getting-started",
@@ -135,6 +135,14 @@
135
135
  "exists": true,
136
136
  "digest": "sha256:6989ada03d381e68fdec55b26b76b2070fb37969826eadc0a989844a732ba557"
137
137
  },
138
+ {
139
+ "id": "next-development-transition",
140
+ "title": "Next-development transition",
141
+ "path": "docs/next-development-transition.md",
142
+ "plane": "verify",
143
+ "exists": true,
144
+ "digest": "sha256:c33c017ae163650b422f7ec294a05f3db8b8e99b87c55ab2d8ac3cce1726448f"
145
+ },
138
146
  {
139
147
  "id": "release-propagation",
140
148
  "title": "Release propagation",
@@ -229,7 +237,7 @@
229
237
  "path": "docs/cli.md",
230
238
  "plane": "use",
231
239
  "exists": true,
232
- "digest": "sha256:fad47682ed909f7b16f58bb8c24c51a943eb704a0a50ab6e033d745ee16a809a"
240
+ "digest": "sha256:60208f0862195df44b27ada15e474ff1808dee6d492cd6303402b92fd72f06bc"
233
241
  },
234
242
  {
235
243
  "id": "cli-reference",
@@ -237,7 +245,7 @@
237
245
  "path": "docs/cli-reference.md",
238
246
  "plane": "use",
239
247
  "exists": true,
240
- "digest": "sha256:0aa0c937ca4f3f239f67c10a3e656ca0934cd3618bf84639525ea1fbd685c055"
248
+ "digest": "sha256:ec16f350596692989cf5eade945e7bbeee157a661c6d8faa55c8249b14ef5632"
241
249
  },
242
250
  {
243
251
  "id": "node-api-reference",
@@ -245,7 +253,7 @@
245
253
  "path": "docs/node-api-reference.md",
246
254
  "plane": "use",
247
255
  "exists": true,
248
- "digest": "sha256:1771331eea141e17dc27d19ccd6ccdf2d3a7d2ecdb98fb9e0d0d563b1e61b438"
256
+ "digest": "sha256:da744d2071ab7871eccbf6b3049a4d8a44b21daa477598fa9327a28b7d89ae67"
249
257
  },
250
258
  {
251
259
  "id": "build-facts",
@@ -287,6 +295,14 @@
287
295
  "exists": true,
288
296
  "digest": "sha256:fc2649d0ae4dc6a08275bc1f2509efd3e9730227eaa8157ef64daf4b9c850264"
289
297
  },
298
+ {
299
+ "id": "v4-adopter-delivery",
300
+ "title": "V4 public adopter delivery",
301
+ "path": "docs/v4-adopter-delivery.md",
302
+ "plane": "verify",
303
+ "exists": true,
304
+ "digest": "sha256:c74a004657f64d29ba2a47f599223e5ab132daf2881cf0564c85c04b22a69e6e"
305
+ },
290
306
  {
291
307
  "id": "publish-transaction",
292
308
  "title": "Publish transaction",
@@ -309,7 +325,7 @@
309
325
  "path": "docs/release-tail-provider-plane.md",
310
326
  "plane": "use",
311
327
  "exists": true,
312
- "digest": "sha256:80b39ba4f0a8ed723e2a03e7efff0fee1e891245f7d1bf343edc75011aded801"
328
+ "digest": "sha256:72dd8231f51003c8a0d6532991b908b39de02deb11300e8c63113cd3a9e5cd8e"
313
329
  },
314
330
  {
315
331
  "id": "release-governance",
@@ -319,6 +335,14 @@
319
335
  "exists": true,
320
336
  "digest": "sha256:6dfe8a9b974040fc1465b0da696519b4e97b0b901e30d852ffacda0d193810af"
321
337
  },
338
+ {
339
+ "id": "v4-compatibility-facts",
340
+ "title": "Buildchain v4 compatibility Facts",
341
+ "path": "docs/v4-compatibility-facts.md",
342
+ "plane": "verify",
343
+ "exists": true,
344
+ "digest": "sha256:d29c904a17aca0ca3ad4f48a826f530610d77ffca8bde76ef7e5b4c245c2ca47"
345
+ },
322
346
  {
323
347
  "id": "release-flow",
324
348
  "title": "Release flow",
@@ -341,7 +365,7 @@
341
365
  "path": "docs/versioning.md",
342
366
  "plane": "why",
343
367
  "exists": true,
344
- "digest": "sha256:fa094ca11fe51b2f23b2154523414676d6f8c8fa50493c5027a469da9115a414"
368
+ "digest": "sha256:a2fc36e62ac3adfa0dd499972f22cad22131ccc526e11e890e2cbdc4d3a31341"
345
369
  },
346
370
  {
347
371
  "id": "web-surface-deployments",
@@ -1572,6 +1572,27 @@
1572
1572
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
1573
1573
  "nonDuplicationRationale": "Existing workflow identity retained for caller compatibility and repository orchestration."
1574
1574
  },
1575
+ {
1576
+ "id": "buildchain-ref-promotion-recovery",
1577
+ "path": ".github/workflows/buildchain-ref-promotion-recovery.yml",
1578
+ "reusable": false,
1579
+ "inputs": [],
1580
+ "inputCount": 0,
1581
+ "secrets": [],
1582
+ "secretCount": 0,
1583
+ "outputs": [],
1584
+ "outputCount": 0,
1585
+ "surface": "repository-workflow",
1586
+ "capabilityGroup": "api-cli-reference",
1587
+ "status": "active",
1588
+ "owner": "buildchain-workflows",
1589
+ "maturity": "active",
1590
+ "introducedVersion": "pre-3.0.2-alpha.4",
1591
+ "compatibilityPromise": "preserved-through-the-v3-major-line",
1592
+ "deprecationReplacement": "",
1593
+ "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
1594
+ "nonDuplicationRationale": "Existing workflow identity retained for caller compatibility and repository orchestration."
1595
+ },
1575
1596
  {
1576
1597
  "id": "buildchain-ref-promotion",
1577
1598
  "path": ".github/workflows/buildchain-ref-promotion.yml",
@@ -1881,27 +1902,37 @@
1881
1902
  "dependency-root",
1882
1903
  "diagnostic-context",
1883
1904
  "dry-run",
1905
+ "environment-root",
1884
1906
  "expected-head-sha",
1885
1907
  "expected-pr-number",
1908
+ "handoff-workflow-id",
1886
1909
  "initiative-root",
1887
1910
  "landing-mode",
1911
+ "legacy-active-owner-binding-json",
1888
1912
  "max-merges",
1889
1913
  "merge-method",
1914
+ "native-command",
1915
+ "native-command-root",
1916
+ "native-heartbeat-seconds",
1917
+ "native-proof-json",
1890
1918
  "plan-root",
1891
1919
  "project-cut-proof-json",
1892
1920
  "queue-admission-context",
1893
1921
  "ready-label",
1922
+ "release-blocker-priority-json",
1894
1923
  "require-approval",
1895
1924
  "required-status-checks",
1896
1925
  "same-repository-only",
1897
1926
  "shard-evidence-roots-json",
1898
1927
  "source-identity-root",
1899
1928
  "source-patch-root",
1929
+ "source-workflow-id",
1930
+ "source-workflow-run-id",
1900
1931
  "target-branch",
1901
1932
  "toolchain-root",
1902
1933
  "warrant-lease-seconds"
1903
1934
  ],
1904
- "inputCount": 33,
1935
+ "inputCount": 43,
1905
1936
  "secrets": [
1906
1937
  "github-token"
1907
1938
  ],
@@ -1914,14 +1945,20 @@
1914
1945
  "evaluated-count",
1915
1946
  "final-base-sha",
1916
1947
  "merged-count",
1948
+ "native-execution-transfer-root",
1949
+ "native-proof-root",
1950
+ "native-reuse-decision-root",
1917
1951
  "project-cut-proof-root",
1952
+ "provider-finalizer-boundary-root",
1953
+ "provider-heartbeat-receipt-root",
1954
+ "qualified-warrant-receipt-root",
1918
1955
  "skipped-count",
1919
1956
  "source-proof-root",
1920
1957
  "warrant-receipt-root",
1921
1958
  "warrant-state-commit",
1922
1959
  "warrant-state-root"
1923
1960
  ],
1924
- "outputCount": 13,
1961
+ "outputCount": 19,
1925
1962
  "surface": "dev-governance",
1926
1963
  "capabilityGroup": "governance-versioning",
1927
1964
  "status": "active",
@@ -1990,7 +2027,7 @@
1990
2027
  "status": "preview",
1991
2028
  "owner": "buildchain-workflows",
1992
2029
  "maturity": "preview",
1993
- "introducedVersion": "4.0.1-alpha.2",
2030
+ "introducedVersion": "4.0.1-alpha.21",
1994
2031
  "compatibilityPromise": "preserved-through-the-v3-major-line",
1995
2032
  "deprecationReplacement": "",
1996
2033
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
@@ -2011,7 +2048,7 @@
2011
2048
  "status": "preview",
2012
2049
  "owner": "buildchain-workflows",
2013
2050
  "maturity": "preview",
2014
- "introducedVersion": "4.0.1-alpha.2",
2051
+ "introducedVersion": "4.0.1-alpha.21",
2015
2052
  "compatibilityPromise": "preserved-through-the-v3-major-line",
2016
2053
  "deprecationReplacement": "",
2017
2054
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
@@ -2032,7 +2069,7 @@
2032
2069
  "status": "preview",
2033
2070
  "owner": "buildchain-workflows",
2034
2071
  "maturity": "preview",
2035
- "introducedVersion": "4.0.1-alpha.2",
2072
+ "introducedVersion": "4.0.1-alpha.21",
2036
2073
  "compatibilityPromise": "preserved-through-the-v3-major-line",
2037
2074
  "deprecationReplacement": "",
2038
2075
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
@@ -2082,7 +2119,7 @@
2082
2119
  "status": "preview",
2083
2120
  "owner": "buildchain-workflows",
2084
2121
  "maturity": "preview",
2085
- "introducedVersion": "4.0.1-alpha.2",
2122
+ "introducedVersion": "4.0.1-alpha.21",
2086
2123
  "compatibilityPromise": "preserved-through-the-v3-major-line",
2087
2124
  "deprecationReplacement": "",
2088
2125
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
@@ -2826,22 +2863,28 @@
2826
2863
  "reusable": true,
2827
2864
  "inputs": [
2828
2865
  "buildchain-ref",
2866
+ "candidate-root",
2829
2867
  "declaration-path",
2830
2868
  "execute",
2831
2869
  "provider-bindings-path",
2870
+ "rehearsal-authority-path",
2871
+ "rehearsal-capsule-path",
2872
+ "rehearsal-evidence-path",
2873
+ "rehearsal-mode",
2832
2874
  "state-path"
2833
2875
  ],
2834
- "inputCount": 5,
2876
+ "inputCount": 10,
2835
2877
  "secrets": [
2836
2878
  "http-token"
2837
2879
  ],
2838
2880
  "secretCount": 1,
2839
2881
  "outputs": [
2882
+ "rehearsal-evidence-root",
2840
2883
  "state-root",
2841
2884
  "transaction-root",
2842
2885
  "transaction-state"
2843
2886
  ],
2844
- "outputCount": 3,
2887
+ "outputCount": 4,
2845
2888
  "surface": "release-tail-provider-plane",
2846
2889
  "capabilityGroup": "release-passport-trust",
2847
2890
  "status": "active",
@@ -2964,6 +3007,54 @@
2964
3007
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
2965
3008
  "nonDuplicationRationale": "Existing workflow identity retained for caller compatibility and repository orchestration."
2966
3009
  },
3010
+ {
3011
+ "id": "v4-adopter-delivery-dogfood",
3012
+ "path": ".github/workflows/v4-adopter-delivery-dogfood.yml",
3013
+ "reusable": false,
3014
+ "inputs": [],
3015
+ "inputCount": 0,
3016
+ "secrets": [],
3017
+ "secretCount": 0,
3018
+ "outputs": [],
3019
+ "outputCount": 0,
3020
+ "surface": "repository-workflow",
3021
+ "capabilityGroup": "api-cli-reference",
3022
+ "status": "active",
3023
+ "owner": "buildchain-workflows",
3024
+ "maturity": "active",
3025
+ "introducedVersion": "pre-3.0.2-alpha.4",
3026
+ "compatibilityPromise": "preserved-through-the-v3-major-line",
3027
+ "deprecationReplacement": "",
3028
+ "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
3029
+ "nonDuplicationRationale": "Existing workflow identity retained for caller compatibility and repository orchestration."
3030
+ },
3031
+ {
3032
+ "id": "v4-adopter-delivery",
3033
+ "path": ".github/workflows/v4-adopter-delivery.yml",
3034
+ "reusable": true,
3035
+ "inputs": [
3036
+ "archive-path",
3037
+ "bootstrap-path",
3038
+ "consumer",
3039
+ "input-path",
3040
+ "node-version"
3041
+ ],
3042
+ "inputCount": 5,
3043
+ "secrets": [],
3044
+ "secretCount": 0,
3045
+ "outputs": [],
3046
+ "outputCount": 0,
3047
+ "surface": "repository-workflow",
3048
+ "capabilityGroup": "api-cli-reference",
3049
+ "status": "active",
3050
+ "owner": "buildchain-workflows",
3051
+ "maturity": "active",
3052
+ "introducedVersion": "pre-3.0.2-alpha.4",
3053
+ "compatibilityPromise": "preserved-through-the-v3-major-line",
3054
+ "deprecationReplacement": "",
3055
+ "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
3056
+ "nonDuplicationRationale": "Existing workflow identity retained for caller compatibility and repository orchestration."
3057
+ },
2967
3058
  {
2968
3059
  "id": "v4-public-consumer-dogfood",
2969
3060
  "path": ".github/workflows/v4-public-consumer-dogfood.yml",
@@ -2985,6 +3076,27 @@
2985
3076
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
2986
3077
  "nonDuplicationRationale": "Existing workflow identity retained for caller compatibility and repository orchestration."
2987
3078
  },
3079
+ {
3080
+ "id": "v4-publication-rehearsal-dogfood",
3081
+ "path": ".github/workflows/v4-publication-rehearsal-dogfood.yml",
3082
+ "reusable": false,
3083
+ "inputs": [],
3084
+ "inputCount": 0,
3085
+ "secrets": [],
3086
+ "secretCount": 0,
3087
+ "outputs": [],
3088
+ "outputCount": 0,
3089
+ "surface": "repository-workflow",
3090
+ "capabilityGroup": "api-cli-reference",
3091
+ "status": "active",
3092
+ "owner": "buildchain-workflows",
3093
+ "maturity": "active",
3094
+ "introducedVersion": "pre-3.0.2-alpha.4",
3095
+ "compatibilityPromise": "preserved-through-the-v3-major-line",
3096
+ "deprecationReplacement": "",
3097
+ "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
3098
+ "nonDuplicationRationale": "Existing workflow identity retained for caller compatibility and repository orchestration."
3099
+ },
2988
3100
  {
2989
3101
  "id": "v4-stage-capsule-canary",
2990
3102
  "path": ".github/workflows/v4-stage-capsule-canary.yml",
@@ -3013,6 +3125,38 @@
3013
3125
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
3014
3126
  "nonDuplicationRationale": "Existing workflow identity retained for caller compatibility and repository orchestration."
3015
3127
  },
3128
+ {
3129
+ "id": "v4-tail-reseal",
3130
+ "path": ".github/workflows/v4-tail-reseal.yml",
3131
+ "reusable": true,
3132
+ "inputs": [
3133
+ "artifact-retention-days",
3134
+ "consumer-policy-receipt-json",
3135
+ "macos-finalization-command",
3136
+ "request-json"
3137
+ ],
3138
+ "inputCount": 4,
3139
+ "secrets": [
3140
+ "BUILDCHAIN_EVIDENCE_READ_TOKEN",
3141
+ "BUILDCHAIN_SIGNING_TOKEN"
3142
+ ],
3143
+ "secretCount": 2,
3144
+ "outputs": [
3145
+ "release-candidate-passport-json",
3146
+ "tail-reseal-receipt-root"
3147
+ ],
3148
+ "outputCount": 2,
3149
+ "surface": "repository-workflow",
3150
+ "capabilityGroup": "api-cli-reference",
3151
+ "status": "active",
3152
+ "owner": "buildchain-workflows",
3153
+ "maturity": "active",
3154
+ "introducedVersion": "pre-3.0.2-alpha.4",
3155
+ "compatibilityPromise": "preserved-through-the-v3-major-line",
3156
+ "deprecationReplacement": "",
3157
+ "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
3158
+ "nonDuplicationRationale": "Existing workflow identity retained for caller compatibility and repository orchestration."
3159
+ },
3016
3160
  {
3017
3161
  "id": "verify",
3018
3162
  "path": ".github/workflows/verify.yml",
@@ -3177,6 +3321,7 @@
3177
3321
  "release-passport-promotion-routing-json",
3178
3322
  "release-passport-v4-consumer-policy-certification-json",
3179
3323
  "release-passport-v4-consumer-policy-certification-root",
3324
+ "release-passport-v4-runtime-resume-evidence-command",
3180
3325
  "release-passport-v4-runtime-resume-evidence-json",
3181
3326
  "release-tail-state-path",
3182
3327
  "require-governance",
@@ -3191,7 +3336,7 @@
3191
3336
  "transaction-state-path",
3192
3337
  "verification-command"
3193
3338
  ],
3194
- "inputCount": 83,
3339
+ "inputCount": 84,
3195
3340
  "capabilityGroup": "release-passport-trust",
3196
3341
  "status": "active",
3197
3342
  "owner": "buildchain-actions",
@@ -3206,14 +3351,19 @@
3206
3351
  "id": "release-tail",
3207
3352
  "path": "actions/release-tail/action.yml",
3208
3353
  "inputs": [
3354
+ "candidate-root",
3209
3355
  "declaration",
3210
3356
  "execute",
3211
3357
  "github-token",
3212
3358
  "http-token",
3213
3359
  "provider-bindings",
3360
+ "rehearsal-authority",
3361
+ "rehearsal-capsule",
3362
+ "rehearsal-evidence-path",
3363
+ "rehearsal-mode",
3214
3364
  "state-path"
3215
3365
  ],
3216
- "inputCount": 6,
3366
+ "inputCount": 11,
3217
3367
  "capabilityGroup": "release-passport-trust",
3218
3368
  "status": "active",
3219
3369
  "owner": "buildchain-actions",