@kungfu-tech/buildchain 2.9.0 → 2.9.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/bin/buildchain.mjs +47 -0
- package/dist/site/agent-index.json +1 -0
- package/dist/site/artifact-schemas.json +1 -0
- package/dist/site/buildchain-contract.json +5 -5
- package/dist/site/buildchain-site.json +29 -22
- package/dist/site/cli-registry.json +239 -42
- package/dist/site/kfd-claims.json +2181 -1
- package/dist/site/manual-registry.json +6 -6
- package/dist/site/node-api-registry.json +17 -5
- package/dist/site/page-registry.json +17 -12
- package/dist/site/public-surface-audit.json +1969 -0
- package/dist/site/release-provenance.json +3 -0
- package/dist/site/site-manifest.json +11 -10
- package/dist/site/workflow-registry.json +741 -18
- package/docs/MAP.md +1 -0
- package/docs/cli.md +47 -0
- package/docs/release-flow.md +31 -0
- package/docs/release-passport.md +10 -0
- package/docs/site-bundle-contract.md +7 -0
- package/docs/web-surface-deployments.md +10 -0
- package/package.json +4 -1
- package/packages/core/buildchain-kfd-claims.js +118 -7
- package/packages/core/index.js +16 -0
- package/packages/core/public-surface-audit.js +298 -0
- package/packages/core/release-line-bootstrap.js +242 -0
- package/scripts/check-inventory.mjs +32 -1
- package/scripts/generate-site-bundle.mjs +95 -32
- package/scripts/web-surface-core.mjs +79 -6
|
@@ -3,86 +3,283 @@
|
|
|
3
3
|
"contract": "kungfu-buildchain-cli-registry",
|
|
4
4
|
"binary": "buildchain",
|
|
5
5
|
"npmPackage": "@kungfu-tech/buildchain",
|
|
6
|
+
"commandSource": "bin/buildchain.mjs reverse enumeration",
|
|
6
7
|
"commands": [
|
|
7
8
|
{
|
|
8
|
-
"id": "
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"id": "badges",
|
|
10
|
+
"source": "bin/buildchain.mjs",
|
|
11
|
+
"usage": "buildchain badges",
|
|
12
|
+
"purpose": "Public Buildchain CLI surface. Add a specific purpose in scripts/generate-site-bundle.mjs when this command graduates."
|
|
11
13
|
},
|
|
12
14
|
{
|
|
13
|
-
"id": "
|
|
14
|
-
"
|
|
15
|
-
"
|
|
15
|
+
"id": "badges-bundle",
|
|
16
|
+
"source": "bin/buildchain.mjs",
|
|
17
|
+
"usage": "buildchain badges bundle [--cwd <dir>] [--readme <path>] [--claims <csv>] [--check] [--write] [--json]",
|
|
18
|
+
"purpose": "Generate or verify the combined KFD and Release Passport badge bundle."
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
|
-
"id": "
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
+
"id": "badges-readme",
|
|
22
|
+
"source": "bin/buildchain.mjs",
|
|
23
|
+
"usage": "buildchain badges readme [--cwd <dir>] [--readme <path>] [--check] [--write] [--json]",
|
|
24
|
+
"purpose": "Generate or verify managed README badge blocks."
|
|
21
25
|
},
|
|
22
26
|
{
|
|
23
|
-
"id": "
|
|
24
|
-
"
|
|
25
|
-
"
|
|
27
|
+
"id": "build-contract",
|
|
28
|
+
"source": "bin/buildchain.mjs",
|
|
29
|
+
"usage": "buildchain build-contract ...",
|
|
30
|
+
"purpose": "Resolve Buildchain runtime contract metadata."
|
|
26
31
|
},
|
|
27
32
|
{
|
|
28
|
-
"id": "
|
|
29
|
-
"
|
|
30
|
-
"
|
|
33
|
+
"id": "build-facts",
|
|
34
|
+
"source": "bin/buildchain.mjs",
|
|
35
|
+
"usage": "buildchain facts module [--cwd <dir>] [--module <id>] [--module-root <path>]",
|
|
36
|
+
"purpose": "Collect and verify Git source, version, module output, product artifact, and legacy Kungfu buildinfo facts."
|
|
31
37
|
},
|
|
32
38
|
{
|
|
33
|
-
"id": "
|
|
34
|
-
"
|
|
35
|
-
"
|
|
39
|
+
"id": "collect",
|
|
40
|
+
"source": "bin/buildchain.mjs",
|
|
41
|
+
"usage": "buildchain collect",
|
|
42
|
+
"purpose": "Public Buildchain CLI surface. Add a specific purpose in scripts/generate-site-bundle.mjs when this command graduates."
|
|
36
43
|
},
|
|
37
44
|
{
|
|
38
45
|
"id": "collect-github-release",
|
|
39
|
-
"
|
|
46
|
+
"source": "bin/buildchain.mjs",
|
|
47
|
+
"usage": "buildchain collect github-release --tag <tag> [--repository <owner/repo>]",
|
|
40
48
|
"purpose": "Collect release assets into a release passport."
|
|
41
49
|
},
|
|
42
50
|
{
|
|
43
|
-
"id": "
|
|
44
|
-
"
|
|
45
|
-
"
|
|
51
|
+
"id": "diagnostics",
|
|
52
|
+
"source": "bin/buildchain.mjs",
|
|
53
|
+
"usage": "buildchain diagnostics",
|
|
54
|
+
"purpose": "Public Buildchain CLI surface. Add a specific purpose in scripts/generate-site-bundle.mjs when this command graduates."
|
|
46
55
|
},
|
|
47
56
|
{
|
|
48
|
-
"id": "
|
|
49
|
-
"
|
|
50
|
-
"
|
|
57
|
+
"id": "diagnostics-summary",
|
|
58
|
+
"source": "bin/buildchain.mjs",
|
|
59
|
+
"usage": "buildchain diagnostics summary <diagnostics.json>... [--artifact <file>]...",
|
|
60
|
+
"purpose": "Summarize diagnostics artifacts into JSON and cross-platform lifecycle timing tables."
|
|
51
61
|
},
|
|
52
62
|
{
|
|
53
|
-
"id": "
|
|
54
|
-
"
|
|
55
|
-
"
|
|
63
|
+
"id": "doctor",
|
|
64
|
+
"source": "bin/buildchain.mjs",
|
|
65
|
+
"usage": "buildchain doctor [--cwd <dir>] [--require-publish-source-lock] [--json]",
|
|
66
|
+
"purpose": "Report local integration readiness."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "explain",
|
|
70
|
+
"source": "bin/buildchain.mjs",
|
|
71
|
+
"usage": "buildchain explain",
|
|
72
|
+
"purpose": "Public Buildchain CLI surface. Add a specific purpose in scripts/generate-site-bundle.mjs when this command graduates."
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "explain-artifact",
|
|
76
|
+
"source": "bin/buildchain.mjs",
|
|
77
|
+
"usage": "buildchain explain artifact <subject> [--passport <file-or-url>] [--for human|agent] [--json]",
|
|
78
|
+
"purpose": "Explain artifact evidence for humans or agents."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "explain-release",
|
|
82
|
+
"source": "bin/buildchain.mjs",
|
|
83
|
+
"usage": "buildchain explain release --passport <file-or-url> [--for human|agent] [--json]",
|
|
84
|
+
"purpose": "Explain a release passport for humans or agents."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "facts",
|
|
88
|
+
"source": "bin/buildchain.mjs",
|
|
89
|
+
"usage": "buildchain facts",
|
|
90
|
+
"purpose": "Public Buildchain CLI surface. Add a specific purpose in scripts/generate-site-bundle.mjs when this command graduates."
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "help",
|
|
94
|
+
"source": "bin/buildchain.mjs",
|
|
95
|
+
"usage": "buildchain --help",
|
|
96
|
+
"purpose": "Print Buildchain CLI help."
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "homebrew",
|
|
100
|
+
"source": "bin/buildchain.mjs",
|
|
101
|
+
"usage": "buildchain homebrew",
|
|
102
|
+
"purpose": "Public Buildchain CLI surface. Add a specific purpose in scripts/generate-site-bundle.mjs when this command graduates."
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "homebrew-check",
|
|
106
|
+
"source": "bin/buildchain.mjs",
|
|
107
|
+
"usage": "buildchain homebrew check [--cwd <dir>] [--package <name>] [--release-passport <file-or-url>] [--json]",
|
|
108
|
+
"purpose": "Verify Homebrew tap metadata against upstream release passport evidence."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "homebrew-update-formula",
|
|
112
|
+
"source": "bin/buildchain.mjs",
|
|
113
|
+
"usage": "buildchain homebrew update-formula --package <name> --release-passport <file-or-url> [--write] [--json]",
|
|
114
|
+
"purpose": "Generate Homebrew Formula metadata from upstream release passport evidence."
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"id": "infra-contract",
|
|
118
|
+
"source": "bin/buildchain.mjs",
|
|
119
|
+
"usage": "buildchain infra-contract ...",
|
|
120
|
+
"purpose": "Validate and publish provider-neutral infrastructure contract evidence."
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "init",
|
|
124
|
+
"source": "bin/buildchain.mjs",
|
|
125
|
+
"usage": "buildchain init [--cwd <dir>] [--type package|native|web-surface|infra-contract|anchored-package] [--force]",
|
|
126
|
+
"purpose": "Bootstrap a repository with Buildchain configuration and caller workflow files."
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "inspect",
|
|
130
|
+
"source": "bin/buildchain.mjs",
|
|
131
|
+
"usage": "buildchain inspect",
|
|
132
|
+
"purpose": "Public Buildchain CLI surface. Add a specific purpose in scripts/generate-site-bundle.mjs when this command graduates."
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"id": "inspect-artifact",
|
|
136
|
+
"source": "bin/buildchain.mjs",
|
|
137
|
+
"usage": "buildchain inspect artifact <subject> [--passport <file-or-url>] [--json]",
|
|
138
|
+
"purpose": "Inspect artifact evidence."
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "inspect-release",
|
|
142
|
+
"source": "bin/buildchain.mjs",
|
|
143
|
+
"usage": "buildchain inspect release --passport <file-or-url> [--json]",
|
|
144
|
+
"purpose": "Inspect release passport evidence."
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "lifecycle",
|
|
148
|
+
"source": "bin/buildchain.mjs",
|
|
149
|
+
"usage": "buildchain lifecycle run <stage> [--cwd <dir>] [--required]",
|
|
150
|
+
"purpose": "Run configured lifecycle commands and write deterministic artifact manifests."
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "log",
|
|
154
|
+
"source": "bin/buildchain.mjs",
|
|
155
|
+
"usage": "buildchain log",
|
|
156
|
+
"purpose": "Public Buildchain CLI surface. Add a specific purpose in scripts/generate-site-bundle.mjs when this command graduates."
|
|
56
157
|
},
|
|
57
158
|
{
|
|
58
159
|
"id": "logging",
|
|
59
|
-
"
|
|
160
|
+
"source": "bin/buildchain.mjs",
|
|
161
|
+
"usage": "buildchain log <info|warn|error> --event <name> [--phase <phase>]",
|
|
60
162
|
"purpose": "Emit timestamped build events, summarize logs, and enforce required phases."
|
|
61
163
|
},
|
|
62
164
|
{
|
|
63
|
-
"id": "
|
|
64
|
-
"
|
|
65
|
-
"
|
|
165
|
+
"id": "mark",
|
|
166
|
+
"source": "bin/buildchain.mjs",
|
|
167
|
+
"usage": "buildchain mark --event <name> [--phase <phase>] [--component <name>]",
|
|
168
|
+
"purpose": "Emit a single Buildchain log event."
|
|
66
169
|
},
|
|
67
170
|
{
|
|
68
|
-
"id": "
|
|
69
|
-
"
|
|
70
|
-
"
|
|
171
|
+
"id": "npm",
|
|
172
|
+
"source": "bin/buildchain.mjs",
|
|
173
|
+
"usage": "buildchain npm",
|
|
174
|
+
"purpose": "Public Buildchain CLI surface. Add a specific purpose in scripts/generate-site-bundle.mjs when this command graduates."
|
|
71
175
|
},
|
|
72
176
|
{
|
|
73
177
|
"id": "npm-dry-run",
|
|
74
|
-
"
|
|
178
|
+
"source": "bin/buildchain.mjs",
|
|
179
|
+
"usage": "buildchain npm dry-run [--cwd <dir>] [--expected-tag <tag>] [--registry <url>]",
|
|
75
180
|
"purpose": "Verify npm publish shape before a release transaction."
|
|
76
181
|
},
|
|
77
182
|
{
|
|
78
|
-
"id": "
|
|
79
|
-
"
|
|
80
|
-
"
|
|
183
|
+
"id": "publish-source",
|
|
184
|
+
"source": "bin/buildchain.mjs",
|
|
185
|
+
"usage": "buildchain publish-source <lock|manifest|verify-lock|verify-channel-ref|validate-anchored-release> ...",
|
|
186
|
+
"purpose": "Create, inspect, or verify publish-gate source-lock refs."
|
|
81
187
|
},
|
|
82
188
|
{
|
|
83
|
-
"id": "
|
|
84
|
-
"
|
|
85
|
-
"
|
|
189
|
+
"id": "release-dry-run",
|
|
190
|
+
"source": "bin/buildchain.mjs",
|
|
191
|
+
"usage": "buildchain release --dry-run --target-ref <ref> [--sha <sha>] [--source-ref <ref>]",
|
|
192
|
+
"purpose": "Explain what a channel merge would publish before the PR is merged."
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"id": "release-line-open",
|
|
196
|
+
"source": "bin/buildchain.mjs",
|
|
197
|
+
"usage": "buildchain release line open --major <n> --minor <n> [--source-ref <ref>]",
|
|
198
|
+
"purpose": "Plan or write the initial version-state commit for a new minor release line."
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "release-propagation",
|
|
202
|
+
"source": "bin/buildchain.mjs",
|
|
203
|
+
"usage": "buildchain release-propagation <plan|write-lock> ...",
|
|
204
|
+
"purpose": "Plan channel-preserving downstream release PRs and write exact upstream release locks."
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": "release-transaction",
|
|
208
|
+
"source": "bin/buildchain.mjs",
|
|
209
|
+
"usage": "buildchain release <inspect|recover|finalize|abort> ...",
|
|
210
|
+
"purpose": "Inspect, recover, finalize, or abort durable release transactions."
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"id": "sample",
|
|
214
|
+
"source": "bin/buildchain.mjs",
|
|
215
|
+
"usage": "buildchain sample",
|
|
216
|
+
"purpose": "Public Buildchain CLI surface. Add a specific purpose in scripts/generate-site-bundle.mjs when this command graduates."
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"id": "sample-process-tree",
|
|
220
|
+
"source": "bin/buildchain.mjs",
|
|
221
|
+
"usage": "buildchain sample process-tree [--interval-ms <n>] [--label <name>]",
|
|
222
|
+
"purpose": "Sample process-tree diagnostics for a wrapped command."
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"id": "span",
|
|
226
|
+
"source": "bin/buildchain.mjs",
|
|
227
|
+
"usage": "buildchain span --event <name> [--phase <phase>] [--component <name>]",
|
|
228
|
+
"purpose": "Run a command inside a Buildchain log span."
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "transaction-inspect",
|
|
232
|
+
"source": "bin/buildchain.mjs",
|
|
233
|
+
"usage": "buildchain transaction inspect ...",
|
|
234
|
+
"purpose": "Inspect durable release transaction state."
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"id": "validate",
|
|
238
|
+
"source": "bin/buildchain.mjs",
|
|
239
|
+
"usage": "buildchain validate [--cwd <dir>] [--require-version-state]",
|
|
240
|
+
"purpose": "Validate buildchain.toml and declared lifecycle surfaces."
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"id": "verify",
|
|
244
|
+
"source": "bin/buildchain.mjs",
|
|
245
|
+
"usage": "buildchain verify",
|
|
246
|
+
"purpose": "Public Buildchain CLI surface. Add a specific purpose in scripts/generate-site-bundle.mjs when this command graduates."
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"id": "verify-artifact",
|
|
250
|
+
"source": "bin/buildchain.mjs",
|
|
251
|
+
"usage": "buildchain verify artifact <file|dir|url|npm:...|oci:...|github-release:...>",
|
|
252
|
+
"purpose": "Verify artifact subjects against release passport evidence."
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"id": "verify-infra-contract-evidence-bundle",
|
|
256
|
+
"source": "bin/buildchain.mjs",
|
|
257
|
+
"usage": "buildchain verify infra-contract-evidence-bundle <file> [--json]",
|
|
258
|
+
"purpose": "Fail closed unless an infra-contract lifecycle evidence bundle is complete, hash-bound, and validation-consistent."
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"id": "verify-observability-log",
|
|
262
|
+
"source": "bin/buildchain.mjs",
|
|
263
|
+
"usage": "buildchain verify observability-log <jsonl> [--min-events <n>]",
|
|
264
|
+
"purpose": "Verify Buildchain observability log events."
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"id": "verify-release-passport",
|
|
268
|
+
"source": "bin/buildchain.mjs",
|
|
269
|
+
"usage": "buildchain verify release-passport <file-or-url> [--json]",
|
|
270
|
+
"purpose": "Fail closed unless a release passport and its evidence are complete."
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"id": "version",
|
|
274
|
+
"source": "bin/buildchain.mjs",
|
|
275
|
+
"usage": "buildchain version",
|
|
276
|
+
"purpose": "Print the package or embedded binary version."
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"id": "web-surface",
|
|
280
|
+
"source": "bin/buildchain.mjs",
|
|
281
|
+
"usage": "buildchain web-surface ...",
|
|
282
|
+
"purpose": "Plan, verify, and apply Buildchain web-surface deployments."
|
|
86
283
|
}
|
|
87
284
|
]
|
|
88
285
|
}
|