@kungfu-tech/buildchain 2.12.1-alpha.1 → 2.12.1-alpha.11

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.
Files changed (36) hide show
  1. package/bin/buildchain.mjs +18 -0
  2. package/dist/site/buildchain-contract.json +7 -7
  3. package/dist/site/buildchain-site.json +44 -24
  4. package/dist/site/capability-registry.json +2 -2
  5. package/dist/site/cli-registry.json +12 -0
  6. package/dist/site/kfd-claims.json +108 -12
  7. package/dist/site/kfd-upstream-aggregate.json +1 -1
  8. package/dist/site/manual-registry.json +6 -6
  9. package/dist/site/node-api-registry.json +7 -7
  10. package/dist/site/page-registry.json +34 -14
  11. package/dist/site/public-surface-audit.json +58 -9
  12. package/dist/site/publication-registry.json +4 -4
  13. package/dist/site/site-manifest.json +10 -10
  14. package/dist/site/workflow-registry.json +30 -3
  15. package/docs/binary-distribution.md +20 -1
  16. package/docs/cli.md +17 -0
  17. package/docs/kfd-support.md +44 -1
  18. package/docs/lifecycle-protocol.md +16 -0
  19. package/docs/release-governance.md +7 -0
  20. package/docs/reusable-build-surface.md +69 -0
  21. package/docs/stable-candidate-patrol.md +16 -0
  22. package/package.json +2 -1
  23. package/packages/core/buildchain-kfd-claims.js +51 -2
  24. package/packages/core/buildchain-layout.js +46 -0
  25. package/packages/core/index.js +4 -0
  26. package/packages/core/kfd3-surface-register.js +59 -2
  27. package/scripts/build-standalone-binary.mjs +2 -1
  28. package/scripts/check-inventory.mjs +4 -1
  29. package/scripts/generate-site-bundle.mjs +4 -1
  30. package/scripts/init-repo.mjs +1 -1
  31. package/scripts/locked-source-checkout.mjs +52 -12
  32. package/scripts/npm-publish-dry-run.mjs +1 -1
  33. package/scripts/publication-artifact.mjs +1 -1
  34. package/scripts/publication-package.mjs +1 -1
  35. package/scripts/release-propagation.mjs +1 -1
  36. package/scripts/stable-candidate-qualification.mjs +239 -0
@@ -115,7 +115,7 @@
115
115
  "counts": {
116
116
  "manualCount": 1,
117
117
  "pageCount": 1,
118
- "cliCommandCount": 26,
118
+ "cliCommandCount": 27,
119
119
  "nodeApiCount": 5,
120
120
  "workflowCount": 0,
121
121
  "actionCount": 0
@@ -285,7 +285,7 @@
285
285
  "pageCount": 6,
286
286
  "cliCommandCount": 0,
287
287
  "nodeApiCount": 2,
288
- "workflowCount": 24,
288
+ "workflowCount": 25,
289
289
  "actionCount": 0
290
290
  },
291
291
  "manuals": [
@@ -593,6 +593,18 @@
593
593
  ],
594
594
  "maturity": "stable"
595
595
  },
596
+ {
597
+ "id": "layout",
598
+ "source": "bin/buildchain.mjs",
599
+ "usage": "buildchain layout [--cwd <dir>] [--json]",
600
+ "purpose": "Return the versioned repository-layout and KFD registry discovery contract for tools such as Shifu.",
601
+ "capabilityGroup": "kfd-trust",
602
+ "audience": [
603
+ "agent",
604
+ "operator"
605
+ ],
606
+ "maturity": "stable"
607
+ },
596
608
  {
597
609
  "id": "lifecycle",
598
610
  "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": "6ec95f4025ff96a5fdd7a6b8a9c91bd70726d8f3e5f0eb6eda13b7a13d654eb7",
24
+ "sha256": "faa857a3aeb97683b6ec93ffa8dc882b95172484d80f62455f3ad9ddd5c9fb7c",
25
25
  "summary": {
26
- "cliCommandCount": 75,
27
- "workflowCount": 41,
26
+ "cliCommandCount": 76,
27
+ "workflowCount": 42,
28
28
  "actionCount": 4,
29
29
  "sitePageCount": 46,
30
- "docCommandRefCount": 237,
30
+ "docCommandRefCount": 241,
31
31
  "failureCount": 0
32
32
  },
33
33
  "auditBoundary": {
@@ -110,6 +110,23 @@
110
110
  "dist/site/public-surface-audit.json"
111
111
  ]
112
112
  },
