@kungfu-tech/buildchain 4.0.2-alpha.5 → 4.0.2-alpha.7

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.
@@ -7,8 +7,8 @@
7
7
  },
8
8
  "totalExcessLedger": {
9
9
  "metric": "calibrated-full-dimensional-excess-v1",
10
- "measuredExcess": 64324,
11
- "current": 56263
10
+ "measuredExcess": 64321,
11
+ "current": 56260
12
12
  },
13
13
  "defaults": {
14
14
  "owner": "Buildchain architecture maintainers",
@@ -92,21 +92,21 @@
92
92
  "actions/promote-buildchain-ref/internal/durable-transaction-operations.js": {
93
93
  "baseline": {
94
94
  "functions": {
95
- "createDurableTransactionOperations@11": {
95
+ "createDurableTransactionOperations@80": {
96
96
  "lines": 378
97
97
  }
98
98
  }
99
99
  },
100
100
  "current": {
101
101
  "functions": {
102
- "createDurableTransactionOperations@11": {
102
+ "createDurableTransactionOperations@80": {
103
103
  "lines": 378
104
104
  }
105
105
  }
106
106
  },
107
107
  "target": {
108
108
  "functions": {
109
- "createDurableTransactionOperations@11": {
109
+ "createDurableTransactionOperations@80": {
110
110
  "lines": 180
111
111
  }
112
112
  }
@@ -2614,7 +2614,7 @@
2614
2614
  "lines": 1217
2615
2615
  },
2616
2616
  "current": {
2617
- "lines": 1137
2617
+ "lines": 1132
2618
2618
  },
2619
2619
  "target": {
2620
2620
  "lines": 600
@@ -2937,7 +2937,7 @@
2937
2937
  "lines": 2736
2938
2938
  },
2939
2939
  "current": {
2940
- "lines": 1116
2940
+ "lines": 1118
2941
2941
  },
2942
2942
  "target": {
2943
2943
  "lines": 600
@@ -3137,7 +3137,7 @@
3137
3137
  "path": ".github/workflows/.release-candidate-promote.yml",
3138
3138
  "metric": "lines",
3139
3139
  "baseline": 2736,
3140
- "current": 1116
3140
+ "current": 1118
3141
3141
  },
3142
3142
  {
3143
3143
  "domain": "sources",
@@ -27,11 +27,11 @@
27
27
  "repositoryBudgets": {
28
28
  "baselineRevision": "858dbe00b6206a8f356b4a12d2659bee7a72e71b",
29
29
  "maxHandMaintainedSourceFiles": 448,
30
- "maxHandMaintainedSourceLines": 165760,
30
+ "maxHandMaintainedSourceLines": 165936,
31
31
  "maxWorkflowFiles": 77,
32
32
  "maxWorkflowLines": 26791,
33
- "latestTransition": "Legacy queued native candidates are quarantined from exact Warrant selection and heartbeat authority.",
34
- "latestTransitionRationale": "One bounded compatibility seam preserves immutable legacy queued evidence while excluding incomplete native candidates from ranking. New submissions and every selected, proving, waiting, blocked, or qualified native candidate still require the exact environment and command contract; a valid resubmission can repair the queued record without rewriting history, and a current exact Warrant heartbeat remains independent from incompatible followers.",
33
+ "latestTransition": "Protected alpha finalization and its pinned provider runtime are portable across the qualified platform set.",
34
+ "latestTransitionRationale": "One bounded finalization seam advances the exact dev line through its protected pull-request fallback after the alpha version-state result lands. A pending dev convergence remains explicitly finalization-needed; floating alpha tags and the durable complete state are withheld until live dev readback reaches that exact channel SHA. The action also carries an optional exact transaction identity through the canonical provider boundary so a mismatched recovery fails before mutation. Provider verification now creates both POSIX and Windows command shims for the same pinned pnpm version; the four added source lines close the Windows adopter failure without widening runtime selection authority.",
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
  },
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "name": "Buildchain",
6
6
  "package": "@kungfu-tech/buildchain",
7
- "version": "4.0.2-alpha.5",
7
+ "version": "4.0.2-alpha.7",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "majorLine": "v4",
@@ -1646,7 +1646,7 @@
1646
1646
  "resume-from-candidate-run is fail-closed and uses a fresh caller event instead of rerunning a frozen startup graph"
1647
1647
  ],
1648
1648
  "breakingDigest": "sha256:9db8dd07152855d03ff30f9c571438593c689d3e8139fa45431d000f548242f5",
1649
- "auditDigest": "sha256:bb006a22c17a67a79dcd3bf566e2fdf9f5a1c4841580d1cfbaa44229f2a8b8b1",
1649
+ "auditDigest": "sha256:d218de8c047af98b00483cfca7e4c6e61e889a2df281259a3988c4026f0b65d7",
1650
1650
  "compatibleBreakingDigests": [
1651
1651
  "sha256:aa30f22e3af0a89841310bdbdc900844dd95a66974db173fa140a71bbd7e82c0"
1652
1652
  ],
@@ -1863,7 +1863,7 @@
1863
1863
  "no consumer command, script, shell, checkout, or executable tail hook is accepted"
1864
1864
  ],
1865
1865
  "breakingDigest": "sha256:9229eb3a000fb408feb6b8793c209c77afbf9327026467d68954470e22e4f8f4",
1866
- "auditDigest": "sha256:28f962e2c7542d650417975ea9d5922816f57c63798e895ed0eac61840a02af4"
1866
+ "auditDigest": "sha256:b297931166d06249a7d482d6c2ef1e95e60602503113775c868f4fd62e2d6e65"
1867
1867
  },
1868
1868
  {
1869
1869
  "contractVersion": 1,
@@ -5173,7 +5173,7 @@
5173
5173
  "missing receipts are non-qualifying and must not be represented as a successful controller run"
5174
5174
  ],
5175
5175
  "breakingDigest": "sha256:015d8de793adbd4c539416be7d7512e18cc92097e629b0203fa06d2c183e98bd",
5176
- "auditDigest": "sha256:bb006a22c17a67a79dcd3bf566e2fdf9f5a1c4841580d1cfbaa44229f2a8b8b1"
5176
+ "auditDigest": "sha256:d218de8c047af98b00483cfca7e4c6e61e889a2df281259a3988c4026f0b65d7"
5177
5177
  },
5178
5178
  {
5179
5179
  "contractVersion": 1,
@@ -5399,5 +5399,5 @@
5399
5399
  "compatibilityFactCutRoot": "sha256:f61b975d4a96c921cc4bd37fb3ed9a0596b47004fe34dc7219979d697e3707f9",
5400
5400
  "compatibilityProofRegistryRoot": "sha256:b7194b811e4d3af2df4390bc4d1731e16a86215bd64ee18cb630dd5492f4fb63",
5401
5401
  "compatibilityDigest": "sha256:20411029d83211dff426fb6535a608902129844a5ccb4788db77d3f81becb839",
5402
- "contractDigest": "sha256:c26a85821ee6e77b948356866f1b7f3fa6e9e7a676397523590a648270919fec"
5402
+ "contractDigest": "sha256:a524c48f562e1e256452aa51b39ea7c0912e7f20e7cdec6746eed05fdf7c57f1"
5403
5403
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-bundle",
4
- "generatedAt": "2026-08-30T12:35:42.378Z",
5
- "publishedAt": "2026-08-30T12:35:42.378Z",
4
+ "generatedAt": "2026-08-30T14:46:02.120Z",
5
+ "publishedAt": "2026-08-30T14:46:02.120Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "8629f05498ab51b25a74288be6697c3a46096828",
22
+ "sourceRevision": "87aa58cb619ffcaf2b14e4ee4e35f8c3cbe87a7f",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "package": {
39
39
  "name": "@kungfu-tech/buildchain",
40
- "version": "4.0.2-alpha.5",
40
+ "version": "4.0.2-alpha.7",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "source": {
@@ -21,7 +21,7 @@
21
21
  "contract": "kungfu-buildchain-public-surface-reverse-audit",
22
22
  "path": "dist/site/public-surface-audit.json",
23
23
  "status": "passed",
24
- "sha256": "2e9068e7dba92d6771db3d3ec1a7e88e59622fde9e53b0acfa016ee53f40f762",
24
+ "sha256": "efe7b09b37542f89eff48a6c8463388bfdf09a5979f56074dc5f655ba5b85561",
25
25
  "summary": {
26
26
  "cliCommandCount": 117,
27
27
  "workflowCount": 77,
@@ -246,7 +246,7 @@
246
246
  "contract": "kungfu-buildchain-public-surface-reverse-audit",
247
247
  "path": "dist/site/public-surface-audit.json",
248
248
  "status": "passed",
249
- "sha256": "2e9068e7dba92d6771db3d3ec1a7e88e59622fde9e53b0acfa016ee53f40f762",
249
+ "sha256": "efe7b09b37542f89eff48a6c8463388bfdf09a5979f56074dc5f655ba5b85561",
250
250
  "summary": {
251
251
  "cliCommandCount": 117,
252
252
  "workflowCount": 77,
@@ -6275,7 +6275,7 @@
6275
6275
  "visibility": "public",
6276
6276
  "participantFacing": true,
6277
6277
  "public": true,
6278
- "inputCount": 28,
6278
+ "inputCount": 29,
6279
6279
  "inputs": [
6280
6280
  "artifact-paths",
6281
6281
  "candidate-build-summary-path",
@@ -6295,6 +6295,7 @@
6295
6295
  "repository",
6296
6296
  "required-artifacts-path",
6297
6297
  "required-status-check",
6298
+ "resume-transaction-id",
6298
6299
  "runtime-commit",
6299
6300
  "runtime-tree",
6300
6301
  "sealed-bundle-manifest",
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "id": "kungfu-tech-buildchain",
6
6
  "name": "@kungfu-tech/buildchain",
7
- "version": "4.0.2-alpha.5",
7
+ "version": "4.0.2-alpha.7",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "source": {
@@ -3321,6 +3321,7 @@
3321
3321
  "repository",
3322
3322
  "required-artifacts-path",
3323
3323
  "required-status-check",
3324
+ "resume-transaction-id",
3324
3325
  "runtime-commit",
3325
3326
  "runtime-tree",
3326
3327
  "sealed-bundle-manifest",
@@ -3332,7 +3333,7 @@
3332
3333
  "target-sha",
3333
3334
  "token"
3334
3335
  ],
3335
- "inputCount": 28
3336
+ "inputCount": 29
3336
3337
  },
3337
3338
  {
3338
3339
  "id": "validate-config",
@@ -8941,7 +8942,7 @@
8941
8942
  "workflowRegistryPath": "dist/site/workflow-registry.json",
8942
8943
  "pageRegistryPath": "dist/site/page-registry.json",
8943
8944
  "cliRegistryDigest": "fbc23073bbae240489a2f826b2c26daadc58e704050c5f8df366509f5c5a1c3e",
8944
- "workflowRegistryDigest": "851d34a34c8c0c7985026fc9c3d8d682d923988c61661f63dfc70a05721a9765",
8945
+ "workflowRegistryDigest": "8b9714376d8bf8b7d7e5db1545d63a0ba6a3e2b4322ccdebedfdb63cc9a646b4",
8945
8946
  "pageRegistryDigest": "c81347e800ca7ded1b69a8480e562e67dc46671deb39ec27ca4376e7c8a77afd"
8946
8947
  },
8947
8948
  "comparison": {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-publication-release-registry",
4
- "generatedAt": "2026-08-30T12:35:42.378Z",
5
- "publishedAt": "2026-08-30T12:35:42.378Z",
4
+ "generatedAt": "2026-08-30T14:46:02.120Z",
5
+ "publishedAt": "2026-08-30T14:46:02.120Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "8629f05498ab51b25a74288be6697c3a46096828",
22
+ "sourceRevision": "87aa58cb619ffcaf2b14e4ee4e35f8c3cbe87a7f",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "package": {
34
34
  "name": "@kungfu-tech/buildchain",
35
- "version": "4.0.2-alpha.5",
35
+ "version": "4.0.2-alpha.7",
36
36
  "versionSource": "package.json#version"
37
37
  },
38
38
  "sourceKind": "package-site-bundle",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-manifest",
4
- "generatedAt": "2026-08-30T12:35:42.378Z",
5
- "publishedAt": "2026-08-30T12:35:42.378Z",
4
+ "generatedAt": "2026-08-30T14:46:02.120Z",
5
+ "publishedAt": "2026-08-30T14:46:02.120Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "8629f05498ab51b25a74288be6697c3a46096828",
22
+ "sourceRevision": "87aa58cb619ffcaf2b14e4ee4e35f8c3cbe87a7f",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "package": {
39
39
  "name": "@kungfu-tech/buildchain",
40
- "version": "4.0.2-alpha.5",
40
+ "version": "4.0.2-alpha.7",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "entrypoint": "buildchain-site.json",
@@ -2041,7 +2041,7 @@
2041
2041
  "status": "preview",
2042
2042
  "owner": "buildchain-workflows",
2043
2043
  "maturity": "preview",
2044
- "introducedVersion": "4.0.2-alpha.5",
2044
+ "introducedVersion": "4.0.2-alpha.7",
2045
2045
  "compatibilityPromise": "preserved-through-the-v3-major-line",
2046
2046
  "deprecationReplacement": "",
2047
2047
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
@@ -2062,7 +2062,7 @@
2062
2062
  "status": "preview",
2063
2063
  "owner": "buildchain-workflows",
2064
2064
  "maturity": "preview",
2065
- "introducedVersion": "4.0.2-alpha.5",
2065
+ "introducedVersion": "4.0.2-alpha.7",
2066
2066
  "compatibilityPromise": "preserved-through-the-v3-major-line",
2067
2067
  "deprecationReplacement": "",
2068
2068
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
@@ -2083,7 +2083,7 @@
2083
2083
  "status": "preview",
2084
2084
  "owner": "buildchain-workflows",
2085
2085
  "maturity": "preview",
2086
- "introducedVersion": "4.0.2-alpha.5",
2086
+ "introducedVersion": "4.0.2-alpha.7",
2087
2087
  "compatibilityPromise": "preserved-through-the-v3-major-line",
2088
2088
  "deprecationReplacement": "",
2089
2089
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
@@ -2133,7 +2133,7 @@
2133
2133
  "status": "preview",
2134
2134
  "owner": "buildchain-workflows",
2135
2135
  "maturity": "preview",
2136
- "introducedVersion": "4.0.2-alpha.5",
2136
+ "introducedVersion": "4.0.2-alpha.7",
2137
2137
  "compatibilityPromise": "preserved-through-the-v3-major-line",
2138
2138
  "deprecationReplacement": "",
2139
2139
  "sunsetCondition": "explicit-breaking-change-review-in-a-future-major-line",
@@ -3550,6 +3550,7 @@
3550
3550
  "repository",
3551
3551
  "required-artifacts-path",
3552
3552
  "required-status-check",
3553
+ "resume-transaction-id",
3553
3554
  "runtime-commit",
3554
3555
  "runtime-tree",
3555
3556
  "sealed-bundle-manifest",
@@ -3561,7 +3562,7 @@
3561
3562
  "target-sha",
3562
3563
  "token"
3563
3564
  ],
3564
- "inputCount": 28,
3565
+ "inputCount": 29,
3565
3566
  "capabilityGroup": "api-cli-reference",
3566
3567
  "status": "active",
3567
3568
  "owner": "buildchain-actions",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kungfu-tech/buildchain",
3
- "version": "4.0.2-alpha.5",
3
+ "version": "4.0.2-alpha.7",
4
4
  "private": false,
5
5
  "description": "Buildchain Release Passport, release governance, CLI toolkit, and site facts.",
6
6
  "repository": "https://github.com/kungfu-systems/buildchain",
@@ -821,7 +821,7 @@ export async function resolveRecoveryTransaction({
821
821
  transactionId,
822
822
  publicationVersion,
823
823
  }) {
824
- let transaction = publicationVersion
824
+ let transaction = transactionId && publicationVersion
825
825
  ? await readExistingTransaction({
826
826
  repoInfo,
827
827
  apiUrl,