@kungfu-tech/buildchain 4.0.1-alpha.4 → 4.0.1-alpha.6

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 (136) hide show
  1. package/actions/release-tail/README.md +8 -0
  2. package/architecture/decisions/0002-next-development-transition.md +101 -0
  3. package/architecture/internal-capabilities.json +117 -8
  4. package/architecture/maintainability-policy.json +38 -20
  5. package/architecture/release-tail-contract-inventory.json +5 -2
  6. package/architecture/v3-core-mechanism-inventory.json +89 -0
  7. package/architecture/v4-adopter-delivery-parity.json +32 -5
  8. package/architecture/v4-capability-state-machine-manifest.json +73 -0
  9. package/architecture/v4-compatibility-facts-parity.json +77 -0
  10. package/architecture/v4-next-development-parity.json +192 -0
  11. package/architecture/v4-publication-rehearsal-parity.json +84 -0
  12. package/architecture/v4-release-train-parity.json +1 -0
  13. package/architecture/v4-tail-reseal-parity.json +150 -0
  14. package/bin/buildchain.mjs +23 -2
  15. package/bin/internal/adopter-delivery-cli.mjs +70 -0
  16. package/bin/internal/command-registry.mjs +3 -0
  17. package/bin/internal/compatibility-facts-cli.mjs +101 -0
  18. package/contracts/fixtures/next-development-transition-v1/anchored-manual-waiting.json +47 -0
  19. package/contracts/fixtures/next-development-transition-v1/semver-auto-planned.json +47 -0
  20. package/contracts/fixtures/next-development-transition-v1/version-model-cases.json +40 -0
  21. package/contracts/fixtures/v4-adopter-delivery-v1/archive-template.json +19 -0
  22. package/contracts/fixtures/v4-adopter-delivery-v1/bootstrap-positive.json +93 -0
  23. package/contracts/fixtures/v4-adopter-delivery-v1/gate-positive.json +29 -0
  24. package/contracts/fixtures/v4-adopter-delivery-v1/gate-unknown-selector.json +26 -0
  25. package/contracts/fixtures/v4-adopter-delivery-v1/offline-vectors.json +50 -0
  26. package/contracts/fixtures/v4-compatibility-facts-v1/shared.json +1129 -0
  27. package/contracts/fixtures/v4-floating-consumer-policy-v1/cases.json +7 -1
  28. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/artifacts/product.bin +1 -0
  29. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/config/buildchain.toml +5 -0
  30. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/documents/release-activation.json +1 -0
  31. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/documents/signed-channel.json +1 -0
  32. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/evidence/qualification.json +1 -0
  33. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/manifests/candidate.json +5 -0
  34. package/contracts/fixtures/v4-publication-rehearsal-v1/candidate/manifests/release-passport.json +1 -0
  35. package/contracts/fixtures/v4-publication-rehearsal-v1/capsule.json +707 -0
  36. package/contracts/fixtures/v4-publication-rehearsal-v1/offline-vectors.json +27 -0
  37. package/contracts/fixtures/v4-tail-reseal-v1/valid.json +229 -0
  38. package/contracts/next-development-request-v1.schema.json +66 -0
  39. package/contracts/next-development-transition-v1.schema.json +292 -0
  40. package/contracts/v4-adopter-delivery-v1.schema.json +81 -0
  41. package/contracts/v4-compatibility-facts-v1.schema.json +230 -0
  42. package/contracts/v4-publication-rehearsal-capsule-v1.schema.json +233 -0
  43. package/contracts/v4-tail-reseal-v1.schema.json +276 -0
  44. package/dist/site/agent-index.json +4 -0
  45. package/dist/site/artifact-schemas.json +8 -0
  46. package/dist/site/buildchain-contract.json +1393 -28
  47. package/dist/site/buildchain-site.json +462 -27
  48. package/dist/site/capability-registry.json +17 -14
  49. package/dist/site/cli-registry.json +159 -1
  50. package/dist/site/kfd-claims.json +429 -15
  51. package/dist/site/kfd-upstream-aggregate.json +1 -1
  52. package/dist/site/manual-registry.json +52 -6
  53. package/dist/site/node-api-registry.json +13972 -9697
  54. package/dist/site/page-registry.json +428 -17
  55. package/dist/site/public-surface-audit.json +429 -11
  56. package/dist/site/publication-authority-registry.json +22 -4
  57. package/dist/site/publication-registry.json +4 -4
  58. package/dist/site/release-provenance.json +21 -0
  59. package/dist/site/schemas/release-tail-capabilities-v1.schema.json +199 -0
  60. package/dist/site/schemas/v4-adopter-delivery-v1.schema.json +81 -0
  61. package/dist/site/schemas/v4-compatibility-facts-v1.schema.json +230 -0
  62. package/dist/site/schemas/v4-publication-rehearsal-capsule-v1.schema.json +233 -0
  63. package/dist/site/site-manifest.json +34 -10
  64. package/dist/site/workflow-registry.json +121 -8
  65. package/docs/MAP.md +7 -2
  66. package/docs/cli-reference.md +193 -0
  67. package/docs/cli.md +8 -0
  68. package/docs/dev-alpha-candidate-patrol.md +8 -0
  69. package/docs/next-development-transition.md +118 -0
  70. package/docs/node-api-reference.md +448 -168
  71. package/docs/release-tail-provider-plane.md +30 -0
  72. package/docs/v4-adopter-delivery.md +133 -0
  73. package/docs/v4-compatibility-facts.md +91 -0
  74. package/docs/v4-publication-rehearsal.md +130 -0
  75. package/docs/v4-tail-reseal.md +73 -0
  76. package/docs/versioning.md +4 -3
  77. package/package.json +29 -6
  78. package/packages/core/adopter-delivery-passport.js +259 -0
  79. package/packages/core/adopter-delivery-vectors.js +158 -0
  80. package/packages/core/adopter-delivery-vectors.json +77 -0
  81. package/packages/core/buildchain-agent-manuals.js +3 -0
  82. package/packages/core/buildchain-compatibility-authority.js +336 -0
  83. package/packages/core/buildchain-compatibility-fact.js +394 -0
  84. package/packages/core/buildchain-compatibility-facts.json +217 -0
  85. package/packages/core/buildchain-compatibility-proof.js +566 -0
  86. package/packages/core/buildchain-config.js +84 -0
  87. package/packages/core/buildchain-contract.js +93 -141
  88. package/packages/core/buildchain-delivery-bootstrap.js +240 -0
  89. package/packages/core/buildchain-delivery-infrastructure.js +164 -0
  90. package/packages/core/buildchain-delivery-self-dogfood.js +395 -0
  91. package/packages/core/channel-candidate.js +8 -0
  92. package/packages/core/channel-promotion-baseline.js +55 -0
  93. package/packages/core/dev-alpha-candidate-selection.js +10 -2
  94. package/packages/core/dev-delivery-execution-transfer.js +21 -1
  95. package/packages/core/dev-delivery-process-boundary.js +19 -6
  96. package/packages/core/dev-delivery-provider-heartbeat.js +18 -6
  97. package/packages/core/kungfu-temporal-fact.js +557 -0
  98. package/packages/core/legacy-kfd-adopter-driver.js +167 -0
  99. package/packages/core/next-development-candidate-reservation.js +186 -0
  100. package/packages/core/next-development-controller.js +728 -0
  101. package/packages/core/next-development-projection.js +287 -0
  102. package/packages/core/next-development-transition.js +738 -0
  103. package/packages/core/paper-agent-entry.js +11 -5
  104. package/packages/core/paper.js +16 -5
  105. package/packages/core/published-delivery-authority.js +266 -0
  106. package/packages/core/release-passport.js +26 -8
  107. package/packages/core/v4-adopter-delivery-parity.js +3 -3
  108. package/packages/core/v4-adopter-delivery.js +359 -0
  109. package/packages/core/v4-canonical-contracts.js +5 -0
  110. package/packages/core/v4-floating-consumer-policy.js +29 -9
  111. package/packages/core/v4-publication-rehearsal-capsule.js +468 -0
  112. package/packages/core/v4-publication-rehearsal-provider-bindings.js +212 -0
  113. package/packages/core/v4-publication-rehearsal.js +481 -0
  114. package/packages/core/v4-tail-reseal-contract.js +26 -0
  115. package/packages/core/v4-tail-reseal-github.js +178 -0
  116. package/packages/core/v4-tail-reseal-receipt.js +225 -0
  117. package/packages/core/v4-tail-reseal.js +594 -0
  118. package/scripts/buildchain-cli-help.mjs +30 -0
  119. package/scripts/check-inventory.mjs +14 -3
  120. package/scripts/dev-alpha-candidate-patrol.mjs +22 -1
  121. package/scripts/dev-delivery-source-proof-replay.mjs +153 -0
  122. package/scripts/dev-delivery-source-proof-reuse.mjs +13 -97
  123. package/scripts/generate-next-development-guidance.mjs +49 -0
  124. package/scripts/generate-release-candidate-passport.mjs +152 -0
  125. package/scripts/generate-site-bundle.mjs +46 -3
  126. package/scripts/init-repo.mjs +22 -4
  127. package/scripts/next-development-self-dogfood-harness.mjs +460 -0
  128. package/scripts/next-development-self-dogfood.mjs +597 -0
  129. package/scripts/next-development-transition.mjs +47 -0
  130. package/scripts/release-tail.mjs +51 -3
  131. package/scripts/resume-from-candidate-run.mjs +545 -15
  132. package/scripts/site-capability-metadata.mjs +28 -0
  133. package/scripts/v4-consumer-policy.mjs +1 -5
  134. package/scripts/v4-publication-rehearsal-fixture.mjs +144 -0
  135. package/scripts/v4-tail-reseal-macos-rehearsal.mjs +134 -0
  136. package/scripts/v4-tail-reseal.mjs +416 -0
