@kungfu-tech/buildchain 2.12.6 → 2.12.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/actions/promote-buildchain-ref/README.md +7 -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 +137 -37
- package/dist/site/buildchain-site.json +68 -12
- package/dist/site/capability-registry.json +6 -5
- package/dist/site/cli-registry.json +36 -0
- package/dist/site/controller-registry.json +104 -13
- package/dist/site/kfd-claims.json +251 -15
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +15 -1
- package/dist/site/node-api-registry.json +43 -4
- package/dist/site/page-registry.json +54 -7
- package/dist/site/public-surface-audit.json +150 -17
- package/dist/site/publication-authority-registry.json +754 -0
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/release-provenance.json +4 -0
- package/dist/site/site-manifest.json +14 -5
- package/dist/site/workflow-registry.json +108 -10
- package/docs/MAP.md +2 -1
- package/docs/publication-artifacts.md +12 -10
- package/docs/publication-authority.md +204 -0
- package/package.json +5 -1
- package/packages/core/buildchain-kfd-claims.js +5 -0
- package/packages/core/buildchain-publication-authority.js +79 -0
- package/packages/core/controller-evidence.js +7 -7
- package/packages/core/index.js +28 -0
- package/packages/core/publication-authority.js +725 -0
- package/packages/core/publication-control-plane-audit.js +133 -0
- package/scripts/assemble-self-publication-admission.mjs +182 -0
- package/scripts/audit-publication-control-plane.mjs +406 -0
- package/scripts/check-inventory.mjs +20 -2
- package/scripts/generate-site-bundle.mjs +16 -0
|
@@ -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": 46,
|
|
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,44 @@
|
|
|
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
|
+
"auto-admission",
|
|
613
|
+
"buildchain-ref",
|
|
614
|
+
"buildchain-repository",
|
|
615
|
+
"control-plane-audit-json",
|
|
616
|
+
"dry-run",
|
|
617
|
+
"evidence-manifest-pattern",
|
|
618
|
+
"evidence-passport-artifact",
|
|
619
|
+
"evidence-payload-pattern",
|
|
620
|
+
"evidence-repository",
|
|
621
|
+
"evidence-run-id",
|
|
622
|
+
"evidence-summary-artifact",
|
|
623
|
+
"expected-json",
|
|
624
|
+
"gate-aggregate-json",
|
|
625
|
+
"package-name",
|
|
626
|
+
"product",
|
|
627
|
+
"publication-target",
|
|
628
|
+
"publisher-workflow-path",
|
|
629
|
+
"runner-provenance-json",
|
|
630
|
+
"source-sha",
|
|
631
|
+
"target-ref",
|
|
632
|
+
"used-nonces-json"
|
|
633
|
+
],
|
|
634
|
+
"inputCount": 22,
|
|
635
|
+
"secrets": [],
|
|
636
|
+
"secretCount": 0,
|
|
637
|
+
"outputs": [
|
|
638
|
+
"capability-artifact",
|
|
639
|
+
"capability-digest",
|
|
640
|
+
"capability-json"
|
|
641
|
+
],
|
|
642
|
+
"outputCount": 3
|
|
643
|
+
},
|
|
570
644
|
{
|
|
571
645
|
"id": ".release-docker",
|
|
572
646
|
"path": ".github/workflows/.release-docker.yml",
|
|
@@ -832,6 +906,11 @@
|
|
|
832
906
|
"production-release-on-main",
|
|
833
907
|
"production-release-pr-mode",
|
|
834
908
|
"production-release-pr-token",
|
|
909
|
+
"publication-admission-json",
|
|
910
|
+
"publication-control-plane-audit-json",
|
|
911
|
+
"publication-expected-json",
|
|
912
|
+
"publication-runner-provenance-json",
|
|
913
|
+
"publication-used-nonces-json",
|
|
835
914
|
"release-feedback-actor-privacy",
|
|
836
915
|
"staging-apply",
|
|
837
916
|
"staging-aws-role-arn",
|
|
@@ -839,7 +918,7 @@
|
|
|
839
918
|
"verify-command",
|
|
840
919
|
"working-directory"
|
|
841
920
|
],
|
|
842
|
-
"inputCount":
|
|
921
|
+
"inputCount": 38,
|
|
843
922
|
"secrets": [
|
|
844
923
|
"production-release-app-private-key"
|
|
845
924
|
],
|
|
@@ -921,6 +1000,17 @@
|
|
|
921
1000
|
"outputs": [],
|
|
922
1001
|
"outputCount": 0
|
|
923
1002
|
},
|
|
1003
|
+
{
|
|
1004
|
+
"id": "binary-release-assets",
|
|
1005
|
+
"path": ".github/workflows/binary-release-assets.yml",
|
|
1006
|
+
"reusable": false,
|
|
1007
|
+
"inputs": [],
|
|
1008
|
+
"inputCount": 0,
|
|
1009
|
+
"secrets": [],
|
|
1010
|
+
"secretCount": 0,
|
|
1011
|
+
"outputs": [],
|
|
1012
|
+
"outputCount": 0
|
|
1013
|
+
},
|
|
924
1014
|
{
|
|
925
1015
|
"id": "build-surface-fixture",
|
|
926
1016
|
"path": ".github/workflows/build-surface-fixture.yml",
|
|
@@ -1266,6 +1356,11 @@
|
|
|
1266
1356
|
"github-release-title",
|
|
1267
1357
|
"node-version",
|
|
1268
1358
|
"package-name",
|
|
1359
|
+
"publication-admission-json",
|
|
1360
|
+
"publication-control-plane-audit-json",
|
|
1361
|
+
"publication-expected-json",
|
|
1362
|
+
"publication-runner-provenance-json",
|
|
1363
|
+
"publication-used-nonces-json",
|
|
1269
1364
|
"publish-dist-tag",
|
|
1270
1365
|
"publish-package-set-order",
|
|
1271
1366
|
"release-passport-impact-json",
|
|
@@ -1282,11 +1377,9 @@
|
|
|
1282
1377
|
"verify-command",
|
|
1283
1378
|
"working-directory"
|
|
1284
1379
|
],
|
|
1285
|
-
"inputCount":
|
|
1286
|
-
"secrets": [
|
|
1287
|
-
|
|
1288
|
-
],
|
|
1289
|
-
"secretCount": 1,
|
|
1380
|
+
"inputCount": 37,
|
|
1381
|
+
"secrets": [],
|
|
1382
|
+
"secretCount": 0,
|
|
1290
1383
|
"outputs": [
|
|
1291
1384
|
"controller-plan-artifact",
|
|
1292
1385
|
"controller-plan-digest",
|
|
@@ -1447,6 +1540,17 @@
|
|
|
1447
1540
|
"github-release-notes",
|
|
1448
1541
|
"github-release-title",
|
|
1449
1542
|
"package-manager",
|
|
1543
|
+
"publication-admission-json",
|
|
1544
|
+
"publication-auto-admission",
|
|
1545
|
+
"publication-control-plane-audit-json",
|
|
1546
|
+
"publication-expected-json",
|
|
1547
|
+
"publication-gate-aggregate-json",
|
|
1548
|
+
"publication-package-name",
|
|
1549
|
+
"publication-product",
|
|
1550
|
+
"publication-publisher-workflow-path",
|
|
1551
|
+
"publication-runner-provenance-json",
|
|
1552
|
+
"publication-target",
|
|
1553
|
+
"publication-used-nonces-json",
|
|
1450
1554
|
"publish-artifact-kind",
|
|
1451
1555
|
"publish-command",
|
|
1452
1556
|
"publish-dist-tag",
|
|
@@ -1475,17 +1579,16 @@
|
|
|
1475
1579
|
"target-sha",
|
|
1476
1580
|
"trusted-publishing"
|
|
1477
1581
|
],
|
|
1478
|
-
"inputCount":
|
|
1582
|
+
"inputCount": 55,
|
|
1479
1583
|
"secrets": [
|
|
1480
1584
|
"BUILDCHAIN_ISSUE_APP_ID",
|
|
1481
1585
|
"BUILDCHAIN_ISSUE_APP_PRIVATE_KEY",
|
|
1482
1586
|
"BUILDCHAIN_ISSUE_TOKEN",
|
|
1483
|
-
"BUILDCHAIN_PROMOTION_TOKEN",
|
|
1484
1587
|
"buildchain-issue-app-id",
|
|
1485
1588
|
"buildchain-issue-app-private-key",
|
|
1486
1589
|
"buildchain-issue-token"
|
|
1487
1590
|
],
|
|
1488
|
-
"secretCount":
|
|
1591
|
+
"secretCount": 6,
|
|
1489
1592
|
"outputs": [
|
|
1490
1593
|
"built-source-sha",
|
|
1491
1594
|
"controller-plan-artifact",
|
|
@@ -1496,9 +1599,10 @@
|
|
|
1496
1599
|
"controller-receipt-json",
|
|
1497
1600
|
"controller-receipt-status",
|
|
1498
1601
|
"promoted-sha",
|
|
1602
|
+
"publication-capability-digest",
|
|
1499
1603
|
"release-candidate-artifact"
|
|
1500
1604
|
],
|
|
1501
|
-
"outputCount":
|
|
1605
|
+
"outputCount": 11
|
|
1502
1606
|
},
|
|
1503
1607
|
{
|
|
1504
1608
|
"id": "release-line-bootstrap",
|
|
@@ -1916,6 +2020,10 @@
|
|
|
1916
2020
|
"id": "manual:publication-artifacts",
|
|
1917
2021
|
"category": "manual"
|
|
1918
2022
|
},
|
|
2023
|
+
{
|
|
2024
|
+
"id": "manual:publication-authority",
|
|
2025
|
+
"category": "manual"
|
|
2026
|
+
},
|
|
1919
2027
|
{
|
|
1920
2028
|
"id": "manual:publish-transaction",
|
|
1921
2029
|
"category": "manual"
|
|
@@ -1982,6 +2090,26 @@
|
|
|
1982
2090
|
}
|
|
1983
2091
|
],
|
|
1984
2092
|
"docCommandRefs": [
|
|
2093
|
+
{
|
|
2094
|
+
"id": "audit",
|
|
2095
|
+
"path": "docs/publication-authority.md",
|
|
2096
|
+
"command": "buildchain audit publication-control-plane"
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"id": "audit",
|
|
2100
|
+
"path": "docs/publication-authority.md",
|
|
2101
|
+
"command": "buildchain audit publication-control-plane"
|
|
2102
|
+
},
|
|
2103
|
+
{
|
|
2104
|
+
"id": "audit",
|
|
2105
|
+
"path": "docs/publication-authority.md",
|
|
2106
|
+
"command": "buildchain audit publication-control-plane"
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
"id": "audit",
|
|
2110
|
+
"path": "docs/publication-authority.md",
|
|
2111
|
+
"command": "buildchain audit publication-control-plane"
|
|
2112
|
+
},
|
|
1985
2113
|
{
|
|
1986
2114
|
"id": "badges-bundle",
|
|
1987
2115
|
"path": "docs/cli.md",
|
|
@@ -3142,6 +3270,11 @@
|
|
|
3142
3270
|
"path": "README.md",
|
|
3143
3271
|
"command": "buildchain verify observability-log"
|
|
3144
3272
|
},
|
|
3273
|
+
{
|
|
3274
|
+
"id": "verify-publication-admission",
|
|
3275
|
+
"path": "docs/publication-authority.md",
|
|
3276
|
+
"command": "buildchain verify publication-admission admission"
|
|
3277
|
+
},
|
|
3145
3278
|
{
|
|
3146
3279
|
"id": "verify-release-passport",
|
|
3147
3280
|
"path": "docs/cli.md",
|
|
@@ -3193,9 +3326,9 @@
|
|
|
3193
3326
|
"cliRegistryPath": "dist/site/cli-registry.json",
|
|
3194
3327
|
"workflowRegistryPath": "dist/site/workflow-registry.json",
|
|
3195
3328
|
"pageRegistryPath": "dist/site/page-registry.json",
|
|
3196
|
-
"cliRegistryDigest": "
|
|
3197
|
-
"workflowRegistryDigest": "
|
|
3198
|
-
"pageRegistryDigest": "
|
|
3329
|
+
"cliRegistryDigest": "a6daf4822365bf576425777230246046ebca67b3f8dcfea61fc7a61773776185",
|
|
3330
|
+
"workflowRegistryDigest": "c71378eba66d2e03b5c90ed3e5b20a3e68f279b503062ffbf9fdfabe341adcae",
|
|
3331
|
+
"pageRegistryDigest": "289cfbb5251f8dcba1ab683da86a434af31de2a791e7cd453e16d1c86b5069be"
|
|
3199
3332
|
},
|
|
3200
3333
|
"comparison": {
|
|
3201
3334
|
"missingCliRegistry": [],
|