@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
@@ -6,6 +6,10 @@
6
6
  "bin/internal",
7
7
  "packages/core/release-passport.js",
8
8
  "packages/core/buildchain-contract.js",
9
+ "packages/core/kungfu-temporal-fact.js",
10
+ "packages/core/buildchain-compatibility-fact.js",
11
+ "packages/core/buildchain-compatibility-authority.js",
12
+ "packages/core/buildchain-compatibility-proof.js",
9
13
  "packages/core/workflow-call-contract.js",
10
14
  "packages/core/workflow-yaml-contract.js",
11
15
  "packages/core/paper-fleet.js",
@@ -26,6 +30,9 @@
26
30
  "packages/core/release-tail-provider-plane.js",
27
31
  "packages/core/release-tail-provider-adapters.js",
28
32
  "packages/core/release-tail-compatibility.js",
33
+ "packages/core/v4-publication-rehearsal-capsule.js",
34
+ "packages/core/v4-publication-rehearsal-provider-bindings.js",
35
+ "packages/core/v4-publication-rehearsal.js",
29
36
  "actions/release-tail/index.js",
30
37
  "scripts/authorize-promotion-runtime-override.cjs",
31
38
  "scripts/build-contract-core.mjs",
@@ -50,6 +57,12 @@
50
57
  "crates/buildchain-v4-bridge/src/main.rs",
51
58
  "packages/core/v4-runtime-ref-resume-authority.js",
52
59
  "packages/core/v4-runtime-selector-persistence.js",
60
+ "packages/core/v4-tail-reseal-contract.js",
61
+ "packages/core/v4-tail-reseal.js",
62
+ "packages/core/v4-tail-reseal-github.js",
63
+ "packages/core/v4-tail-reseal-receipt.js",
64
+ "scripts/v4-tail-reseal.mjs",
65
+ "scripts/v4-tail-reseal-macos-rehearsal.mjs",
53
66
  "packages/core/v4-provider-operation-journal.js",
54
67
  "packages/core/v4-stage-capsule.js",
55
68
  "packages/core/v4-stage-capsule-store.js",
@@ -59,6 +72,38 @@
59
72
  "packages/core/v4-stage-capsule-qualification.js",
60
73
  "packages/core/v4-stage-capsule-qualification-campaign.js",
61
74
  "scripts/v4-stage-capsule-qualification.mjs",
75
+ "packages/core/dev-delivery-warrant.js",
76
+ "packages/core/dev-delivery-warrant-state.js",
77
+ "packages/core/dev-delivery-warrant-qualification.js",
78
+ "packages/core/dev-delivery-native-proof.js",
79
+ "packages/core/dev-delivery-native-execution.js",
80
+ "packages/core/dev-delivery-execution-failure.js",
81
+ "packages/core/dev-delivery-execution-transfer.js",
82
+ "packages/core/dev-delivery-process-boundary.js",
83
+ "packages/core/dev-delivery-contract-surface.js",
84
+ "packages/core/dev-delivery-authority-candidate.js",
85
+ "packages/core/dev-delivery-authority-evidence.js",
86
+ "packages/core/dev-delivery-authority-state.js",
87
+ "packages/core/dev-delivery-authority-qualification.js",
88
+ "packages/core/dev-delivery-authority-landing.js",
89
+ "packages/core/dev-delivery-landing-admission-core.js",
90
+ "packages/core/dev-delivery-authority-settlement.js",
91
+ "packages/core/dev-delivery-landing-readback.js",
92
+ "packages/core/dev-delivery-landing-terminal-evidence.js",
93
+ "packages/core/dev-delivery-landing-testing-port.js",
94
+ "packages/core/dev-delivery-provider-attempt.js",
95
+ "packages/core/dev-delivery-provider-heartbeat.js",
96
+ "scripts/dev-delivery-warrant.mjs",
97
+ "scripts/dev-delivery-warrant-options.mjs",
98
+ "scripts/dev-delivery-warrant-store.mjs",
99
+ "scripts/dev-delivery-authority.mjs",
100
+ "scripts/dev-delivery-authority-command-adapters.mjs",
101
+ "scripts/dev-delivery-authority-provider.mjs",
102
+ "scripts/dev-delivery-native-run.mjs",
103
+ "scripts/dev-delivery-process-boundary.mjs",
104
+ "scripts/dev-delivery-provider-heartbeat.mjs",
105
+ "scripts/dev-delivery-two-phase-resume.mjs",
106
+ "scripts/dev-delivery-two-phase.mjs",
62
107
  "crates/buildchain-v4-contracts/src/stage_capsule.rs",
63
108
  "crates/buildchain-v4-contracts/src/stage_capsule_store.rs",
64
109
  "crates/buildchain-v4-contracts/src/provider_operation_journal.rs",
@@ -73,8 +118,20 @@
73
118
  "crates/buildchain-v4-contracts/src/stable_publication_fence.rs",
74
119
  "packages/core/v4-partial-mutation-recovery-qualification.js",
75
120
  "crates/buildchain-v4-contracts/src/partial_mutation_recovery.rs",
121
+ "packages/core/adopter-delivery-gate.js",
122
+ "packages/core/adopter-delivery-passport.js",
123
+ "packages/core/adopter-delivery-vectors.js",
124
+ "packages/core/buildchain-delivery-bootstrap.js",
125
+ "packages/core/buildchain-delivery-infrastructure.js",
126
+ "packages/core/buildchain-delivery-self-dogfood.js",
127
+ "packages/core/kfd-adopter-category-driver.js",
128
+ "packages/core/legacy-kfd-adopter-driver.js",
129
+ "packages/core/published-delivery-authority.js",
130
+ "packages/core/v4-adopter-delivery.js",
76
131
  "packages/core/v4-adopter-delivery-parity.js",
77
- "crates/buildchain-v4-contracts/src/adopter_delivery.rs"
132
+ "crates/buildchain-v4-contracts/src/adopter_delivery.rs",
133
+ "crates/buildchain-v4-contracts/src/compatibility_facts.rs",
134
+ "crates/buildchain-v4-contracts/src/compatibility_facts"
78
135
  ],