@@ -11,3 +11,11 @@ not the adapter, compares the observed subject and target roots, owns retry and
11
11
  terminal classification, checkpoints state and emits the standardized receipt.
12
12
  Tokens remain Action inputs and are never written to the transaction or
13
13
  receipt.
14
+
15
+ When `rehearsal-capsule` is supplied, the same Action switches to the v4
16
+ Publication Rehearsal Capsule boundary. `simulate` and `replay` remain
17
+ effect-disabled. `provider` additionally requires exact capsule-bound
18
+ rehearsal authority, consumes only the capsule-rooted data bindings, and
19
+ records every request/readback while still emitting
20
+ `productionAuthority: false` and no Release Passport. See
21
+ [`docs/v4-publication-rehearsal.md`](../../docs/v4-publication-rehearsal.md).
@@ -0,0 +1,101 @@
1
+ ---
2
+ status: accepted
3
+ period: 2026-08-11
4
+ theme: next-development-transition
5
+ doc_type: architecture-decision-record
6
+ source_level: local-files
7
+ confidence: high
8
+ sensitivity: public
9
+ evidence_grade: A
10
+ review_state: self-reviewed
11
+ last_reviewed: 2026-08-11
12
+ ---
13
+
14
+ # ADR 0002: Alpha Publication and Next-development Are Separate Transactions
15
+
16
+ ## Status
17
+
18
+ Accepted. This decision is normative for Buildchain promotion controllers and
19
+ for generated consumer guidance.
20
+
21
+ ## Context
22
+
23
+ An Alpha publication and preparation of the following development version have
24
+ different trust boundaries. Alpha publication establishes public, immutable
25
+ facts about version N. Preparing N+1 changes repository version material and
26
+ may require a protected pull request or an upstream anchor that does not exist
27
+ when Alpha N completes. Treating both operations as one success condition makes
28
+ a post-publication conflict appear to invalidate a publication that already
29
+ succeeded, and encourages retries to move Alpha refs while repairing Dev.
30
+
31
+ Buildchain supports two legal version models:
32
+
33
+ - `semver` with `next = "auto"`, where N+1 increments the Alpha sequence on
34
+ the same semantic patch; and
35
+ - `anchored` with `next = "manual"`, where no version may be inferred before a
36
+ declared anchor manifest is materialized and rooted.
37
+
38
+ The crossed combinations `semver/manual` and `anchored/auto` have no defined
39
+ meaning and are rejected.
40
+
41
+ ## Decision
42
+
43
+ Alpha publication reaches its own terminal success before a next-development
44
+ transition is created. The transition records the completed Alpha exact tag,
45
+ release commit, tree, publication evidence root, and completion time. A
46
+ deterministic idempotency key covers that completed-Alpha root together with
47
+ the repository, legal version model, and the role-separated adapter path set.
48
+
49
+ The independent next-development state machine is:
50
+
51
+ ```text
52
+ planned ----------------------> materialized -> pr-pending -> merged -> verified
53
+ \ \---------------------------> merged
54
+ -> waiting-anchor ----------> materialized
55
+ ```
56
+
57
+ `semver/auto` derives its target while planned. `anchored/manual` remains in
58
+ `waiting-anchor` until an exact semantic version and the digest of the declared
59
+ anchor manifest are supplied. `pr-pending` is durable incomplete state, not a
60
+ publication failure. Direct materialization may proceed to `merged` or
61
+ `verified` when repository governance does not require a pull request.
62
+
63
+ Every non-initial state transition is compare-and-swap guarded and rooted in
64
+ explicit evidence. Replaying an identical request is a no-op. Alpha outcome is
65
+ always `preserved-success`; no transition may write an Alpha branch, exact tag,
66
+ or floating tag. A controller that needs to repair next-development state may
67
+ write only paths declared by `version.files` and `version.derived_files`; the
68
+ configured anchor manifest is declared read-only authority.
69
+
70
+ ## Local adapter boundary
71
+
72
+ The reference adapter is provider-neutral. It reads the checked-in
73
+ `buildchain.toml`, derives the sorted path allowlist, validates the completed
74
+ Alpha and optional anchor, and plans version-file content. It never invokes Git,
75
+ network clients, lifecycle commands, package registries, or provider APIs.
76
+ Mutation requires explicit `--write`, rejects symlinks and path escapes, and is
77
+ limited to configured `version.files`. The standard repository transaction
78
+ adapter passes the exact target in `BUILDCHAIN_VERSION`, permits changes only
79
+ to `version.files` plus `version.derived_files`, runs
80
+ `lifecycle.version-state` when derived files are declared, and then runs
81
+ `lifecycle.verify`. The reference writer fails closed rather than invoking
82
+ those consumer commands because transaction execution is a separate slice.
83
+ For anchored/manual, the consumer must
84
+ materialize the declared manifest first; the adapter verifies its exact digest
85
+ and does not invent or edit upstream anchor data.
86
+
87
+ Preparing development state alone creates no Git tag, GitHub Release, public
88
+ package, or release candidate.
89
+
90
+ ## Consequences
91
+
92
+ - A completed Alpha N remains successful when N+1 waits for an anchor, a
93
+ protected PR, merge, or verification.
94
+ - Retrying development preparation cannot republish Alpha N or change any
95
+ Alpha ref.
96
+ - Semver and anchored consumers share one lifecycle while retaining their
97
+ distinct version authority.
98
+ - Provider adapters may project pull-request identifiers and merge evidence,
99
+ but those observations do not become part of the local mutation authority.
100
+ - Generated config, Agent instructions, and public documentation are checked
101
+ against the same constants; projection drift fails repository checks.
@@ -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",
@@ -105,8 +118,20 @@
105
118
  "crates/buildchain-v4-contracts/src/stable_publication_fence.rs",
