@kungfu-tech/buildchain 2.11.14-alpha.6 → 2.12.0-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/AGENTS.md CHANGED
@@ -14,16 +14,27 @@ restating them.
14
14
 
15
15
  ## Using this repo as a Buildchain consumer
16
16
 
17
- Stable consumers should pin actions and reusable workflows through the released
18
- Buildchain refs:
17
+ Consumers that want Buildchain to select alpha for development/prerelease work
18
+ and stable for production releases use the channel router. The router defaults
19
+ to `auto`; repositories only add channel configuration when they intentionally
20
+ override that policy:
19
21
 
20
22
  ```yaml
21
- uses: kungfu-systems/buildchain/actions/validate-config@v2
22
- uses: kungfu-systems/buildchain/actions/run-lifecycle@v2
23
- uses: kungfu-systems/buildchain/actions/promote-buildchain-ref@v2
24
- uses: kungfu-systems/buildchain/.github/workflows/.build.yml@v2
23
+ uses: kungfu-systems/buildchain/.github/workflows/build.yml@v2
25
24
  ```
26
25
 
26
+ During the v2.12 alpha evaluation window, canaries call the same router through
27
+ the matching prerelease ref:
28
+
29
+ ```yaml
30
+ uses: kungfu-systems/buildchain/.github/workflows/build.yml@v2-alpha
31
+ ```
32
+
33
+ The default policy selects `vN-alpha` for pull requests, development, nightly,
34
+ and prerelease intent; it selects stable `vN` for stable release intent. The
35
+ advanced `.build.yml` surface and explicit `buildchain-ref` train/SHA validation
36
+ remain available when a repository needs precise control.
37
+
27
38
  For new repositories, prefer the CLI:
28
39
 
29
40
  ```sh
package/README.md CHANGED
@@ -201,6 +201,8 @@ The active reusable workflow surfaces are:
201
201
 
202
202
  - `.github/workflows/.build.yml` for deterministic multi-platform build and
203
203
  artifact contracts;
204
+ - `.github/workflows/build.yml` for the single-config channel router that uses
205
+ `vN-alpha` during development/prerelease work and `vN` for stable releases;
204
206
  - `.github/workflows/release-candidate-promote.yml` for post-merge
205
207
  promote-only publication from a PR-stage release candidate, without a second
206
208
  heavy build;
@@ -219,7 +221,7 @@ uses: kungfu-systems/buildchain/actions/validate-config@v2
219
221
  ```
220
222
 
221
223
  ```yaml
222
- uses: kungfu-systems/buildchain/.github/workflows/.build.yml@v2
224
+ uses: kungfu-systems/buildchain/.github/workflows/build.yml@v2
223
225
  ```
224
226
 