79
136
  "ownershipRules": [
80
137
  {
@@ -418,6 +475,143 @@
418
475
  "docs/release-tail-provider-plane.md"
419
476
  ]
420
477
  },
478
+ {
479
+ "id": "v4-publication-rehearsal",
480
+ "owner": "Buildchain publication rehearsal maintainers",
481
+ "implementation": [
482
+ "packages/core/v4-publication-rehearsal-capsule.js",
483
+ "packages/core/v4-publication-rehearsal-provider-bindings.js",
484
+ "packages/core/v4-publication-rehearsal.js"
485
+ ],
486
+ "tests": ["tests/v4-publication-rehearsal.test.mjs"],
487
+ "contracts": [
488
+ "architecture/v4-publication-rehearsal-parity.json",
489
+ "contracts/v4-publication-rehearsal-capsule-v1.schema.json",
490
+ ".github/workflows/v4-publication-rehearsal-dogfood.yml",
491
+ "docs/v4-publication-rehearsal.md"
492
+ ]
493
+ },
494
+ {
495
+ "id": "v4-delivery-authority",
496
+ "owner": "Buildchain protected delivery maintainers",
497
+ "implementation": [
498
+ "packages/core/dev-delivery-warrant.js",
499
+ "packages/core/dev-delivery-warrant-state.js",
500
+ "packages/core/dev-delivery-warrant-qualification.js",
501
+ "packages/core/dev-delivery-native-proof.js",
502
+ "packages/core/dev-delivery-native-execution.js",
503
+ "packages/core/dev-delivery-execution-failure.js",
504
+ "packages/core/dev-delivery-execution-transfer.js",
505
+ "packages/core/dev-delivery-process-boundary.js",
506
+ "packages/core/dev-delivery-contract-surface.js",
507
+ "packages/core/dev-delivery-authority-candidate.js",
508
+ "packages/core/dev-delivery-authority-evidence.js",
509
+ "packages/core/dev-delivery-authority-state.js",
510
+ "packages/core/dev-delivery-authority-qualification.js",
511
+ "packages/core/dev-delivery-authority-landing.js",
512
+ "packages/core/dev-delivery-landing-admission-core.js",
513
+ "packages/core/dev-delivery-authority-settlement.js",
514
+ "packages/core/dev-delivery-landing-readback.js",
515
+ "packages/core/dev-delivery-landing-terminal-evidence.js",
516
+ "packages/core/dev-delivery-landing-testing-port.js",
517
+ "packages/core/dev-delivery-provider-attempt.js",
518
+ "packages/core/dev-delivery-provider-heartbeat.js",
519
+ "scripts/dev-delivery-warrant.mjs",
520
+ "scripts/dev-delivery-warrant-options.mjs",
521
+ "scripts/dev-delivery-warrant-store.mjs",
522
+ "scripts/dev-delivery-authority.mjs",
523
+ "scripts/dev-delivery-authority-command-adapters.mjs",
524
+ "scripts/dev-delivery-authority-provider.mjs",
525
+ "scripts/dev-delivery-native-run.mjs",
526
+ "scripts/dev-delivery-process-boundary.mjs",
527
+ "scripts/dev-delivery-provider-heartbeat.mjs",
528
+ "scripts/dev-delivery-two-phase-resume.mjs",
529
+ "scripts/dev-delivery-two-phase.mjs"
530
+ ],
531
+ "tests": [
532
+ "tests/dev-delivery-warrant.test.mjs",
533
+ "tests/dev-delivery-warrant-command.test.mjs",
534
+ "tests/dev-delivery-two-phase.test.mjs",
535
+ "tests/dev-delivery-two-phase-run.test.mjs",
536
+ "tests/dev-delivery-native-run.test.mjs",
537
+ "tests/dev-delivery-process-boundary.test.mjs",
538
+ "tests/dev-delivery-process-boundary-negative.test.mjs",
539
+ "tests/dev-delivery-provider-heartbeat.test.mjs",
540
+ "tests/dev-delivery-authority.test.mjs",
541
+ "tests/build-surface.test.mjs",
542
+ "tests/v4-delivery-authority-parity.test.mjs"
543
+ ],
544
+ "contracts": [
545
+ "architecture/v4-delivery-authority-parity.json",
546
+ "architecture/decisions/0003-two-phase-delivery-warrant.md",
547
+ "contracts/dev-delivery-authority-v2.schema.json",
548
+ "dist/site/schemas/dev-delivery-authority-v2.schema.json",
549
+ ".github/workflows/dev-pr-auto-merge.yml",
550
+ ".github/workflows/buildchain-dev-delivery.yml",
551
+ "templates/native-dev-delivery.yml",
552
+ "docs/dev-delivery-warrant.md",
553
+ "docs/dev-delivery-qualification-landing-adr.md"
554
+ ]
555
+ },
556
+ {
557
+ "id": "v4-compatibility-facts",
558
+ "owner": "Buildchain compatibility authority maintainers",
559
+ "implementation": [
560
+ "bin/internal/compatibility-facts-cli.mjs",
561
+ "packages/core/kungfu-temporal-fact.js",
562
+ "packages/core/buildchain-compatibility-fact.js",
563
+ "packages/core/buildchain-compatibility-authority.js",
564
+ "packages/core/buildchain-compatibility-proof.js",
565
+ "crates/buildchain-v4-contracts/src/compatibility_facts.rs",
566
+ "crates/buildchain-v4-contracts/src/compatibility_facts/encoding.rs",
567
+ "crates/buildchain-v4-contracts/src/compatibility_facts/fixture.rs",
568
+ "crates/buildchain-v4-contracts/src/compatibility_facts/lifecycle.rs",
569
+ "crates/buildchain-v4-contracts/src/compatibility_facts/verifier.rs"
570
+ ],
571
+ "tests": ["tests/v4-compatibility-facts.test.mjs"],
572
+ "contracts": [
573
+ "architecture/v4-compatibility-facts-parity.json",
574
+ "contracts/v4-compatibility-facts-v1.schema.json",
575
+ "contracts/fixtures/v4-compatibility-facts-v1/shared.json",
576
+ "dist/site/schemas/v4-compatibility-facts-v1.schema.json",
577
+ "docs/v4-compatibility-facts.md"
578
+ ]
579
+ },
580
+ {
581
+ "id": "v4-adopter-delivery",
582
+ "owner": "Buildchain adopter delivery maintainers",
583
+ "implementation": [
584
+ "bin/internal/adopter-delivery-cli.mjs",
585
+ "packages/core/adopter-delivery-gate.js",
586
+ "packages/core/adopter-delivery-passport.js",
587
+ "packages/core/adopter-delivery-vectors.js",
588
+ "packages/core/buildchain-delivery-bootstrap.js",
589
+ "packages/core/buildchain-delivery-infrastructure.js",
590
+ "packages/core/buildchain-delivery-self-dogfood.js",
591
+ "packages/core/kfd-adopter-category-driver.js",
592
+ "packages/core/legacy-kfd-adopter-driver.js",
593
+ "packages/core/published-delivery-authority.js",
594
+ "packages/core/v4-adopter-delivery.js",
595
+ "packages/core/v4-adopter-delivery-parity.js",
596
+ "crates/buildchain-v4-contracts/src/adopter_delivery.rs"
597
+ ],
598
+ "tests": [
599
+ "tests/v4-adopter-delivery.test.mjs",
600
+ "tests/v4-adopter-delivery-parity.test.mjs"
601
+ ],
602
+ "contracts": [
603
+ "architecture/v4-adopter-delivery-parity.json",
604
+ "contracts/v4-adopter-delivery-v1.schema.json",
605
+ "contracts/fixtures/v4-adopter-delivery-v1/archive-template.json",
606
+ "contracts/fixtures/v4-adopter-delivery-v1/bootstrap-positive.json",
607
+ "contracts/fixtures/v4-adopter-delivery-v1/gate-positive.json",
608
+ "contracts/fixtures/v4-adopter-delivery-v1/gate-unknown-selector.json",
609
+ "contracts/fixtures/v4-adopter-delivery-v1/offline-vectors.json",
610
+ ".github/workflows/v4-adopter-delivery.yml",
611
+ ".github/workflows/v4-adopter-delivery-dogfood.yml",
612
+ "docs/v4-adopter-delivery.md"
613
+ ]
614
+ },
421
615
  {
422
616
  "id": "v4-architecture-governance",
423
617
  "owner": "Buildchain architecture maintainers",
@@ -432,9 +626,14 @@
432
626
  "packages/core/v4-release-activation-shadow.js",
433
627
  "packages/core/v4-stable-publication-fence.js",
434
628
  "packages/core/v4-partial-mutation-recovery-qualification.js",
435
- "packages/core/v4-adopter-delivery-parity.js",
436
629
  "packages/core/v4-runtime-ref-resume-authority.js",
437
630
  "packages/core/v4-runtime-selector-persistence.js",
631
+ "packages/core/v4-tail-reseal-contract.js",
632
+ "packages/core/v4-tail-reseal.js",
633
+ "packages/core/v4-tail-reseal-github.js",
634
+ "packages/core/v4-tail-reseal-receipt.js",
635
+ "scripts/v4-tail-reseal.mjs",
636
+ "scripts/v4-tail-reseal-macos-rehearsal.mjs",
438
637
  "packages/core/v4-stage-capsule.js",
439
638
  "packages/core/v4-stage-capsule-store.js",
440
639
  "packages/core/v4-stage-capsule-local-store.js",
@@ -452,8 +651,7 @@
452
651
  "crates/buildchain-v4-contracts/src/release_activation_shadow/model.rs",
453
652
  "crates/buildchain-v4-contracts/src/release_activation_shadow/journal.rs",
454
653
  "crates/buildchain-v4-contracts/src/stable_publication_fence.rs",
455
- "crates/buildchain-v4-contracts/src/partial_mutation_recovery.rs",
456
- "crates/buildchain-v4-contracts/src/adopter_delivery.rs"
654
+ "crates/buildchain-v4-contracts/src/partial_mutation_recovery.rs"
457
655
  ],