113
+ {
114
+ "id": "claim:buildchain-shifu-kfd-discovery",
115
+ "claim": "Buildchain exposes a versioned repository-layout discovery contract and KFD-3 distribution declarations so Shifu can locate the registry and determine jurisdiction without copying Buildchain layout paths.",
116
+ "sourcePaths": [
117
+ "packages/core/buildchain-layout.js",
118
+ "packages/core/buildchain-kfd-claims.js",
119
+ "packages/core/kfd3-surface-register.js",
120
+ "bin/buildchain.mjs",
121
+ "scripts/build-standalone-binary.mjs",
122
+ "docs/kfd-support.md"
123
+ ],
124
+ "artifactPaths": [
125
+ "dist/site/kfd-claims.json",
126
+ "dist/site/cli-registry.json",
127
+ "dist/site/node-api-registry.json"
128
+ ]
129
+ },
113
130
  {
114
131
  "id": "claim:buildchain-readme-badge-facts",
115
132
  "claim": "Buildchain README status badges are generated from repository-owned facts and verified release-passport evidence, not hand-maintained README prose.",
@@ -208,13 +225,13 @@
208
225
  "contract": "kungfu-buildchain-public-surface-reverse-audit",
209
226
  "path": "dist/site/public-surface-audit.json",
210
227
  "status": "passed",
211
- "sha256": "6ec95f4025ff96a5fdd7a6b8a9c91bd70726d8f3e5f0eb6eda13b7a13d654eb7",
228
+ "sha256": "faa857a3aeb97683b6ec93ffa8dc882b95172484d80f62455f3ad9ddd5c9fb7c",
212
229
  "summary": {
213
- "cliCommandCount": 75,
214
- "workflowCount": 41,
230
+ "cliCommandCount": 76,
231
+ "workflowCount": 42,
215
232
  "actionCount": 4,
216
233
  "sitePageCount": 46,
217
- "docCommandRefCount": 237,
234
+ "docCommandRefCount": 241,
218
235
  "failureCount": 0
219
236
  },
220
237
  "auditBoundary": {
@@ -1972,6 +1989,18 @@
1972
1989
  "public": true,
1973
1990
  "reverseAuditSource": "bin/buildchain.mjs"
1974
1991
  },
1992
+ {
1993
+ "id": "cli:layout",
1994
+ "name": "buildchain layout [--cwd <dir>] [--json]",
1995
+ "kind": "cli-command",
1996
+ "sourcePath": "bin/buildchain.mjs",
1997
+ "evidencePath": "bin/buildchain.mjs",
1998
+ "availability": "shipped",
1999
+ "visibility": "public",
2000
+ "participantFacing": true,
2001
+ "public": true,
2002
+ "reverseAuditSource": "bin/buildchain.mjs"
2003
+ },
1975
2004
  {
1976
2005
  "id": "cli:lifecycle",
1977
2006
  "name": "buildchain lifecycle run <stage> [--cwd <dir>] [--required]",
@@ -2294,7 +2323,7 @@
2294
2323
  "visibility": "public",
2295
2324
  "participantFacing": true,
2296
2325
  "public": true,
2297
- "inputCount": 50,
2326
+ "inputCount": 57,
2298
2327
  "inputs": [
2299
2328
  "artifact-name",
2300
2329
  "artifact-name-template",
@@ -2314,6 +2343,7 @@
2314
2343
  "buildchain-contract-lock-path",
2315
2344
  "buildchain-ref",
2316
2345
  "buildchain-repository",
2346
+ "cargo-registry-index",
2317
2347
  "checkout-cache-fallback",
2318
2348
  "checkout-cache-fetch-attempts",
2319
2349
  "checkout-cache-github-timeout-seconds",
@@ -2341,8 +2371,14 @@
2341
2371
  "require-trusted-event",
2342
2372
  "require-verify",
2343
2373
  "runner-preset",
2374
+ "rust-toolchain",
2375
+ "rustup-dist-server",
2376
+ "rustup-update-root",
2344
2377
  "sample-process-tree",
2345
2378
  "setup-node",
2379
+ "setup-rust",
2380
+ "shifu-cache-profile-digest",
2381
+ "shifu-cache-profile-ref",
2346
2382
  "untrusted-policy",
2347
2383
  "verify-command",
2348
2384
  "working-directory"
@@ -2709,7 +2745,7 @@
2709
2745
  "visibility": "public",
2710
2746
  "participantFacing": true,
2711
2747
  "public": true,
2712
- "inputCount": 53,
2748
+ "inputCount": 60,
2713
2749
  "inputs": [
2714
2750
  "artifact-name",
2715
2751
  "artifact-name-template",
@@ -2732,6 +2768,7 @@
2732
2768
  "buildchain-ref",
2733
2769
  "buildchain-repository",
2734
2770
  "buildchain-stable-contract-lock-path",
2771
+ "cargo-registry-index",
2735
2772
  "checkout-cache-fallback",
2736
2773
  "checkout-cache-fetch-attempts",
2737
2774
  "checkout-cache-github-timeout-seconds",
@@ -2759,8 +2796,14 @@
2759
2796
  "require-trusted-event",
2760
2797
  "require-verify",
2761
2798
  "runner-preset",
2799
+ "rust-toolchain",
2800
+ "rustup-dist-server",
2801
+ "rustup-update-root",
2762
2802
  "sample-process-tree",
2763
2803
  "setup-node",
2804
+ "setup-rust",
2805
+ "shifu-cache-profile-digest",
2806
+ "shifu-cache-profile-ref",
2764
2807
  "untrusted-policy",
2765
2808
  "verify-command",
2766
2809
  "working-directory"
@@ -2898,6 +2941,23 @@
2898
2941
  ],
2899
2942
  "reverseAuditSource": ".github/workflows"
2900
2943
  },
2944
+ {
2945
+ "id": "workflow:buildchain-stable-candidate-qualification",
2946
+ "name": "workflow:buildchain-stable-candidate-qualification",
2947
+ "kind": "workflow",
2948
+ "sourcePath": ".github/workflows/buildchain-stable-candidate-qualification.yml",
2949
+ "evidencePath": ".github/workflows/buildchain-stable-candidate-qualification.yml",
2950
+ "availability": "shipped",
2951
+ "visibility": "public",
2952
+ "participantFacing": true,
2953
+ "public": true,
2954
+ "inputCount": 2,
2955
+ "inputs": [
2956
+ "candidate-sha",
2957
+ "dry-run"
2958
+ ],
2959
+ "reverseAuditSource": ".github/workflows"
2960
+ },
2901
2961
  {
2902
2962
  "id": "workflow:candidate-lab",
2903
2963
  "name": "workflow:candidate-lab",
@@ -2927,10 +2987,11 @@
2927
2987
  "visibility": "public",
2928
2988
  "participantFacing": true,
2929
2989
  "public": true,
2930
- "inputCount": 6,
2990
+ "inputCount": 7,
2931
2991
  "inputs": [
2932
2992
  "buildchain-ref",
2933
2993
  "buildchain-repository",
2994
+ "mode",
2934
2995
  "node-version",
2935
2996
  "require-version-state",
2936
2997
  "upload-artifacts",
@@ -4135,8 +4196,43 @@
4135
4196
  "visibility": "public",
4136
4197
  "participantFacing": true,
4137
4198
  "public": true
4199
+ },
4200
+ {
4201
+ "id": "distribution:buildchain-standalone",
4202
+ "name": "Buildchain standalone binary distribution",
4203
+ "kind": "binary-distribution",
4204
+ "sourcePath": "scripts/build-standalone-binary.mjs",
4205
+ "evidencePath": ".github/workflows/binary-distribution.yml",
4206
+ "availability": "shipped",
4207
+ "visibility": "public",
4208
+ "participantFacing": true,
4209
+ "public": true,
4210
+ "artifactPath": "dist/binary",
4211
+ "distribution": {
4212
+ "registrar": "shifu",
4213
+ "tasks": [
4214
+ "binary:build"
4215
+ ],
4216
+ "artifacts": [
4217
+ {
4218
+ "kind": "binary",
4219
+ "platform": "linux",
4220
+ "pathGlob": "dist/binary/buildchain-x86_64-unknown-linux-gnu.tar.gz"
4221
+ },
4222
+ {
4223
+ "kind": "binary",
4224
+ "platform": "macos",
4225
+ "pathGlob": "dist/binary/buildchain-aarch64-apple-darwin.tar.gz"
4226
+ },
4227
+ {
4228
+ "kind": "binary",
4229
+ "platform": "windows",
4230
+ "pathGlob": "dist/binary/buildchain-x86_64-pc-windows-msvc.zip"
4231
+ }
4232
+ ]
4233
+ }
4138
4234
  }
4139
4235
  ],
4140
- "publicSurfaceCount": 270
4236
+ "publicSurfaceCount": 273
4141
4237
  }
4142
4238
  }
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "id": "kungfu-tech-buildchain",
6
6
  "name": "@kungfu-tech/buildchain",
