@kungfu-tech/buildchain 4.1.3-alpha.5 → 4.1.3-alpha.6

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 (78) hide show
  1. package/AGENTS.md +41 -75
  2. package/CONTRIBUTING.md +19 -26
  3. package/architecture/agent-change-map.md +7 -12
  4. package/architecture/capability-state-machine-manifest.json +1 -4
  5. package/architecture/ci-lane-change-budget.json +35 -1026
  6. package/architecture/core-mechanisms.json +3 -6
  7. package/architecture/internal-capabilities.json +1 -5
  8. package/architecture/maintainability-debt.json +43 -36
  9. package/architecture/maintainability-policy.json +8 -8
  10. package/architecture/minimal-consumer-migration.json +80 -1977
  11. package/architecture/platform-stage-checkpoints.json +31 -7
  12. package/architecture/release-topology.json +64 -84
  13. package/architecture/stage-capsule-qualification.json +3 -1
  14. package/architecture/universal-workflow-bootstrap.json +3 -1
  15. package/architecture/universal-workflow-capability-policy.json +4 -4
  16. package/architecture/universal-workflow-fault-campaign.json +3 -1
  17. package/architecture/workflow-taxonomy.json +24 -341
  18. package/dist/site/buildchain-contract.json +13 -67
  19. package/dist/site/buildchain-site.json +28 -23
  20. package/dist/site/capability-registry.json +2 -2
  21. package/dist/site/controller-registry.json +1 -47
  22. package/dist/site/kfd-claims.json +78 -448
  23. package/dist/site/kfd-upstream-aggregate.json +1 -1
  24. package/dist/site/manual-registry.json +3 -3
  25. package/dist/site/node-api-registry.json +24 -24
  26. package/dist/site/page-registry.json +21 -16
  27. package/dist/site/public-surface-audit.json +31 -347
  28. package/dist/site/publication-authority-registry.json +51 -511
  29. package/dist/site/publication-registry.json +4 -4
  30. package/dist/site/site-manifest.json +7 -7
  31. package/dist/site/workflow-registry.json +259 -1126
  32. package/docs/code-organization.md +9 -6
  33. package/docs/node-api-reference.md +57 -57
  34. package/docs/release-governance.md +10 -12
  35. package/docs/runtime-entry.md +10 -3
  36. package/docs/runtime-train-validation.md +39 -11
  37. package/docs/stable-candidate-patrol.md +6 -5
  38. package/docs/workflow-catalog.md +3 -32
  39. package/package.json +1 -1
  40. package/packages/core/adoption/buildchain-kfd-claims.js +7 -7
  41. package/packages/core/dev-delivery/dev-delivery-provider-heartbeat.js +18 -15
  42. package/packages/core/dev-delivery/native/actions.js +2 -0
  43. package/packages/core/dev-delivery/native/process-entry.js +19 -0
  44. package/packages/core/dev-delivery/queue/landing-action.js +49 -1
  45. package/packages/core/dev-delivery/warrant/failure-settlement.js +8 -6
  46. package/packages/core/dev-delivery/warrant/service.js +7 -0
  47. package/packages/core/governance/buildchain-publication-authority.js +2 -23
  48. package/packages/core/governance/github-governance-authority.js +1 -0
  49. package/packages/core/observability/controller-evidence.js +0 -8
  50. package/packages/core/providers/github/pipeline-entry-runs.js +8 -1
  51. package/packages/core/providers/github/pipeline-events.js +79 -0
  52. package/packages/core/publication/pipeline/pack.js +31 -8
  53. package/packages/core/workflow/pipeline/actions.js +0 -23
  54. package/packages/core/workflow/pipeline/build-evidence.js +123 -5
  55. package/packages/core/workflow/pipeline/build-result.js +1 -0
  56. package/packages/core/workflow/pipeline/channel-control.js +25 -4
  57. package/packages/core/workflow/pipeline/controller.js +9 -1
  58. package/packages/core/workflow/pipeline/delivery-control.js +54 -9
  59. package/packages/core/workflow/pipeline/delivery-observation.js +16 -10
  60. package/packages/core/workflow/pipeline/group-control.js +1 -0
  61. package/packages/core/workflow/pipeline/guard-build.js +37 -0
  62. package/packages/core/workflow/pipeline/guard.js +4 -2
  63. package/packages/core/workflow/pipeline/host.js +23 -1
  64. package/packages/core/workflow/pipeline/integration-status.js +113 -0
  65. package/packages/core/workflow/pipeline/record-action.js +27 -0
  66. package/packages/core/workflow/pipeline/recorder-status.js +69 -0
  67. package/packages/core/workflow/workflow-taxonomy.mjs +67 -47
  68. package/scripts/check-inventory.mjs +7 -70
  69. package/scripts/check-pipeline-publication-topology.mjs +2 -0
  70. package/scripts/check-public-dogfood-contract.mjs +38 -51
  71. package/scripts/check-release-topology.mjs +8 -7
  72. package/scripts/check-self-consumer-contract.mjs +133 -0
  73. package/scripts/check-universal-workflow-bootstrap.mjs +4 -6
  74. package/scripts/generate-minimal-consumer-contract.mjs +1 -1
  75. package/scripts/inventory/binary.mjs +9 -19
  76. package/scripts/inventory/promotion.mjs +2 -13
  77. package/scripts/prepare-product-toolchain.mjs +10 -0
  78. package/scripts/verify-product-platform.mjs +65 -0