106
119
  "packages/core/v4-partial-mutation-recovery-qualification.js",
107
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",
108
131
  "packages/core/v4-adopter-delivery-parity.js",
109
- "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"
110
135
  ],
111
136
  "ownershipRules": [
112
137
  {
@@ -450,6 +475,22 @@
450
475
  "docs/release-tail-provider-plane.md"
451
476
  ]
452
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
+ },
453
494
  {
454
495
  "id": "v4-delivery-authority",
455
496
  "owner": "Buildchain protected delivery maintainers",
@@ -512,6 +553,65 @@
512
553
  "docs/dev-delivery-qualification-landing-adr.md"
513
554
  ]
514
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
+ },
515
615
  {
516
616
  "id": "v4-architecture-governance",
517
617
  "owner": "Buildchain architecture maintainers",
@@ -526,9 +626,14 @@
526
626
  "packages/core/v4-release-activation-shadow.js",
527
627
  "packages/core/v4-stable-publication-fence.js",
528
628
  "packages/core/v4-partial-mutation-recovery-qualification.js",
529
- "packages/core/v4-adopter-delivery-parity.js",
530
629
  "packages/core/v4-runtime-ref-resume-authority.js",
531
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",
532
637
  "packages/core/v4-stage-capsule.js",
533
638
  "packages/core/v4-stage-capsule-store.js",
534
639
  "packages/core/v4-stage-capsule-local-store.js",
@@ -546,8 +651,7 @@
546
651
  "crates/buildchain-v4-contracts/src/release_activation_shadow/model.rs",
547
652
  "crates/buildchain-v4-contracts/src/release_activation_shadow/journal.rs",
548
653
  "crates/buildchain-v4-contracts/src/stable_publication_fence.rs",
549
- "crates/buildchain-v4-contracts/src/partial_mutation_recovery.rs",
550
- "crates/buildchain-v4-contracts/src/adopter_delivery.rs"
654
+ "crates/buildchain-v4-contracts/src/partial_mutation_recovery.rs"
551
655
  ],