458
656
  "tests": [
459
657
  "tests/v4-architecture.test.mjs",
@@ -467,8 +665,9 @@
467
665
  "tests/v4-stage-capsule-store.test.mjs",
468
666
  "tests/v4-platform-stage-checkpoints.test.mjs",
469
667
  "tests/v4-stage-capsule-qualification.test.mjs",
470
- "tests/v4-adopter-delivery-parity.test.mjs",
471
- "tests/v4-runtime-ref-resume-authority.test.mjs"
668
+ "tests/v4-runtime-ref-resume-authority.test.mjs",
669
+ "tests/v4-tail-reseal.test.mjs",
670
+ "tests/v4-tail-reseal-parity.test.mjs"
472
671
  ],
473
672
  "contracts": [
474
673
  "architecture/v4-architecture-constitution.md",
@@ -485,7 +684,6 @@
485
684
  "architecture/v4-stage-capsule-store-contract.json",
486
685
  "architecture/v4-platform-stage-checkpoints.json",
487
686
  "architecture/v4-stage-capsule-qualification.json",
488
- "architecture/v4-adopter-delivery-parity.json",
489
687
  "architecture/v4-runtime-ref-resume-authority.json",
490
688
  "contracts/v4-host-contract-v1.schema.json",
491
689
  "contracts/v4-provider-operation-journal-v1.schema.json",
@@ -503,8 +701,13 @@
503
701
  "contracts/fixtures/v4-partial-mutation-recovery-v1/shared.json",
504
702
  "contracts/v4-runtime-ref-resume-authority-v1.schema.json",
505
703
  "contracts/fixtures/v4-runtime-ref-resume-authority-v1/scenario.json",
704
+ "architecture/v4-tail-reseal-parity.json",
705
+ "contracts/v4-tail-reseal-v1.schema.json",
706
+ "contracts/fixtures/v4-tail-reseal-v1/valid.json",
707
+ ".github/workflows/v4-tail-reseal.yml",
506
708
  "docs/v4-stage-capsule.md",
507
- "docs/v4-runtime-ref-resume-authority.md"
709
+ "docs/v4-runtime-ref-resume-authority.md",
710
+ "docs/v4-tail-reseal.md"
508
711
  ]
