@kungfu-tech/buildchain 2.11.1 → 2.11.2-alpha.2
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/bin/buildchain.mjs +6 -0
- package/dist/site/agent-index.json +2 -1
- package/dist/site/artifact-schemas.json +1 -0
- package/dist/site/buildchain-contract.json +7 -7
- package/dist/site/buildchain-site.json +23 -16
- package/dist/site/capability-registry.json +12 -3
- package/dist/site/cli-registry.json +12 -0
- package/dist/site/kfd-claims.json +92 -9
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +3 -3
- package/dist/site/node-api-registry.json +19 -6
- package/dist/site/page-registry.json +13 -8
- package/dist/site/public-surface-audit.json +60 -6
- package/dist/site/publication-registry.json +109 -0
- package/dist/site/release-provenance.json +2 -0
- package/dist/site/site-manifest.json +8 -7
- package/dist/site/workflow-registry.json +42 -0
- package/docs/MAP.md +3 -3
- package/docs/cli.md +13 -0
- package/docs/publication-artifacts.md +113 -6
- package/docs/site-bundle-contract.md +11 -0
- package/package.json +3 -1
- package/packages/core/buildchain-config.js +15 -1
- package/packages/core/buildchain-kfd-claims.js +2 -0
- package/packages/core/index.js +6 -0
- package/packages/core/kfd-gate.js +17 -3
- package/packages/core/publication-package.js +216 -0
- package/scripts/check-inventory.mjs +8 -1
- package/scripts/generate-site-bundle.mjs +96 -1
- package/scripts/publication-package.mjs +38 -0
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"cli-registry.json",
|
|
33
33
|
"node-api-registry.json",
|
|
34
34
|
"workflow-registry.json",
|
|
35
|
+
"publication-registry.json",
|
|
35
36
|
"kfd-upstream-aggregate.json",
|
|
36
37
|
"kfd-claims.json"
|
|
37
38
|
]
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
"cli-registry.json",
|
|
65
66
|
"node-api-registry.json",
|
|
66
67
|
"workflow-registry.json",
|
|
68
|
+
"publication-registry.json",
|
|
67
69
|
"kfd-upstream-aggregate.json",
|
|
68
70
|
"kfd-claims.json"
|
|
69
71
|
]
|
|
@@ -80,9 +82,9 @@
|
|
|
80
82
|
"counts": {
|
|
81
83
|
"manualCount": 3,
|
|
82
84
|
"pageCount": 15,
|
|
83
|
-
"cliCommandCount":
|
|
84
|
-
"nodeApiCount":
|
|
85
|
-
"workflowCount":
|
|
85
|
+
"cliCommandCount": 4,
|
|
86
|
+
"nodeApiCount": 3,
|
|
87
|
+
"workflowCount": 3,
|
|
86
88
|
"actionCount": 2
|
|
87
89
|
},
|
|
88
90
|
"manuals": [
|
|
@@ -96,6 +98,7 @@
|
|
|
96
98
|
"cli-registry.json",
|
|
97
99
|
"node-api-registry.json",
|
|
98
100
|
"workflow-registry.json",
|
|
101
|
+
"publication-registry.json",
|
|
99
102
|
"kfd-upstream-aggregate.json",
|
|
100
103
|
"kfd-claims.json"
|
|
101
104
|
]
|
|
@@ -126,6 +129,7 @@
|
|
|
126
129
|
"cli-registry.json",
|
|
127
130
|
"node-api-registry.json",
|
|
128
131
|
"workflow-registry.json",
|
|
132
|
+
"publication-registry.json",
|
|
129
133
|
"kfd-upstream-aggregate.json",
|
|
130
134
|
"kfd-claims.json"
|
|
131
135
|
]
|
|
@@ -159,6 +163,7 @@
|
|
|
159
163
|
"cli-registry.json",
|
|
160
164
|
"node-api-registry.json",
|
|
161
165
|
"workflow-registry.json",
|
|
166
|
+
"publication-registry.json",
|
|
162
167
|
"kfd-upstream-aggregate.json",
|
|
163
168
|
"kfd-claims.json"
|
|
164
169
|
]
|
|
@@ -191,6 +196,7 @@
|
|
|
191
196
|
"cli-registry.json",
|
|
192
197
|
"node-api-registry.json",
|
|
193
198
|
"workflow-registry.json",
|
|
199
|
+
"publication-registry.json",
|
|
194
200
|
"kfd-upstream-aggregate.json",
|
|
195
201
|
"kfd-claims.json"
|
|
196
202
|
]
|
|
@@ -223,6 +229,7 @@
|
|
|
223
229
|
"cli-registry.json",
|
|
224
230
|
"node-api-registry.json",
|
|
225
231
|
"workflow-registry.json",
|
|
232
|
+
"publication-registry.json",
|
|
226
233
|
"kfd-upstream-aggregate.json",
|
|
227
234
|
"kfd-claims.json"
|
|
228
235
|
]
|
|
@@ -259,6 +266,7 @@
|
|
|
259
266
|
"cli-registry.json",
|
|
260
267
|
"node-api-registry.json",
|
|
261
268
|
"workflow-registry.json",
|
|
269
|
+
"publication-registry.json",
|
|
262
270
|
"kfd-upstream-aggregate.json",
|
|
263
271
|
"kfd-claims.json"
|
|
264
272
|
]
|
|
@@ -289,6 +297,7 @@
|
|
|
289
297
|
"cli-registry.json",
|
|
290
298
|
"node-api-registry.json",
|
|
291
299
|
"workflow-registry.json",
|
|
300
|
+
"publication-registry.json",
|
|
292
301
|
"kfd-upstream-aggregate.json",
|
|
293
302
|
"kfd-claims.json"
|
|
294
303
|
]
|
|
@@ -677,6 +677,18 @@
|
|
|
677
677
|
],
|
|
678
678
|
"maturity": "stable"
|
|
679
679
|
},
|
|
680
|
+
{
|
|
681
|
+
"id": "publication-artifact-npm-package",
|
|
682
|
+
"source": "bin/buildchain.mjs",
|
|
683
|
+
"usage": "buildchain publication-artifact npm-package [--cwd <dir>] [--output-dir <dir>] [--package-name <name>] [--json]",
|
|
684
|
+
"purpose": "Synthesize the declared npm paper package from a publication artifact manifest, passport, registry, source bundle, and primary artifact.",
|
|
685
|
+
"capabilityGroup": "reusable-build",
|
|
686
|
+
"audience": [
|
|
687
|
+
"agent",
|
|
688
|
+
"operator"
|
|
689
|
+
],
|
|
690
|
+
"maturity": "stable"
|
|
691
|
+
},
|
|
680
692
|
{
|
|
681
693
|
"id": "publish-source",
|
|
682
694
|
"source": "bin/buildchain.mjs",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"contract": "kungfu-buildchain-public-surface-reverse-audit",
|
|
22
22
|
"path": "dist/site/public-surface-audit.json",
|
|
23
23
|
"status": "passed",
|
|
24
|
-
"sha256": "
|
|
24
|
+
"sha256": "fc213b9941398692eff626a4445a2f670b7c4e452e9383f223eb288518a1c4b1",
|
|
25
25
|
"summary": {
|
|
26
|
-
"cliCommandCount":
|
|
27
|
-
"workflowCount":
|
|
26
|
+
"cliCommandCount": 74,
|
|
27
|
+
"workflowCount": 37,
|
|
28
28
|
"actionCount": 4,
|
|
29
29
|
"sitePageCount": 45,
|
|
30
|
-
"docCommandRefCount":
|
|
30
|
+
"docCommandRefCount": 231,
|
|
31
31
|
"failureCount": 0
|
|
32
32
|
},
|
|
33
33
|
"auditBoundary": {
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"dist/site/node-api-registry.json",
|
|
73
73
|
"dist/site/page-registry.json",
|
|
74
74
|
"dist/site/capability-registry.json",
|
|
75
|
+
"dist/site/publication-registry.json",
|
|
75
76
|
"dist/site/buildchain-site.json",
|
|
76
77
|
"dist/site/site-manifest.json"
|
|
77
78
|
]
|
|
@@ -207,13 +208,13 @@
|
|
|
207
208
|
"contract": "kungfu-buildchain-public-surface-reverse-audit",
|
|
208
209
|
"path": "dist/site/public-surface-audit.json",
|
|
209
210
|
"status": "passed",
|
|
210
|
-
"sha256": "
|
|
211
|
+
"sha256": "fc213b9941398692eff626a4445a2f670b7c4e452e9383f223eb288518a1c4b1",
|
|
211
212
|
"summary": {
|
|
212
|
-
"cliCommandCount":
|
|
213
|
-
"workflowCount":
|
|
213
|
+
"cliCommandCount": 74,
|
|
214
|
+
"workflowCount": 37,
|
|
214
215
|
"actionCount": 4,
|
|
215
216
|
"sitePageCount": 45,
|
|
216
|
-
"docCommandRefCount":
|
|
217
|
+
"docCommandRefCount": 231,
|
|
217
218
|
"failureCount": 0
|
|
218
219
|
},
|
|
219
220
|
"auditBoundary": {
|
|
@@ -1085,6 +1086,18 @@
|
|
|
1085
1086
|
"public": true,
|
|
1086
1087
|
"packageExport": "./publication-artifact"
|
|
1087
1088
|
},
|
|
1089
|
+
{
|
|
1090
|
+
"id": "export:./publication-package",
|
|
1091
|
+
"name": "@kungfu-tech/buildchain/publication-package",
|
|
1092
|
+
"kind": "package-export",
|
|
1093
|
+
"sourcePath": "packages/core/publication-package.js",
|
|
1094
|
+
"evidencePath": "packages/core/publication-package.js",
|
|
1095
|
+
"availability": "shipped",
|
|
1096
|
+
"visibility": "public",
|
|
1097
|
+
"participantFacing": true,
|
|
1098
|
+
"public": true,
|
|
1099
|
+
"packageExport": "./publication-package"
|
|
1100
|
+
},
|
|
1088
1101
|
{
|
|
1089
1102
|
"id": "export:./kfd-gate",
|
|
1090
1103
|
"name": "@kungfu-tech/buildchain/kfd-gate",
|
|
@@ -1181,6 +1194,17 @@
|
|
|
1181
1194
|
"participantFacing": true,
|
|
1182
1195
|
"public": true
|
|
1183
1196
|
},
|
|
1197
|
+
{
|
|
1198
|
+
"id": "site:dist/site/publication-registry.json",
|
|
1199
|
+
"name": "site:dist/site/publication-registry.json",
|
|
1200
|
+
"kind": "site-consumption-contract",
|
|
1201
|
+
"sourcePath": "dist/site/publication-registry.json",
|
|
1202
|
+
"evidencePath": "dist/site/publication-registry.json",
|
|
1203
|
+
"availability": "shipped",
|
|
1204
|
+
"visibility": "public",
|
|
1205
|
+
"participantFacing": true,
|
|
1206
|
+
"public": true
|
|
1207
|
+
},
|
|
1184
1208
|
{
|
|
1185
1209
|
"id": "site:dist/site/page-registry.json",
|
|
1186
1210
|
"name": "site:dist/site/page-registry.json",
|
|
@@ -2020,6 +2044,18 @@
|
|
|
2020
2044
|
"public": true,
|
|
2021
2045
|
"reverseAuditSource": "bin/buildchain.mjs"
|
|
2022
2046
|
},
|
|
2047
|
+
{
|
|
2048
|
+
"id": "cli:publication-artifact-npm-package",
|
|
2049
|
+
"name": "buildchain publication-artifact npm-package [--cwd <dir>] [--output-dir <dir>] [--package-name <name>] [--json]",
|
|
2050
|
+
"kind": "cli-command",
|
|
2051
|
+
"sourcePath": "bin/buildchain.mjs",
|
|
2052
|
+
"evidencePath": "bin/buildchain.mjs",
|
|
2053
|
+
"availability": "shipped",
|
|
2054
|
+
"visibility": "public",
|
|
2055
|
+
"participantFacing": true,
|
|
2056
|
+
"public": true,
|
|
2057
|
+
"reverseAuditSource": "bin/buildchain.mjs"
|
|
2058
|
+
},
|
|
2023
2059
|
{
|
|
2024
2060
|
"id": "cli:publish-source",
|
|
2025
2061
|
"name": "buildchain publish-source <lock|manifest|verify-lock|verify-channel-ref|validate-anchored-release> ...",
|
|
@@ -2820,6 +2856,53 @@
|
|
|
2820
2856
|
],
|
|
2821
2857
|
"reverseAuditSource": ".github/workflows"
|
|
2822
2858
|
},
|
|
2859
|
+
{
|
|
2860
|
+
"id": "workflow:paper-release",
|
|
2861
|
+
"name": "workflow:paper-release",
|
|
2862
|
+
"kind": "workflow",
|
|
2863
|
+
"sourcePath": ".github/workflows/paper-release.yml",
|
|
2864
|
+
"evidencePath": ".github/workflows/paper-release.yml",
|
|
2865
|
+
"availability": "shipped",
|
|
2866
|
+
"visibility": "public",
|
|
2867
|
+
"participantFacing": true,
|
|
2868
|
+
"public": true,
|
|
2869
|
+
"inputCount": 32,
|
|
2870
|
+
"inputs": [
|
|
2871
|
+
"artifact-name",
|
|
2872
|
+
"artifact-retention-days",
|
|
2873
|
+
"branch-protection-bypass-apps",
|
|
2874
|
+
"branch-protection-bypass-teams",
|
|
2875
|
+
"branch-protection-bypass-users",
|
|
2876
|
+
"build-command",
|
|
2877
|
+
"buildchain-contract-compatibility-policy",
|
|
2878
|
+
"buildchain-contract-drift-issue-mode",
|
|
2879
|
+
"buildchain-contract-lock-path",
|
|
2880
|
+
"buildchain-ref",
|
|
2881
|
+
"buildchain-repository",
|
|
2882
|
+
"dry-run",
|
|
2883
|
+
"github-release",
|
|
2884
|
+
"github-release-notes",
|
|
2885
|
+
"github-release-title",
|
|
2886
|
+
"node-version",
|
|
2887
|
+
"package-name",
|
|
2888
|
+
"publish-dist-tag",
|
|
2889
|
+
"publish-package-set-order",
|
|
2890
|
+
"release-passport-impact-json",
|
|
2891
|
+
"release-passport-output-dir",
|
|
2892
|
+
"release-passport-product-name",
|
|
2893
|
+
"required-status-check",
|
|
2894
|
+
"setup-node",
|
|
2895
|
+
"target-ref",
|
|
2896
|
+
"target-sha",
|
|
2897
|
+
"toolchain-command",
|
|
2898
|
+
"toolchain-digest",
|
|
2899
|
+
"toolchain-image",
|
|
2900
|
+
"toolchain-type",
|
|
2901
|
+
"verify-command",
|
|
2902
|
+
"working-directory"
|
|
2903
|
+
],
|
|
2904
|
+
"reverseAuditSource": ".github/workflows"
|
|
2905
|
+
},
|
|
2823
2906
|
{
|
|
2824
2907
|
"id": "workflow:patrol-daily",
|
|
2825
2908
|
"name": "workflow:patrol-daily",
|
|
@@ -3886,6 +3969,6 @@
|
|
|
3886
3969
|
"public": true
|
|
3887
3970
|
}
|
|
3888
3971
|
],
|
|
3889
|
-
"publicSurfaceCount":
|
|
3972
|
+
"publicSurfaceCount": 263
|
|
3890
3973
|
}
|
|
3891
3974
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"title": "Buildchain documentation map",
|
|
10
10
|
"path": "docs/MAP.md",
|
|
11
11
|
"plane": "use",
|
|
12
|
-
"digest": "sha256:
|
|
12
|
+
"digest": "sha256:886d073bd37ac655e1ad9659baf161c72ef796b6032c5c3332218ac8198c2aeb",
|
|
13
13
|
"capabilityGroup": "getting-started",
|
|
14
14
|
"audience": [
|
|
15
15
|
"agent",
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"title": "Site bundle contract",
|
|
163
163
|
"path": "docs/site-bundle-contract.md",
|
|
164
164
|
"plane": "use",
|
|
165
|
-
"digest": "sha256:
|
|
165
|
+
"digest": "sha256:d67a874b356fbfbee9a5d5ece7021fb52b2848347dc6a14f5562c98570096916",
|
|
166
166
|
"capabilityGroup": "site-and-propagation",
|
|
167
167
|
"audience": [
|
|
168
168
|
"site",
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"title": "CLI and npm package",
|
|
218
218
|
"path": "docs/cli.md",
|
|
219
219
|
"plane": "use",
|
|
220
|
-
"digest": "sha256:
|
|
220
|
+
"digest": "sha256:81624885888c9e357db128f644f93dcab2286910df426b532730b0141d7cb00d",
|
|
221
221
|
"capabilityGroup": "api-cli-reference",
|
|
222
222
|
"audience": [
|
|
223
223
|
"agent",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"specifier": "@kungfu-tech/buildchain",
|
|
9
9
|
"export": ".",
|
|
10
10
|
"target": "./packages/core/index.js",
|
|
11
|
-
"digest": "sha256:
|
|
11
|
+
"digest": "sha256:3586fe03ecf3769dbfff17603db966dae10ce770b704675e8d31e1b71810e6f9",
|
|
12
12
|
"summary": "Root toolkit export for Buildchain's public Node API.",
|
|
13
13
|
"capabilityGroup": "api-cli-reference",
|
|
14
14
|
"audience": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"specifier": "@kungfu-tech/buildchain/core",
|
|
48
48
|
"export": "./core",
|
|
49
49
|
"target": "./packages/core/index.js",
|
|
50
|
-
"digest": "sha256:
|
|
50
|
+
"digest": "sha256:3586fe03ecf3769dbfff17603db966dae10ce770b704675e8d31e1b71810e6f9",
|
|
51
51
|
"summary": "Alias for the root public toolkit export.",
|
|
52
52
|
"capabilityGroup": "api-cli-reference",
|
|
53
53
|
"audience": [
|
|
@@ -212,11 +212,24 @@
|
|
|
212
212
|
],
|
|
213
213
|
"maturity": "stable"
|
|
214
214
|
},
|
|
215
|
+
{
|
|
216
|
+
"specifier": "@kungfu-tech/buildchain/publication-package",
|
|
217
|
+
"export": "./publication-package",
|
|
218
|
+
"target": "./packages/core/publication-package.js",
|
|
219
|
+
"digest": "sha256:3c96b1a7483eda44c1a89a7af1a1b262fb40cce8a4bcf81f5ad048b69664db67",
|
|
220
|
+
"summary": "Publication npm package synthesis APIs for Buildchain-managed paper release presets.",
|
|
221
|
+
"capabilityGroup": "reusable-build",
|
|
222
|
+
"audience": [
|
|
223
|
+
"developer",
|
|
224
|
+
"agent"
|
|
225
|
+
],
|
|
226
|
+
"maturity": "stable"
|
|
227
|
+
},
|
|
215
228
|
{
|
|
216
229
|
"specifier": "@kungfu-tech/buildchain/kfd-gate",
|
|
217
230
|
"export": "./kfd-gate",
|
|
218
231
|
"target": "./packages/core/kfd-gate.js",
|
|
219
|
-
"digest": "sha256:
|
|
232
|
+
"digest": "sha256:f31691f36f2a7930798805cb470aff7acd3503799cb72b954c7787b1d8b3eb31",
|
|
220
233
|
"summary": "KFD-1/KFD-2/KFD-3 release gate evidence and validation APIs.",
|
|
221
234
|
"capabilityGroup": "kfd-trust",
|
|
222
235
|
"audience": [
|
|
@@ -281,7 +294,7 @@
|
|
|
281
294
|
"specifier": "@kungfu-tech/buildchain/buildchain-kfd-claims",
|
|
282
295
|
"export": "./buildchain-kfd-claims",
|
|
283
296
|
"target": "./packages/core/buildchain-kfd-claims.js",
|
|
284
|
-
"digest": "sha256:
|
|
297
|
+
"digest": "sha256:139a2318ff627819fe5553f0572fe754ce296d5fa974a7337c32c811feb02b14",
|
|
285
298
|
"summary": "Buildchain self KFD claim registry, witnesses, and public claim APIs.",
|
|
286
299
|
"capabilityGroup": "kfd-trust",
|
|
287
300
|
"audience": [
|
|
@@ -295,7 +308,7 @@
|
|
|
295
308
|
{
|
|
296
309
|
"id": "cli-and-node-package",
|
|
297
310
|
"path": "docs/cli.md",
|
|
298
|
-
"digest": "sha256:
|
|
311
|
+
"digest": "sha256:81624885888c9e357db128f644f93dcab2286910df426b532730b0141d7cb00d"
|
|
299
312
|
},
|
|
300
313
|
{
|
|
301
314
|
"id": "build-facts",
|
|
@@ -320,7 +333,7 @@
|
|
|
320
333
|
{
|
|
321
334
|
"id": "site-bundle-contract",
|
|
322
335
|
"path": "docs/site-bundle-contract.md",
|
|
323
|
-
"digest": "sha256:
|
|
336
|
+
"digest": "sha256:d67a874b356fbfbee9a5d5ece7021fb52b2848347dc6a14f5562c98570096916"
|
|
324
337
|
}
|
|
325
338
|
],
|
|
326
339
|
"guidance": "These are the public Node import surfaces shipped by the npm package. Agents should prefer these exports over internal file paths."
|