@@ -4,7 +4,7 @@
4
4
  "status": "passed",
5
5
  "summary": {
6
6
  "cliCommandCount": 117,
7
- "workflowCount": 73,
7
+ "workflowCount": 44,
8
8
  "actionCount": 283,
9
9
  "sitePageCount": 94,
10
10
  "docCommandRefCount": 1036,
@@ -999,6 +999,28 @@
999
999
  ],
1000
1000
  "outputCount": 3
1001
1001
  },
1002
+ {
1003
+ "id": "buildchain-recover",
1004
+ "path": ".github/workflows/buildchain-recover.yml",
1005
+ "reusable": false,
1006
+ "inputs": [],
1007
+ "inputCount": 0,
1008
+ "secrets": [],
1009
+ "secretCount": 0,
1010
+ "outputs": [],
1011
+ "outputCount": 0
1012
+ },
1013
+ {
1014
+ "id": "buildchain",
1015
+ "path": ".github/workflows/buildchain.yml",
1016
+ "reusable": false,
1017
+ "inputs": [],
1018
+ "inputCount": 0,
1019
+ "secrets": [],
1020
+ "secretCount": 0,
1021
+ "outputs": [],
1022
+ "outputCount": 0
1023
+ },
1002
1024
  {
1003
1025
  "id": "public-build-adopter-qualification",
1004
1026
  "path": ".github/workflows/public-build-adopter-qualification.yml",
@@ -2054,347 +2076,6 @@
2054
2076
  "web-surface-urls-json"
2055
2077
  ],
2056
2078
  "outputCount": 23
