@kungfu-tech/buildchain 2.8.9 → 2.8.10-alpha.0

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/README.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Buildchain
2
2
 
3
+ [![Verify](https://github.com/kungfu-systems/buildchain/actions/workflows/verify.yml/badge.svg?branch=dev%2Fv2%2Fv2.8)](https://github.com/kungfu-systems/buildchain/actions/workflows/verify.yml)
4
+ [![Release Gate](https://github.com/kungfu-systems/buildchain/actions/workflows/buildchain-ref-promotion.yml/badge.svg)](https://github.com/kungfu-systems/buildchain/actions/workflows/buildchain-ref-promotion.yml)
5
+ [![npm latest](https://img.shields.io/npm/v/%40kungfu-tech%2Fbuildchain/latest?label=npm%20latest)](https://www.npmjs.com/package/@kungfu-tech/buildchain)
6
+ [![npm alpha](https://img.shields.io/npm/v/%40kungfu-tech%2Fbuildchain/alpha?label=npm%20alpha)](https://www.npmjs.com/package/@kungfu-tech/buildchain?activeTab=versions)
7
+ [![GitHub Release](https://img.shields.io/github/v/release/kungfu-systems/buildchain?label=release)](https://github.com/kungfu-systems/buildchain/releases)
8
+ [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
9
+ [![KFD-1](https://img.shields.io/badge/KFD--1-contract%20world-2ea44f.svg)](docs/release-passport.md#kfd-1-contract-world-release-gate)
10
+ [![KFD-2](https://img.shields.io/badge/KFD--2-trust%20passport-0969da.svg)](docs/release-passport.md#kfd-2-release-trust-passport-audit)
11
+ [![KFD-3](https://img.shields.io/badge/KFD--3-collaboration%20interface-8250df.svg)](docs/release-passport.md#kfd-3-collaboration-interface-release-gate)
12
+ ![Status: Stable](https://img.shields.io/badge/status-stable-brightgreen.svg)
13
+ ![Platforms: macOS | Linux | Windows](https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows-lightgrey.svg)
14
+
3
15
  Buildchain Release Passport is a mature product release record for artifacts
4
16
  that users or agents depend on.
5
17
 
@@ -75,15 +75,18 @@ alpha branch or tag. The repository must create the next upstream anchor line
75
75
  explicitly, then run the normal channel promotion flow for that line.
76
76
 
77
77
  When branch protection requires pull requests, generated version-state commits
78
- must still complete inside the promotion automation. The action updates
78
+ still run through promotion automation first. The action updates
79
79
  Buildchain-managed channel protection before generated bookkeeping, adds the
80
80
  authenticated promotion token user or app to the bypass allowlist, creates the
81
81
  configured required check on the exact generated version-state commit, then
82
- applies that commit directly. If GitHub still rejects the direct update,
83
- promotion fails with a configuration diagnostic instead of opening a
84
- post-publish human PR. Reusable wrapper callers should allow `checks: write` so
85
- the generated check is owned by GitHub Actions and matches the managed branch
86
- protection rule.
82
+ tries to apply that commit directly. If GitHub still rejects release
83
+ finalization bookkeeping, Buildchain creates or reuses a same-repository
84
+ `buildchain/version-state/*` PR based on the current target channel head and
85
+ returns `finalization-needed=true`; a later idempotent promotion run can resume
86
+ from the durable transaction state. Strict alpha promotion still fails with a
87
+ configuration diagnostic instead of opening a post-publish human PR. Reusable
88
+ wrapper callers should allow `checks: write` so the generated check is owned by
89
+ GitHub Actions and matches the managed branch protection rule.
87
90
 
88
91
  For Buildchain-owned automation, callers may pass
89
92
  `branch-protection-bypass-apps`, `branch-protection-bypass-users`, or
@@ -220,8 +223,10 @@ The action outputs `transaction-id`, `transaction-state`,
220
223
  `release-passport-state-sha` is the durable ref commit after the generated
221
224
  `release-passport/*` files have been uploaded into that recovery ref.
222
225
  `finalization-needed=true` means publish evidence is valid, but protected branch
223
- or ref finalization needs a later idempotent promotion run. It must not require
224
- a human version-state PR.
226
+ or ref finalization needs a later idempotent promotion run. For release
227
+ finalization, Buildchain may create a same-repository generated version-state
228
+ PR when GitHub rejects the direct protected ref update; that PR is Buildchain
229
+ bookkeeping, not a consumer-authored release change.
225
230
  Set `github-release: "true"` when the semver promotion should also publish the
226
231
  exact-tag GitHub Release. After the release transaction reaches `complete` and
227
232
  `finalization-needed` is false, the action creates or updates the GitHub Release
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "name": "Buildchain",
6
6
  "package": "@kungfu-tech/buildchain",
7
- "version": "2.8.9",
7
+ "version": "2.8.10-alpha.0",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "majorLine": "v2",
@@ -362,7 +362,7 @@
362
362
  "manual entries carry source file digests so downstream sites and agents can detect stale hand-written documentation"
363
363
  ],
364
364
  "breakingDigest": "sha256:7d0d2819e3a3e72989d9c57b5efe9d0bc0a79bc0f2c82a0c7b9d6c5a211a91f2",
365
- "auditDigest": "sha256:56f4d576816d32f34844a248c9b5fdcb1adac99ef8588a1d1591577e8939ad78"
365
+ "auditDigest": "sha256:fd6753b3d3cd7561cd5f137f78fafa70ad7a6cc014b9f5c021c12e835c8a7a60"
366
366
  },
367
367
  {
368
368
  "contractVersion": 1,
@@ -388,5 +388,5 @@
388
388
  }
389
389
  ],
390
390
  "compatibilityDigest": "sha256:85e27de8d34ceac1652d9374697ea5a1a7a08666d2ba7ae377b9afdd14e2ca1f",
391
- "contractDigest": "sha256:d2b7e1c620bbd5a93e3dcea93a708ae6302a80626bb5032245d0f9b9b4f15511"
391
+ "contractDigest": "sha256:26daabc22aefe3dc60ad1045305c59c6a85534b0acb457c1bc10cc74eca38070"
392
392
  }