@kungfu-tech/buildchain 4.0.1-alpha.0 → 4.0.1-alpha.3

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 (121) hide show
  1. package/AGENTS.md +13 -5
  2. package/actions/promote-buildchain-ref/README.md +11 -6
  3. package/architecture/decisions/0003-two-phase-delivery-warrant.md +152 -0
  4. package/architecture/internal-capabilities.json +105 -2
  5. package/architecture/maintainability-policy.json +218 -19
  6. package/architecture/v3-core-mechanism-inventory.json +2 -0
  7. package/architecture/v4-delivery-authority-parity.json +250 -0
  8. package/architecture/v4-delivery-warrant-shadow-fixtures.json +29 -6
  9. package/architecture/v4-floating-consumer-policy.json +75 -0
  10. package/architecture/v4-floating-consumer-policy.md +32 -0
  11. package/architecture/v4-runtime-ref-resume-authority.json +64 -0
  12. package/architecture/v4-stage-capsule-qualification.json +2 -2
  13. package/bin/buildchain.mjs +9 -1
  14. package/bin/internal/trust-release-release-handlers.mjs +5 -0
  15. package/contracts/dev-delivery-authority-v2.schema.json +662 -0
  16. package/contracts/fixtures/v4-floating-consumer-policy-v1/cases.json +53 -0
  17. package/contracts/fixtures/v4-runtime-ref-resume-authority-v1/scenario.json +15 -0
  18. package/contracts/v4-floating-consumer-policy-receipt-v1.schema.json +105 -0
  19. package/contracts/v4-runtime-ref-resume-authority-v1.schema.json +235 -0
  20. package/dist/site/agent-index.json +1 -0
  21. package/dist/site/artifact-schemas.json +2 -0
  22. package/dist/site/buildchain-contract.json +186 -33
  23. package/dist/site/buildchain-site.json +229 -32
  24. package/dist/site/capability-registry.json +3 -3
  25. package/dist/site/cli-registry.json +46 -2
  26. package/dist/site/controller-registry.json +62 -6
  27. package/dist/site/kfd-claims.json +105 -16
  28. package/dist/site/kfd-upstream-aggregate.json +1 -1
  29. package/dist/site/manual-registry.json +7 -7
  30. package/dist/site/node-api-registry.json +7491 -5290
  31. package/dist/site/page-registry.json +218 -21
  32. package/dist/site/public-surface-audit.json +412 -20
  33. package/dist/site/publication-registry.json +4 -4
  34. package/dist/site/release-provenance.json +4 -0
  35. package/dist/site/schemas/dev-delivery-authority-v2.schema.json +662 -0
  36. package/dist/site/site-manifest.json +11 -11
  37. package/dist/site/workflow-registry.json +63 -19
  38. package/docs/MAP.md +3 -0
  39. package/docs/cli-reference.md +211 -13
  40. package/docs/dev-delivery-qualification-landing-adr.md +251 -0
  41. package/docs/dev-delivery-warrant.md +336 -30
  42. package/docs/lifecycle-protocol.md +41 -0
  43. package/docs/node-api-reference.md +319 -186
  44. package/docs/reusable-build-surface.md +41 -0
  45. package/docs/runtime-train-validation.md +10 -0
  46. package/docs/v4-runtime-ref-resume-authority.md +69 -0
  47. package/docs/versioning.md +1 -0
  48. package/package.json +10 -4
  49. package/packages/core/artifact-signing.js +61 -0
  50. package/packages/core/buildchain-config.js +66 -1
  51. package/packages/core/buildchain-contract.js +3 -2
  52. package/packages/core/dev-delivery-authority-candidate.js +270 -0
  53. package/packages/core/dev-delivery-authority-evidence.js +146 -0
  54. package/packages/core/dev-delivery-authority-landing.js +461 -0
  55. package/packages/core/dev-delivery-authority-observation.js +48 -0
  56. package/packages/core/dev-delivery-authority-qualification.js +591 -0
  57. package/packages/core/dev-delivery-authority-settlement.js +213 -0
  58. package/packages/core/dev-delivery-authority-state.js +583 -0
  59. package/packages/core/dev-delivery-candidate-identity.js +13 -0
  60. package/packages/core/dev-delivery-contract-surface.js +76 -0
  61. package/packages/core/dev-delivery-execution-failure.js +133 -0
  62. package/packages/core/dev-delivery-execution-transfer.js +572 -0
  63. package/packages/core/dev-delivery-landing-admission-core.js +119 -0
  64. package/packages/core/dev-delivery-landing-readback.js +598 -0
  65. package/packages/core/dev-delivery-landing-terminal-evidence.js +271 -0
  66. package/packages/core/dev-delivery-landing-testing-port.js +6 -0
  67. package/packages/core/dev-delivery-native-execution.js +110 -0
  68. package/packages/core/dev-delivery-native-proof.js +546 -0
  69. package/packages/core/dev-delivery-process-boundary.js +551 -0
  70. package/packages/core/dev-delivery-proof.js +37 -3
  71. package/packages/core/dev-delivery-provider-attempt.js +127 -0
  72. package/packages/core/dev-delivery-provider-heartbeat.js +370 -0
  73. package/packages/core/dev-delivery-warrant-cancellation.js +1 -0
  74. package/packages/core/dev-delivery-warrant-qualification.js +145 -0
  75. package/packages/core/dev-delivery-warrant-settlement.js +237 -36
  76. package/packages/core/dev-delivery-warrant-state.js +565 -0
  77. package/packages/core/dev-delivery-warrant.js +320 -368
  78. package/packages/core/index.js +2 -0
  79. package/packages/core/publication-authority.js +5 -5
  80. package/packages/core/release-candidate.js +79 -19
  81. package/packages/core/release-passport.js +239 -33
  82. package/packages/core/v4-floating-consumer-evidence.js +324 -0
  83. package/packages/core/v4-floating-consumer-policy.js +446 -0
  84. package/packages/core/v4-floating-consumer-release-passport.js +126 -0
  85. package/packages/core/v4-runtime-ref-resume-authority.js +625 -0
  86. package/packages/core/v4-runtime-selector-persistence.js +228 -0
  87. package/packages/core/workflow-yaml-contract.js +48 -0
  88. package/scripts/audit-publication-control-plane.mjs +31 -31
  89. package/scripts/buildchain-cli-help.mjs +11 -2
  90. package/scripts/check-inventory.mjs +1 -1
  91. package/scripts/check-v4-floating-consumer-policy-contract.mjs +198 -0
  92. package/scripts/check-v4-public-dogfood-contract.mjs +6 -11
  93. package/scripts/dev-delivery-authority-command-adapters.mjs +206 -0
  94. package/scripts/dev-delivery-authority-provider.mjs +28 -0
  95. package/scripts/dev-delivery-authority.mjs +490 -0
  96. package/scripts/dev-delivery-native-run.mjs +177 -0
  97. package/scripts/dev-delivery-process-boundary.mjs +260 -0
  98. package/scripts/dev-delivery-proof.mjs +67 -2
  99. package/scripts/dev-delivery-provider-heartbeat.mjs +215 -0
  100. package/scripts/dev-delivery-source-proof-reuse.mjs +631 -0
  101. package/scripts/dev-delivery-two-phase-resume.mjs +345 -0
  102. package/scripts/dev-delivery-two-phase.mjs +573 -0
  103. package/scripts/dev-delivery-warrant-options.mjs +266 -0
  104. package/scripts/dev-delivery-warrant-store.mjs +227 -0
  105. package/scripts/dev-delivery-warrant.mjs +227 -193
  106. package/scripts/dev-pr-auto-merge.mjs +37 -48
  107. package/scripts/dev-pr-delivery-warrant.mjs +215 -2
  108. package/scripts/dev-pr-prequeue-guard.mjs +399 -0
  109. package/scripts/ensure-github-release.mjs +3 -3
  110. package/scripts/generate-channel-build-workflow.mjs +3 -0
  111. package/scripts/generate-channel-promotion-workflow.mjs +112 -12
  112. package/scripts/generate-release-candidate-passport.mjs +41 -33
  113. package/scripts/generate-site-bundle.mjs +26 -4
  114. package/scripts/init-repo.mjs +5 -1
  115. package/scripts/inspect-artifact-signing-requests.mjs +6 -0
  116. package/scripts/npm-publish-transaction.mjs +103 -91
  117. package/scripts/resume-from-candidate-run.mjs +11 -14
  118. package/scripts/seal-artifact-signing-requests.mjs +6 -0
  119. package/scripts/site-capability-metadata.mjs +14 -0
  120. package/scripts/v4-consumer-policy.mjs +231 -0
  121. package/templates/native-dev-delivery.yml +141 -0