509
712
  }
510
713
  ]
@@ -4,13 +4,14 @@
4
4
  "baseline": "architecture/maintainability-baseline.json",
5
5
  "enforcementRevision": "5308189b09bcb5a1314195412f2807a40d678838",
6
6
  "repositoryBudgets": {
7
- "baselineRevision": "c70e6ac28431888b24fefc218246cc69f8dde85a",
8
- "maxHandMaintainedSourceFiles": 353,
9
- "maxHandMaintainedSourceLines": 136936,
10
- "maxWorkflowFiles": 71,
11
- "maxWorkflowLines": 24190,
12
- "latestTransition": "The v4 promotion surface now admits one rooted transient exact-runtime authorization, rejects persisted selector authority, and carries fresh-attempt Stage Capsule reuse lineage into the final Release Passport.",
13
- "rationale": "The existing dev queue Warrant admission, adopter compatibility port, and exact source-proof reuse remain included unchanged. Two bounded runtime-resume modules, one provider authorization adapter, rooted schema and fixtures, workflow admission gates, action and Passport plumbing, capability metadata, and negative tests account for this transition's exact growth. Exact SHAs remain transient, failed jobs are never rerun, unaffected sealed platform capsules are reused by identity, and v3 behavior remains unchanged. These exact 353-file, 136936-source-line and 24190-workflow-line ceilings cannot grow implicitly."
7
+ "baselineRevision": "858dbe00b6206a8f356b4a12d2659bee7a72e71b",
8
+ "maxHandMaintainedSourceFiles": 427,
9
+ "maxHandMaintainedSourceLines": 159840,
10
+ "maxWorkflowFiles": 76,
11
+ "maxWorkflowLines": 26309,
12
+ "latestTransition": "Promotion queries the configured protected check by exact context before verifying its conclusion and provider identity.",
13
+ "latestTransitionRationale": "The provider readback now asks GitHub for only the configured latest check context, preventing more than 100 unrelated runs from crowding a qualifying protected check out of the bounded response. Required context, successful conclusion and configured GitHub App identity remain fail-closed. The repository source metric grows by exactly one line; workflow size does not grow. These exact 427-file, 159840-source-line, 76-workflow-file and 26309-workflow-line ceilings add no unrelated headroom and grant no publication authority.",
14
+ "rationale": "Bounded modules separate candidate, evidence, native proof and execution, canonical failure verification, closed-set execution transfer, process-boundary verification, Warrant state and qualification, authority state, qualification, Landing acquisition, verified-attempt admission, Landing settlement and fence validation, provider attempt and heartbeat readback, sealed terminal evidence, hosted heartbeat, resume, store, options, command-specific adapters, and CLI orchestration responsibilities. The protected delivery workflow gives candidate and seal jobs no provider write credential, recursively rejects transfer drift, scopes every transfer artifact to the exact provider run attempt, chains every durable heartbeat state and receipt root on a distinct hosted runner domain, and permits qualification or exact failure settlement only after the finalizer verifies live jobs and the latest durable authority state. Public Landing admission and heartbeat always perform non-injectable fresh exact-attempt provider readback, tolerate only a not-yet-materialized seal job while retaining exact native and duplicate-job rejection, and heartbeat-loss coordination never invokes GitHub's run-scoped cancellation API where a successor rerun could race. The hosted process boundary anchors trust in the kernel-resolved versioned Runner.Worker path while accepting an equivalent argv-zero spelling with the same basename; its public boundary marker is allowed only at the one exact non-secret value, so a forged value under the same credential-like name still fails closed. The credentialless transfer seal validates the rooted native reuse decision against the Warrant-bound source, closure, dependency, toolchain, environment and command inputs; qualifiedBase stays in the proof and decision where it is rooted and later independently rechecked, rather than being assumed on the Warrant schema. V2 mutation cannot initialize a second empty authority beside a legacy ref: migration reads and roots the canonical live v1 ref, rechecks it, applies the explicit configured v2 policy, and atomically replaces its bytes through one expected-old non-force update, so old v1 controllers fail closed while the prior commit remains immutable history. Candidate ancestry classifies the GitHub artifact runtime token as credential authority. Every Landing settlement, including an unexpired fence, requires product-owned terminal readback. Terminal cleanup reads the immutable historical attempt, derives workflow and hosted Landing job identity from live run data, reads the exact protected ref head and compares containment against that immutable SHA, and seals merged only when the admitted merge-group head is contained by that protected base; a later different-head merge settles the old attempt as dequeued. Terminal normalization preserves transfer, finalizer boundary, native and seal job, admitted provider attempt, protected-base head, containment result, and terminal readback coordinates. The public reusable workflow truthfully retains its single-flight v1 authority without advertising v2 migration, while bounded v2 remains a separate opt-in CLI, Node API, and schema contract; the tracked self-caller stays on public v4-alpha with matching stable and alpha locks, and transient train selection is dispatch-only. Next-development parity adds one versioned transition authority, one durable controller, one bounded reservation adapter, and pure public-contract recovery evidence while retaining the existing thin floating-channel callers byte-for-byte. The floating-consumer gate reuses the existing contract-world evaluator so SHA drift passes only under the selected lock's compatibility policy, breaking surface drift still fails closed, and external certification reconstructs the receipt from the observed workflow SHA rather than the lock's historical evidence SHA. Tail reseal adds no Stage Capsule effect or general rebuild authority: it verifies the exact retained four-platform bytes, admits one known macOS tail failure through live provider readback, fences signing and finalization to explicit credentials and Warrant identity, and requires standard candidate Passport plus provider and protected readback. Compatibility Facts parity isolates canonical encoding, temporal verification, lifecycle validation, fixture projection, public authority projection, and CLI adaptation into bounded modules; legacy digest and proof arrays are derived only from exact current Fact lineage. Publication Rehearsal adds no production release authority: the content-addressed capsule contract binds source, candidate, manifest, config, canonical data-only provider bindings, provider policy, observations and core version separately from filesystem, runtime and rehearsal-only provider authority; simulate, replay and explicitly authorized provider rehearsal all reuse the release-tail planner, while same-commit local dogfood resolves the new reusable contract and exact current runtime before external callers remain on floating v4-alpha. Cross-runtime candidate recovery preserves original runtime and provider roots and creates resume lineage only after exact public ref, tag, ancestry, npm version and integrity readback. Adopter Delivery restores the reviewed public v3 gate, drivers, Passport binding, N-1 bootstrap and exact archive loader through one public v4 surface while keeping provider and release authority explicit non-claims. Floating Alpha bootstrap uses only the existing exact resolver and protected Alpha private shell to move an otherwise stale floating shell, retains public v4 stable promotion, and removes itself after protected readback. CI lane change-budget enforcement adds a bounded parser, evaluator, guard, and tests without creating another merge authority."
14
15
  },
