@kungfu-tech/buildchain 2.12.7-alpha.2 → 2.12.7-alpha.21
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/actions/promote-buildchain-ref/README.md +5 -1
- package/dist/site/buildchain-contract.json +53 -23
- package/dist/site/buildchain-site.json +16 -16
- package/dist/site/capability-registry.json +1 -1
- package/dist/site/controller-registry.json +27 -3
- package/dist/site/kfd-claims.json +63 -9
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +2 -2
- package/dist/site/node-api-registry.json +6 -6
- package/dist/site/page-registry.json +10 -10
- package/dist/site/public-surface-audit.json +74 -10
- package/dist/site/publication-authority-registry.json +25 -1
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/site-manifest.json +6 -6
- package/dist/site/workflow-registry.json +74 -7
- package/docs/publication-artifacts.md +30 -20
- package/docs/publication-authority.md +21 -9
- package/docs/release-candidate.md +19 -0
- package/docs/shifu-gate-profiles.md +6 -0
- package/package.json +1 -1
- package/packages/core/buildchain-publication-authority.js +1 -0
- package/packages/core/controller-evidence.js +1 -1
- package/packages/core/index.js +7 -0
- package/packages/core/publication-artifact-candidate.js +128 -0
- package/packages/core/publication-authority.js +41 -2
- package/packages/core/publication-control-plane-audit.js +3 -1
- package/scripts/assemble-publication-artifact-admission.mjs +190 -0
- package/scripts/assemble-self-publication-admission.mjs +19 -9
- package/scripts/audit-publication-control-plane.mjs +5 -2
- package/scripts/check-inventory.mjs +3 -0
- package/scripts/locked-source-checkout.mjs +22 -2
- package/scripts/publication-artifact-candidate.mjs +122 -0
- package/scripts/workflow-friction-report.mjs +13 -2
|
@@ -336,7 +336,11 @@ Missing required artifacts can be published on the next run. Conflicting
|
|
|
336
336
|
refs, digests, or declared provenance put the transaction into
|
|
337
337
|
`repair_required`; `abandoned` and
|
|
338
338
|
`failed_permanently` also fail closed unless `publish-transaction-override` is
|
|
339
|
-
set for a controlled repair.
|
|
339
|
+
set for a controlled repair. The same override may replace a stale transaction
|
|
340
|
+
only when its version, exact tag, target ref, and channel are unchanged, the
|
|
341
|
+
transaction is not complete, and it contains no published artifacts or
|
|
342
|
+
evidence. This lets a newly admitted source retry a previously failed paper
|
|
343
|
+
publication without weakening already-published facts.
|
|
340
344
|
|
|
341
345
|
In strict buildchain promotion, ref movement is also gated by the old ABV
|
|
342
346
|
governance semantics:
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"product": {
|
|
5
5
|
"name": "Buildchain",
|
|
6
6
|
"package": "@kungfu-tech/buildchain",
|
|
7
|
-
"version": "2.12.7-alpha.
|
|
7
|
+
"version": "2.12.7-alpha.21",
|
|
8
8
|
"repository": "https://github.com/kungfu-systems/buildchain"
|
|
9
9
|
},
|
|
10
10
|
"majorLine": "v2",
|
|
@@ -50,7 +50,7 @@
|
|
|
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:
|
|
53
|
+
"auditDigest": "sha256:d468a640a96539be038335ca4ec2d1800e263cad553d8ee790f268a9e8dfc981"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"contractVersion": 1,
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"GitHub Release passport and evidence publication is delegated to promote-buildchain-ref after the semver release transaction completes"
|
|
160
160
|
],
|
|
161
161
|
"breakingDigest": "sha256:6dbae32ce3d7aab3be6957065105af574794581847b7637314dad45f5349c919",
|
|
162
|
-
"auditDigest": "sha256:
|
|
162
|
+
"auditDigest": "sha256:3de1fbbaad4c5b09cf958bed1aeba4fd9a3e101baa96076088c9c4a91c2d9784"
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
"contractVersion": 1,
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
"semver GitHub Releases are created or updated only after transaction completion, with prerelease/latest metadata derived from the public release tag"
|
|
270
270
|
],
|
|
271
271
|
"breakingDigest": "sha256:a59f0910e6df842e7699139472e5dd69ac2fdd7f7213bf2cb346d1d622556874",
|
|
272
|
-
"auditDigest": "sha256:
|
|
272
|
+
"auditDigest": "sha256:2ee7b15a8f2e04ecb798d315c99c29dbb7ad857b87256f8f09a2cb4c024e7cf6"
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
275
|
"contractVersion": 1,
|
|
@@ -527,7 +527,7 @@
|
|
|
527
527
|
"manual entries carry source file digests so downstream sites and agents can detect stale hand-written documentation"
|
|
528
528
|
],
|
|
529
529
|
"breakingDigest": "sha256:7d0d2819e3a3e72989d9c57b5efe9d0bc0a79bc0f2c82a0c7b9d6c5a211a91f2",
|
|
530
|
-
"auditDigest": "sha256:
|
|
530
|
+
"auditDigest": "sha256:147a919feefa45c601f1e1fbf00a2d57bb0343294303adac2ea1f196a453ca4b"
|
|
531
531
|
},
|
|
532
532
|
{
|
|
533
533
|
"contractVersion": 1,
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
"agents can discover supported Node APIs without importing internal file paths"
|
|
550
550
|
],
|
|
551
551
|
"breakingDigest": "sha256:48f925608d3e2131d90936b07dc2a30341204cae3e6e785c0f77d61ad755c945",
|
|
552
|
-
"auditDigest": "sha256:
|
|
552
|
+
"auditDigest": "sha256:6cb094e42fb35ae6a3b166fbe179a4663f019737cd82bad6279ffaf690110737"
|
|
553
553
|
},
|
|
554
554
|
{
|
|
555
555
|
"contractVersion": 1,
|
|
@@ -600,7 +600,7 @@
|
|
|
600
600
|
"controllerDescriptor": {
|
|
601
601
|
"contract": "buildchain.controller-descriptor/v1",
|
|
602
602
|
"digest": "sha256:373723a73d188194d389dee04c394d3b79cb0c016a370f2f5d0f60979a02ed48",
|
|
603
|
-
"registryDigest": "sha256:
|
|
603
|
+
"registryDigest": "sha256:22be9d05109396f2b5c44a74fb0f67e4a554c462662c5a41e44e466c4d90ed04",
|
|
604
604
|
"inputClassifications": {
|
|
605
605
|
"buildchain-ref": {
|
|
606
606
|
"classification": "included",
|
|
@@ -746,7 +746,7 @@
|
|
|
746
746
|
"controllerDescriptor": {
|
|
747
747
|
"contract": "buildchain.controller-descriptor/v1",
|
|
748
748
|
"digest": "sha256:ce2ada5daf86cbe6e58327c190fdfe07510952cc8820cf445eb4342daae4da18",
|
|
749
|
-
"registryDigest": "sha256:
|
|
749
|
+
"registryDigest": "sha256:22be9d05109396f2b5c44a74fb0f67e4a554c462662c5a41e44e466c4d90ed04",
|
|
750
750
|
"inputClassifications": {
|
|
751
751
|
"BUILDCHAIN_ARTIFACT_RELAY_S3_DOWNLOAD_ROLE_ARN": {
|
|
752
752
|
"classification": "redacted",
|
|
@@ -1001,7 +1001,7 @@
|
|
|
1001
1001
|
"missing receipts are non-qualifying and must not be represented as a successful controller run"
|
|
1002
1002
|
],
|
|
1003
1003
|
"breakingDigest": "sha256:e264a79f9f399038c2fcfd21e4168c68c2e1485ee5c651c02242a02b622ac2be",
|
|
1004
|
-
"auditDigest": "sha256:
|
|
1004
|
+
"auditDigest": "sha256:d468a640a96539be038335ca4ec2d1800e263cad553d8ee790f268a9e8dfc981"
|
|
1005
1005
|
},
|
|
1006
1006
|
{
|
|
1007
1007
|
"contractVersion": 1,
|
|
@@ -1107,7 +1107,7 @@
|
|
|
1107
1107
|
"controllerDescriptor": {
|
|
1108
1108
|
"contract": "buildchain.controller-descriptor/v1",
|
|
1109
1109
|
"digest": "sha256:0ed17d03e410ca1b7726422716522a5e9096eee7badb197401291d53198518ea",
|
|
1110
|
-
"registryDigest": "sha256:
|
|
1110
|
+
"registryDigest": "sha256:22be9d05109396f2b5c44a74fb0f67e4a554c462662c5a41e44e466c4d90ed04",
|
|
1111
1111
|
"inputClassifications": {
|
|
1112
1112
|
"BUILDCHAIN_ARTIFACT_RELAY_S3_DOWNLOAD_ROLE_ARN": {
|
|
1113
1113
|
"classification": "redacted",
|
|
@@ -1433,7 +1433,7 @@
|
|
|
1433
1433
|
"controllerDescriptor": {
|
|
1434
1434
|
"contract": "buildchain.controller-descriptor/v1",
|
|
1435
1435
|
"digest": "sha256:29569f4b754595792a16742d1c4c63838b54601674a2cb6c96261a72c962dece",
|
|
1436
|
-
"registryDigest": "sha256:
|
|
1436
|
+
"registryDigest": "sha256:22be9d05109396f2b5c44a74fb0f67e4a554c462662c5a41e44e466c4d90ed04",
|
|
1437
1437
|
"inputClassifications": {
|
|
1438
1438
|
"artifact-name": {
|
|
1439
1439
|
"classification": "included",
|
|
@@ -1520,7 +1520,7 @@
|
|
|
1520
1520
|
"missing receipts are non-qualifying and must not be represented as a successful controller run"
|
|
1521
1521
|
],
|
|
1522
1522
|
"breakingDigest": "sha256:5f1868478b7ccd9fb79aea76bc771289d2ca6bd2dccd1abf57575426f1eae5fb",
|
|
1523
|
-
"auditDigest": "sha256:
|
|
1523
|
+
"auditDigest": "sha256:f478f291726cd47d998c37d454d9fc3e97f1d4a45dc60fe756d8c239fa1245bd"
|
|
1524
1524
|
},
|
|
1525
1525
|
{
|
|
1526
1526
|
"contractVersion": 1,
|
|
@@ -1603,7 +1603,7 @@
|
|
|
1603
1603
|
"controllerDescriptor": {
|
|
1604
1604
|
"contract": "buildchain.controller-descriptor/v1",
|
|
1605
1605
|
"digest": "sha256:f08c4970f33c059f8e0b43110f0063172fb1015ac914bdb0c8e9646692fb9f06",
|
|
1606
|
-
"registryDigest": "sha256:
|
|
1606
|
+
"registryDigest": "sha256:22be9d05109396f2b5c44a74fb0f67e4a554c462662c5a41e44e466c4d90ed04",
|
|
1607
1607
|
"inputClassifications": {
|
|
1608
1608
|
"artifact-path": {
|
|
1609
1609
|
"classification": "digest-only",
|
|
@@ -1820,7 +1820,11 @@
|
|
|
1820
1820
|
"buildchain-ref",
|
|
1821
1821
|
"buildchain-repository",
|
|
1822
1822
|
"node-version",
|
|
1823
|
+
"package-name",
|
|
1824
|
+
"prepare-paper-package",
|
|
1825
|
+
"publish-dist-tag",
|
|
1823
1826
|
"setup-node",
|
|
1827
|
+
"target-ref",
|
|
1824
1828
|
"toolchain-command",
|
|
1825
1829
|
"toolchain-digest",
|
|
1826
1830
|
"toolchain-image",
|
|
@@ -1830,8 +1834,8 @@
|
|
|
1830
1834
|
],
|
|
1831
1835
|
"controllerDescriptor": {
|
|
1832
1836
|
"contract": "buildchain.controller-descriptor/v1",
|
|
1833
|
-
"digest": "sha256:
|
|
1834
|
-
"registryDigest": "sha256:
|
|
1837
|
+
"digest": "sha256:6b132790b9798e8a5dfbe095701d8e024c160a08bc7c4bd477ee79feef7a9cfd",
|
|
1838
|
+
"registryDigest": "sha256:22be9d05109396f2b5c44a74fb0f67e4a554c462662c5a41e44e466c4d90ed04",
|
|
1835
1839
|
"inputClassifications": {
|
|
1836
1840
|
"artifact-name": {
|
|
1837
1841
|
"classification": "included",
|
|
@@ -1873,10 +1877,26 @@
|
|
|
1873
1877
|
"classification": "included",
|
|
1874
1878
|
"source": "workflow-call-input"
|
|
1875
1879
|
},
|
|
1880
|
+
"package-name": {
|
|
1881
|
+
"classification": "included",
|
|
1882
|
+
"source": "workflow-call-input"
|
|
1883
|
+
},
|
|
1884
|
+
"prepare-paper-package": {
|
|
1885
|
+
"classification": "included",
|
|
1886
|
+
"source": "workflow-call-input"
|
|
1887
|
+
},
|
|
1888
|
+
"publish-dist-tag": {
|
|
1889
|
+
"classification": "included",
|
|
1890
|
+
"source": "workflow-call-input"
|
|
1891
|
+
},
|
|
1876
1892
|
"setup-node": {
|
|
1877
1893
|
"classification": "included",
|
|
1878
1894
|
"source": "workflow-call-input"
|
|
1879
1895
|
},
|
|
1896
|
+
"target-ref": {
|
|
1897
|
+
"classification": "included",
|
|
1898
|
+
"source": "workflow-call-input"
|
|
1899
|
+
},
|
|
1880
1900
|
"toolchain-command": {
|
|
1881
1901
|
"classification": "digest-only",
|
|
1882
1902
|
"source": "workflow-call-input"
|
|
@@ -1910,7 +1930,7 @@
|
|
|
1910
1930
|
"missing receipts are non-qualifying and must not be represented as a successful controller run"
|
|
1911
1931
|
],
|
|
1912
1932
|
"breakingDigest": "sha256:3f76502666069c2727d23efcfdb08fb80f89ced1955a69e29f11525ae88aca1d",
|
|
1913
|
-
"auditDigest": "sha256:
|
|
1933
|
+
"auditDigest": "sha256:f83405748e500d31a237240438f7f410c1bb2b4ef39ab7323131fa54f38c1a59"
|
|
1914
1934
|
},
|
|
1915
1935
|
{
|
|
1916
1936
|
"contractVersion": 1,
|
|
@@ -1996,7 +2016,7 @@
|
|
|
1996
2016
|
"controllerDescriptor": {
|
|
1997
2017
|
"contract": "buildchain.controller-descriptor/v1",
|
|
1998
2018
|
"digest": "sha256:0613ea545fe2d630f34e665c8e6fe99df3f5333d75051a7176e9cf991e494f59",
|
|
1999
|
-
"registryDigest": "sha256:
|
|
2019
|
+
"registryDigest": "sha256:22be9d05109396f2b5c44a74fb0f67e4a554c462662c5a41e44e466c4d90ed04",
|
|
2000
2020
|
"inputClassifications": {
|
|
2001
2021
|
"artifact-name": {
|
|
2002
2022
|
"classification": "included",
|
|
@@ -2155,7 +2175,7 @@
|
|
|
2155
2175
|
"missing receipts are non-qualifying and must not be represented as a successful controller run"
|
|
2156
2176
|
],
|
|
2157
2177
|
"breakingDigest": "sha256:0eb318df455ef9cb737a7c2515a2411b685d34ed0bde7b5f5b173a7a42513114",
|
|
2158
|
-
"auditDigest": "sha256:
|
|
2178
|
+
"auditDigest": "sha256:9b810a4120c819dc28021921da243ddcc8d3f832fd610ef9d1be0212d3ba3fa6"
|
|
2159
2179
|
},
|
|
2160
2180
|
{
|
|
2161
2181
|
"contractVersion": 1,
|
|
@@ -2203,6 +2223,7 @@
|
|
|
2203
2223
|
"BUILDCHAIN_ISSUE_APP_ID",
|
|
2204
2224
|
"BUILDCHAIN_ISSUE_APP_PRIVATE_KEY",
|
|
2205
2225
|
"BUILDCHAIN_ISSUE_TOKEN",
|
|
2226
|
+
"BUILDCHAIN_PROMOTION_TOKEN",
|
|
2206
2227
|
"allow-repository",
|
|
2207
2228
|
"artifact-name",
|
|
2208
2229
|
"artifact-patterns",
|
|
@@ -2225,6 +2246,7 @@
|
|
|
2225
2246
|
"package-manager",
|
|
2226
2247
|
"publication-admission-json",
|
|
2227
2248
|
"publication-auto-admission",
|
|
2249
|
+
"publication-auto-no-gate",
|
|
2228
2250
|
"publication-control-plane-audit-json",
|
|
2229
2251
|
"publication-expected-json",
|
|
2230
2252
|
"publication-gate-aggregate-json",
|
|
@@ -2264,8 +2286,8 @@
|
|
|
2264
2286
|
],
|
|
2265
2287
|
"controllerDescriptor": {
|
|
2266
2288
|
"contract": "buildchain.controller-descriptor/v1",
|
|
2267
|
-
"digest": "sha256:
|
|
2268
|
-
"registryDigest": "sha256:
|
|
2289
|
+
"digest": "sha256:c5dfeb63bbe3507e3c58f74e2a5792e6558002e3aafab6453cc8b8837db2a729",
|
|
2290
|
+
"registryDigest": "sha256:22be9d05109396f2b5c44a74fb0f67e4a554c462662c5a41e44e466c4d90ed04",
|
|
2269
2291
|
"inputClassifications": {
|
|
2270
2292
|
"BUILDCHAIN_ISSUE_APP_ID": {
|
|
2271
2293
|
"classification": "redacted",
|
|
@@ -2279,6 +2301,10 @@
|
|
|
2279
2301
|
"classification": "redacted",
|
|
2280
2302
|
"source": "workflow-call-secret"
|
|
2281
2303
|
},
|
|
2304
|
+
"BUILDCHAIN_PROMOTION_TOKEN": {
|
|
2305
|
+
"classification": "redacted",
|
|
2306
|
+
"source": "workflow-call-secret"
|
|
2307
|
+
},
|
|
2282
2308
|
"allow-repository": {
|
|
2283
2309
|
"classification": "included",
|
|
2284
2310
|
"source": "workflow-call-input"
|
|
@@ -2367,6 +2393,10 @@
|
|
|
2367
2393
|
"classification": "included",
|
|
2368
2394
|
"source": "workflow-call-input"
|
|
2369
2395
|
},
|
|
2396
|
+
"publication-auto-no-gate": {
|
|
2397
|
+
"classification": "included",
|
|
2398
|
+
"source": "workflow-call-input"
|
|
2399
|
+
},
|
|
2370
2400
|
"publication-control-plane-audit-json": {
|
|
2371
2401
|
"classification": "digest-only",
|
|
2372
2402
|
"source": "workflow-call-input"
|
|
@@ -2520,7 +2550,7 @@
|
|
|
2520
2550
|
"missing receipts are non-qualifying and must not be represented as a successful controller run"
|
|
2521
2551
|
],
|
|
2522
2552
|
"breakingDigest": "sha256:46238f8fc3c20924decc57ecad142a462fc4739c6bc21409d5cd2457fc1c3cdd",
|
|
2523
|
-
"auditDigest": "sha256:
|
|
2553
|
+
"auditDigest": "sha256:3de1fbbaad4c5b09cf958bed1aeba4fd9a3e101baa96076088c9c4a91c2d9784"
|
|
2524
2554
|
},
|
|
2525
2555
|
{
|
|
2526
2556
|
"contractVersion": 1,
|
|
@@ -2578,7 +2608,7 @@
|
|
|
2578
2608
|
"controllerDescriptor": {
|
|
2579
2609
|
"contract": "buildchain.controller-descriptor/v1",
|
|
2580
2610
|
"digest": "sha256:9b9f9a2320c4349903d72ee46e329211b5538ed5ebebaa93559df4eafb835997",
|
|
2581
|
-
"registryDigest": "sha256:
|
|
2611
|
+
"registryDigest": "sha256:22be9d05109396f2b5c44a74fb0f67e4a554c462662c5a41e44e466c4d90ed04",
|
|
2582
2612
|
"inputClassifications": {
|
|
2583
2613
|
"buildchain-ref": {
|
|
2584
2614
|
"classification": "included",
|
|
@@ -2649,5 +2679,5 @@
|
|
|
2649
2679
|
}
|
|
2650
2680
|
],
|
|
2651
2681
|
"compatibilityDigest": "sha256:af162b86ab4506e9b5f1d3c59b41f3fd57fbad79ff4d749a7f12ff16460517f8",
|
|
2652
|
-
"contractDigest": "sha256:
|
|
2682
|
+
"contractDigest": "sha256:048014d9eac273cb507311984dda5030552741df29ed2177f0b9a347d932a423"
|
|
2653
2683
|
}
|