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