@kungfu-tech/buildchain 4.1.3-alpha.0 → 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/architecture/agent-change-map.md +6 -2
- package/architecture/internal-capabilities.json +9 -2
- package/architecture/maintainability-policy.json +3 -3
- package/architecture/release-topology.json +4 -1
- package/architecture/universal-workflow-capability-policy.json +5 -5
- package/contracts/release-discussion-v1.schema.json +3 -0
- package/dist/readers/release-discussion.cjs +4 -0
- package/dist/site/buildchain-contract.json +4 -4
- package/dist/site/buildchain-site.json +14 -9
- package/dist/site/kfd-claims.json +2 -2
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +1 -1
- package/dist/site/node-api-registry.json +3 -3
- package/dist/site/page-registry.json +9 -4
- package/dist/site/public-surface-audit.json +2 -2
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/site-manifest.json +5 -5
- package/dist/site/workflow-registry.json +4 -4
- package/docs/node-api-reference.md +1 -1
- package/docs/release-discussions.md +44 -5
- package/package.json +1 -1
- package/packages/core/providers/github/discussions/materials.js +16 -5
- package/packages/core/providers/github/discussions/transport.js +16 -5
- package/packages/core/release/discussion/binary.js +11 -0
- package/packages/core/release/discussion/checkpoints.js +45 -4
- package/packages/core/release/discussion/envelope.js +1 -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 +3 -1
- package/packages/core/release/discussion/qualification.js +1 -0
- package/packages/core/release/discussion/reader.js +9 -0
- package/packages/core/release/discussion/session.js +2 -0
- package/packages/core/release/discussion/store.js +28 -31
- package/packages/core/release/discussion/threads.js +83 -0
|
@@ -1636,10 +1636,14 @@ Owner: Buildchain release maintainers
|
|
|
1636
1636
|
|
|
1637
1637
|
### Implementation
|
|
1638
1638
|
|
|
1639
|
+
- `packages/core/providers/github/discussions/materials.js`
|
|
1640
|
+
- `packages/core/providers/github/discussions/transport.js`
|
|
1639
1641
|
- `packages/core/release/discussion/actions.js`
|
|
1640
1642
|
- `packages/core/release/discussion/binary.js`
|
|
1641
1643
|
- `packages/core/release/discussion/checkpoints.js`
|
|
1642
1644
|
- `packages/core/release/discussion/envelope.js`
|
|
1645
|
+
- `packages/core/release/discussion/evidence.js`
|
|
1646
|
+
- `packages/core/release/discussion/presentation.js`
|
|
1643
1647
|
- `packages/core/release/discussion/publication.js`
|
|
1644
1648
|
- `packages/core/release/discussion/qualification.js`
|
|
1645
1649
|
- `packages/core/release/discussion/reader-entry.js`
|
|
@@ -1647,8 +1651,7 @@ Owner: Buildchain release maintainers
|
|
|
1647
1651
|
- `packages/core/release/discussion/recovery.js`
|
|
1648
1652
|
- `packages/core/release/discussion/session.js`
|
|
1649
1653
|
- `packages/core/release/discussion/store.js`
|
|
1650
|
-
- `packages/core/
|
|
1651
|
-
- `packages/core/providers/github/discussions/transport.js`
|
|
1654
|
+
- `packages/core/release/discussion/threads.js`
|
|
1652
1655
|
|
|
1653
1656
|
### Contracts
|
|
1654
1657
|
|
|
@@ -1658,6 +1661,7 @@ Owner: Buildchain release maintainers
|
|
|
1658
1661
|
|
|
1659
1662
|
- `tests/release-discussion-materials.test.mjs`
|
|
1660
1663
|
- `tests/release-discussion-session.test.mjs`
|
|
1664
|
+
- `tests/release-discussion-threads.test.mjs`
|
|
1661
1665
|
- `tests/release-discussion.test.mjs`
|
|
1662
1666
|
|
|
1663
1667
|
### Generated outputs
|
|
@@ -572,6 +572,8 @@
|
|
|
572
572
|
"packages/core/release/discussion/binary.js",
|
|
573
573
|
"packages/core/release/discussion/checkpoints.js",
|
|
574
574
|
"packages/core/release/discussion/envelope.js",
|
|
575
|
+
"packages/core/release/discussion/evidence.js",
|
|
576
|
+
"packages/core/release/discussion/presentation.js",
|
|
575
577
|
"packages/core/release/discussion/publication.js",
|
|
576
578
|
"packages/core/release/discussion/qualification.js",
|
|
577
579
|
"packages/core/release/discussion/reader-entry.js",
|
|
@@ -579,6 +581,7 @@
|
|
|
579
581
|
"packages/core/release/discussion/recovery.js",
|
|
580
582
|
"packages/core/release/discussion/session.js",
|
|
581
583
|
"packages/core/release/discussion/store.js",
|
|
584
|
+
"packages/core/release/discussion/threads.js",
|
|
582
585
|
"packages/core/release/line/action.js",
|
|
583
586
|
"packages/core/release/line/governance.js",
|
|
584
587
|
"packages/core/release/line/plan.js",
|
|
@@ -2904,10 +2907,14 @@
|
|
|
2904
2907
|
"id": "release-discussion-transactions",
|
|
2905
2908
|
"owner": "Buildchain release maintainers",
|
|
2906
2909
|
"implementation": [
|
|
2910
|
+
"packages/core/providers/github/discussions/materials.js",
|
|
2911
|
+
"packages/core/providers/github/discussions/transport.js",
|
|
2907
2912
|
"packages/core/release/discussion/actions.js",
|
|
2908
2913
|
"packages/core/release/discussion/binary.js",
|
|
2909
2914
|
"packages/core/release/discussion/checkpoints.js",
|
|
2910
2915
|
"packages/core/release/discussion/envelope.js",
|
|
2916
|
+
"packages/core/release/discussion/evidence.js",
|
|
2917
|
+
"packages/core/release/discussion/presentation.js",
|
|
2911
2918
|
"packages/core/release/discussion/publication.js",
|
|
2912
2919
|
"packages/core/release/discussion/qualification.js",
|
|
2913
2920
|
"packages/core/release/discussion/reader-entry.js",
|
|
@@ -2915,12 +2922,12 @@
|
|
|
2915
2922
|
"packages/core/release/discussion/recovery.js",
|
|
2916
2923
|
"packages/core/release/discussion/session.js",
|
|
2917
2924
|
"packages/core/release/discussion/store.js",
|
|
2918
|
-
"packages/core/
|
|
2919
|
-
"packages/core/providers/github/discussions/transport.js"
|
|
2925
|
+
"packages/core/release/discussion/threads.js"
|
|
2920
2926
|
],
|
|
2921
2927
|
"tests": [
|
|
2922
2928
|
"tests/release-discussion-materials.test.mjs",
|
|
2923
2929
|
"tests/release-discussion-session.test.mjs",
|
|
2930
|
+
"tests/release-discussion-threads.test.mjs",
|
|
2924
2931
|
"tests/release-discussion.test.mjs"
|
|
2925
2932
|
],
|
|
2926
2933
|
"contracts": ["contracts/release-discussion-v1.schema.json"],
|
|
@@ -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
32
|
"maxWorkflowLines": 9805,
|
|
33
|
-
"latestTransition": "
|
|
34
|
-
"latestTransitionRationale": "
|
|
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,
|
|
@@ -166,10 +166,13 @@
|
|
|
166
166
|
"packages/core/release/discussion/binary.js",
|
|
167
167
|
"packages/core/release/discussion/checkpoints.js",
|
|
168
168
|
"packages/core/release/discussion/envelope.js",
|
|
169
|
+
"packages/core/release/discussion/evidence.js",
|
|
170
|
+
"packages/core/release/discussion/presentation.js",
|
|
169
171
|
"packages/core/release/discussion/publication.js",
|
|
170
172
|
"packages/core/release/discussion/reader.js",
|
|
171
173
|
"packages/core/release/discussion/session.js",
|
|
172
174
|
"packages/core/release/discussion/store.js",
|
|
175
|
+
"packages/core/release/discussion/threads.js",
|
|
173
176
|
"packages/core/release/github-provider-plane.js",
|
|
174
177
|
"packages/core/release/github-release.js",
|
|
175
178
|
"packages/core/release/next-development-transition.js",
|
|
@@ -243,7 +246,7 @@
|
|
|
243
246
|
"packages/core/runtime/spawn-command.js",
|
|
244
247
|
"packages/core/web/web-surface-publication-candidate.js"
|
|
245
248
|
],
|
|
246
|
-
"root": "sha256:
|
|
249
|
+
"root": "sha256:8c53933d9b9a475bd4961ff64db457ae3043e6e941c8d6c3624c06a0d22392b7"
|
|
247
250
|
},
|
|
248
251
|
"rustWasmAuthority": {
|
|
249
252
|
"loader": "packages/core/runtime/domain-wasm.js",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"contractRoots": [
|
|
28
28
|
"sha256:025e2a4a37bb9364c03aa3c9ab6bad773f78a541203a23791e2d7afd70d773ca",
|
|
29
29
|
"sha256:02e8b51faabbc960e9c70b090426272b720f3e1438b69a0f683b21257bed6302",
|
|
30
|
-
"sha256:030f75da0b1a1b7678155e0ac03c5866d89d53db45084c61cb2deef824042292",
|
|
31
30
|
"sha256:07bb744fedc9512b1e40f5c00a0037194fc869600fc7fd07de7f3b975b9760ff",
|
|
32
31
|
"sha256:13dea813a98cb2cc1a51cafb880127ee2c022f3c5aae5144818aec17e9cb7498",
|
|
33
32
|
"sha256:17c5fc05f8599662cd061a94add5313dc0fcea58404f9a92ee632c98abce24c6",
|
|
@@ -39,6 +38,7 @@
|
|
|
39
38
|
"sha256:34829b6e556284ef7c3f342fafcf92588a94761534e5f19ea12131f389ad4f50",
|
|
40
39
|
"sha256:3d6119d1295ea7083d44a1b82fde5cb5dca910e427d1aee119d3ffbf421810f3",
|
|
41
40
|
"sha256:40fdce377a9b02cb53f41e822cfc5d96c2f7e57a86a7574bf8ee39f3e0f0e12e",
|
|
41
|
+
"sha256:421b65afe174ce4ae57290efc73e43f94140b8ef70a2db5cda43e16921d61b4e",
|
|
42
42
|
"sha256:428467c6ac1d768609ff12e72a190462bab9b5bc7dd2ea491553a364aa4c6ef6",
|
|
43
43
|
"sha256:49065b4b7f0e4fd1760e808e310edfea3bd7333c8407c4b419a097ea3d908adc",
|
|
44
44
|
"sha256:5e4788c95b22cbade1323070c03fc6c613cb6086dee8364a7f3805ce95482397",
|
|
@@ -52,15 +52,15 @@
|
|
|
52
52
|
"sha256:9ef9093a7116ad05a7430c60e9164644f47af2a085a60c6043cf46c16bce3479",
|
|
53
53
|
"sha256:a2a553a0e774224b398e5bccde811f8354638547656453adf7734f416f011a2b",
|
|
54
54
|
"sha256:b727204daaae0e09dd94801f1fcd80902fc9e3f1103870e98df379e33094f52a",
|
|
55
|
-
"sha256:
|
|
56
|
-
"sha256:
|
|
55
|
+
"sha256:c48e28c26b13955b4d3ba08803ef8ba2f8f297019513cafa50c3295f03dd2087",
|
|
56
|
+
"sha256:c5b239dd961249d9f58750311380534cfa45e17a4989ed1318e65769ff5b81db",
|
|
57
57
|
"sha256:cf0b38a5fbbab2ed8aa7998a3c6d3fa48a058de43b6850612294058d263a24c1",
|
|
58
58
|
"sha256:d6bafefea6f0934dcef27910c6dc6fd6bd5ade3a317bce21a0fd235ef14865a2",
|
|
59
|
+
"sha256:da8d3bfc6ba04130df6e894fc28ef4786eae322d8db874f87080429aab382b81",
|
|
59
60
|
"sha256:dd9ae24a7a586c616a7b3b2b733eb38bfd3f8b19e5faec9e16851719be6abd61",
|
|
60
61
|
"sha256:deee1c61c9731de6e2120abd4c30d3ce760df2ff3f7afb4dd84973543b353660",
|
|
61
62
|
"sha256:e207436baa946b3d25d0159a510b7da474cac8d33701c2e66c089117c05f473d",
|
|
62
|
-
"sha256:f780070e235bffdee96fc355d7ed5e2fd4188482c41b24e2558a32086634a87c"
|
|
63
|
-
"sha256:ffda31a96dfb4f5515e0e1099ec34300e79327f3f23b83b211a9b0747c760720"
|
|
63
|
+
"sha256:f780070e235bffdee96fc355d7ed5e2fd4188482c41b24e2558a32086634a87c"
|
|
64
64
|
],
|
|
65
65
|
"validFrom": "2026-08-30T00:00:00.000Z",
|
|
66
66
|
"expiresAt": "2026-09-15T00:00:00.000Z"
|
|
@@ -86,6 +86,10 @@ function readReleaseDiscussion({ body, records }) {
|
|
|
86
86
|
throw new Error("Release intent identity mismatch");
|
|
87
87
|
if (!Array.isArray(intent.expectedNodes) || !intent.expectedNodes.length || new Set(intent.expectedNodes).size !== intent.expectedNodes.length)
|
|
88
88
|
throw new Error("Missing or duplicate expected nodes");
|
|
89
|
+
if (intent.organization && intent.organization !== "attempt-threads/v1")
|
|
90
|
+
throw new Error(
|
|
91
|
+
"Discussion organization requires its historical runtime reader"
|
|
92
|
+
);
|
|
89
93
|
const attempts = groupAttempts(validateRecords(intent, records));
|
|
90
94
|
if (!attempts.size)
|
|
91
95
|
return {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"product": {
|
|
5
5
|
"name": "Buildchain",
|
|
6
6
|
"package": "@kungfu-tech/buildchain",
|
|
7
|
-
"version": "4.1.3-alpha.
|
|
7
|
+
"version": "4.1.3-alpha.1",
|
|
8
8
|
"repository": "https://github.com/kungfu-systems/buildchain"
|
|
9
9
|
},
|
|
10
10
|
"majorLine": "v4",
|
|
@@ -985,7 +985,7 @@
|
|
|
985
985
|
"manual entries carry source file digests so downstream sites and agents can detect stale hand-written documentation"
|
|
986
986
|
],
|
|
987
987
|
"breakingDigest": "sha256:7d0d2819e3a3e72989d9c57b5efe9d0bc0a79bc0f2c82a0c7b9d6c5a211a91f2",
|
|
988
|
-
"auditDigest": "sha256:
|
|
988
|
+
"auditDigest": "sha256:7257adeb754edcbbf43b871eb57b5ad967c3d3eb1e557d5556dff2192e42bce7"
|
|
989
989
|
},
|
|
990
990
|
{
|
|
991
991
|
"contractVersion": 1,
|
|
@@ -1007,7 +1007,7 @@
|
|
|
1007
1007
|
"agents can discover supported Node APIs without importing internal file paths"
|
|
1008
1008
|
],
|
|
1009
1009
|
"breakingDigest": "sha256:48f925608d3e2131d90936b07dc2a30341204cae3e6e785c0f77d61ad755c945",
|
|
1010
|
-
"auditDigest": "sha256:
|
|
1010
|
+
"auditDigest": "sha256:b6b54acd63cbe9be992bc27859b2c35e46562df9ab8d6ead8e271fb081fce794"
|
|
1011
1011
|
},
|
|
1012
1012
|
{
|
|
1013
1013
|
"contractVersion": 1,
|
|
@@ -2408,5 +2408,5 @@
|
|
|
2408
2408
|
"compatibilityFactCutRoot": "sha256:58f33e498596505a26b6fc3c7ae5acef847ff699eee6c7e17a7b318a40bdf0d6",
|
|
2409
2409
|
"compatibilityProofRegistryRoot": "sha256:2f6477405c7891b754b33ad6515d55618bd320e7cdc59330d7cc645e17201e72",
|
|
2410
2410
|
"compatibilityDigest": "sha256:14368a3f99f38a8c9c1e053f7ec3651766e3535237f4c551cc75417cf7ef97b3",
|
|
2411
|
-
"contractDigest": "sha256:
|
|
2411
|
+
"contractDigest": "sha256:2d2d891d7ab298046c3a5bdf498311c6aaf1e9266ca93db79037ab16efee462d"
|
|
2412
2412
|
}
|