552
656
  "tests": [
553
657
  "tests/v4-architecture.test.mjs",
@@ -561,8 +665,9 @@
561
665
  "tests/v4-stage-capsule-store.test.mjs",
562
666
  "tests/v4-platform-stage-checkpoints.test.mjs",
563
667
  "tests/v4-stage-capsule-qualification.test.mjs",
564
- "tests/v4-adopter-delivery-parity.test.mjs",
565
- "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"
566
671
  ],
567
672
  "contracts": [
568
673
  "architecture/v4-architecture-constitution.md",
@@ -579,7 +684,6 @@
579
684
  "architecture/v4-stage-capsule-store-contract.json",
580
685
  "architecture/v4-platform-stage-checkpoints.json",
581
686
  "architecture/v4-stage-capsule-qualification.json",
582
- "architecture/v4-adopter-delivery-parity.json",
583
687
  "architecture/v4-runtime-ref-resume-authority.json",
584
688
  "contracts/v4-host-contract-v1.schema.json",
585
689
  "contracts/v4-provider-operation-journal-v1.schema.json",
@@ -597,8 +701,13 @@
597
701
  "contracts/fixtures/v4-partial-mutation-recovery-v1/shared.json",
598
702
  "contracts/v4-runtime-ref-resume-authority-v1.schema.json",
599
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",
600
708
  "docs/v4-stage-capsule.md",
601
- "docs/v4-runtime-ref-resume-authority.md"
709
+ "docs/v4-runtime-ref-resume-authority.md",
710
+ "docs/v4-tail-reseal.md"
602
711
  ]