15
16
  "sourceBudgets": {
16
17
  "newFileLines": 600,
@@ -19,14 +20,30 @@
19
20
  "existingDebtPolicy": "no-widening"
20
21
  },
21
22
  "approvedNewFileTransitions": {
23
+ "packages/core/next-development-transition.js": {
24
+ "maxLines": 738,
25
+ "rationale": "The single versioned authority keeps completed-Alpha identity, legal successor models, role-separated adapter bounds, materialization roots, compare-and-swap transitions and deterministic replay validation together. Anchored and manual initial state persists as waiting-anchor after reviewed input and exposes rooted anchor binding plus controller materialization recording; this exact reviewed ceiling cannot grow implicitly."
26
+ },
27
+ "packages/core/next-development-controller.js": {
28
+ "maxLines": 728,
29
+ "rationale": "The durable controller keeps atomic child identity, rooted checkpoints, idempotent materialization operations, latest protected Dev revalidation, PR settlement and exact source and derived root readback in one provider-neutral authority. It exposes no Alpha publication effect and resumes only through injected atomic store and executor boundaries; this exact reviewed ceiling cannot grow implicitly."
30
+ },
31
+ "actions/promote-buildchain-ref/internal/promote-alpha-channel.js": {
32
+ "maxLines": 599,
33
+ "rationale": "The extracted Alpha promotion stage replaces the former non-fast-forward skip with the existing exact-current-Dev regeneration contract, protected PR fallback, and fail-closed workspace binding; this exact reviewed ceiling cannot grow implicitly."
34
+ },
22
35
  "scripts/dev-delivery-source-proof-reuse.mjs": {
23
36
  "maxLines": 631,
24
- "rationale": "The bounded source-proof driver seals one exact PR qualification and verifies either the reviewed two-parent merge or GitHub's exact linear replay by base ancestry, commit count and every intermediate tree. Unknown, nonlinear, extra-commit or tree-drift compositions still fail closed to the full lifecycle, and this exact file ceiling cannot grow implicitly."
37
+ "rationale": "The bounded source-proof driver seals one exact PR qualification and delegates merge-group graph verification to the isolated exact-patch replay module. Unknown, nonlinear, extra-commit, patch-drift or base-divergent compositions still fail closed to the full lifecycle, and this exact file ceiling cannot grow implicitly."
25
38
  },
26
39
  "scripts/dev-pr-prequeue-guard.mjs": {
27
40
  "maxLines": 399,
28
41
  "rationale": "The bounded guard keeps latest-base delta attribution, rooted source-proof reuse classification, synthetic merge composition readback, stable pre-enqueue failures, and the final base, head, queue, and Warrant compare-and-swap outside the legacy Dev PR controller; it cannot mutate the frozen source head or authorize landing by itself, and this exact file ceiling cannot grow implicitly."
29
42
  },
43
+ "scripts/dev-delivery-authority.mjs": {
44
+ "maxLines": 635,
45
+ "rationale": "The explicit authority CLI keeps plan-only and execute transitions, provider-attempt coordinates, expected-old durable state writes, terminal provider readback, and machine-readable output in one compatibility entrypoint while the state-machine implementations remain extracted; this exact file ceiling cannot grow implicitly."
46
+ },
30
47
  "scripts/v4-architecture.mjs": {
31
48
  "maxLines": 610,
32
49
  "rationale": "The v4 architecture validator adds only the bounded production-authority, fallback, rollback, writer-runtime, and legacy-retirement checks required for the final release cutover. This exact reviewed ceiling cannot grow implicitly."
@@ -43,6 +60,14 @@
43
60
  "maxLines": 605,
44
61
  "rationale": "The v4 parity port preserves the reviewed v3 release-blocker claim handoff, root-preserving candidate refresh, deterministic queued ranking and receipt propagation while retaining all prior fencing, lease and terminal semantics; this exact reviewed ceiling cannot grow implicitly."
45
62
  },
63
+ "packages/core/dev-delivery-authority-landing.js": {
64
+ "maxLines": 615,
65
+ "rationale": "The bounded Landing authority module keeps exclusive acquisition, fenced heartbeat, exact merge-group provider-attempt admission, independent expired-provider readback, terminal settlement, and deterministic wake transitions in one audited state-machine seam; this exact file ceiling cannot grow implicitly."
66
+ },
67
+ "packages/core/dev-delivery-landing-admission-core.js": {
68
+ "maxLines": 119,
69
+ "rationale": "The internal transition persists only a provider attempt already derived by the public live GitHub readback boundary, keeping caller-supplied evidence outside the package export graph while preserving deterministic duplicate admission; this exact file ceiling cannot grow implicitly."
70
+ },
46
71
  "packages/core/release-blocker-priority.js": {
47
72
  "maxLines": 193,
48
73
  "rationale": "The v4 parity adapter preserves the reviewed v3 exact dual-landing priority claim, repair-contract parsing and unrelated-work rejection outside the durable Warrant state machine; this exact reviewed ceiling cannot grow implicitly."
@@ -72,16 +97,20 @@
72
97
  "packages/core/v4-runtime-selector-persistence.js": {
73
98
  "maxLines": 228,
74
99
  "rationale": "The isolated source scanner rejects persisted exact, train, authority, variable, secret, and environment selector authority while inventorying OIDC, IAM, and external authority metadata without reading credentials; this exact ceiling cannot grow implicitly."
100
+ },
101
+ "scripts/resume-from-candidate-run.mjs": {
102
+ "maxLines": 1125,
103
+ "rationale": "The candidate recovery adapter retains the existing artifact normalization and immutable recovery receipt boundary while adding fresh authorized cross-runtime Stage Capsule resume material, post-publication ref, tag, ancestry, and npm readback, and rooted Release Passport lineage. Its main orchestration remains below the default function length and complexity limits, and this exact file ceiling cannot grow implicitly."
75
104
  }
76
105
  },
77
106
  "approvedExistingDebtTransitions": {
78
107
  "packages/core/index.js": {
79
- "maxLines": 699,
80
- "rationale": "The public facade forwards the reviewed runtime-resume authority beside the existing declarative release-tail and v4 governance APIs without adding a second implementation or execution path; this exact post-integration ceiling cannot grow implicitly."
108
+ "maxLines": 704,
109
+ "rationale": "The public facade exposes the bounded CI lane change-budget contract beside the existing v4 governance APIs without adding a second implementation or merge authority; this exact post-integration ceiling cannot grow implicitly."
81
110
  },
82
111
  "actions/promote-buildchain-ref/index.js": {
83
- "maxFunctionLines": 276,
84
- "rationale": "The existing action entrypoint forwards one optional rooted v4 runtime-resume evidence document into the already audited durable Passport operation; this one-line terminal widening is exact and cannot grow implicitly."
112
+ "maxFunctionLines": 280,
113
+ "rationale": "The existing action entrypoint forwards the optional rooted v4 runtime-resume material and its trusted post-publication finalizer into the audited durable Passport operation. The exact readable four-line input widening cannot grow implicitly."
85
114
  },
86
115
  "actions/promote-buildchain-ref/lib.js": {
87
116
  "maxLines": 6952,
@@ -92,23 +121,23 @@
92
121
  "rationale": "The runtime entrypoint now binds every compatibility command and alias, including the upstream paper command, through the tested command registry; this exact post-integration wiring ceiling cannot grow implicitly."
93
122
  },
94
123
  "packages/core/release-passport.js": {
95
- "maxLines": 2958,
124
+ "maxLines": 2985,
96
125
  "maxFunctionLines": 304,
97
- "rationale": "Responsibility-owned validators preserve issue ordering, byte-stable reports, upstream release evidence, consumer-policy certification, and the new rooted runtime A+B resume lineage. The optional attachment is normalized and independently reverified before inclusion; these exact post-integration ceilings cannot grow implicitly."
126
+ "rationale": "Responsibility-owned validators preserve issue ordering, byte-stable reports, upstream release evidence, consumer-policy certification, and rooted runtime A+B resume lineage. Tree-equivalent promotion keeps the original built source identity while the optional attachment is normalized and independently reverified before inclusion; these exact post-integration ceilings cannot grow implicitly."
98
127
  },
99
128
  "packages/core/buildchain-contract.js": {
100
- "maxLines": 1095,
129
+ "maxLines": 1096,
101
130
  "maxFunctionLines": 681,
102
131
  "maxFunctionComplexity": 30,
103
- "rationale": "The existing v4 contract evaluator invokes the shared shell-runtime-lock binding before every compatibility or early-success path while preserving the prior contract-world, Release Train, and drift behavior. Its public advanced-workflow projection now declares the two optional expected lane inputs consumed by that unchanged evaluator. This exact public-contract wiring ceiling cannot grow implicitly."
132
+ "rationale": "The existing v4 contract evaluator invokes the shared shell-runtime-lock binding before every compatibility or early-success path while preserving the prior contract-world, Release Train, and drift behavior. Its public projection now includes the bounded dev-delivery workflow surface and declares the optional expected lane inputs consumed by the unchanged evaluator. This exact public-contract wiring ceiling cannot grow implicitly."
104
133
  },
105
134
  "packages/core/github-governance-authority.js": {
106
- "maxLines": 1368,
107
- "rationale": "The publication authority now declares the alpha/v4/v4.0 and release/v4/v4.0 protected channels required for the v4 public train. This exact two-line channel transition cannot grow implicitly."
135
+ "maxLines": 1369,
136
+ "rationale": "The publication authority declares the alpha/v4/v4.0 and release/v4/v4.0 protected channels and the dispatch-only Alpha recovery workflow as protected authority. This exact reviewed ceiling cannot grow implicitly."
108
137
  },
109
138
  "packages/core/buildchain-config.js": {
110
- "maxLines": 1806,
111
- "rationale": "Artifact signing configuration admits only the Buildchain-owned JIT profile with exact safe archive-relative target paths while rejecting credentials, entitlement files, wildcard paths, incompatible artifact kinds, and incomplete declarations; this exact wiring ceiling cannot grow implicitly."
139
+ "maxLines": 1885,
140
+ "rationale": "Artifact signing configuration admits only the Buildchain-owned JIT profile with exact safe archive-relative target paths while rejecting credentials, entitlement files, wildcard paths, incompatible artifact kinds, and incomplete declarations. Publication rehearsal remains effect-disabled. Adopter delivery adds only a closed public contract, exact selectors and repository-relative input, readback, bootstrap, archive and result paths; this exact wiring ceiling cannot grow implicitly."
112
141
  },
113
142
  "scripts/check-internal-architecture.mjs": {
114
143
  "maxFunctionComplexity": 37,
@@ -119,8 +148,8 @@
119
148
  "rationale": "The new-file budget evaluator recognizes only explicit path-scoped transitions with exact ceilings and mandatory rationales; the default budget and every existing no-widening check remain unchanged."
120
149
  },
121
150
  "scripts/check-inventory.mjs": {
122
- "maxLines": 1486,
123
- "rationale": "Inventory retains the recovery, sealed-bundle, no-product-install, and durable-finalization checks, requires the self-dogfood lock to match the current major, and binds every channel-router lane to the exact caller shell without unresolved static channel refs. This exact post-integration ceiling cannot grow implicitly."
151
+ "maxLines": 1497,
152
+ "rationale": "Inventory retains the complete recovery and publication authority set and additionally requires both bounded next-development self-dogfood command and harness files beside the contract, controller, schemas, fixtures, adapter, generated guidance and public documentation; this exact post-integration ceiling cannot grow implicitly."
124
153
  },
125
154
  "scripts/generate-channel-promotion-workflow.mjs": {
126
155
  "maxFunctionLines": 290,
@@ -137,8 +166,8 @@
137
166
  "rationale": "The existing Gate validator admits an explicit bounded long-form duration class while preserving the standard 60-second default and exact capture-to-scene binding; this exact post-integration ceiling cannot grow implicitly."
138
167
  },
139
168
  "scripts/dev-alpha-candidate-patrol.mjs": {
140
- "maxLines": 1184,
141
- "rationale": "The existing single-flight exact-source Alpha controller now idempotently registers repository-selected GitHub auto-merge intent only after settlement revalidation, with explicit merge-method validation and no direct merge or approval path; this exact ceiling cannot grow implicitly."
169
+ "maxLines": 1197,
170
+ "rationale": "The existing single-flight exact-source Alpha controller delegates next-development reservation validation to the bounded core reader, carries the rooted result into selection, and retains the no-publication boundary; this exact ceiling cannot grow implicitly."
142
171
  },
143
172
  "scripts/build-contract-core.mjs": {
144
173
  "maxLines": 1229,
@@ -275,6 +304,7 @@
275
304
  "release-passport-promotion-routing-json",
276
305
  "release-passport-v4-consumer-policy-certification-json",
277
306
  "release-passport-v4-consumer-policy-certification-root",
307
+ "release-passport-v4-runtime-resume-evidence-command",
278
308
  "release-passport-v4-runtime-resume-evidence-json",
279
309
  "release-tail-state-path",
280
310
  "require-governance",
@@ -292,7 +322,7 @@
292
322
  "secrets": [],
293
323
  "outputs": []
294
324
  },
295
- "rationale": "The promote action preserves the independently rooted v4 consumer-policy certification and now accepts one optional verified runtime-resume evidence document for final Release Passport construction; v3 behavior remains unchanged."
325
+ "rationale": "The promote action preserves the independently rooted v4 consumer-policy certification and accepts one optional verified runtime-resume evidence document plus one trusted post-publication finalizer command. The command runs only inside the existing durable Passport finalization boundary after provider effects and public readback; v3 behavior remains unchanged."
296
326
  },
297
327
  "cli:architecture": {
298
328
  "fromRevision": "5308189b09bcb5a1314195412f2807a40d678838",
@@ -419,22 +449,32 @@
419
449
  "dependency-root",
420
450
  "diagnostic-context",
421
451
  "dry-run",
452
+ "environment-root",
422
453
  "expected-head-sha",
423
454
  "expected-pr-number",
455
+ "handoff-workflow-id",
424
456
  "initiative-root",
425
457
  "landing-mode",
458
+ "legacy-active-owner-binding-json",
426
459
  "max-merges",
427
460
  "merge-method",
461
+ "native-command",
462
+ "native-command-root",
463
+ "native-heartbeat-seconds",
464
+ "native-proof-json",
428
465
  "plan-root",
429
466
  "project-cut-proof-json",
430
467
  "queue-admission-context",
431
468
  "ready-label",
469
+ "release-blocker-priority-json",
432
470
  "require-approval",
433
471
  "required-status-checks",
434
472
  "same-repository-only",
435
473
  "shard-evidence-roots-json",
436
474
  "source-identity-root",
437
475
  "source-patch-root",
476
+ "source-workflow-id",
477
+ "source-workflow-run-id",
438
478
  "target-branch",
439
479
  "toolchain-root",
440
480
  "warrant-lease-seconds"
@@ -448,7 +488,13 @@
448
488
  "evaluated-count",
449
489
  "final-base-sha",
450
490
  "merged-count",
491
+ "native-execution-transfer-root",
492
+ "native-proof-root",
493
+ "native-reuse-decision-root",
451
494
  "project-cut-proof-root",
495
+ "provider-finalizer-boundary-root",
496
+ "provider-heartbeat-receipt-root",
497
+ "qualified-warrant-receipt-root",
452
498
  "skipped-count",
453
499
  "source-proof-root",
454
500
  "warrant-receipt-root",
@@ -456,7 +502,7 @@
456
502
  "warrant-state-root"
457
503
  ]
458
504
  },