225
227
  ```yaml
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "name": "Buildchain",
6
6
  "package": "@kungfu-tech/buildchain",
7
- "version": "2.11.14-alpha.6",
7
+ "version": "2.12.0-alpha.0",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "majorLine": "v2",
@@ -50,7 +50,46 @@
50
50
  "retryable GitHub fallback fetches use a bounded attempt budget before exact source SHA and tree verification"
51
51
  ],
52
52
  "breakingDigest": "sha256:a6a35370d6b0d0f46e1b2712dcc01961fe53c2febde95409a27a485c10a36650",
53
- "auditDigest": "sha256:51ae2f281edc42b6d825976cdc3312a0e42e968e7eb71bef68cd4b30bc7cd382"
53
+ "auditDigest": "sha256:d07b446c85a29ba854baa8438d6f7aca15ebccaf7673527d6a1d2912b2fb66e6"
54
+ },
55
+ {
56
+ "contractVersion": 1,
57
+ "stability": "stable",
58
+ "additiveChanges": "optional inputs, optional outputs, diagnostics, and documentation may be added within the same major line",
59
+ "id": "channel-build-router",
60
+ "kind": "workflow",
61
+ "path": ".github/workflows/build.yml",
62
+ "publicRef": "kungfu-systems/buildchain/.github/workflows/build.yml@v2",
63
+ "requiredInputs": [],
64
+ "requiredOutputs": [
65
+ "buildchain-channel",
66
+ "buildchain-runtime-sha",
67
+ "build-summary-artifact"
68
+ ],
69
+ "breakingDefaults": {
70
+ "channelDefault": "auto",
71
+ "developmentDefault": "alpha",
72
+ "prereleaseDefault": "alpha",
73
+ "stableReleaseDefault": "stable",
74
+ "ambiguousReleasePolicy": "fail-closed"
75
+ },
76
+ "optionalInputs": [
77
+ "buildchain-channel",
78
+ "buildchain-ref",
79
+ "buildchain-alpha-contract-lock-path",
80
+ "buildchain-stable-contract-lock-path",
81
+ "buildchain-contract-lock-path"
82
+ ],
83
+ "guarantees": [
84
+ "consumers declare one build job while Buildchain selects the matching generic major channel",
85
+ "development and prerelease intent select vN-alpha",
86
+ "stable release intent selects vN",
87
+ "ambiguous release-like intent fails before build jobs",
88
+ "explicit train and exact-SHA overrides retain the reusable build trust gate",
89
+ "alpha and stable channel selections use separate consumer contract locks by default"
90
+ ],
91
+ "breakingDigest": "sha256:c4597dfa89e1a58f1023905092b849644f5c080abf150aeba9c7e1cd5ed43962",
92
+ "auditDigest": "sha256:421dc3ff2c95da3a5d556281af3f2918f08cfd8782a0c968e8465ca0e09d3afb"
54
93
  },
55
94
  {
56
95
  "contractVersion": 1,
@@ -141,7 +180,7 @@
141
180
  "channel-aware artifact host facts are checked against the deploy plan before adapter side effects"
142
181
  ],
143
182
  "breakingDigest": "sha256:da569f90374e878948e3d5160ed9929338ce0572473ca8ee54867b0fe1aaeace",
144
- "auditDigest": "sha256:a229811cdba006d4d04cec00e7df7a7363bbe2bf45e8429790f7f98b34f8be34"
183
+ "auditDigest": "sha256:9834ea899b16cb5603551df460b9e62fa4229c320d13f91a2353b696563fe07c"
145
184
  },
146
185
  {
147
186
  "contractVersion": 1,
@@ -442,7 +481,7 @@
442
481
  "manual entries carry source file digests so downstream sites and agents can detect stale hand-written documentation"
443
482
  ],
444
483
  "breakingDigest": "sha256:7d0d2819e3a3e72989d9c57b5efe9d0bc0a79bc0f2c82a0c7b9d6c5a211a91f2",
445
- "auditDigest": "sha256:a7e839af9aa768fa216c2856ada768d4bfd97e920c3f99d9c63e14b1fb82e89c"
484
+ "auditDigest": "sha256:2b171c123d063c5b812c701e43b10578dca168b186937b29b57846ae47e4f647"
446
485
  },
447
486
  {
448
487
  "contractVersion": 1,
@@ -464,9 +503,9 @@
464
503
  "agents can discover supported Node APIs without importing internal file paths"
465
504
  ],
466
505
  "breakingDigest": "sha256:48f925608d3e2131d90936b07dc2a30341204cae3e6e785c0f77d61ad755c945",
467
- "auditDigest": "sha256:b3833018162da89782de7b4f5723f1aca1bd7dc362b8276bf5e997fd6640d7f1"
506
+ "auditDigest": "sha256:678d254ee0ba8e58d9cc572d3721a916597e3260590113d4f8ba33b742868daf"
468
507
  }
469
508
  ],
470
- "compatibilityDigest": "sha256:1396e42444aaf3f26a40121faf3d599eb9db13537f627fc8dbcef2475af8af44",
471
- "contractDigest": "sha256:71a7ea68f69e0a69d61a7219ca0fb1181a2bfe57e8617f8a15b5e5a5093abd2e"
509
+ "compatibilityDigest": "sha256:2090784977bc7d54fc647215ef73532b9db26147a0b40ec3f56c31d611d806cc",
510
+ "contractDigest": "sha256:ceac237105bc966d6d2225db28e456b697d66093b59b2697c552d4867640c62d"
472
511
  }