603
712
  }
604
713
  ]
@@ -5,12 +5,13 @@
5
5
  "enforcementRevision": "5308189b09bcb5a1314195412f2807a40d678838",
6
6
  "repositoryBudgets": {
7
7
  "baselineRevision": "c70e6ac28431888b24fefc218246cc69f8dde85a",
8
- "maxHandMaintainedSourceFiles": 384,
9
- "maxHandMaintainedSourceLines": 146550,
10
- "maxWorkflowFiles": 71,
11
- "maxWorkflowLines": 25259,
12
- "latestTransition": "Delivery authority now migrates a rechecked live v1 ref with the configured v2 policy, rejects GitHub artifact runtime credentials in candidate ancestry, binds containment comparison to the exact protected-base head, and keeps v2 migration promises out of the v1 workflow contract.",
13
- "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, and heartbeat-loss coordination never invokes GitHub's run-scoped cancellation API where a successor rerun could race. 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. These exact 384-file, 146550-source-line and 25259-workflow-line ceilings cannot grow implicitly."
8
+ "maxHandMaintainedSourceFiles": 422,
9
+ "maxHandMaintainedSourceLines": 158836,
10
+ "maxWorkflowFiles": 75,
11
+ "maxWorkflowLines": 25983,
12
+ "latestTransition": "Floating Alpha bootstrap routes only automatic Alpha self-promotion through the protected Alpha private shell while the old floating shell cannot carry its own repair; stable promotion remains on the public v4 wrapper.",
13
+ "latestTransitionRationale": "One credentialless resolver reuses the published promotion identity authority to bind the floating router and runtime, protected Alpha shell, and exact Alpha lock digest before that shell independently reproduces the external consumer-policy certification. The bounded route adds no manual publication, tag, ref, npm, stable, or public-consumer authority and is removed after the protected workflow promotion advances v4-alpha. These exact 422-file, 158836-source-line, 75-workflow-file and 25983-workflow-line ceilings add no unreviewed headroom or function-budget widening.",
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. These exact 422-file, 158836-source-line, 75-workflow-file and 25983-workflow-line ceilings cannot grow implicitly."
14
15
  },