2057
- },
2058
- {
2059
- "id": "self-build-adopter-dogfood",
2060
- "path": ".github/workflows/self-build-adopter-dogfood.yml",
2061
- "reusable": false,
2062
- "inputs": [],
2063
- "inputCount": 0,
2064
- "secrets": [],
2065
- "secretCount": 0,
2066
- "outputs": [],
2067
- "outputCount": 0
2068
- },
2069
- {
2070
- "id": "self-build-alpha-dogfood",
2071
- "path": ".github/workflows/self-build-alpha-dogfood.yml",
2072
- "reusable": false,
2073
- "inputs": [],
2074
- "inputCount": 0,
2075
- "secrets": [],
2076
- "secretCount": 0,
2077
- "outputs": [],
2078
- "outputCount": 0
2079
- },
2080
- {
2081
- "id": "self-build-binary-distribution",
2082
- "path": ".github/workflows/self-build-binary-distribution.yml",
2083
- "reusable": false,
2084
- "inputs": [],
2085
- "inputCount": 0,
2086
- "secrets": [],
2087
- "secretCount": 0,
2088
- "outputs": [],
2089
- "outputCount": 0
2090
- },
2091
- {
2092
- "id": "self-build-channel-verify",
2093
- "path": ".github/workflows/self-build-channel-verify.yml",
2094
- "reusable": false,
2095
- "inputs": [],
2096
- "inputCount": 0,
2097
- "secrets": [],
2098
- "secretCount": 0,
2099
- "outputs": [],
2100
- "outputCount": 0
2101
- },
2102
- {
2103
- "id": "self-build-demo-dogfood",
2104
- "path": ".github/workflows/self-build-demo-dogfood.yml",
2105
- "reusable": false,
2106
- "inputs": [],
2107
- "inputCount": 0,
2108
- "secrets": [],
2109
- "secretCount": 0,
2110
- "outputs": [],
2111
- "outputCount": 0
2112
- },
2113
- {
2114
- "id": "self-build-demo-media-qualification",
2115
- "path": ".github/workflows/self-build-demo-media-qualification.yml",
2116
- "reusable": false,
2117
- "inputs": [],
2118
- "inputCount": 0,
2119
- "secrets": [],
2120
- "secretCount": 0,
2121
- "outputs": [],
2122
- "outputCount": 0
2123
- },
2124
- {
2125
- "id": "self-build-fixture",
2126
- "path": ".github/workflows/self-build-fixture.yml",
2127
- "reusable": false,
2128
- "inputs": [],
2129
- "inputCount": 0,
2130
- "secrets": [],
2131
- "secretCount": 0,
2132
- "outputs": [],
2133
- "outputCount": 0
2134
- },
2135
- {
2136
- "id": "self-build-public-consumer-dogfood",
2137
- "path": ".github/workflows/self-build-public-consumer-dogfood.yml",
2138
- "reusable": false,
2139
- "inputs": [],
2140
- "inputCount": 0,
2141
- "secrets": [],
2142
- "secretCount": 0,
2143
- "outputs": [],
2144
- "outputCount": 0
2145
- },
2146
- {
2147
- "id": "self-build-stable-candidate-qualification",
2148
- "path": ".github/workflows/self-build-stable-candidate-qualification.yml",
2149
- "reusable": false,
2150
- "inputs": [],
2151
- "inputCount": 0,
2152
- "secrets": [],
2153
- "secretCount": 0,
2154
- "outputs": [],
2155
- "outputCount": 0
2156
- },
2157
- {
2158
- "id": "self-build-stable-dogfood",
2159
- "path": ".github/workflows/self-build-stable-dogfood.yml",
2160
- "reusable": false,
2161
- "inputs": [],
2162
- "inputCount": 0,
2163
- "secrets": [],
2164
- "secretCount": 0,
2165
- "outputs": [],
2166
- "outputCount": 0
2167
- },
2168
- {
2169
- "id": "self-build-verify",
2170
- "path": ".github/workflows/self-build-verify.yml",
2171
- "reusable": false,
2172
- "inputs": [],
2173
- "inputCount": 0,
2174
- "secrets": [],
2175
- "secretCount": 0,
2176
- "outputs": [],
2177
- "outputCount": 0
2178
- },
2179
- {
2180
- "id": "self-ops-bootstrap-dogfood",
2181
- "path": ".github/workflows/self-ops-bootstrap-dogfood.yml",
2182
- "reusable": false,
2183
- "inputs": [],
2184
- "inputCount": 0,
2185
- "secrets": [],
2186
- "secretCount": 0,
2187
- "outputs": [],
2188
- "outputCount": 0
2189
- },
2190
- {
2191
- "id": "self-ops-dev-delivery",
2192
- "path": ".github/workflows/self-ops-dev-delivery.yml",
2193
- "reusable": false,
2194
- "inputs": [],
2195
- "inputCount": 0,
2196
- "secrets": [],
2197
- "secretCount": 0,
2198
- "outputs": [],
2199
- "outputCount": 0
2200
- },
2201
- {
2202
- "id": "self-ops-governance-audit",
2203
- "path": ".github/workflows/self-ops-governance-audit.yml",
2204
- "reusable": false,
2205
- "inputs": [],
2206
- "inputCount": 0,
2207
- "secrets": [],
2208
- "secretCount": 0,
2209
- "outputs": [],
2210
- "outputCount": 0
2211
- },
2212
- {
2213
- "id": "self-ops-housekeeping-daily",
2214
- "path": ".github/workflows/self-ops-housekeeping-daily.yml",
2215
- "reusable": false,
2216
- "inputs": [],
2217
- "inputCount": 0,
2218
- "secrets": [],
2219
- "secretCount": 0,
2220
- "outputs": [],
2221
- "outputCount": 0
2222
- },
2223
- {
2224
- "id": "self-ops-housekeeping-monthly",
2225
- "path": ".github/workflows/self-ops-housekeeping-monthly.yml",
2226
- "reusable": false,
2227
- "inputs": [],
2228
- "inputCount": 0,
2229
- "secrets": [],
2230
- "secretCount": 0,
2231
- "outputs": [],
2232
- "outputCount": 0
2233
- },
2234
- {
2235
- "id": "self-ops-housekeeping-weekly",
2236
- "path": ".github/workflows/self-ops-housekeeping-weekly.yml",
2237
- "reusable": false,
2238
- "inputs": [],
2239
- "inputCount": 0,
2240
- "secrets": [],
2241
- "secretCount": 0,
2242
- "outputs": [],
2243
- "outputCount": 0
2244
- },
2245
- {
2246
- "id": "self-ops-merge-queue",
2247
- "path": ".github/workflows/self-ops-merge-queue.yml",
2248
- "reusable": false,
2249
- "inputs": [],
2250
- "inputCount": 0,
2251
- "secrets": [],
2252
- "secretCount": 0,
2253
- "outputs": [],
2254
- "outputCount": 0
2255
- },
2256
- {
2257
- "id": "self-ops-patrol-daily",
2258
- "path": ".github/workflows/self-ops-patrol-daily.yml",
2259
- "reusable": false,
2260
- "inputs": [],
2261
- "inputCount": 0,
2262
- "secrets": [],
2263
- "secretCount": 0,
2264
- "outputs": [],
2265
- "outputCount": 0
2266
- },
2267
- {
2268
- "id": "self-ops-patrol-monthly",
2269
- "path": ".github/workflows/self-ops-patrol-monthly.yml",
2270
- "reusable": false,
2271
- "inputs": [],
2272
- "inputCount": 0,
2273
- "secrets": [],
2274
- "secretCount": 0,
2275
- "outputs": [],
2276
- "outputCount": 0
2277
- },
2278
- {
2279
- "id": "self-ops-patrol-weekly",
2280
- "path": ".github/workflows/self-ops-patrol-weekly.yml",
2281
- "reusable": false,
2282
- "inputs": [],
2283
- "inputCount": 0,
2284
- "secrets": [],
2285
- "secretCount": 0,
2286
- "outputs": [],
2287
- "outputCount": 0
2288
- },
2289
- {
2290
- "id": "self-ops-promotion-recovery",
2291
- "path": ".github/workflows/self-ops-promotion-recovery.yml",
2292
- "reusable": false,
2293
- "inputs": [],
2294
- "inputCount": 0,
2295
- "secrets": [],
2296
- "secretCount": 0,
2297
- "outputs": [],
2298
- "outputCount": 0
2299
- },
2300
- {
2301
- "id": "self-ops-runner-smoke",
2302
- "path": ".github/workflows/self-ops-runner-smoke.yml",
2303
- "reusable": false,
2304
- "inputs": [],
2305
- "inputCount": 0,
2306
- "secrets": [],
2307
- "secretCount": 0,
2308
- "outputs": [],
2309
- "outputCount": 0
2310
- },
2311
- {
2312
- "id": "self-ops-stable-candidate-patrol",
2313
- "path": ".github/workflows/self-ops-stable-candidate-patrol.yml",
2314
- "reusable": false,
2315
- "inputs": [],
2316
- "inputCount": 0,
2317
- "secrets": [],
2318
- "secretCount": 0,
2319
- "outputs": [],
2320
- "outputCount": 0
2321
- },
2322
- {
2323
- "id": "self-release-binary-assets",
2324
- "path": ".github/workflows/self-release-binary-assets.yml",
2325
- "reusable": false,
2326
- "inputs": [],
2327
- "inputCount": 0,
2328
- "secrets": [],
2329
- "secretCount": 0,
2330
- "outputs": [],
2331
- "outputCount": 0
2332
- },
2333
- {
2334
- "id": "self-release-line-open",
2335
- "path": ".github/workflows/self-release-line-open.yml",
2336
- "reusable": false,
2337
- "inputs": [],
2338
- "inputCount": 0,
2339
- "secrets": [],
2340
- "secretCount": 0,
2341
- "outputs": [],
2342
- "outputCount": 0
2343
- },
2344
- {
2345
- "id": "self-release-next-development",
2346
- "path": ".github/workflows/self-release-next-development.yml",
2347
- "reusable": false,
2348
- "inputs": [],
2349
- "inputCount": 0,
2350
- "secrets": [],
2351
- "secretCount": 0,
2352
- "outputs": [],
2353
- "outputCount": 0
2354
- },
2355
- {
2356
- "id": "self-release-npm-dry-run",
2357
- "path": ".github/workflows/self-release-npm-dry-run.yml",
2358
- "reusable": false,
2359
- "inputs": [],
2360
- "inputCount": 0,
2361
- "secrets": [],
2362
- "secretCount": 0,
2363
- "outputs": [],
2364
- "outputCount": 0
2365
- },
2366
- {
2367
- "id": "self-release-promote",
2368
- "path": ".github/workflows/self-release-promote.yml",
2369
- "reusable": false,
2370
- "inputs": [],
2371
- "inputCount": 0,
2372
- "secrets": [],
2373
- "secretCount": 0,
2374
- "outputs": [],
2375
- "outputCount": 0
2376
- },
2377
- {
2378
- "id": "self-release-rehearsal-dogfood",
2379
- "path": ".github/workflows/self-release-rehearsal-dogfood.yml",
2380
- "reusable": false,
2381
- "inputs": [],
2382
- "inputCount": 0,
2383
- "secrets": [],
2384
- "secretCount": 0,
2385
- "outputs": [],
2386
- "outputCount": 0
2387
- },
2388
- {
2389
- "id": "self-release-tail-dogfood",
2390
- "path": ".github/workflows/self-release-tail-dogfood.yml",
2391
- "reusable": false,
2392
- "inputs": [],
2393
- "inputCount": 0,
2394
- "secrets": [],
2395
- "secretCount": 0,
2396
- "outputs": [],
2397
- "outputCount": 0
2398
2079
  }
