@kungfu-tech/buildchain 2.8.6 → 2.8.7-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/dist/site/buildchain-contract.json +4 -4
- package/dist/site/buildchain-site.json +2 -2
- package/dist/site/manual-registry.json +2 -2
- package/dist/site/site-manifest.json +2 -2
- package/docs/release-candidate.md +8 -8
- package/docs/release-governance.md +2 -1
- package/docs/reusable-build-surface.md +10 -9
- package/package.json +1 -1
- package/scripts/check-inventory.mjs +1 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"product": {
|
|
5
5
|
"name": "Buildchain",
|
|
6
6
|
"package": "@kungfu-tech/buildchain",
|
|
7
|
-
"version": "2.8.
|
|
7
|
+
"version": "2.8.7-alpha.1",
|
|
8
8
|
"repository": "https://github.com/kungfu-systems/buildchain"
|
|
9
9
|
},
|
|
10
10
|
"majorLine": "v2",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"GitHub Release passport and evidence publication is delegated to promote-buildchain-ref after the semver release transaction completes"
|
|
93
93
|
],
|
|
94
94
|
"breakingDigest": "sha256:403d2fcdb0c5eabe749e89102defad69745f70a1556707bec7831fcc2e9fa8f8",
|
|
95
|
-
"auditDigest": "sha256:
|
|
95
|
+
"auditDigest": "sha256:320dd5103edabbb9c4e1a9ccdf314db3a74cc9049a7e66bf49a8820286e2cc7d"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"contractVersion": 1,
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
"manual entries carry source file digests so downstream sites and agents can detect stale hand-written documentation"
|
|
321
321
|
],
|
|
322
322
|
"breakingDigest": "sha256:7d0d2819e3a3e72989d9c57b5efe9d0bc0a79bc0f2c82a0c7b9d6c5a211a91f2",
|
|
323
|
-
"auditDigest": "sha256:
|
|
323
|
+
"auditDigest": "sha256:d5288916e9e83d773188f40713ade69e9ba8418886205727c2290aca512dda0f"
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
326
|
"contractVersion": 1,
|
|
@@ -346,5 +346,5 @@
|
|
|
346
346
|
}
|
|
347
347
|
],
|
|
348
348
|
"compatibilityDigest": "sha256:36421b592a782decbfe31a7d8d42d70ce1100a56a2c4f4a0ccc21f0617dc72bf",
|
|
349
|
-
"contractDigest": "sha256:
|
|
349
|
+
"contractDigest": "sha256:2f9b2f7c688818a6255d5f13059eedd0c23059f1daddecafd95ef4b9e60250a0"
|
|
350
350
|
}
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"path": "docs/reusable-build-surface.md",
|
|
106
106
|
"plane": "use",
|
|
107
107
|
"exists": true,
|
|
108
|
-
"digest": "sha256:
|
|
108
|
+
"digest": "sha256:8c3e7a5e099c8eb0715bb6f58af90d261f8cb83d384f3281b8763f340277582b"
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
"id": "publish-transaction",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"path": "docs/release-governance.md",
|
|
122
122
|
"plane": "why",
|
|
123
123
|
"exists": true,
|
|
124
|
-
"digest": "sha256:
|
|
124
|
+
"digest": "sha256:c7348c64e83ea1d154955e2fc0f7318a1c5582a3dfa6bdc5728958ddb418e92d"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"id": "release-flow",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"title": "Reusable build surface",
|
|
73
73
|
"path": "docs/reusable-build-surface.md",
|
|
74
74
|
"plane": "use",
|
|
75
|
-
"digest": "sha256:
|
|
75
|
+
"digest": "sha256:8c3e7a5e099c8eb0715bb6f58af90d261f8cb83d384f3281b8763f340277582b"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"id": "publish-transaction",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"title": "Release governance",
|
|
87
87
|
"path": "docs/release-governance.md",
|
|
88
88
|
"plane": "why",
|
|
89
|
-
"digest": "sha256:
|
|
89
|
+
"digest": "sha256:c7348c64e83ea1d154955e2fc0f7318a1c5582a3dfa6bdc5728958ddb418e92d"
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
"id": "release-flow",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"path": "docs/reusable-build-surface.md",
|
|
91
91
|
"plane": "use",
|
|
92
92
|
"exists": true,
|
|
93
|
-
"digest": "sha256:
|
|
93
|
+
"digest": "sha256:8c3e7a5e099c8eb0715bb6f58af90d261f8cb83d384f3281b8763f340277582b"
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
"id": "publish-transaction",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"path": "docs/release-governance.md",
|
|
107
107
|
"plane": "why",
|
|
108
108
|
"exists": true,
|
|
109
|
-
"digest": "sha256:
|
|
109
|
+
"digest": "sha256:c7348c64e83ea1d154955e2fc0f7318a1c5582a3dfa6bdc5728958ddb418e92d"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"id": "release-flow",
|
|
@@ -82,13 +82,14 @@ other package as `role: platform`. Consumer workflows therefore stay
|
|
|
82
82
|
declarative and do not need their own artifact download or publish-evidence
|
|
83
83
|
generation scripts.
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
`release.published` propagation in one declarative reusable workflow.
|
|
85
|
+
By default, the wrapper forwards GitHub Release publication to the underlying
|
|
86
|
+
`promote-buildchain-ref` semver model. Once the release transaction is complete,
|
|
87
|
+
the action creates or updates the exact-tag GitHub Release, applies
|
|
88
|
+
prerelease/latest metadata from the semver tag, and uploads the publish evidence
|
|
89
|
+
file together with the generated release passport assets. This keeps
|
|
90
|
+
npm/registry publication, Buildchain release passport persistence, and
|
|
91
|
+
`release.published` propagation in one declarative reusable workflow. Consumers
|
|
92
|
+
that do not publish GitHub Releases can opt out with `github-release: false`.
|
|
92
93
|
|
|
93
94
|
Products that publish KFD release trust evidence can keep that path declarative
|
|
94
95
|
too. Pass KFD-1 self contract witnesses, KFD-2 public claim files, and KFD-3
|
|
@@ -101,7 +102,6 @@ jobs:
|
|
|
101
102
|
with:
|
|
102
103
|
channel: alpha
|
|
103
104
|
artifact-name: libnode
|
|
104
|
-
github-release: true
|
|
105
105
|
release-passport-kfd-1-witness-jsons: .buildchain/kfd-1/standard-contract.witness.json
|
|
106
106
|
release-passport-kfd-2-claim-jsons: .buildchain/kfd-2/release-claims.json
|
|
107
107
|
release-passport-kfd-3-prebuild-witness-jsons: .buildchain/kfd-3/collaboration-interface.prebuild.json
|
|
@@ -442,7 +442,8 @@ publication models.
|
|
|
442
442
|
|
|
443
443
|
Semver GitHub Release publication is owned by `promote-buildchain-ref`, not by
|
|
444
444
|
consumer shell glue. Consumers normally use the `release-candidate-promote.yml`
|
|
445
|
-
wrapper
|
|
445
|
+
wrapper, where GitHub Release publication is enabled by default and can be
|
|
446
|
+
disabled with `github-release: false`; the wrapper passes that declaration to
|
|
446
447
|
the action. After the publish transaction reaches `complete`, Buildchain creates
|
|
447
448
|
or updates the exact-tag GitHub Release and uploads the generated
|
|
448
449
|
`buildchain.release.json`, release-passport assets, and publish evidence. Semver
|
|
@@ -570,15 +570,16 @@ resolution and before publish. A compatible `v2` drift leaves an issue in the
|
|
|
570
570
|
consumer repository but does not trigger a second heavy build; an incompatible
|
|
571
571
|
drift fails before publish side effects.
|
|
572
572
|
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
`
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
573
|
+
The wrapper publishes the promoted exact tag as a GitHub Release by default.
|
|
574
|
+
After `promote-buildchain-ref` reports a complete release transaction, the
|
|
575
|
+
wrapper creates or updates the exact-tag release, marks semver prerelease tags
|
|
576
|
+
such as `v1.2.3-alpha.0`, `v1.2.3-rc.1`, or `v22.22.3-kf.3-alpha.7` as
|
|
577
|
+
`prerelease=true` and `make_latest=false`, marks stable semver tags as latest,
|
|
578
|
+
and uploads the publish evidence file plus every file in the generated release
|
|
579
|
+
passport directory, including `buildchain.release.json` and `check-report.json`.
|
|
580
|
+
Consumers do not need to hand-write `gh release` logic to trigger
|
|
581
|
+
`release.published` propagation. Set `github-release: false` only for
|
|
582
|
+
repositories that intentionally do not maintain GitHub Releases.
|
|
582
583
|
If the transaction still needs protected-ref finalization, the wrapper defers
|
|
583
584
|
GitHub Release creation until the later run that reaches `state=complete`.
|
|
584
585
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kungfu-tech/buildchain",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.7-alpha.1",
|
|
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",
|
|
@@ -363,6 +363,7 @@ for (const requiredSnippet of [
|
|
|
363
363
|
"Generate Buildchain self KFD release claims",
|
|
364
364
|
"generate-buildchain-kfd-witnesses.mjs",
|
|
365
365
|
"github-release:",
|
|
366
|
+
"default: true",
|
|
366
367
|
"github-release: ${{ inputs.github-release }}",
|
|
367
368
|
"github-release-title: ${{ inputs.github-release-title }}",
|
|
368
369
|
"github-release-notes: ${{ inputs.github-release-notes }}",
|