15
16
  "sourceBudgets": {
16
17
  "newFileLines": 600,
@@ -19,9 +20,21 @@
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,
@@ -84,6 +97,10 @@
84
97
  "packages/core/v4-runtime-selector-persistence.js": {
85
98
  "maxLines": 228,
86
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."
87
104
  }
88
105
  },
89
106
  "approvedExistingDebtTransitions": {
@@ -92,8 +109,8 @@
92
109
  "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."
93
110
  },
94
111
  "actions/promote-buildchain-ref/index.js": {
95
- "maxFunctionLines": 276,
96
- "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."
97
114
  },
98
115
  "actions/promote-buildchain-ref/lib.js": {
99
116
  "maxLines": 6952,
@@ -104,9 +121,9 @@
104
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."
105
122
  },
106
123
  "packages/core/release-passport.js": {
107
- "maxLines": 2958,
124
+ "maxLines": 2976,
108
125
  "maxFunctionLines": 304,
109
- "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."
110
127
  },
111
128
  "packages/core/buildchain-contract.js": {
112
129
  "maxLines": 1096,
@@ -119,8 +136,8 @@
119
136
  "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."
120
137
  },
121
138
  "packages/core/buildchain-config.js": {
122
- "maxLines": 1806,
123
- "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."
124
141
  },
125
142
  "scripts/check-internal-architecture.mjs": {
126
143
  "maxFunctionComplexity": 37,
@@ -131,8 +148,8 @@
131
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."
132
149
  },
133
150
  "scripts/check-inventory.mjs": {
134
- "maxLines": 1486,
135
- "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."
136
153
  },
137
154
  "scripts/generate-channel-promotion-workflow.mjs": {
138
155
  "maxFunctionLines": 290,
@@ -149,8 +166,8 @@
149
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."
150
167
  },
151
168
  "scripts/dev-alpha-candidate-patrol.mjs": {
152
- "maxLines": 1184,
153
- "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."
154
171
  },
155
172
  "scripts/build-contract-core.mjs": {
156
173
  "maxLines": 1229,
@@ -287,6 +304,7 @@
287
304
  "release-passport-promotion-routing-json",
288
305
  "release-passport-v4-consumer-policy-certification-json",
289
306
  "release-passport-v4-consumer-policy-certification-root",
307
+ "release-passport-v4-runtime-resume-evidence-command",
290
308
  "release-passport-v4-runtime-resume-evidence-json",
291
309
  "release-tail-state-path",
292
310
  "require-governance",
@@ -304,7 +322,7 @@
304
322
  "secrets": [],
305
323
  "outputs": []
306
324
  },
307
- "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."
308
326
  },
309
327
  "cli:architecture": {
310
328
  "fromRevision": "5308189b09bcb5a1314195412f2807a40d678838",
@@ -1494,9 +1512,9 @@
1494
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."
1495
1513
  },
1496
1514
  "actions/promote-buildchain-ref/internal/durable-transaction-operations.js#createDurableTransactionOperations": {
1497
- "maxLines": 376,
1515
+ "maxLines": 378,
1498
1516
  "maxComplexity": 1,
1499
- "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."
1500
1518
  },