7
- "version": "2.12.1-alpha.1",
7
+ "version": "2.12.1-alpha.11",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "source": {
@@ -106,7 +106,7 @@
106
106
  "title": "Binary distribution contract",
107
107
  "path": "docs/binary-distribution.md",
108
108
  "plane": "verify",
109
- "digest": "sha256:36899140a9b2e9ce1565ed41f3d64f73a8829fad3d59a04b9498d9479c85c4be",
109
+ "digest": "sha256:08be4e97e1940a45a2c0aa2506012255888c23c1cbf8f5362b27c2b21089eb58",
110
110
  "capabilityGroup": "release-passport-trust",
111
111
  "audience": [
112
112
  "release-operator",
@@ -217,7 +217,7 @@
217
217
  "title": "CLI and npm package",
218
218
  "path": "docs/cli.md",
219
219
  "plane": "use",
220
- "digest": "sha256:133a7921163fecda050d772827bd498f35f11b1a3514e303dbfe89bb7a220f5d",
220
+ "digest": "sha256:3b3ac97c353f7549229f1102cca38236e734ec8d08c219d4a6e5ef2a48fc0e16",
221
221
  "capabilityGroup": "api-cli-reference",
222
222
  "audience": [
223
223
  "agent",
@@ -245,7 +245,7 @@
245
245
  "title": "KFD support and KFD-3 surface registration",
246
246
  "path": "docs/kfd-support.md",
247
247
  "plane": "verify",
248
- "digest": "sha256:456eef9dbb71df3842613083054942436e763c6aa5ca3ff8a51c5a4e8cc186e7",
248
+ "digest": "sha256:ab15de33a1a9e292b6da74c00b8b96b7c46330d0553a454d1de4c24c672fc025",
249
249
  "capabilityGroup": "kfd-trust",
250
250
  "audience": [
251
251
  "agent",
@@ -259,7 +259,7 @@
259
259
  "title": "Lifecycle protocol",
260
260
  "path": "docs/lifecycle-protocol.md",
261
261
  "plane": "use",
262
- "digest": "sha256:60c39693878258d275e9d47983b306faed35d6416297c14570429de73284604c",
262
+ "digest": "sha256:3a03359ec58db04f334303256b02020f6039616e8802c19dfc00e76bbb05bf18",
263
263
  "capabilityGroup": "reusable-build",
264
264
  "audience": [
265
265
  "consumer",
@@ -273,7 +273,7 @@
273
273
  "title": "Reusable build surface",
274
274
  "path": "docs/reusable-build-surface.md",
275
275
  "plane": "use",
276
- "digest": "sha256:dfa37928517a391c2ab214a095954dcb50e84f514cea0a8424619903843d9b8d",
276
+ "digest": "sha256:fbc74dee3a6f2283ea69a2a9a31945ac82ccaf1d270995539f5d80235ab74614",
277
277
  "capabilityGroup": "reusable-build",
278
278
  "audience": [
279
279
  "consumer",
@@ -300,7 +300,7 @@
300
300
  "title": "Release governance",
301
301
  "path": "docs/release-governance.md",
302
302
  "plane": "why",
303
- "digest": "sha256:a868fd50875aa64ae26d8e37a5bfbc4be137ce89be3b0726e97a7a8028a667f4",
303
+ "digest": "sha256:3ae2bbc2df394726f350e58be1a71dd0379b99b19cd6ccf15fbe3b843f3890b6",
304
304
  "capabilityGroup": "governance-versioning",
305
305
  "audience": [
306
306
  "maintainer",
@@ -8,7 +8,7 @@
8
8
  "specifier": "@kungfu-tech/buildchain",
9
9
  "export": ".",
10
10
  "target": "./packages/core/index.js",
11
- "digest": "sha256:426ec8d852633bcc3f954d94d38aa0f091bfd0fba8f3cc5091d70bfdebe71b34",
11
+ "digest": "sha256:b07f54900a72f05a8545d1325951ba5a373e43cc0bdddb628c75cf39d7c7223c",
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:426ec8d852633bcc3f954d94d38aa0f091bfd0fba8f3cc5091d70bfdebe71b34",
50
+ "digest": "sha256:b07f54900a72f05a8545d1325951ba5a373e43cc0bdddb628c75cf39d7c7223c",
51
51
  "summary": "Alias for the root public toolkit export.",
52
52
  "capabilityGroup": "api-cli-reference",
53
53
  "audience": [
@@ -138,8 +138,8 @@
138
138
  "specifier": "@kungfu-tech/buildchain/buildchain-layout",
139
139
  "export": "./buildchain-layout",
140
140
  "target": "./packages/core/buildchain-layout.js",
141
- "digest": "sha256:f4f24cd2da379d79939127ad937dab43cb8ed4d8e79058e58add0b45912ee817",
142
- "summary": "Canonical .buildchain repository layout constants, path resolution, and migration APIs.",
141
+ "digest": "sha256:84c0b784ff993f442b0499fce39bfc116f4a19570ed7ffd7231ec7e2191c86f8",
142
+ "summary": "Versioned Buildchain repository-layout discovery contract plus canonical .buildchain path resolution and migration APIs.",
143
143
  "capabilityGroup": "kfd-trust",
144
144
  "audience": [
145
145
  "developer",
@@ -307,7 +307,7 @@
307
307
  "specifier": "@kungfu-tech/buildchain/buildchain-kfd-claims",
308
308
  "export": "./buildchain-kfd-claims",
309
309
  "target": "./packages/core/buildchain-kfd-claims.js",
310
- "digest": "sha256:139a2318ff627819fe5553f0572fe754ce296d5fa974a7337c32c811feb02b14",
310
+ "digest": "sha256:3a13ebd81e23433a3546d553eb55149bbe53ea2158e73b37adb6787661ac1045",
311
311
  "summary": "Buildchain self KFD claim registry, witnesses, and public claim APIs.",
312
312
  "capabilityGroup": "kfd-trust",
313
313
  "audience": [
@@ -321,7 +321,7 @@
321
321
  {
322
322
  "id": "cli-and-node-package",
323
323
  "path": "docs/cli.md",
324
- "digest": "sha256:133a7921163fecda050d772827bd498f35f11b1a3514e303dbfe89bb7a220f5d"
324
+ "digest": "sha256:3b3ac97c353f7549229f1102cca38236e734ec8d08c219d4a6e5ef2a48fc0e16"
325
325
  },
326
326
  {
327
327
  "id": "build-facts",
@@ -331,7 +331,7 @@
331
331
  {
332
332
  "id": "kfd-support",
333
333
  "path": "docs/kfd-support.md",
334
- "digest": "sha256:456eef9dbb71df3842613083054942436e763c6aa5ca3ff8a51c5a4e8cc186e7"
334
+ "digest": "sha256:ab15de33a1a9e292b6da74c00b8b96b7c46330d0553a454d1de4c24c672fc025"
335
335
  },
336
336
  {
337
337
  "id": "readme-badges",