@kungfu-tech/buildchain 2.12.6 → 2.12.7-alpha.10
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 +11 -3
- package/bin/buildchain.mjs +78 -0
- package/dist/site/agent-index.json +1 -0
- package/dist/site/artifact-schemas.json +1 -0
- package/dist/site/buildchain-contract.json +163 -38
- package/dist/site/buildchain-site.json +73 -17
- package/dist/site/capability-registry.json +6 -5
- package/dist/site/cli-registry.json +36 -0
- package/dist/site/controller-registry.json +121 -10
- package/dist/site/kfd-claims.json +305 -17
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +16 -2
- package/dist/site/node-api-registry.json +43 -4
- package/dist/site/page-registry.json +58 -11
- package/dist/site/public-surface-audit.json +212 -19
- package/dist/site/publication-authority-registry.json +778 -0
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/release-provenance.json +4 -0
- package/dist/site/site-manifest.json +15 -6
- package/dist/site/workflow-registry.json +173 -12
- package/docs/MAP.md +2 -1
- package/docs/publication-artifacts.md +25 -18
- package/docs/publication-authority.md +213 -0
- package/docs/release-governance.md +3 -1
- package/docs/shifu-gate-profiles.md +6 -0
- package/package.json +5 -1
- package/packages/core/buildchain-kfd-claims.js +5 -0
- package/packages/core/buildchain-publication-authority.js +80 -0
- package/packages/core/controller-evidence.js +8 -8
- package/packages/core/index.js +35 -0
- package/packages/core/publication-artifact-candidate.js +128 -0
- package/packages/core/publication-authority.js +764 -0
- package/packages/core/publication-control-plane-audit.js +135 -0
- package/scripts/assemble-publication-artifact-admission.mjs +190 -0
- package/scripts/assemble-self-publication-admission.mjs +183 -0
- package/scripts/audit-publication-control-plane.mjs +409 -0
- package/scripts/check-inventory.mjs +25 -2
- package/scripts/generate-site-bundle.mjs +16 -0
- package/scripts/publication-artifact-candidate.mjs +130 -0
- package/scripts/workflow-friction-report.mjs +13 -2
|
@@ -3,15 +3,20 @@
|
|
|
3
3
|
"contract": "kungfu-buildchain-public-surface-reverse-audit",
|
|
4
4
|
"status": "passed",
|
|
5
5
|
"summary": {
|
|
6
|
-
"cliCommandCount":
|
|
7
|
-
"workflowCount":
|
|
6
|
+
"cliCommandCount": 79,
|
|
7
|
+
"workflowCount": 47,
|
|
8
8
|
"actionCount": 4,
|
|
9
|
-
"sitePageCount":
|
|
10
|
-
"docCommandRefCount":
|
|
9
|
+
"sitePageCount": 49,
|
|
10
|
+
"docCommandRefCount": 246,
|
|
11
11
|
"failureCount": 0
|
|
12
12
|
},
|
|
13
13
|
"enumerated": {
|
|
14
14
|
"cliCommands": [
|
|
15
|
+
{
|
|
16
|
+
"id": "audit",
|
|
17
|
+
"source": "bin/buildchain.mjs",
|
|
18
|
+
"usage": "buildchain audit publication-control-plane --repository <owner/repo> --branch <protected-branch>"
|
|
19
|
+
},
|
|
15
20
|
{
|
|
16
21
|
"id": "badges",
|
|
17
22
|
"source": "bin/buildchain.mjs",
|
|
@@ -47,6 +52,11 @@
|
|
|
47
52
|
"source": "bin/buildchain.mjs",
|
|
48
53
|
"usage": "buildchain collect github-release --tag <tag> [--repository <owner/repo>]"
|
|
49
54
|
},
|
|
55
|
+
{
|
|
56
|
+
"id": "create",
|
|
57
|
+
"source": "bin/buildchain.mjs",
|
|
58
|
+
"usage": "buildchain create publication-admission --input-json <file-or-json> [--output <file>] [--json]"
|
|
59
|
+
},
|
|
50
60
|
{
|
|
51
61
|
"id": "diagnostics",
|
|
52
62
|
"source": "bin/buildchain.mjs",
|
|
@@ -377,6 +387,11 @@
|
|
|
377
387
|
"source": "bin/buildchain.mjs",
|
|
378
388
|
"usage": "buildchain verify observability-log <jsonl> [--min-events <n>]"
|
|
379
389
|
},
|
|
390
|
+
{
|
|
391
|
+
"id": "verify-publication-admission",
|
|
392
|
+
"source": "bin/buildchain.mjs",
|
|
393
|
+
"usage": "buildchain verify publication-admission <file-or-json>"
|
|
394
|
+
},
|
|
380
395
|
{
|
|
381
396
|
"id": "verify-release-passport",
|
|
382
397
|
"source": "bin/buildchain.mjs",
|
|
@@ -394,6 +409,27 @@
|
|
|
394
409
|
}
|
|
395
410
|
],
|
|
396
411
|
"workflowInputs": [
|
|
412
|
+
{
|
|
413
|
+
"id": ".binary-release-assets",
|
|
414
|
+
"path": ".github/workflows/.binary-release-assets.yml",
|
|
415
|
+
"reusable": true,
|
|
416
|
+
"inputs": [
|
|
417
|
+
"buildchain-ref",
|
|
418
|
+
"buildchain-repository",
|
|
419
|
+
"evidence-run-id",
|
|
420
|
+
"publication-admission-json",
|
|
421
|
+
"publication-control-plane-audit-json",
|
|
422
|
+
"publication-expected-json",
|
|
423
|
+
"publication-runner-provenance-json",
|
|
424
|
+
"publication-used-nonces-json",
|
|
425
|
+
"release-tag"
|
|
426
|
+
],
|
|
427
|
+
"inputCount": 9,
|
|
428
|
+
"secrets": [],
|
|
429
|
+
"secretCount": 0,
|
|
430
|
+
"outputs": [],
|
|
431
|
+
"outputCount": 0
|
|
432
|
+
},
|
|
397
433
|
{
|
|
398
434
|
"id": ".build",
|
|
399
435
|
"path": ".github/workflows/.build.yml",
|
|
@@ -567,6 +603,50 @@
|
|
|
567
603
|
],
|
|
568
604
|
"outputCount": 14
|
|
569
605
|
},
|
|
606
|
+
{
|
|
607
|
+
"id": ".publication-authority",
|
|
608
|
+
"path": ".github/workflows/.publication-authority.yml",
|
|
609
|
+
"reusable": true,
|
|
610
|
+
"inputs": [
|
|
611
|
+
"admission-json",
|
|
612
|
+
"authority-workflow-path",
|
|
613
|
+
"auto-admission",
|
|
614
|
+
"auto-admission-kind",
|
|
615
|
+
"buildchain-ref",
|
|
616
|
+
"buildchain-repository",
|
|
617
|
+
"control-plane-audit-json",
|
|
618
|
+
"dry-run",
|
|
619
|
+
"evidence-controller-artifact",
|
|
620
|
+
"evidence-manifest-pattern",
|
|
621
|
+
"evidence-passport-artifact",
|
|
622
|
+
"evidence-payload-pattern",
|
|
623
|
+
"evidence-publication-artifact",
|
|
624
|
+
"evidence-repository",
|
|
625
|
+
"evidence-run-id",
|
|
626
|
+
"evidence-summary-artifact",
|
|
627
|
+
"expected-json",
|
|
628
|
+
"gate-aggregate-json",
|
|
629
|
+
"package-name",
|
|
630
|
+
"product",
|
|
631
|
+
"publication-target",
|
|
632
|
+
"publication-version",
|
|
633
|
+
"publisher-workflow-path",
|
|
634
|
+
"required-status-check",
|
|
635
|
+
"runner-provenance-json",
|
|
636
|
+
"source-sha",
|
|
637
|
+
"target-ref",
|
|
638
|
+
"used-nonces-json"
|
|
639
|
+
],
|
|
640
|
+
"inputCount": 28,
|
|
641
|
+
"secrets": [],
|
|
642
|
+
"secretCount": 0,
|
|
643
|
+
"outputs": [
|
|
644
|
+
"capability-artifact",
|
|
645
|
+
"capability-digest",
|
|
646
|
+
"capability-json"
|
|
647
|
+
],
|
|
648
|
+
"outputCount": 3
|
|
649
|
+
},
|
|
570
650
|
{
|
|
571
651
|
"id": ".release-docker",
|
|
572
652
|
"path": ".github/workflows/.release-docker.yml",
|
|
@@ -832,6 +912,11 @@
|
|
|
832
912
|
"production-release-on-main",
|
|
833
913
|
"production-release-pr-mode",
|
|
834
914
|
"production-release-pr-token",
|
|
915
|
+
"publication-admission-json",
|
|
916
|
+
"publication-control-plane-audit-json",
|
|
917
|
+
"publication-expected-json",
|
|
918
|
+
"publication-runner-provenance-json",
|
|
919
|
+
"publication-used-nonces-json",
|
|
835
920
|
"release-feedback-actor-privacy",
|
|
836
921
|
"staging-apply",
|
|
837
922
|
"staging-aws-role-arn",
|
|
@@ -839,7 +924,7 @@
|
|
|
839
924
|
"verify-command",
|
|
840
925
|
"working-directory"
|
|
841
926
|
],
|
|
842
|
-
"inputCount":
|
|
927
|
+
"inputCount": 38,
|
|
843
928
|
"secrets": [
|
|
844
929
|
"production-release-app-private-key"
|
|
845
930
|
],
|
|
@@ -921,6 +1006,17 @@
|
|
|
921
1006
|
"outputs": [],
|
|
922
1007
|
"outputCount": 0
|
|
923
1008
|
},
|
|
1009
|
+
{
|
|
1010
|
+
"id": "binary-release-assets",
|
|
1011
|
+
"path": ".github/workflows/binary-release-assets.yml",
|
|
1012
|
+
"reusable": false,
|
|
1013
|
+
"inputs": [],
|
|
1014
|
+
"inputCount": 0,
|
|
1015
|
+
"secrets": [],
|
|
1016
|
+
"secretCount": 0,
|
|
1017
|
+
"outputs": [],
|
|
1018
|
+
"outputCount": 0
|
|
1019
|
+
},
|
|
924
1020
|
{
|
|
925
1021
|
"id": "build-surface-fixture",
|
|
926
1022
|
"path": ".github/workflows/build-surface-fixture.yml",
|
|
@@ -1244,6 +1340,49 @@
|
|
|
1244
1340
|
"outputs": [],
|
|
1245
1341
|
"outputCount": 0
|
|
1246
1342
|
},
|
|
1343
|
+
{
|
|
1344
|
+
"id": "paper-release-sealed",
|
|
1345
|
+
"path": ".github/workflows/paper-release-sealed.yml",
|
|
1346
|
+
"reusable": true,
|
|
1347
|
+
"inputs": [
|
|
1348
|
+
"artifact-name",
|
|
1349
|
+
"artifact-paths",
|
|
1350
|
+
"artifact-retention-days",
|
|
1351
|
+
"branch-protection-bypass-apps",
|
|
1352
|
+
"branch-protection-bypass-teams",
|
|
1353
|
+
"branch-protection-bypass-users",
|
|
1354
|
+
"buildchain-contract-lock-path",
|
|
1355
|
+
"buildchain-ref",
|
|
1356
|
+
"buildchain-repository",
|
|
1357
|
+
"dry-run",
|
|
1358
|
+
"github-release",
|
|
1359
|
+
"github-release-notes",
|
|
1360
|
+
"github-release-title",
|
|
1361
|
+
"package-name",
|
|
1362
|
+
"publish-dist-tag",
|
|
1363
|
+
"publisher-workflow-path",
|
|
1364
|
+
"release-passport-impact-json",
|
|
1365
|
+
"release-passport-output-dir",
|
|
1366
|
+
"release-passport-product-name",
|
|
1367
|
+
"required-status-check",
|
|
1368
|
+
"target-ref",
|
|
1369
|
+
"target-sha",
|
|
1370
|
+
"toolchain-type",
|
|
1371
|
+
"verify-command",
|
|
1372
|
+
"working-directory"
|
|
1373
|
+
],
|
|
1374
|
+
"inputCount": 25,
|
|
1375
|
+
"secrets": [],
|
|
1376
|
+
"secretCount": 0,
|
|
1377
|
+
"outputs": [
|
|
1378
|
+
"github-release-url",
|
|
1379
|
+
"package-name",
|
|
1380
|
+
"package-version",
|
|
1381
|
+
"public-release-tag",
|
|
1382
|
+
"release-passport-path"
|
|
1383
|
+
],
|
|
1384
|
+
"outputCount": 5
|
|
1385
|
+
},
|
|
1247
1386
|
{
|
|
1248
1387
|
"id": "paper-release",
|
|
1249
1388
|
"path": ".github/workflows/paper-release.yml",
|
|
@@ -1266,6 +1405,11 @@
|
|
|
1266
1405
|
"github-release-title",
|
|
1267
1406
|
"node-version",
|
|
1268
1407
|
"package-name",
|
|
1408
|
+
"publication-admission-json",
|
|
1409
|
+
"publication-control-plane-audit-json",
|
|
1410
|
+
"publication-expected-json",
|
|
1411
|
+
"publication-runner-provenance-json",
|
|
1412
|
+
"publication-used-nonces-json",
|
|
1269
1413
|
"publish-dist-tag",
|
|
1270
1414
|
"publish-package-set-order",
|
|
1271
1415
|
"release-passport-impact-json",
|
|
@@ -1282,11 +1426,9 @@
|
|
|
1282
1426
|
"verify-command",
|
|
1283
1427
|
"working-directory"
|
|
1284
1428
|
],
|
|
1285
|
-
"inputCount":
|
|
1286
|
-
"secrets": [
|
|
1287
|
-
|
|
1288
|
-
],
|
|
1289
|
-
"secretCount": 1,
|
|
1429
|
+
"inputCount": 37,
|
|
1430
|
+
"secrets": [],
|
|
1431
|
+
"secretCount": 0,
|
|
1290
1432
|
"outputs": [
|
|
1291
1433
|
"controller-plan-artifact",
|
|
1292
1434
|
"controller-plan-digest",
|
|
@@ -1398,7 +1540,11 @@
|
|
|
1398
1540
|
"buildchain-ref",
|
|
1399
1541
|
"buildchain-repository",
|
|
1400
1542
|
"node-version",
|
|
1543
|
+
"package-name",
|
|
1544
|
+
"prepare-paper-package",
|
|
1545
|
+
"publish-dist-tag",
|
|
1401
1546
|
"setup-node",
|
|
1547
|
+
"target-ref",
|
|
1402
1548
|
"toolchain-command",
|
|
1403
1549
|
"toolchain-digest",
|
|
1404
1550
|
"toolchain-image",
|
|
@@ -1406,7 +1552,7 @@
|
|
|
1406
1552
|
"verify-command",
|
|
1407
1553
|
"working-directory"
|
|
1408
1554
|
],
|
|
1409
|
-
"inputCount":
|
|
1555
|
+
"inputCount": 21,
|
|
1410
1556
|
"secrets": [],
|
|
1411
1557
|
"secretCount": 0,
|
|
1412
1558
|
"outputs": [
|
|
@@ -1417,13 +1563,17 @@
|
|
|
1417
1563
|
"controller-receipt-digest",
|
|
1418
1564
|
"controller-receipt-json",
|
|
1419
1565
|
"controller-receipt-status",
|
|
1566
|
+
"package-name",
|
|
1567
|
+
"package-version",
|
|
1420
1568
|
"publication-artifact-name",
|
|
1421
1569
|
"publication-manifest-json",
|
|
1422
1570
|
"publication-manifest-path",
|
|
1423
1571
|
"publication-passport-path",
|
|
1424
|
-
"publication-registry-path"
|
|
1572
|
+
"publication-registry-path",
|
|
1573
|
+
"publish-dist-tag",
|
|
1574
|
+
"runtime-sha"
|
|
1425
1575
|
],
|
|
1426
|
-
"outputCount":
|
|
1576
|
+
"outputCount": 16
|
|
1427
1577
|
},
|
|
1428
1578
|
{
|
|
1429
1579
|
"id": "release-candidate-promote",
|
|
@@ -1447,6 +1597,17 @@
|
|
|
1447
1597
|
"github-release-notes",
|
|
1448
1598
|
"github-release-title",
|
|
1449
1599
|
"package-manager",
|
|
1600
|
+
"publication-admission-json",
|
|
1601
|
+
"publication-auto-admission",
|
|
1602
|
+
"publication-control-plane-audit-json",
|
|
1603
|
+
"publication-expected-json",
|
|
1604
|
+
"publication-gate-aggregate-json",
|
|
1605
|
+
"publication-package-name",
|
|
1606
|
+
"publication-product",
|
|
1607
|
+
"publication-publisher-workflow-path",
|
|
1608
|
+
"publication-runner-provenance-json",
|
|
1609
|
+
"publication-target",
|
|
1610
|
+
"publication-used-nonces-json",
|
|
1450
1611
|
"publish-artifact-kind",
|
|
1451
1612
|
"publish-command",
|
|
1452
1613
|
"publish-dist-tag",
|
|
@@ -1475,7 +1636,7 @@
|
|
|
1475
1636
|
"target-sha",
|
|
1476
1637
|
"trusted-publishing"
|
|
1477
1638
|
],
|
|
1478
|
-
"inputCount":
|
|
1639
|
+
"inputCount": 55,
|
|
1479
1640
|
"secrets": [
|
|
1480
1641
|
"BUILDCHAIN_ISSUE_APP_ID",
|
|
1481
1642
|
"BUILDCHAIN_ISSUE_APP_PRIVATE_KEY",
|
|
@@ -1496,9 +1657,10 @@
|
|
|
1496
1657
|
"controller-receipt-json",
|
|
1497
1658
|
"controller-receipt-status",
|
|
1498
1659
|
"promoted-sha",
|
|
1660
|
+
"publication-capability-digest",
|
|
1499
1661
|
"release-candidate-artifact"
|
|
1500
1662
|
],
|
|
1501
|
-
"outputCount":
|
|
1663
|
+
"outputCount": 11
|
|
1502
1664
|
},
|
|
1503
1665
|
{
|
|
1504
1666
|
"id": "release-line-bootstrap",
|
|
@@ -1649,9 +1811,11 @@
|
|
|
1649
1811
|
"branch-protection-bypass-teams",
|
|
1650
1812
|
"branch-protection-bypass-users",
|
|
1651
1813
|
"dry-run",
|
|
1814
|
+
"expected-publication-version",
|
|
1652
1815
|
"generated-ref-update-token",
|
|
1653
1816
|
"generated-status-check-token",
|
|
1654
1817
|
"github-release",
|
|
1818
|
+
"github-release-artifact-paths",
|
|
1655
1819
|
"github-release-notes",
|
|
1656
1820
|
"github-release-title",
|
|
1657
1821
|
"promote-only-release-candidate",
|
|
@@ -1697,7 +1861,7 @@
|
|
|
1697
1861
|
"transaction-state-path",
|
|
1698
1862
|
"verification-command"
|
|
1699
1863
|
],
|
|
1700
|
-
"inputCount":
|
|
1864
|
+
"inputCount": 54
|
|
1701
1865
|
},
|
|
1702
1866
|
{
|
|
1703
1867
|
"id": "report-buildchain-issue",
|
|
@@ -1916,6 +2080,10 @@
|
|
|
1916
2080
|
"id": "manual:publication-artifacts",
|
|
1917
2081
|
"category": "manual"
|
|
1918
2082
|
},
|
|
2083
|
+
{
|
|
2084
|
+
"id": "manual:publication-authority",
|
|
2085
|
+
"category": "manual"
|
|
2086
|
+
},
|
|
1919
2087
|
{
|
|
1920
2088
|
"id": "manual:publish-transaction",
|
|
1921
2089
|
"category": "manual"
|
|
@@ -1982,6 +2150,26 @@
|
|
|
1982
2150
|
}
|
|
1983
2151
|
],
|
|
1984
2152
|
"docCommandRefs": [
|
|
2153
|
+
{
|
|
2154
|
+
"id": "audit",
|
|
2155
|
+
"path": "docs/publication-authority.md",
|
|
2156
|
+
"command": "buildchain audit publication-control-plane"
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
"id": "audit",
|
|
2160
|
+
"path": "docs/publication-authority.md",
|
|
2161
|
+
"command": "buildchain audit publication-control-plane"
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
"id": "audit",
|
|
2165
|
+
"path": "docs/publication-authority.md",
|
|
2166
|
+
"command": "buildchain audit publication-control-plane"
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
"id": "audit",
|
|
2170
|
+
"path": "docs/publication-authority.md",
|
|
2171
|
+
"command": "buildchain audit publication-control-plane"
|
|
2172
|
+
},
|
|
1985
2173
|
{
|
|
1986
2174
|
"id": "badges-bundle",
|
|
1987
2175
|
"path": "docs/cli.md",
|
|
@@ -3142,6 +3330,11 @@
|
|
|
3142
3330
|
"path": "README.md",
|
|
3143
3331
|
"command": "buildchain verify observability-log"
|
|
3144
3332
|
},
|
|
3333
|
+
{
|
|
3334
|
+
"id": "verify-publication-admission",
|
|
3335
|
+
"path": "docs/publication-authority.md",
|
|
3336
|
+
"command": "buildchain verify publication-admission admission"
|
|
3337
|
+
},
|
|
3145
3338
|
{
|
|
3146
3339
|
"id": "verify-release-passport",
|
|
3147
3340
|
"path": "docs/cli.md",
|
|
@@ -3193,9 +3386,9 @@
|
|
|
3193
3386
|
"cliRegistryPath": "dist/site/cli-registry.json",
|
|
3194
3387
|
"workflowRegistryPath": "dist/site/workflow-registry.json",
|
|
3195
3388
|
"pageRegistryPath": "dist/site/page-registry.json",
|
|
3196
|
-
"cliRegistryDigest": "
|
|
3197
|
-
"workflowRegistryDigest": "
|
|
3198
|
-
"pageRegistryDigest": "
|
|
3389
|
+
"cliRegistryDigest": "a6daf4822365bf576425777230246046ebca67b3f8dcfea61fc7a61773776185",
|
|
3390
|
+
"workflowRegistryDigest": "a61b85b07185e02e340c27d50f77a6710968db87dd42d1b1f4dd81260779a0ed",
|
|
3391
|
+
"pageRegistryDigest": "3a4779e3d85d0a175e33c7d2a8bee30ede3931cc721a7d8c422ab321f0dec723"
|
|
3199
3392
|
},
|
|
3200
3393
|
"comparison": {
|
|
3201
3394
|
"missingCliRegistry": [],
|