1501
1519
  "packages/core/paper-npm-bootstrap.js#executePaperNpmBootstrap": {
1502
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
  {
@@ -69,6 +69,11 @@
69
69
  "root": "packages/core",
70
70
  "pattern": "^release-activation-transaction\\.js$"
71
71
  },
72
+ {
73
+ "mechanismId": "next-development-controller",
74
+ "root": "packages/core",
75
+ "pattern": "^next-development-(?:transition|controller|candidate-reservation)\\.js$"
76
+ },
72
77
  {
73
78
  "mechanismId": "publication-authority",
74
79
  "root": "packages/core",
@@ -130,6 +135,90 @@
130
135
  "orphanPolicy": "Every state-bearing mechanism must own source, tests, public surfaces, durable-store disposition, recovery, and v4 migration disposition; missing or ambiguous ownership fails validation."
131
136
  },
132
137
  "mechanisms": [
138
+ {
139
+ "id": "next-development-controller",
140
+ "owner": "Buildchain protected development version plane",
141
+ "writers": [
142
+ "completed Alpha terminal-success schedulers",
143
+ "packages/core/next-development-controller.js"
144
+ ],
145
+ "schemas": [
146
+ "kungfu-buildchain-next-development-transition/v1",
147
+ "kungfu-buildchain-next-development-controller/v1"
148
+ ],
149
+ "stores": [
150
+ "atomic child store keyed by repository and completed-Alpha root",
151
+ "compare-and-swap rooted controller checkpoints"
152
+ ],
153
+ "states": [
154
+ "planned",
155
+ "waiting-anchor",
156
+ "materialized",
157
+ "pr-pending",
158
+ "merged",
159
+ "verified"
160
+ ],
161
+ "events": [
162
+ "schedule",
163
+ "bind-reviewed-anchor",
164
+ "materialize-current-dev",
165
+ "open-protected-version-pr",
166
+ "record-merge",
167
+ "verify-protected-dev-readback"
168
+ ],
169
+ "transitions": [
170
+ "one completed Alpha creates or reuses one deterministic durable child",
171
+ "stale Dev material is superseded before protected delivery",
172
+ "merged reaches verified only after exact source and derived root readback"
173
+ ],
174
+ "recovery": [
175
+ "fresh runners load the durable child and resume the last rooted checkpoint",
176
+ "idempotent materialization operation keys reuse effects after lost responses"
177
+ ],
178
+ "effects": [
179
+ "declared source and derived version material",
180
+ "protected Dev version pull request"
181
+ ],
182
+ "retry": [
183
+ "Dev movement supersedes only the stale materialization attempt",
184
+ "readback mismatch remains merged and retries observation without rebuilding"
185
+ ],
186
+ "invalidation": [
187
+ "completed Alpha identity drift",
188
+ "undeclared changed path",
189
+ "durable compare-and-swap conflict",
190
+ "protected Dev version or root disagreement"
191
+ ],
192
+ "providerReadback": [
193
+ "latest protected Dev SHA",
194
+ "protected version PR status",
195
+ "protected Dev ancestry, target version, source roots, and derived roots"
196
+ ],
197
+ "publicSurfaces": [
198
+ "cli:next-development",
199
+ "export:./next-development-transition",
200
+ "export:./next-development-controller",
201
+ "export:./next-development-projection"
202
+ ],
203
+ "compatibilityCallers": [
204
+ "v4 completed-Alpha schedulers through the atomic store and executor interfaces"
205
+ ],
206
+ "sourcePaths": [
207
+ "packages/core/next-development-transition.js",
208
+ "packages/core/next-development-controller.js",
209
+ "packages/core/next-development-candidate-reservation.js"
210
+ ],
211
+ "testPaths": [
212
+ "tests/next-development-transition.test.mjs",
213
+ "tests/next-development-controller.test.mjs",
214
+ "tests/dev-alpha-candidate-patrol.test.mjs",
215
+ "tests/next-development-self-dogfood.test.mjs"
216
+ ],
217
+ "migrationDisposition": "v4-authoritative-with-public-consumer-lifecycle-proof",
218
+ "unresolved": [
219
+ "provider-specific durable-store retention and workflow wake policy remain caller-owned integration choices"
220
+ ]
221
+ },
133
222
  {
134
223
  "id": "dev-delivery-warrant",
135
224
  "owner": "Buildchain Dev delivery control plane",