@kungfu-tech/buildchain 4.1.2 → 4.1.3-alpha.1
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.
- package/CONTRIBUTING.md +7 -4
- package/architecture/action-taxonomy.json +4 -0
- package/architecture/agent-change-map.md +44 -0
- package/architecture/internal-capabilities.json +56 -0
- package/architecture/maintainability-debt.json +2 -1
- package/architecture/maintainability-policy.json +4 -4
- package/architecture/release-topology.json +14 -1
- package/architecture/universal-workflow-bootstrap.json +13 -2
- package/architecture/universal-workflow-capability-policy.json +14 -8
- package/contracts/promotion-invocation-v1.schema.json +6 -3
- package/contracts/promotion-request-v1.schema.json +6 -3
- package/contracts/release-discussion-v1.schema.json +143 -0
- package/dist/readers/release-discussion.cjs +207 -0
- package/dist/site/buildchain-contract.json +15 -11
- package/dist/site/buildchain-site.json +64 -8
- package/dist/site/capability-registry.json +3 -3
- package/dist/site/kfd-claims.json +95 -9
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +1 -1
- package/dist/site/node-api-registry.json +83 -1
- package/dist/site/page-registry.json +59 -3
- package/dist/site/public-surface-audit.json +53 -7
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/release-provenance.json +2 -1
- package/dist/site/site-manifest.json +5 -5
- package/dist/site/workflow-registry.json +79 -7
- package/docs/node-api-reference.md +9 -0
- package/docs/release-discussions.md +193 -0
- package/package.json +10 -6
- package/packages/core/providers/github/discussions/materials.js +157 -0
- package/packages/core/providers/github/discussions/transport.js +126 -0
- package/packages/core/publication/binary/action.js +21 -7
- package/packages/core/release/discussion/actions.js +65 -0
- package/packages/core/release/discussion/binary.js +103 -0
- package/packages/core/release/discussion/checkpoints.js +282 -0
- package/packages/core/release/discussion/envelope.js +142 -0
- package/packages/core/release/discussion/evidence.js +51 -0
- package/packages/core/release/discussion/presentation.js +92 -0
- package/packages/core/release/discussion/publication.js +123 -0
- package/packages/core/release/discussion/qualification.js +122 -0
- package/packages/core/release/discussion/reader-entry.js +11 -0
- package/packages/core/release/discussion/reader.js +177 -0
- package/packages/core/release/discussion/recovery.js +132 -0
- package/packages/core/release/discussion/session.js +115 -0
- package/packages/core/release/discussion/store.js +166 -0
- package/packages/core/release/discussion/threads.js +83 -0
- package/packages/core/release/github-release.js +3 -1
- package/packages/core/release/promote-candidate/action.js +86 -6
- package/packages/core/release/promote-candidate/preparation.js +106 -0
- package/packages/core/release/promote-candidate/product-provider.js +4 -1
- package/packages/core/release/promote-candidate/provider-settlement.js +36 -23
- package/packages/core/release/promote-candidate/transaction.js +55 -97
- package/packages/core/release/promotion/candidate.js +11 -2
- package/packages/core/release/promotion/qualification.js +5 -2
- package/packages/core/release/promotion-request.js +8 -4
- package/packages/core/workflow/engine/execution.js +5 -1
- package/packages/core/workflow/engine/provider-context.js +2 -0
- package/packages/core/workflow/engine/release-observation.js +1 -0
- package/packages/core/workflow/engine/release-promotion.js +38 -26
- package/packages/core/workflow/universal-workflow-bootstrap.js +1 -0
- package/scripts/build-release-discussion-reader.mjs +34 -0
- package/scripts/inventory/binary.mjs +1 -1
- package/scripts/maintainability-metrics.mjs +1 -0
- package/scripts/site-capability-metadata.mjs +1 -0
package/CONTRIBUTING.md
CHANGED
|
@@ -8,11 +8,11 @@ confidence: high
|
|
|
8
8
|
sensitivity: public
|
|
9
9
|
evidence_grade: B
|
|
10
10
|
review_state: unreviewed
|
|
11
|
-
last_reviewed: 2026-09-
|
|
11
|
+
last_reviewed: 2026-09-12
|
|
12
12
|
ai_provenance:
|
|
13
13
|
model_family: GPT-6
|
|
14
14
|
product: Codex
|
|
15
|
-
generated_at: 2026-09-
|
|
15
|
+
generated_at: 2026-09-12
|
|
16
16
|
visible_context: Repository contribution rules and implementation naming and release transition changes.
|
|
17
17
|
invisible_context_boundary: No private credentials or unpublished external release state.
|
|
18
18
|
---
|
|
@@ -158,8 +158,11 @@ release/vX/vX.Y -> publish-gate/major
|
|
|
158
158
|
- Merging into `alpha/*`, `release/*`, or `publish-gate/major` expresses a
|
|
159
159
|
release intent. Buildchain promotion then creates version-state commits,
|
|
160
160
|
exact tags, floating tags, npm publish evidence, and next-alpha state.
|
|
161
|
-
- Manual
|
|
162
|
-
|
|
161
|
+
- Manual alpha publication requires an explicit protected source SHA and passes
|
|
162
|
+
the same source qualification and fresh hosted admission as automatic publication.
|
|
163
|
+
Use `runtime-ref` to select the execution runtime. Set recovery inputs only when
|
|
164
|
+
resuming an existing transaction; a first publication leaves them empty. Stable
|
|
165
|
+
publication continues through the protected automatic channel path.
|
|
163
166
|
|
|
164
167
|
See [`docs/release-governance.md`](docs/release-governance.md),
|
|
165
168
|
[`docs/release-flow.md`](docs/release-flow.md), and
|
|
@@ -346,6 +346,10 @@
|
|
|
346
346
|
},
|
|
347
347
|
"release": {
|
|
348
348
|
"groups": {
|
|
349
|
+
"transaction": {
|
|
350
|
+
"responsibility": "Initialize release intent, append independently owned progress and inspect one durable Discussion across workflow recovery.",
|
|
351
|
+
"operations": ["open", "record", "inspect"]
|
|
352
|
+
},
|
|
349
353
|
"binary": {
|
|
350
354
|
"responsibility": "Resolve coordinates and publish admitted binary assets.",
|
|
351
355
|
"operations": ["coordinates", "publish"]
|
|
@@ -134,6 +134,7 @@ Safe change route: Reduce one declared responsibility in its owning module, run
|
|
|
134
134
|
- `.github/workflows/public-release-promote.yml`
|
|
135
135
|
- `.github/workflows/self-build-verify.yml`
|
|
136
136
|
- `.github/workflows/self-release-promote.yml`
|
|
137
|
+
- `.github/workflows/.release-binary-assets.yml`
|
|
137
138
|
|
|
138
139
|
## action-process-runtime
|
|
139
140
|
|
|
@@ -1629,6 +1630,49 @@ Owner: Buildchain publication promotion transaction maintainers
|
|
|
1629
1630
|
|
|
1630
1631
|
- `node --test tests/release-candidate-promote.test.mjs tests/product-publication-topology.test.mjs tests/publication-settlement.test.mjs`
|
|
1631
1632
|
|
|
1633
|
+
## release-discussion-transactions
|
|
1634
|
+
|
|
1635
|
+
Owner: Buildchain release maintainers
|
|
1636
|
+
|
|
1637
|
+
### Implementation
|
|
1638
|
+
|
|
1639
|
+
- `packages/core/providers/github/discussions/materials.js`
|
|
1640
|
+
- `packages/core/providers/github/discussions/transport.js`
|
|
1641
|
+
- `packages/core/release/discussion/actions.js`
|
|
1642
|
+
- `packages/core/release/discussion/binary.js`
|
|
1643
|
+
- `packages/core/release/discussion/checkpoints.js`
|
|
1644
|
+
- `packages/core/release/discussion/envelope.js`
|
|
1645
|
+
- `packages/core/release/discussion/evidence.js`
|
|
1646
|
+
- `packages/core/release/discussion/presentation.js`
|
|
1647
|
+
- `packages/core/release/discussion/publication.js`
|
|
1648
|
+
- `packages/core/release/discussion/qualification.js`
|
|
1649
|
+
- `packages/core/release/discussion/reader-entry.js`
|
|
1650
|
+
- `packages/core/release/discussion/reader.js`
|
|
1651
|
+
- `packages/core/release/discussion/recovery.js`
|
|
1652
|
+
- `packages/core/release/discussion/session.js`
|
|
1653
|
+
- `packages/core/release/discussion/store.js`
|
|
1654
|
+
- `packages/core/release/discussion/threads.js`
|
|
1655
|
+
|
|
1656
|
+
### Contracts
|
|
1657
|
+
|
|
1658
|
+
- `contracts/release-discussion-v1.schema.json`
|
|
1659
|
+
|
|
1660
|
+
### Tests
|
|
1661
|
+
|
|
1662
|
+
- `tests/release-discussion-materials.test.mjs`
|
|
1663
|
+
- `tests/release-discussion-session.test.mjs`
|
|
1664
|
+
- `tests/release-discussion-threads.test.mjs`
|
|
1665
|
+
- `tests/release-discussion.test.mjs`
|
|
1666
|
+
|
|
1667
|
+
### Generated outputs
|
|
1668
|
+
|
|
1669
|
+
- `dist/readers/release-discussion.cjs`
|
|
1670
|
+
|
|
1671
|
+
### Minimal validation
|
|
1672
|
+
|
|
1673
|
+
- `node --test tests/release-discussion*.test.mjs`
|
|
1674
|
+
- `node scripts/build-release-discussion-reader.mjs --check`
|
|
1675
|
+
|
|
1632
1676
|
## release-line-bootstrap
|
|
1633
1677
|
|
|
1634
1678
|
Owner: Buildchain maintainers
|
|
@@ -459,6 +459,8 @@
|
|
|
459
459
|
"packages/core/providers/github-token.js",
|
|
460
460
|
"packages/core/providers/github/artifact-attestation.js",
|
|
461
461
|
"packages/core/providers/github/commits.js",
|
|
462
|
+
"packages/core/providers/github/discussions/materials.js",
|
|
463
|
+
"packages/core/providers/github/discussions/transport.js",
|
|
462
464
|
"packages/core/providers/github/json-client.js",
|
|
463
465
|
"packages/core/providers/github/product-publication.js",
|
|
464
466
|
"packages/core/providers/github/publication-control-plane.js",
|
|
@@ -566,6 +568,20 @@
|
|
|
566
568
|
"packages/core/release/commands/release-propagation.mjs",
|
|
567
569
|
"packages/core/release/commands/release-tail.mjs",
|
|
568
570
|
"packages/core/release/commands/tail-reseal.mjs",
|
|
571
|
+
"packages/core/release/discussion/actions.js",
|
|
572
|
+
"packages/core/release/discussion/binary.js",
|
|
573
|
+
"packages/core/release/discussion/checkpoints.js",
|
|
574
|
+
"packages/core/release/discussion/envelope.js",
|
|
575
|
+
"packages/core/release/discussion/evidence.js",
|
|
576
|
+
"packages/core/release/discussion/presentation.js",
|
|
577
|
+
"packages/core/release/discussion/publication.js",
|
|
578
|
+
"packages/core/release/discussion/qualification.js",
|
|
579
|
+
"packages/core/release/discussion/reader-entry.js",
|
|
580
|
+
"packages/core/release/discussion/reader.js",
|
|
581
|
+
"packages/core/release/discussion/recovery.js",
|
|
582
|
+
"packages/core/release/discussion/session.js",
|
|
583
|
+
"packages/core/release/discussion/store.js",
|
|
584
|
+
"packages/core/release/discussion/threads.js",
|
|
569
585
|
"packages/core/release/line/action.js",
|
|
570
586
|
"packages/core/release/line/governance.js",
|
|
571
587
|
"packages/core/release/line/plan.js",
|
|
@@ -828,6 +844,11 @@
|
|
|
828
844
|
"scripts/tail-reseal-macos-rehearsal.mjs"
|
|
829
845
|
],
|
|
830
846
|
"ownershipRules": [
|
|
847
|
+
{
|
|
848
|
+
"id": "historical-release-readers",
|
|
849
|
+
"owner": "Buildchain release maintainers",
|
|
850
|
+
"paths": ["dist/readers"]
|
|
851
|
+
},
|
|
831
852
|
{
|
|
832
853
|
"id": "action-runtime-sources",
|
|
833
854
|
"owner": "Buildchain action maintainers",
|
|
@@ -2881,6 +2902,41 @@
|
|
|
2881
2902
|
"validationCommands": [
|
|
2882
2903
|
"node --test tests/build-runtime-recovery.test.mjs"
|
|
2883
2904
|
]
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
"id": "release-discussion-transactions",
|
|
2908
|
+
"owner": "Buildchain release maintainers",
|
|
2909
|
+
"implementation": [
|
|
2910
|
+
"packages/core/providers/github/discussions/materials.js",
|
|
2911
|
+
"packages/core/providers/github/discussions/transport.js",
|
|
2912
|
+
"packages/core/release/discussion/actions.js",
|
|
2913
|
+
"packages/core/release/discussion/binary.js",
|
|
2914
|
+
"packages/core/release/discussion/checkpoints.js",
|
|
2915
|
+
"packages/core/release/discussion/envelope.js",
|
|
2916
|
+
"packages/core/release/discussion/evidence.js",
|
|
2917
|
+
"packages/core/release/discussion/presentation.js",
|
|
2918
|
+
"packages/core/release/discussion/publication.js",
|
|
2919
|
+
"packages/core/release/discussion/qualification.js",
|
|
2920
|
+
"packages/core/release/discussion/reader-entry.js",
|
|
2921
|
+
"packages/core/release/discussion/reader.js",
|
|
2922
|
+
"packages/core/release/discussion/recovery.js",
|
|
2923
|
+
"packages/core/release/discussion/session.js",
|
|
2924
|
+
"packages/core/release/discussion/store.js",
|
|
2925
|
+
"packages/core/release/discussion/threads.js"
|
|
2926
|
+
],
|
|
2927
|
+
"tests": [
|
|
2928
|
+
"tests/release-discussion-materials.test.mjs",
|
|
2929
|
+
"tests/release-discussion-session.test.mjs",
|
|
2930
|
+
"tests/release-discussion-threads.test.mjs",
|
|
2931
|
+
"tests/release-discussion.test.mjs"
|
|
2932
|
+
],
|
|
2933
|
+
"contracts": ["contracts/release-discussion-v1.schema.json"],
|
|
2934
|
+
"publicSurfaces": ["./release-discussion-reader"],
|
|
2935
|
+
"generatedOutputs": ["dist/readers/release-discussion.cjs"],
|
|
2936
|
+
"validationCommands": [
|
|
2937
|
+
"node --test tests/release-discussion*.test.mjs",
|
|
2938
|
+
"node scripts/build-release-discussion-reader.mjs --check"
|
|
2939
|
+
]
|
|
2884
2940
|
}
|
|
2885
2941
|
]
|
|
2886
2942
|
}
|
|
@@ -2244,7 +2244,8 @@
|
|
|
2244
2244
|
".github/workflows/public-release-oci-compose-preview.yml",
|
|
2245
2245
|
".github/workflows/public-release-promote.yml",
|
|
2246
2246
|
".github/workflows/self-build-verify.yml",
|
|
2247
|
-
".github/workflows/self-release-promote.yml"
|
|
2247
|
+
".github/workflows/self-release-promote.yml",
|
|
2248
|
+
".github/workflows/.release-binary-assets.yml"
|
|
2248
2249
|
],
|
|
2249
2250
|
"burnDownSlices": [
|
|
2250
2251
|
{
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
},
|
|
27
27
|
"repositoryBudgets": {
|
|
28
28
|
"baselineRevision": "9569f69c2cb609372b8a3d65ce5dec8fb7b34a84",
|
|
29
|
-
"maxHandMaintainedSourceFiles":
|
|
29
|
+
"maxHandMaintainedSourceFiles": 1308,
|
|
30
30
|
"maxHandMaintainedSourceLines": 203392,
|
|
31
31
|
"maxWorkflowFiles": 68,
|
|
32
|
-
"maxWorkflowLines":
|
|
33
|
-
"latestTransition": "
|
|
34
|
-
"latestTransitionRationale": "
|
|
32
|
+
"maxWorkflowLines": 9805,
|
|
33
|
+
"latestTransition": "Contextual release Discussion roots and evidence attachments.",
|
|
34
|
+
"latestTransitionRationale": "Declare three bounded modules for Discussion thread placement, Markdown presentation and diagnostic evidence. Per-function and debt ceilings are unchanged; independent governance review is required.",
|
|
35
35
|
"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.",
|
|
36
36
|
"governance": "legacy-debt-sunset-2026q4",
|
|
37
37
|
"maxActionDefinitions": 283,
|
|
@@ -138,6 +138,8 @@
|
|
|
138
138
|
"packages/core/governance/buildchain-compatibility-proof.js",
|
|
139
139
|
"packages/core/observability/controller-evidence.js",
|
|
140
140
|
"packages/core/providers/github-cli-api.js",
|
|
141
|
+
"packages/core/providers/github/discussions/materials.js",
|
|
142
|
+
"packages/core/providers/github/discussions/transport.js",
|
|
141
143
|
"packages/core/providers/github/graphql-errors.js",
|
|
142
144
|
"packages/core/providers/github/release-assets.js",
|
|
143
145
|
"packages/core/publication/binary/action.js",
|
|
@@ -161,6 +163,16 @@
|
|
|
161
163
|
"packages/core/publication/settlement/actions.js",
|
|
162
164
|
"packages/core/publication/settlement/transaction.js",
|
|
163
165
|
"packages/core/release/commands/ensure-github-release.mjs",
|
|
166
|
+
"packages/core/release/discussion/binary.js",
|
|
167
|
+
"packages/core/release/discussion/checkpoints.js",
|
|
168
|
+
"packages/core/release/discussion/envelope.js",
|
|
169
|
+
"packages/core/release/discussion/evidence.js",
|
|
170
|
+
"packages/core/release/discussion/presentation.js",
|
|
171
|
+
"packages/core/release/discussion/publication.js",
|
|
172
|
+
"packages/core/release/discussion/reader.js",
|
|
173
|
+
"packages/core/release/discussion/session.js",
|
|
174
|
+
"packages/core/release/discussion/store.js",
|
|
175
|
+
"packages/core/release/discussion/threads.js",
|
|
164
176
|
"packages/core/release/github-provider-plane.js",
|
|
165
177
|
"packages/core/release/github-release.js",
|
|
166
178
|
"packages/core/release/next-development-transition.js",
|
|
@@ -202,6 +214,7 @@
|
|
|
202
214
|
"packages/core/release/promote-candidate/oci-provider.js",
|
|
203
215
|
"packages/core/release/promote-candidate/oci-registry-client.js",
|
|
204
216
|
"packages/core/release/promote-candidate/outputs.js",
|
|
217
|
+
"packages/core/release/promote-candidate/preparation.js",
|
|
205
218
|
"packages/core/release/promote-candidate/product-finalization-wait.js",
|
|
206
219
|
"packages/core/release/promote-candidate/product-provider-adapters.js",
|
|
207
220
|
"packages/core/release/promote-candidate/product-provider-github-adapters.js",
|
|
@@ -233,7 +246,7 @@
|
|
|
233
246
|
"packages/core/runtime/spawn-command.js",
|
|
234
247
|
"packages/core/web/web-surface-publication-candidate.js"
|
|
235
248
|
],
|
|
236
|
-
"root": "sha256:
|
|
249
|
+
"root": "sha256:8c53933d9b9a475bd4961ff64db457ae3043e6e941c8d6c3624c06a0d22392b7"
|
|
237
250
|
},
|
|
238
251
|
"rustWasmAuthority": {
|
|
239
252
|
"loader": "packages/core/runtime/domain-wasm.js",
|
|
@@ -47,7 +47,11 @@
|
|
|
47
47
|
"packages/core/workflow/engine/release-promotion.js",
|
|
48
48
|
"packages/core/workflow/settlement/actions.js",
|
|
49
49
|
"packages/core/workflow/universal-self-dogfood.js",
|
|
50
|
-
"packages/core/workflow/universal-workflow-bootstrap.js"
|
|
50
|
+
"packages/core/workflow/universal-workflow-bootstrap.js",
|
|
51
|
+
"packages/core/release/discussion/qualification.js",
|
|
52
|
+
"packages/core/release/discussion/store.js",
|
|
53
|
+
"packages/core/release/discussion/envelope.js",
|
|
54
|
+
"packages/core/release/discussion/reader.js"
|
|
51
55
|
],
|
|
52
56
|
"runtimeEntry": "architecture/runtime-entry.json",
|
|
53
57
|
"runtimeRecovery": "same-public-entry-with-transient-runtime",
|
|
@@ -73,6 +77,12 @@
|
|
|
73
77
|
"execution": "exact-candidate-canonical-projection",
|
|
74
78
|
"payloadSchema": "kungfu-buildchain-v4-release-invocation/v1",
|
|
75
79
|
"providerEffects": false
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "release-discussion",
|
|
83
|
+
"execution": "consumer-discussion-transport",
|
|
84
|
+
"payloadSchema": "buildchain.release-discussion-request/v1",
|
|
85
|
+
"providerEffects": true
|
|
76
86
|
}
|
|
77
87
|
],
|
|
78
88
|
"complexityBudget": {
|
|
@@ -98,7 +108,8 @@
|
|
|
98
108
|
"pages": "write",
|
|
99
109
|
"pull-requests": "write",
|
|
100
110
|
"security-events": "write",
|
|
101
|
-
"statuses": "write"
|
|
111
|
+
"statuses": "write",
|
|
112
|
+
"discussions": "write"
|
|
102
113
|
},
|
|
103
114
|
"inventoryWorkflows": [
|
|
104
115
|
".github/workflows/.build-demo-adapter.yml",
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"allowedCapabilities": [
|
|
6
6
|
"bootstrap-conformance",
|
|
7
7
|
"release-candidate-promote",
|
|
8
|
+
"release-discussion",
|
|
8
9
|
"release-invocation"
|
|
9
10
|
],
|
|
10
11
|
"permissionCeiling": {
|
|
@@ -20,40 +21,45 @@
|
|
|
20
21
|
"pages": "write",
|
|
21
22
|
"pull-requests": "write",
|
|
22
23
|
"security-events": "write",
|
|
23
|
-
"statuses": "write"
|
|
24
|
+
"statuses": "write",
|
|
25
|
+
"discussions": "write"
|
|
24
26
|
},
|
|
25
27
|
"contractRoots": [
|
|
26
28
|
"sha256:025e2a4a37bb9364c03aa3c9ab6bad773f78a541203a23791e2d7afd70d773ca",
|
|
27
29
|
"sha256:02e8b51faabbc960e9c70b090426272b720f3e1438b69a0f683b21257bed6302",
|
|
30
|
+
"sha256:07bb744fedc9512b1e40f5c00a0037194fc869600fc7fd07de7f3b975b9760ff",
|
|
28
31
|
"sha256:13dea813a98cb2cc1a51cafb880127ee2c022f3c5aae5144818aec17e9cb7498",
|
|
29
32
|
"sha256:17c5fc05f8599662cd061a94add5313dc0fcea58404f9a92ee632c98abce24c6",
|
|
33
|
+
"sha256:1f3cbeb68fed850330720784bbe2d1d2c91b759cc2459a7fcd0b150af4c47c34",
|
|
30
34
|
"sha256:24cbb86e8fb198f7a949372291e712dd83ff12ba667c7049775ef497261bc62e",
|
|
31
35
|
"sha256:265ccc9da3d84b8bf50746b6722b18c680dcc65bd322a5170e81bd5d0fa5b2b0",
|
|
32
36
|
"sha256:2c5a19fe5ebe2550336c42f7de0c71b0e736776758b404716a5f77e0236920dc",
|
|
33
|
-
"sha256:
|
|
37
|
+
"sha256:310b9c3db199e6d900ca4756f152396103630da36aafa7218fe50fb8996f1da1",
|
|
34
38
|
"sha256:34829b6e556284ef7c3f342fafcf92588a94761534e5f19ea12131f389ad4f50",
|
|
35
39
|
"sha256:3d6119d1295ea7083d44a1b82fde5cb5dca910e427d1aee119d3ffbf421810f3",
|
|
36
40
|
"sha256:40fdce377a9b02cb53f41e822cfc5d96c2f7e57a86a7574bf8ee39f3e0f0e12e",
|
|
41
|
+
"sha256:421b65afe174ce4ae57290efc73e43f94140b8ef70a2db5cda43e16921d61b4e",
|
|
37
42
|
"sha256:428467c6ac1d768609ff12e72a190462bab9b5bc7dd2ea491553a364aa4c6ef6",
|
|
38
43
|
"sha256:49065b4b7f0e4fd1760e808e310edfea3bd7333c8407c4b419a097ea3d908adc",
|
|
39
|
-
"sha256:4916bb48f509f3e4db3626ae676e735253ad3aace8b54c20aca6f084ce70802b",
|
|
40
44
|
"sha256:5e4788c95b22cbade1323070c03fc6c613cb6086dee8364a7f3805ce95482397",
|
|
45
|
+
"sha256:67b84bb664654890b2b83c412f88429408630f6ab21b6d0b715277c70258cd7e",
|
|
41
46
|
"sha256:73105a379642c9515eae73f2a0b4917f440b2fa7ecab25bfce87b37fd1c30c35",
|
|
42
47
|
"sha256:74782cada7ad52a4cd2f6bdf59d288d7514d6647f8f27aaeb70e4b2b41f83d60",
|
|
43
48
|
"sha256:75ffaac849069d8d646830d6704ba6f44e93b19724a82d5f67d94befce4b5a49",
|
|
49
|
+
"sha256:809c83e31bb54e5eb844dc1862fa60183902a7719dd3ebac9b3ad15a3b953f82",
|
|
44
50
|
"sha256:9a8c11b4787f24447df76a5ee0f31ed7d7cf0284a1251d4d4bdccc895571d4fe",
|
|
45
|
-
"sha256:
|
|
51
|
+
"sha256:9b82b4d8ffa44b060c4eaa885601a7de3e24798816e26c646f350ad82250e151",
|
|
46
52
|
"sha256:9ef9093a7116ad05a7430c60e9164644f47af2a085a60c6043cf46c16bce3479",
|
|
47
53
|
"sha256:a2a553a0e774224b398e5bccde811f8354638547656453adf7734f416f011a2b",
|
|
48
54
|
"sha256:b727204daaae0e09dd94801f1fcd80902fc9e3f1103870e98df379e33094f52a",
|
|
49
|
-
"sha256:
|
|
50
|
-
"sha256:
|
|
51
|
-
"sha256:c5405d4d13e92c910654ef7880e7447e79770121476ffc9899544cfa016834cf",
|
|
55
|
+
"sha256:c48e28c26b13955b4d3ba08803ef8ba2f8f297019513cafa50c3295f03dd2087",
|
|
56
|
+
"sha256:c5b239dd961249d9f58750311380534cfa45e17a4989ed1318e65769ff5b81db",
|
|
52
57
|
"sha256:cf0b38a5fbbab2ed8aa7998a3c6d3fa48a058de43b6850612294058d263a24c1",
|
|
58
|
+
"sha256:d6bafefea6f0934dcef27910c6dc6fd6bd5ade3a317bce21a0fd235ef14865a2",
|
|
59
|
+
"sha256:da8d3bfc6ba04130df6e894fc28ef4786eae322d8db874f87080429aab382b81",
|
|
53
60
|
"sha256:dd9ae24a7a586c616a7b3b2b733eb38bfd3f8b19e5faec9e16851719be6abd61",
|
|
54
61
|
"sha256:deee1c61c9731de6e2120abd4c30d3ce760df2ff3f7afb4dd84973543b353660",
|
|
55
62
|
"sha256:e207436baa946b3d25d0159a510b7da474cac8d33701c2e66c089117c05f473d",
|
|
56
|
-
"sha256:f46974d0756344344b6b77c3d1e2a871220435c1cfe880a67edbcb88c8828741",
|
|
57
63
|
"sha256:f780070e235bffdee96fc355d7ed5e2fd4188482c41b24e2558a32086634a87c"
|
|
58
64
|
],
|
|
59
65
|
"validFrom": "2026-08-30T00:00:00.000Z",
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
"title": "Buildchain promotion invocation",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
|
-
"required": [
|
|
8
|
-
"schema"
|
|
9
|
-
],
|
|
7
|
+
"required": ["schema"],
|
|
10
8
|
"properties": {
|
|
11
9
|
"schema": {
|
|
12
10
|
"const": "buildchain.promotion-invocation/v1",
|
|
@@ -498,6 +496,11 @@
|
|
|
498
496
|
"type": "boolean",
|
|
499
497
|
"description": "Plan only; do not publish or move refs",
|
|
500
498
|
"default": false
|
|
499
|
+
},
|
|
500
|
+
"resume-discussion-id": {
|
|
501
|
+
"type": "string",
|
|
502
|
+
"default": "",
|
|
503
|
+
"description": "Existing consumer release Discussion ID; restore its retained candidate through the selected runtime."
|
|
501
504
|
}
|
|
502
505
|
}
|
|
503
506
|
}
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
"title": "Buildchain promotion request",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
|
-
"required": [
|
|
8
|
-
"schema"
|
|
9
|
-
],
|
|
7
|
+
"required": ["schema"],
|
|
10
8
|
"properties": {
|
|
11
9
|
"schema": {
|
|
12
10
|
"const": "buildchain.promotion-request/v1",
|
|
@@ -428,6 +426,11 @@
|
|
|
428
426
|
"type": "boolean",
|
|
429
427
|
"description": "Plan only; do not publish or move refs",
|
|
430
428
|
"default": false
|
|
429
|
+
},
|
|
430
|
+
"resume-discussion-id": {
|
|
431
|
+
"type": "string",
|
|
432
|
+
"default": "",
|
|
433
|
+
"description": "Existing consumer release Discussion ID; restore its retained candidate through the selected runtime."
|
|
431
434
|
}
|
|
432
435
|
}
|
|
433
436
|
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "Buildchain release Discussion envelope",
|
|
4
|
+
"oneOf": [
|
|
5
|
+
{
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"schema",
|
|
9
|
+
"id",
|
|
10
|
+
"repository",
|
|
11
|
+
"key",
|
|
12
|
+
"expectedNodes",
|
|
13
|
+
"runtime",
|
|
14
|
+
"source"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"schema": {
|
|
18
|
+
"const": "buildchain.release-discussion/v1"
|
|
19
|
+
},
|
|
20
|
+
"id": {
|
|
21
|
+
"$ref": "#/$defs/root"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"key": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"minLength": 1
|
|
29
|
+
},
|
|
30
|
+
"expectedNodes": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"minItems": 1,
|
|
33
|
+
"uniqueItems": true,
|
|
34
|
+
"items": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"pattern": "^[a-z][a-z0-9-]*$"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"runtime": {
|
|
40
|
+
"$ref": "#/$defs/runtime"
|
|
41
|
+
},
|
|
42
|
+
"source": {
|
|
43
|
+
"type": "object"
|
|
44
|
+
},
|
|
45
|
+
"organization": {
|
|
46
|
+
"const": "attempt-threads/v1"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"additionalProperties": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "object",
|
|
53
|
+
"required": [
|
|
54
|
+
"schema",
|
|
55
|
+
"id",
|
|
56
|
+
"intent",
|
|
57
|
+
"attempt",
|
|
58
|
+
"predecessor",
|
|
59
|
+
"runtime",
|
|
60
|
+
"payloadSchema",
|
|
61
|
+
"node",
|
|
62
|
+
"status",
|
|
63
|
+
"sequence",
|
|
64
|
+
"payload",
|
|
65
|
+
"kind",
|
|
66
|
+
"writer"
|
|
67
|
+
],
|
|
68
|
+
"properties": {
|
|
69
|
+
"schema": {
|
|
70
|
+
"const": "buildchain.discussion-record/v1"
|
|
71
|
+
},
|
|
72
|
+
"id": {
|
|
73
|
+
"$ref": "#/$defs/root"
|
|
74
|
+
},
|
|
75
|
+
"intent": {
|
|
76
|
+
"$ref": "#/$defs/root"
|
|
77
|
+
},
|
|
78
|
+
"attempt": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"minLength": 1
|
|
81
|
+
},
|
|
82
|
+
"writer": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"minLength": 1
|
|
85
|
+
},
|
|
86
|
+
"predecessor": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
"runtime": {
|
|
90
|
+
"$ref": "#/$defs/runtime"
|
|
91
|
+
},
|
|
92
|
+
"payloadSchema": {
|
|
93
|
+
"const": "buildchain.release-progress/v1"
|
|
94
|
+
},
|
|
95
|
+
"node": {
|
|
96
|
+
"type": "string"
|
|
97
|
+
},
|
|
98
|
+
"status": {
|
|
99
|
+
"enum": ["running", "success", "failure", "cancelled"]
|
|
100
|
+
},
|
|
101
|
+
"sequence": {
|
|
102
|
+
"type": "integer",
|
|
103
|
+
"minimum": 0
|
|
104
|
+
},
|
|
105
|
+
"kind": {
|
|
106
|
+
"enum": ["progress", "checkpoint"]
|
|
107
|
+
},
|
|
108
|
+
"payload": {
|
|
109
|
+
"type": "object"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"additionalProperties": false
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"$defs": {
|
|
116
|
+
"root": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
119
|
+
},
|
|
120
|
+
"runtime": {
|
|
121
|
+
"type": "object",
|
|
122
|
+
"required": ["repository", "sha", "readerDigest"],
|
|
123
|
+
"properties": {
|
|
124
|
+
"repository": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
|
|
127
|
+
},
|
|
128
|
+
"sha": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
131
|
+
},
|
|
132
|
+
"readerDigest": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
135
|
+
},
|
|
136
|
+
"readerPath": {
|
|
137
|
+
"const": "dist/readers/release-discussion.cjs"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"additionalProperties": false
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|