459
- "rationale": "Extend targeted exact-head admission with an optional rooted Project Cut replay proof and the exact active-lease status context needed to read back the same fenced Warrant before enqueue, while independent approval, required checks, native queue admission, and exact integration proof remain authoritative."
505
+ "rationale": "Add required-mode two-phase native qualification under one provisional fence, exact environment and heartbeat receipt binding, deterministic proof reuse, qualified-Warrant readback, and bounded successor handoff. The execution-transfer and provider-finalizer boundary outputs expose the exact content root and live distinct-job runner readback without exposing credential bytes. The additive legacy-active-owner binding carries exact phase-less state, fence, and generation without requiring a native command contract. Existing off and shadow modes remain explicit, and GitHub merge_group plus the exact Project Cut remain final landing authority."
460
506
  },
461
507
  "workflow:stable-candidate-patrol": {
462
508
  "fromRevision": "5308189b09bcb5a1314195412f2807a40d678838",
@@ -1381,6 +1427,45 @@
1381
1427
  }
1382
1428
  },
1383
1429
  "approvedExtractedDebt": {
1430
+ "packages/core/dev-delivery-authority-candidate.js#normalizeDevDeliveryAuthorityCandidate": {
1431
+ "maxLines": 150,
1432
+ "maxComplexity": 26,
1433
+ "rationale": "The extracted candidate normalizer keeps exact identity, source, proof, Warrant, lease, native-command, priority, and terminal-state validation in one fail-closed audit surface; this exact bounded complexity cannot grow implicitly."
1434
+ },
1435
+ "packages/core/dev-delivery-native-proof.js#validateActiveDevDeliveryWarrant": {
1436
+ "maxLines": 95,
1437
+ "maxComplexity": 29,
1438
+ "rationale": "The extracted active-Warrant validator preserves exact repository, branch, candidate, source, environment, fence, generation, lease, command, and qualification invariants in one auditable proof boundary; this exact bounded complexity cannot grow implicitly."
1439
+ },
1440
+ "packages/core/dev-delivery-execution-transfer.js#verifyNativeExecutionTransfer": {
1441
+ "maxComplexity": 36,
1442
+ "rationale": "The transfer verifier keeps the closed success and failure manifests, normalized job and Warrant bindings, byte digests, proof declarations, and failed-settlement fence in one exact artifact boundary; this reviewed complexity ceiling cannot grow implicitly."
1443
+ },
1444
+ "packages/core/dev-delivery-process-boundary.js#createProviderFinalizerBoundary": {
1445
+ "maxLines": 191,
1446
+ "maxComplexity": 33,
1447
+ "rationale": "The provider boundary verifier keeps distinct job and runner identity, hosted labels, strict timestamps, live PR and protected-ref readback, and the rooted finalizer receipt in one fail-closed audit surface; this reviewed complexity ceiling cannot grow implicitly."
1448
+ },
1449
+ "scripts/dev-delivery-authority.mjs#runDevDeliveryAuthorityCommand": {
1450
+ "maxLines": 151,
1451
+ "maxComplexity": 26,
1452
+ "rationale": "The authority command dispatcher keeps each explicit plan or execute mutation, exact expected-old state write, schema-safe output, and provider terminal-readback verifier injection in one audited command boundary; this exact complexity cannot grow implicitly."
1453
+ },
1454
+ "scripts/dev-delivery-authority.mjs#devDeliveryAuthorityCliOptions": {
1455
+ "maxLines": 220,
1456
+ "maxComplexity": 11,
1457
+ "rationale": "The authority CLI parser keeps the complete explicit flag-to-environment compatibility mapping, including exact provider run and job coordinates for independent expired-Landing readback, in one declarative function while execution remains separately owned; this exact extracted mapping ceiling cannot grow implicitly."
1458
+ },
1459
+ "scripts/dev-delivery-two-phase.mjs#runTwoPhaseDelivery": {
1460
+ "maxLines": 204,
1461
+ "maxComplexity": 35,
1462
+ "rationale": "The two-phase coordinator keeps provisional selection, credentialless native-only execution, post-exit credentialed proof reuse and qualification, heartbeat, landing handoff, and fail-closed cleanup under one fenced transaction; this exact bounded orchestration ceiling cannot grow implicitly."
1463
+ },
1464
+ "scripts/dev-delivery-warrant-options.mjs#devDeliveryCliOptions": {
1465
+ "maxLines": 257,
1466
+ "maxComplexity": 11,
1467
+ "rationale": "The extracted compatibility parser preserves the complete Warrant flag and environment mapping byte-for-byte while storage and command execution remain separately owned; this exact mapping ceiling cannot grow implicitly."
1468
+ },
1384
1469
  "scripts/v4-warrant-shadow-plan.mjs#validatePlan": {
1385
1470
  "maxLines": 182,
1386
1471
  "maxComplexity": 26,
@@ -1427,9 +1512,9 @@
1427
1512
  "rationale": "The existing version-state commit transaction remains nested under its extracted operation factory and is independently regression-tested; this exact inherited ceiling cannot grow."
1428
1513
  },
1429
1514
  "actions/promote-buildchain-ref/internal/durable-transaction-operations.js#createDurableTransactionOperations": {
1430
- "maxLines": 376,
1515
+ "maxLines": 378,
1431
1516
  "maxComplexity": 1,
1432
- "rationale": "Transplanted legacy durable transaction and Passport operations now live in an independently owned module; one semantic durable-material seam lets already-proven contained finalization restore immutable publication facts without accepting a transient rebuilt candidate or inconsistent per-field overrides, and this exact inherited ceiling cannot grow."
1517
+ "rationale": "Transplanted legacy durable transaction and Passport operations remain in one independently owned module. The exact two-line readable widening forwards rooted runtime-resume material and its post-publication finalizer without accepting a transient rebuilt candidate or inconsistent per-field overrides; this ceiling cannot grow implicitly."
1433
1518
  },
1434
1519
  "packages/core/paper-npm-bootstrap.js#executePaperNpmBootstrap": {
1435
1520
  "maxLines": 490,
@@ -41,6 +41,7 @@
41
41
  "release-passport-evidence-command",
42
42
  "release-passport-invariant-passport-command",
43
43
  "release-passport-kfd-3-artifact-verify-command",
44
+ "release-passport-v4-runtime-resume-evidence-command",
44
45
  "verification-command"
45
46
  ],
46
47
  "configAndCliAliases": [
@@ -286,7 +287,8 @@
286
287
  "publicNames": [
287
288
  "release-passport-kfd-3-artifact-verify-command",
288
289
  "release-passport-invariant-passport-command",
289
- "release-passport-attachment-command"
290
+ "release-passport-attachment-command",
291
+ "release-passport-v4-runtime-resume-evidence-command"
290
292
  ],
291
293
  "aliases": [
292
294
  {
@@ -306,7 +308,8 @@
306
308
  "action:actions/promote-buildchain-ref/action.yml#release-passport-kfd-3-artifact-verify-command",
307
309
  "action:actions/promote-buildchain-ref/action.yml#release-passport-invariant-passport-command",
308
310
  "action:actions/promote-buildchain-ref/action.yml#release-passport-attachment-command",
309
- "action:actions/promote-buildchain-ref/action.yml#release-passport-evidence-command"
311
+ "action:actions/promote-buildchain-ref/action.yml#release-passport-evidence-command",
312
+ "action:actions/promote-buildchain-ref/action.yml#release-passport-v4-runtime-resume-evidence-command"
310
313
  ],
311
314
  "executionSites": [
312
315
  {