package/AGENTS.md CHANGED
@@ -109,12 +109,20 @@ called only by the public reusable workflow and tests. `version-state`,
109
109
  `publish`, provider, signing, release, credential, AWS, and production-reuse
110
110
  effects remain excluded.
111
111
 
112
+ Buildchain v4 workflow calls persisted in tracked source use only `@v4` or
113
+ `@v4-alpha` and retain matching stable and alpha contract locks.
114
+ A source-persisted exact commit SHA, exact default, repository-variable indirection, nested
115
+ composite indirection, missing lock, or stale selected lock fails consumer
116
+ admission. Exact resolved SHAs remain evidence and runtime data, never a durable
117
+ selector.
118
+
112
119
  If public workflow recursion prevents candidate validation, publish the exact
113
- candidate at `train/v4/v4.0/<capability>` and make the thin caller consume that
114
- fully qualified public train ref. Fix failures in the train/public contract;
115
- never solve recursion with an internal exception. After qualification and
116
- protected merge, repin the durable caller to the exact protected commit when
117
- the delivery plan requires it. `pnpm run check` and protected Verify run
120
+ candidate at `train/v4/v4.0/<capability>`, keep the thin caller on `@v4-alpha`,
121
+ and pass the train only through the trusted non-persistent runtime input. Fix
122
+ failures in the train/public contract; never solve recursion with an internal exception.
123
+ Never use a persisted train/SHA selector. After qualification and protected
124
+ merge, the durable caller remains on the floating channel with refreshed dual
125
+ contract locks. `pnpm run check` and protected Verify run
118
126
  `scripts/check-v4-public-dogfood-contract.mjs`; changing this rule, its gate, or