2399
2080
  ],
2400
2081
  "actionInputs": [
@@ -3467,9 +3148,10 @@
3467
3148
  "project-cut-proof-root",
3468
3149
  "request-json",
3469
3150
  "runtime-sha",
3151
+ "status-token",
3470
3152
  "token"
3471
3153
  ],
3472
- "inputCount": 5
3154
+ "inputCount": 6
3473
3155
  },
3474
3156
  {
3475
3157
  "id": "dev-delivery/queue/apply-policy",
@@ -5521,9 +5203,10 @@
5521
5203
  "path": "actions/workflow/pipeline/control/action.yml",
5522
5204
  "inputs": [
5523
5205
  "config-path",
5206
+ "queue-token",
5524
5207
  "token"
5525
5208
  ],
5526
- "inputCount": 2
5209
+ "inputCount": 3
5527
5210
  },
5528
5211
  {
5529
5212
  "id": "workflow/pipeline/record-build",
@@ -5540,9 +5223,10 @@
5540
5223
  "inputs": [
5541
5224
  "attempt",
5542
5225
  "definition-sha",
5226
+ "queue-token",
5543
5227
  "token"
5544
5228
  ],
5545
- "inputCount": 3
5229
+ "inputCount": 4
5546
5230
  },
5547
5231
  {
5548
5232
  "id": "workflow/pipeline/wake",
@@ -11130,8 +10814,8 @@
11130
10814
  "workflowRegistryPath": "dist/site/workflow-registry.json",
11131
10815
  "pageRegistryPath": "dist/site/page-registry.json",
11132
10816
  "cliRegistryDigest": "e43fdb0289df88871f3f0febbe04dcb9311a252a2b1df9b3a83a2d10c9d4a70f",
11133
- "workflowRegistryDigest": "d52b008d8113340194ec1e074870b71b83392a914536e2ef830c10abee0756d6",
11134
- "pageRegistryDigest": "a2631ef693dd1f1a6df3b42f31c5113b242368b7680343e5ff7cd94222d30d3d"
10817
+ "workflowRegistryDigest": "023f6ff72a4603c4a1cd2b670f38d88a31ca49f51b7a670cb1a87ffc0b75d407",
10818
+ "pageRegistryDigest": "80d9a72bc3833c1f9ec4ad39f3dbab4ebce9b51c795d390a3526acf904054eb7"
11135
10819
  },
11136
10820
  "comparison": {
11137
10821
  "missingCliRegistry": [],