119
127
  the protected caller requires independent `@kungfu-origin` review.
120
128
 
@@ -156,8 +156,10 @@ trusted channel workflow:
156
156
 
157
157
  ```yaml
158
158
  - uses: kungfu-systems/buildchain/actions/promote-buildchain-ref@v3
159
+ env:
160
+ BUILDCHAIN_TAG_UPDATE_TOKEN: ${{ secrets.BUILDCHAIN_PROMOTION_TOKEN }}
159
161
  with:
160
- token: ${{ secrets.BUILDCHAIN_PROMOTION_TOKEN }}
162
+ token: ${{ github.token }}
161
163
  generated-ref-update-token: ${{ github.token }}
162
164
  sha: ${{ github.sha }}
163
165
  target-ref: release/v3/v3.0
@@ -511,11 +513,14 @@ governance semantics:
511
513
  with either the `verification-command` input or `buildchain.toml`
512
514
  `lifecycle.verify` before any tags or channel refs move.
513
515
 
514
- The reusable promotion workflow keeps governance reads, generated status checks,
515
- and generated ref updates on the run-scoped `github.token`. When branch
516
- protection rejects generated bookkeeping, it supplies `BUILDCHAIN_PROMOTION_TOKEN`
517
- only through `generated-pull-request-token` so the same-repository recovery PR can
518
- be listed or created without broadening the governance client. Protected branch
516
+ The reusable promotion workflow keeps governance reads, provider finalization,
517
+ generated status checks, and generated ref updates on the run-scoped
518
+ `github.token`. It exposes `BUILDCHAIN_PROMOTION_TOKEN` only through the
519
+ step-scoped `BUILDCHAIN_TAG_UPDATE_TOKEN` environment variable and the
520
+ `generated-pull-request-token`: the former creates or moves public release tags,
521
+ while the latter lists or creates the
522
+ same-repository recovery PR when branch protection rejects generated bookkeeping.
523
+ Protected branch
519
524
  review and check rules guard human channel merges, while the reusable build trust
520
525
  gate checks the source-lock channel HEAD and merged same-repository PR lineage
521
526
  before heavy build runners start. This action still independently rechecks PR
@@ -0,0 +1,152 @@
1
+ ---
2
+ status: accepted
3
+ period: 2026-08-11
4
+ theme: two-phase-delivery-warrant
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-15
12
+ ---
13
+
14
+ # ADR 0003: Delivery Order Is Reserved Before Native Qualification
15
+
16
+ ## Status
17
+
18
+ Accepted. This decision is normative for the v3 Delivery Warrant state machine,
19
+ reusable delivery workflows, and generated native consumer workflows.
20
+
21
+ ## Context
22
+
23
+ A slow native pull request can pass source acceptance, obtain approval, and then
24
+ spend long enough in platform qualification for the protected dev base to move
25
+ many times. Requiring all native shards to finish before the pull request owns
26
+ a delivery turn permits a stream of later fast candidates to overtake it.
27
+ Freezing dev or disabling protection would avoid the race only by stopping
28
+ unrelated work or removing the authority that must be proven.
29
+
30
+ Native evidence also has two identities that must not be conflated. Semantic
31
+ source, affected closure, dependency graph, and toolchain determine whether a
32
+ native result remains valid. The current dev commit and replay tree determine
33
+ the final integration composition. A dev-only documentation change should not
34
+ invalidate semantic native evidence, while a change inside the affected closure
35
+ must never be silently reused.
36
+
37
+ ## Decision
38
+
39
+ Delivery Warrant ownership has two phases:
40
+
41
+ ```text
42
+ queued -> provisional --native proof accepted--> qualified -> GitHub merge queue
43
+ | |
44
+ +--failure--------+--> terminal release -> wake next candidate
45
+ +--expiry------------> recovered queue entry with a new fence
46
+ ```
47
+
48
+ Source acceptance, the ready label, current approval, and required source checks
49
+ are established before selection. Selection issues a `provisional` Warrant with
50
+ one TTL, heartbeat protocol, lease generation, and fencing token. It reserves
51
+ the next protected-dev delivery turn but is not merge-queue authority. Later
52
+ pull requests may run source and CI work and remain visible in the durable FIFO
53
+ plus aging queue; none may enter the protected merge queue while another exact
54
+ candidate owns the active Warrant.
55
+
56
+ Native success upgrades the same fenced generation atomically to `qualified`.
57
+ The transition binds a Native Qualification Proof and a rooted reuse decision.
58
+ Only a qualified Warrant may authorize enqueue. The upgrade does not mint a new
59
+ fence and cannot change the PR head or semantic source roots.
60
+
61
+ Native Qualification Proof v3 binds semantic source identity, semantic patch,
62
+ qualification plan, affected closure, dependency graph, toolchain, execution
63
+ environment contract, covered paths, exact shard evidence roots, the dev base
64
+ used for qualification, and the exact native execution receipt. That receipt
65
+ contains the normalized repository, protected base, source head, qualified
66
+ base, toolchain root, and environment root binding established before the
67
+ native process starts. The proof repeats and roots that binding, and includes
68
+ the receipt root in its shard evidence. Its
69
+ timestamp is observational rather than part of proof identity. Reuse on another
70
+ base requires an attributed base delta. Identical base is accepted directly; a
71
+ descendant base with no overlap against the affected closure reuses the proof;
72
+ overlap requires affected or full native revalidation; unknown ancestry,
73
+ truncated attribution, semantic change, closure change, dependency change, or
74
+ toolchain change requires full revalidation.
75
+
76
+ The reusable controller composes the exact PR head with the observed protected
77
+ base before running native work, heartbeats while the command is active, and
78
+ checks base drift after completion. It may perform one automatic revalidation
79
+ on the latest base. Continued overlapping drift fails closed. Native failure,
80
+ cancel, semantic head movement, unrecoverable composition conflict, or exhausted
81
+ revalidation closes only the current fence. The controller then emits a rooted
82
+ `buildchain-dev-delivery-wake` repository event for the next queued candidate.
83
+ Cancellation that prevents cleanup is covered by TTL recovery; the stale worker
84
+ cannot renew or qualify after a new fence is minted.
85
+
86
+ PR-controlled native execution is a credentialless candidate job on a
87
+ GitHub-hosted runner. Its child process and complete `/proc` ancestry receive no
88
+ controller or provider write credential. The ancestry sentinel treats unreadable
89
+ process state as failure and detects generic auth, credential, key, password,
90
+ secret, and token variable names. Only a dependent credentialed finalizer on a
91
+ provider-readback-proven distinct GitHub-hosted job and runner may independently
92
+ verify the content-addressed proof/state transfer, reread the same live fence,
93
+ PR head, and protected base, and qualify or settle the attempt. A successful
94
+ candidate exit is evidence input, not authority to mutate provider state or a
95
+ completion signal by itself. Persistent self-hosted runners are unsupported
96
+ because job ordering alone cannot prove detached-descendant cleanup.
97
+
98
+ GitHub `merge_group` checks and the protected dev ref remain final integration
99
+ authority. No transition disables a check, changes branch protection, force
100
+ updates the Warrant ref, or freezes dev.
101
+
102
+ Required native delivery validates the environment root before candidate
103
+ submission, Warrant selection, checkout/composition, or native process spawn.
104
+ An empty or malformed root is therefore an admission failure, not a terminal
105
+ failure after native capacity has been spent. `off`, `shadow`, and
106
+ `non-native-fast` compatibility does not turn the reusable workflow input into
107
+ an unconditional requirement.
108
+
109
+ ## Compatibility
110
+
111
+ Existing v1 queue documents remain readable. An historical active Warrant that
112
+ does not contain `phase` is interpreted as the former already-qualified shape
113
+ without rewriting its state root. Newly selected Warrants always contain
114
+ `phase: provisional`. Existing `off` and `shadow` workflow modes remain
115
+ available; `required` now enforces the two-phase upgrade. Native Qualification
116
+ Proof v1 and v2 documents remain verifiable as historical evidence, but their
117
+ execution receipts do not bind the environment root. They cannot gain v3 exact
118
+ reuse authority and must be replaced by an explicit native revalidation.
119
+
120
+ In bounded authority mode, every newly issued Landing Warrant requires the
121
+ complete verified-native qualification shape, including the qualification
122
+ contract, execution binding, execution receipt, command, source proof, and native
123
+ proof roots. A migrated `legacy-compatibility-only` qualification may preserve
124
+ the exact already-active historical Landing fence for safe handoff, but it can
125
+ never mint a new Landing Warrant or acquire native proof authority.
126
+
127
+ Elapsed lease time is not provider-stop evidence. Cleanup of an expired Landing
128
+ fence requires a separate independent provider terminal verifier whose rooted
129
+ readback matches the exact state root, candidate, source head, fencing token,
130
+ generation, provider run, and provider job and is fresh for that Warrant
131
+ generation. Caller-asserted, forged, mismatched, nonterminal, or stale readback
132
+ cannot release the exclusive slot.
133
+
134
+ ## Consequences
135
+
136
+ - Slow approved candidates stop starving without serializing development or CI.
137
+ - A provisional receipt is intentionally insufficient for merge admission.
138
+ - Base-only replay churn can reuse native evidence when closure attribution is
139
+ complete and disjoint.
140
+ - Overlap and uncertainty spend more native compute but cannot create an
141
+ unproven protected-dev landing.
142
+ - Consumers need a promotion token that can advance the Warrant state ref and
143
+ emit the wake event, plus a native command or an exact reusable proof.
144
+ - Invalid required-native environment inputs fail before they can allocate a
145
+ Warrant or native runner time.
146
+ - Legacy unbound native evidence remains readable but intentionally spends a
147
+ new validation run before qualification.
148
+ - Candidate execution remains credentialless; credentialed readback,
149
+ qualification, and settlement happen only in a distinct, live-evidenced fresh
150
+ GitHub-hosted finalizer job after candidate job completion.
151
+ - Expired Landing cleanup is rooted in exact independent provider readback, not
152
+ a timeout or the controller's own assertion.
@@ -48,6 +48,8 @@
48
48
  "scripts/v4-bridge-evidence.mjs",
49
49
  "scripts/v4-host-adapter.mjs",
50
50
  "crates/buildchain-v4-bridge/src/main.rs",
51
+ "packages/core/v4-runtime-ref-resume-authority.js",
52
+ "packages/core/v4-runtime-selector-persistence.js",
51
53
  "packages/core/v4-provider-operation-journal.js",
52
54
  "packages/core/v4-stage-capsule.js",
53
55
  "packages/core/v4-stage-capsule-store.js",
@@ -57,6 +59,38 @@
57
59
  "packages/core/v4-stage-capsule-qualification.js",
58
60
  "packages/core/v4-stage-capsule-qualification-campaign.js",
59
61
  "scripts/v4-stage-capsule-qualification.mjs",
62
+ "packages/core/dev-delivery-warrant.js",
63
+ "packages/core/dev-delivery-warrant-state.js",
64
+ "packages/core/dev-delivery-warrant-qualification.js",
65
+ "packages/core/dev-delivery-native-proof.js",
66
+ "packages/core/dev-delivery-native-execution.js",
67
+ "packages/core/dev-delivery-execution-failure.js",
68
+ "packages/core/dev-delivery-execution-transfer.js",
69
+ "packages/core/dev-delivery-process-boundary.js",
70
+ "packages/core/dev-delivery-contract-surface.js",
71
+ "packages/core/dev-delivery-authority-candidate.js",
72
+ "packages/core/dev-delivery-authority-evidence.js",
73
+ "packages/core/dev-delivery-authority-state.js",
74
+ "packages/core/dev-delivery-authority-qualification.js",
75
+ "packages/core/dev-delivery-authority-landing.js",
76
+ "packages/core/dev-delivery-landing-admission-core.js",
77
+ "packages/core/dev-delivery-authority-settlement.js",
78
+ "packages/core/dev-delivery-landing-readback.js",
79
+ "packages/core/dev-delivery-landing-terminal-evidence.js",
80
+ "packages/core/dev-delivery-landing-testing-port.js",
81
+ "packages/core/dev-delivery-provider-attempt.js",
82
+ "packages/core/dev-delivery-provider-heartbeat.js",
83
+ "scripts/dev-delivery-warrant.mjs",
84
+ "scripts/dev-delivery-warrant-options.mjs",
85
+ "scripts/dev-delivery-warrant-store.mjs",
86
+ "scripts/dev-delivery-authority.mjs",
87
+ "scripts/dev-delivery-authority-command-adapters.mjs",
88
+ "scripts/dev-delivery-authority-provider.mjs",
89
+ "scripts/dev-delivery-native-run.mjs",
90
+ "scripts/dev-delivery-process-boundary.mjs",
91
+ "scripts/dev-delivery-provider-heartbeat.mjs",
92
+ "scripts/dev-delivery-two-phase-resume.mjs",
93
+ "scripts/dev-delivery-two-phase.mjs",
60
94
  "crates/buildchain-v4-contracts/src/stage_capsule.rs",
61
95
  "crates/buildchain-v4-contracts/src/stage_capsule_store.rs",
62
96
  "crates/buildchain-v4-contracts/src/provider_operation_journal.rs",
@@ -416,6 +450,68 @@
416
450
  "docs/release-tail-provider-plane.md"
417
451
  ]
418
452
  },
453
+ {
454
+ "id": "v4-delivery-authority",
455
+ "owner": "Buildchain protected delivery maintainers",
456
+ "implementation": [
457
+ "packages/core/dev-delivery-warrant.js",
458
+ "packages/core/dev-delivery-warrant-state.js",
459
+ "packages/core/dev-delivery-warrant-qualification.js",
460
+ "packages/core/dev-delivery-native-proof.js",
461
+ "packages/core/dev-delivery-native-execution.js",
462
+ "packages/core/dev-delivery-execution-failure.js",
463
+ "packages/core/dev-delivery-execution-transfer.js",
464
+ "packages/core/dev-delivery-process-boundary.js",
465
+ "packages/core/dev-delivery-contract-surface.js",
466
+ "packages/core/dev-delivery-authority-candidate.js",
467
+ "packages/core/dev-delivery-authority-evidence.js",
468
+ "packages/core/dev-delivery-authority-state.js",
469
+ "packages/core/dev-delivery-authority-qualification.js",
470
+ "packages/core/dev-delivery-authority-landing.js",
471
+ "packages/core/dev-delivery-landing-admission-core.js",
472
+ "packages/core/dev-delivery-authority-settlement.js",
473
+ "packages/core/dev-delivery-landing-readback.js",
474
+ "packages/core/dev-delivery-landing-terminal-evidence.js",
475
+ "packages/core/dev-delivery-landing-testing-port.js",
476
+ "packages/core/dev-delivery-provider-attempt.js",
477
+ "packages/core/dev-delivery-provider-heartbeat.js",
478
+ "scripts/dev-delivery-warrant.mjs",
479
+ "scripts/dev-delivery-warrant-options.mjs",
480
+ "scripts/dev-delivery-warrant-store.mjs",
481
+ "scripts/dev-delivery-authority.mjs",
482
+ "scripts/dev-delivery-authority-command-adapters.mjs",
483
+ "scripts/dev-delivery-authority-provider.mjs",
484
+ "scripts/dev-delivery-native-run.mjs",
485
+ "scripts/dev-delivery-process-boundary.mjs",
486
+ "scripts/dev-delivery-provider-heartbeat.mjs",
487
+ "scripts/dev-delivery-two-phase-resume.mjs",
488
+ "scripts/dev-delivery-two-phase.mjs"
489
+ ],
490
+ "tests": [
491
+ "tests/dev-delivery-warrant.test.mjs",
492
+ "tests/dev-delivery-warrant-command.test.mjs",
493
+ "tests/dev-delivery-two-phase.test.mjs",
494
+ "tests/dev-delivery-two-phase-run.test.mjs",
495
+ "tests/dev-delivery-native-run.test.mjs",
496
+ "tests/dev-delivery-process-boundary.test.mjs",
497
+ "tests/dev-delivery-process-boundary-negative.test.mjs",
498
+ "tests/dev-delivery-provider-heartbeat.test.mjs",
499
+ "tests/dev-delivery-authority.test.mjs",
500
+ "tests/build-surface.test.mjs",
501
+ "tests/v4-delivery-authority-parity.test.mjs"
502
+ ],
503
+ "contracts": [
504
+ "architecture/v4-delivery-authority-parity.json",
505
+ "architecture/decisions/0003-two-phase-delivery-warrant.md",
506
+ "contracts/dev-delivery-authority-v2.schema.json",
507
+ "dist/site/schemas/dev-delivery-authority-v2.schema.json",
508
+ ".github/workflows/dev-pr-auto-merge.yml",
509
+ ".github/workflows/buildchain-dev-delivery.yml",
510
+ "templates/native-dev-delivery.yml",
511
+ "docs/dev-delivery-warrant.md",
512
+ "docs/dev-delivery-qualification-landing-adr.md"
513
+ ]
514
+ },
419
515
  {
420
516
  "id": "v4-architecture-governance",
421
517
  "owner": "Buildchain architecture maintainers",
@@ -431,6 +527,8 @@
431
527
  "packages/core/v4-stable-publication-fence.js",
432
528
  "packages/core/v4-partial-mutation-recovery-qualification.js",
433
529
  "packages/core/v4-adopter-delivery-parity.js",
530
+ "packages/core/v4-runtime-ref-resume-authority.js",
531
+ "packages/core/v4-runtime-selector-persistence.js",
434
532
  "packages/core/v4-stage-capsule.js",
435
533
  "packages/core/v4-stage-capsule-store.js",
436
534
  "packages/core/v4-stage-capsule-local-store.js",
@@ -463,7 +561,8 @@
463
561
  "tests/v4-stage-capsule-store.test.mjs",
464
562
  "tests/v4-platform-stage-checkpoints.test.mjs",
465
563
  "tests/v4-stage-capsule-qualification.test.mjs",
466
- "tests/v4-adopter-delivery-parity.test.mjs"
564
+ "tests/v4-adopter-delivery-parity.test.mjs",
565
+ "tests/v4-runtime-ref-resume-authority.test.mjs"
467
566
  ],
468
567
  "contracts": [
469
568
  "architecture/v4-architecture-constitution.md",
@@ -481,6 +580,7 @@
481
580
  "architecture/v4-platform-stage-checkpoints.json",
482
581
  "architecture/v4-stage-capsule-qualification.json",
483
582
  "architecture/v4-adopter-delivery-parity.json",
583
+ "architecture/v4-runtime-ref-resume-authority.json",
484
584
  "contracts/v4-host-contract-v1.schema.json",
485
585
  "contracts/v4-provider-operation-journal-v1.schema.json",
486
586
  "contracts/v4-release-activation-shadow-v1.schema.json",
@@ -495,7 +595,10 @@
495
595
  "contracts/fixtures/v4-release-activation-shadow-v1/shared.json",
496
596
  "contracts/fixtures/v4-stable-publication-fence-v1/shared.json",
497
597
  "contracts/fixtures/v4-partial-mutation-recovery-v1/shared.json",
498
- "docs/v4-stage-capsule.md"
598
+ "contracts/v4-runtime-ref-resume-authority-v1.schema.json",
599
+ "contracts/fixtures/v4-runtime-ref-resume-authority-v1/scenario.json",
600
+ "docs/v4-stage-capsule.md",
601
+ "docs/v4-runtime-ref-resume-authority.md"
499
602
  ]
500
603
  }
501
604
  ]