@kungfu-tech/buildchain 4.0.2-alpha.2 → 4.0.2-alpha.20

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 (71) hide show
  1. package/architecture/agent-change-map.md +52 -1
  2. package/architecture/ci-lane-change-budget.json +349 -0
  3. package/architecture/internal-capabilities.json +44 -1
  4. package/architecture/maintainability-debt.json +53 -33
  5. package/architecture/maintainability-policy.json +20 -15
  6. package/architecture/v3-core-mechanism-inventory.json +1 -0
  7. package/architecture/v4-delivery-warrant-shadow-fixtures.json +5 -5
  8. package/architecture/v4-release-invocation-fixtures.json +20 -0
  9. package/architecture/v4-release-topology.json +160 -84
  10. package/architecture/v4-runtime-semantic-closure.json +4 -1
  11. package/architecture/v4-universal-workflow-bootstrap.json +171 -0
  12. package/architecture/v4-universal-workflow-fault-campaign.json +72 -0
  13. package/architecture/v4-universal-workflow-train-admission.json +40 -0
  14. package/contracts/buildchain-v2-residuals-v1.json +0 -54
  15. package/contracts/v4-release-invocation-v1.schema.json +50 -2
  16. package/dist/site/buildchain-contract.json +87 -42
  17. package/dist/site/buildchain-site.json +15 -10
  18. package/dist/site/capability-registry.json +1 -1
  19. package/dist/site/controller-registry.json +46 -10
  20. package/dist/site/kfd-claims.json +174 -196
  21. package/dist/site/kfd-upstream-aggregate.json +1 -1
  22. package/dist/site/manual-registry.json +2 -2
  23. package/dist/site/node-api-registry.json +95 -20
  24. package/dist/site/page-registry.json +9 -4
  25. package/dist/site/public-surface-audit.json +178 -198
  26. package/dist/site/publication-authority-registry.json +67 -57
  27. package/dist/site/publication-registry.json +4 -4
  28. package/dist/site/site-manifest.json +6 -6
  29. package/dist/site/workflow-registry.json +209 -259
  30. package/docs/node-api-reference.md +25 -22
  31. package/docs/reusable-build-surface.md +16 -0
  32. package/package.json +2 -2
  33. package/packages/core/buildchain-publication-authority.js +3 -2
  34. package/packages/core/ci-lane-change-budget.js +14 -1
  35. package/packages/core/dev-delivery-candidate-identity.js +18 -0
  36. package/packages/core/dev-delivery-execution-transfer.js +6 -7
  37. package/packages/core/dev-delivery-warrant-legacy-recovery.js +4 -2
  38. package/packages/core/dev-delivery-warrant-native-compatibility.js +33 -0
  39. package/packages/core/dev-delivery-warrant-state.js +42 -26
  40. package/packages/core/dev-delivery-warrant.js +8 -0
  41. package/packages/core/dev-delivery-writer-protocol-transition.js +72 -0
  42. package/packages/core/release-tail-product-capabilities.js +29 -0
  43. package/packages/core/release-tail-provider-plane.js +3 -3
  44. package/packages/core/v4-canonical-contracts.js +6 -0
  45. package/packages/core/v4-product-publication.js +387 -0
  46. package/packages/core/v4-protected-publication-source.js +93 -0
  47. package/packages/core/v4-publication-qualification.js +1 -0
  48. package/packages/core/v4-release-invocation.js +72 -3
  49. package/packages/core/v4-universal-workflow-bootstrap.js +586 -0
  50. package/scripts/check-inventory.mjs +13 -22
  51. package/scripts/check-maintainability.mjs +16 -113
  52. package/scripts/check-v4-release-topology.mjs +296 -40
  53. package/scripts/check-v4-universal-workflow-bootstrap.mjs +265 -0
  54. package/scripts/dev-delivery-warrant-store.mjs +73 -7
  55. package/scripts/dev-delivery-warrant-transition.mjs +109 -0
  56. package/scripts/dev-delivery-warrant.mjs +84 -100
  57. package/scripts/dev-pr-auto-merge.mjs +15 -15
  58. package/scripts/generate-channel-build-workflow.mjs +5 -1
  59. package/scripts/generate-channel-promotion-workflow.mjs +5 -3
  60. package/scripts/generate-v4-universal-workflow-facades.mjs +415 -0
  61. package/scripts/maintainability-public-surface.mjs +115 -0
  62. package/scripts/release-candidate-resolver.mjs +23 -24
  63. package/scripts/resume-from-candidate-run.mjs +16 -17
  64. package/scripts/universal-facade-maintainability.mjs +82 -0
  65. package/scripts/v4-product-publication-intent.mjs +114 -0
  66. package/scripts/v4-release-candidate-adapter.mjs +41 -0
  67. package/scripts/v4-universal-workflow-backflow.mjs +212 -0
  68. package/scripts/v4-universal-workflow-engine.mjs +617 -0
  69. package/scripts/v4-universal-workflow-self-dogfood.mjs +205 -0
  70. package/templates/universal-buildchain-bootstrap-recovery.yml +282 -0
  71. package/templates/universal-buildchain-bootstrap.yml +28 -0
@@ -84,6 +84,7 @@ Safe change route: Reduce one owned responsibility behind the stable facade, run
84
84
  - sources: `scripts/run-lifecycle-core.mjs`
85
85
  - sources: `scripts/stable-candidate-patrol.mjs`
86
86
  - sources: `scripts/stable-release-gate.mjs`
87
+ - sources: `scripts/v4-universal-workflow-engine.mjs`
87
88
  - sources: `scripts/v4-architecture.mjs`
88
89
  - sources: `scripts/v4-warrant-shadow-plan.mjs`
89
90
  - sources: `scripts/web-surface-core.mjs`
@@ -150,12 +151,17 @@ Safe change route: Reduce one owned responsibility behind the stable facade, run
150
151
 
151
152
  ### Current top twenty maintenance hotspots
152
153
 
154
+ - `.github/workflows/bootstrap.yml`
155
+ - `scripts/check-v4-universal-workflow-bootstrap.mjs`
156
+ - `scripts/v4-universal-workflow-engine.mjs`
157
+ - `tests/v4-universal-workflow-bootstrap.test.mjs`
153
158
  - `tests/v3-v4-capability-inventory.test.mjs`
154
159
  - `tests/v4-floating-consumer-policy-contract.test.mjs`
155
160
  - `tests/v4-publication-qualification.test.mjs`
156
161
  - `.github/workflows/v4-adopter-delivery.yml`
157
162
  - `.github/workflows/buildchain-ref-promotion.yml`
158
163
  - `tests/release-candidate-recovery.test.mjs`
164
+ - `tests/buildchain-ref-promotion-recovery-entry.test.mjs`
159
165
  - `.github/workflows/.release-candidate-promote.yml`
160
166
  - `tests/build-surface-promotion.test.mjs`
161
167
  - `.github/workflows/buildchain-ref-promotion-recovery.yml`
@@ -165,15 +171,19 @@ Safe change route: Reduce one owned responsibility behind the stable facade, run
165
171
  - `scripts/check-v3-v4-capability-inventory.mjs`
166
172
  - `.github/workflows/release-candidate-promote.yml`
167
173
  - `actions/promote-buildchain-ref/lib.js`
174
+ - `actions/v4-release-candidate-promote/index.js`
175
+ - `actions/v4-release-candidate-promote/product-provider.js`
168
176
  - `scripts/check-inventory.mjs`
169
177
  - `tests/promote-buildchain-ref.test.mjs`
170
178
  - `tests/promotion-channel-router.test.mjs`
179
+ - `tests/v4-release-topology.test.mjs`
171
180
  - `scripts/site-capability-metadata.mjs`
172
181
  - `tests/v4-floating-consumer-policy.test.mjs`
173
182
  - `tests/v4-declarative-promotion-mode.test.mjs`
174
183
  - `scripts/buildchain-cli-help.mjs`
175
184
  - `scripts/check-v4-floating-consumer-policy-contract.mjs`
176
185
  - `tests/dev-delivery-warrant.test.mjs`
186
+ - `packages/core/dev-delivery-warrant-state.js`
177
187
  - `actions/promote-buildchain-ref/internal/version-state.js`
178
188
  - `packages/core/v4-floating-consumer-release-passport.js`
179
189
  - `packages/core/release-passport.js`
@@ -381,6 +391,7 @@ Owner: Buildchain action maintainers
381
391
 
382
392
  ### Implementation
383
393
 
394
+ - `actions/promote-buildchain-ref/internal/contained-published-version-state.js`
384
395
  - `actions/promote-buildchain-ref/internal/promote-alpha-channel.js`
385
396
  - `actions/promote-buildchain-ref/internal/promote-major-channel.js`
386
397
  - `actions/promote-buildchain-ref/internal/promote-release-channel.js`
@@ -392,6 +403,7 @@ Owner: Buildchain action maintainers
392
403
 
393
404
  ### Tests
394
405
 
406
+ - `tests/promote-buildchain-ref-contained-published-version-state.test.mjs`
395
407
  - `tests/promote-buildchain-ref.test.mjs`
396
408
  - `tests/promote-buildchain-ref-recovery.test.mjs`
397
409
  - `tests/promote-buildchain-ref-governance.test.mjs`
@@ -403,7 +415,7 @@ Owner: Buildchain action maintainers
403
415
 
404
416
  ### Minimal validation
405
417
 
406
- - `node --test tests/promote-buildchain-ref.test.mjs tests/promote-buildchain-ref-recovery.test.mjs tests/promote-buildchain-ref-governance.test.mjs tests/promotion-responsibilities.test.mjs`
418
+ - `node --test tests/promote-buildchain-ref-contained-published-version-state.test.mjs tests/promote-buildchain-ref.test.mjs tests/promote-buildchain-ref-recovery.test.mjs tests/promote-buildchain-ref-governance.test.mjs tests/promotion-responsibilities.test.mjs`
407
419
 
408
420
  ## promotion-github-transaction-store
409
421
 
@@ -893,6 +905,7 @@ Owner: Buildchain protected delivery maintainers
893
905
 
894
906
  - `packages/core/dev-delivery-warrant.js`
895
907
  - `packages/core/dev-delivery-warrant-state.js`
908
+ - `packages/core/dev-delivery-warrant-native-compatibility.js`
896
909
  - `packages/core/dev-delivery-warrant-qualification.js`
897
910
  - `packages/core/dev-delivery-warrant-legacy-recovery.js`
898
911
  - `packages/core/dev-delivery-native-proof.js`
@@ -989,6 +1002,44 @@ Owner: Buildchain publication rehearsal maintainers
989
1002
 
990
1003
  - `node --test tests/v4-publication-rehearsal.test.mjs`
991
1004
 
1005
+ ## v4-universal-workflow-bootstrap
1006
+
1007
+ Owner: Buildchain workflow maintainers
1008
+
1009
+ ### Implementation
1010
+
1011
+ - `packages/core/v4-universal-workflow-bootstrap.js`
1012
+ - `scripts/check-v4-universal-workflow-bootstrap.mjs`
1013
+ - `scripts/generate-v4-universal-workflow-facades.mjs`
1014
+ - `scripts/v4-universal-workflow-backflow.mjs`
1015
+ - `scripts/v4-universal-workflow-engine.mjs`
1016
+ - `scripts/v4-universal-workflow-self-dogfood.mjs`
1017
+
1018
+ ### Contracts
1019
+
1020
+ - `architecture/v4-universal-workflow-bootstrap.json`
1021
+ - `architecture/v4-universal-workflow-fault-campaign.json`
1022
+ - `architecture/v4-universal-workflow-train-admission.json`
1023
+ - `.github/workflows/bootstrap.yml`
1024
+ - `.github/workflows/universal-bootstrap-dogfood.yml`
1025
+ - `templates/universal-buildchain-bootstrap-recovery.yml`
1026
+
1027
+ ### Tests
1028
+
1029
+ - `tests/v4-universal-workflow-backflow.test.mjs`
1030
+ - `tests/v4-universal-workflow-bootstrap.test.mjs`
1031
+ - `tests/v4-universal-workflow-fault-campaign.test.mjs`
1032
+ - `tests/v4-universal-workflow-self-dogfood.test.mjs`
1033
+
1034
+ ### Generated outputs
1035
+
1036
+ - `.github/workflows/universal-bootstrap-recovery.yml`
1037
+
1038
+ ### Minimal validation
1039
+
1040
+ - `node scripts/check-v4-universal-workflow-bootstrap.mjs`
1041
+ - `node --test tests/v4-universal-workflow-bootstrap.test.mjs tests/v4-universal-workflow-backflow.test.mjs tests/v4-universal-workflow-fault-campaign.test.mjs tests/v4-universal-workflow-self-dogfood.test.mjs`
1042
+
992
1043
  ## web-surface-delivery
993
1044
 
994
1045
  Owner: Buildchain web-surface maintainers
@@ -252,6 +252,23 @@
252
252
  "rationale": "The recovery surface is a one-way adapter into the same canonical publisher."
253
253
  }
254
254
  },
255
+ {
256
+ "laneId": ".github/workflows/buildchain-ref-promotion.yml#classify-workflow-run",
257
+ "authorityClass": "evidence",
258
+ "triggerClass": "mixed",
259
+ "concurrencyPolicy": {
260
+ "mode": "none",
261
+ "cancelInProgress": false
262
+ },
263
+ "expectedRunnerMinutes": 2,
264
+ "cancellationBehavior": "finish-started",
265
+ "sloImpact": {
266
+ "mergeCritical": false,
267
+ "metric": "Alpha finalization classification latency",
268
+ "expectedContributionSeconds": 0,
269
+ "rationale": "The read-only classifier binds the verified head to exact product state before suppressing a duplicate publication transaction."
270
+ }
271
+ },
255
272
  {
256
273
  "laneId": ".github/workflows/buildchain-ref-promotion.yml#promote",
257
274
  "authorityClass": "release",
@@ -269,6 +286,23 @@
269
286
  "rationale": "The Buildchain-owned alpha entry delegates to the single v4 publisher."
270
287
  }
271
288
  },
289
+ {
290
+ "laneId": ".github/workflows/buildchain-ref-promotion.yml#universal-bootstrap",
291
+ "authorityClass": "governed-delegation",
292
+ "triggerClass": "mixed",
293
+ "concurrencyPolicy": {
294
+ "mode": "none",
295
+ "cancelInProgress": false
296
+ },
297
+ "expectedRunnerMinutes": 60,
298
+ "cancellationBehavior": "finish-started",
299
+ "sloImpact": {
300
+ "mergeCritical": false,
301
+ "metric": "canonical exact-candidate self-promotion latency",
302
+ "expectedContributionSeconds": 0,
303
+ "rationale": "The canonical publisher delegates one closed request to the exact reviewed candidate and keeps the compatibility path mutually exclusive."
304
+ }
305
+ },
272
306
  {
273
307
  "laneId": ".github/workflows/release-candidate-promote.yml#invoke",
274
308
  "authorityClass": "release",
@@ -319,6 +353,321 @@
319
353
  "expectedContributionSeconds": 0,
320
354
  "rationale": "The lane only reconciles already-produced rooted platform reports and grants no provider, release, or stable publication authority."
321
355
  }
356
+ },
357
+ {
358
+ "laneId": ".github/workflows/bootstrap.yml#admit",
359
+ "authorityClass": "evidence",
360
+ "triggerClass": "reusable",
361
+ "concurrencyPolicy": {
362
+ "mode": "none",
363
+ "cancelInProgress": false
364
+ },
365
+ "expectedRunnerMinutes": 10,
366
+ "cancellationBehavior": "finish-started",
367
+ "sloImpact": {
368
+ "mergeCritical": false,
369
+ "metric": "exact-candidate admission latency",
370
+ "expectedContributionSeconds": 0,
371
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
372
+ }
373
+ },
374
+ {
375
+ "laneId": ".github/workflows/bootstrap.yml#execute",
376
+ "authorityClass": "governed-delegation",
377
+ "triggerClass": "reusable",
378
+ "concurrencyPolicy": {
379
+ "mode": "none",
380
+ "cancelInProgress": false
381
+ },
382
+ "expectedRunnerMinutes": 60,
383
+ "cancellationBehavior": "finish-started",
384
+ "sloImpact": {
385
+ "mergeCritical": false,
386
+ "metric": "exact-candidate execution latency",
387
+ "expectedContributionSeconds": 0,
388
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
389
+ }
390
+ },
391
+ {
392
+ "laneId": ".github/workflows/bootstrap.yml#settle",
393
+ "authorityClass": "evidence",
394
+ "triggerClass": "reusable",
395
+ "concurrencyPolicy": {
396
+ "mode": "none",
397
+ "cancelInProgress": false
398
+ },
399
+ "expectedRunnerMinutes": 10,
400
+ "cancellationBehavior": "finish-started",
401
+ "sloImpact": {
402
+ "mergeCritical": false,
403
+ "metric": "universal terminal settlement latency",
404
+ "expectedContributionSeconds": 0,
405
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
406
+ }
407
+ },
408
+ {
409
+ "laneId": ".github/workflows/universal-bootstrap-recovery.yml#recovery-admit",
410
+ "authorityClass": "evidence",
411
+ "triggerClass": "reusable",
412
+ "concurrencyPolicy": {
413
+ "mode": "none",
414
+ "cancelInProgress": false
415
+ },
416
+ "expectedRunnerMinutes": 10,
417
+ "cancellationBehavior": "finish-started",
418
+ "sloImpact": {
419
+ "mergeCritical": false,
420
+ "metric": "consumer-owned exact-candidate admission latency",
421
+ "expectedContributionSeconds": 0,
422
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
423
+ }
424
+ },
425
+ {
426
+ "laneId": ".github/workflows/universal-bootstrap-recovery.yml#recovery-execute",
427
+ "authorityClass": "governed-delegation",
428
+ "triggerClass": "reusable",
429
+ "concurrencyPolicy": {
430
+ "mode": "none",
431
+ "cancelInProgress": false
432
+ },
433
+ "expectedRunnerMinutes": 60,
434
+ "cancellationBehavior": "finish-started",
435
+ "sloImpact": {
436
+ "mergeCritical": false,
437
+ "metric": "consumer-owned exact-candidate execution latency",
438
+ "expectedContributionSeconds": 0,
439
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
440
+ }
441
+ },
442
+ {
443
+ "laneId": ".github/workflows/universal-bootstrap-recovery.yml#recovery-settle",
444
+ "authorityClass": "evidence",
445
+ "triggerClass": "reusable",
446
+ "concurrencyPolicy": {
447
+ "mode": "none",
448
+ "cancelInProgress": false
449
+ },
450
+ "expectedRunnerMinutes": 10,
451
+ "cancellationBehavior": "finish-started",
452
+ "sloImpact": {
453
+ "mergeCritical": false,
454
+ "metric": "consumer-owned terminal settlement latency",
455
+ "expectedContributionSeconds": 0,
456
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
457
+ }
458
+ },
459
+ {
460
+ "laneId": ".github/workflows/universal-bootstrap-dogfood.yml#prepare",
461
+ "authorityClass": "evidence",
462
+ "triggerClass": "mixed",
463
+ "concurrencyPolicy": {
464
+ "mode": "none",
465
+ "cancelInProgress": false
466
+ },
467
+ "expectedRunnerMinutes": 10,
468
+ "cancellationBehavior": "finish-started",
469
+ "sloImpact": {
470
+ "mergeCritical": false,
471
+ "metric": "Train-first self-dogfood admission latency",
472
+ "expectedContributionSeconds": 0,
473
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
474
+ }
475
+ },
476
+ {
477
+ "laneId": ".github/workflows/universal-bootstrap-dogfood.yml#primary-conformance",
478
+ "authorityClass": "governed-delegation",
479
+ "triggerClass": "mixed",
480
+ "concurrencyPolicy": {
481
+ "mode": "none",
482
+ "cancelInProgress": false
483
+ },
484
+ "expectedRunnerMinutes": 60,
485
+ "cancellationBehavior": "finish-started",
486
+ "sloImpact": {
487
+ "mergeCritical": false,
488
+ "metric": "Train-first exact-candidate self-dogfood latency",
489
+ "expectedContributionSeconds": 0,
490
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
491
+ }
492
+ },
493
+ {
494
+ "laneId": ".github/workflows/universal-bootstrap-dogfood.yml#recovery-conformance",
495
+ "authorityClass": "governed-delegation",
496
+ "triggerClass": "mixed",
497
+ "concurrencyPolicy": {
498
+ "mode": "none",
499
+ "cancelInProgress": false
500
+ },
501
+ "expectedRunnerMinutes": 60,
502
+ "cancellationBehavior": "finish-started",
503
+ "sloImpact": {
504
+ "mergeCritical": false,
505
+ "metric": "Train-first exact-candidate self-dogfood latency",
506
+ "expectedContributionSeconds": 0,
507
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
508
+ }
509
+ },
510
+ {
511
+ "laneId": ".github/workflows/universal-bootstrap-dogfood.yml#primary-alpha",
512
+ "authorityClass": "governed-delegation",
513
+ "triggerClass": "mixed",
514
+ "concurrencyPolicy": {
515
+ "mode": "none",
516
+ "cancelInProgress": false
517
+ },
518
+ "expectedRunnerMinutes": 60,
519
+ "cancellationBehavior": "finish-started",
520
+ "sloImpact": {
521
+ "mergeCritical": false,
522
+ "metric": "Train-first exact-candidate self-dogfood latency",
523
+ "expectedContributionSeconds": 0,
524
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
525
+ }
526
+ },
527
+ {
528
+ "laneId": ".github/workflows/universal-bootstrap-dogfood.yml#recovery-alpha",
529
+ "authorityClass": "governed-delegation",
530
+ "triggerClass": "mixed",
531
+ "concurrencyPolicy": {
532
+ "mode": "none",
533
+ "cancelInProgress": false
534
+ },
535
+ "expectedRunnerMinutes": 60,
536
+ "cancellationBehavior": "finish-started",
537
+ "sloImpact": {
538
+ "mergeCritical": false,
539
+ "metric": "Train-first exact-candidate self-dogfood latency",
540
+ "expectedContributionSeconds": 0,
541
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
542
+ }
543
+ },
544
+ {
545
+ "laneId": ".github/workflows/universal-bootstrap-dogfood.yml#primary-stable",
546
+ "authorityClass": "governed-delegation",
547
+ "triggerClass": "mixed",
548
+ "concurrencyPolicy": {
549
+ "mode": "none",
550
+ "cancelInProgress": false
551
+ },
552
+ "expectedRunnerMinutes": 60,
553
+ "cancellationBehavior": "finish-started",
554
+ "sloImpact": {
555
+ "mergeCritical": false,
556
+ "metric": "Train-first exact-candidate self-dogfood latency",
557
+ "expectedContributionSeconds": 0,
558
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
559
+ }
560
+ },
561
+ {
562
+ "laneId": ".github/workflows/universal-bootstrap-dogfood.yml#recovery-stable",
563
+ "authorityClass": "governed-delegation",
564
+ "triggerClass": "mixed",
565
+ "concurrencyPolicy": {
566
+ "mode": "none",
567
+ "cancelInProgress": false
568
+ },
569
+ "expectedRunnerMinutes": 60,
570
+ "cancellationBehavior": "finish-started",
571
+ "sloImpact": {
572
+ "mergeCritical": false,
573
+ "metric": "Train-first exact-candidate self-dogfood latency",
574
+ "expectedContributionSeconds": 0,
575
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
576
+ }
577
+ },
578
+ {
579
+ "laneId": ".github/workflows/universal-bootstrap-dogfood.yml#reconcile",
580
+ "authorityClass": "evidence",
581
+ "triggerClass": "mixed",
582
+ "concurrencyPolicy": {
583
+ "mode": "none",
584
+ "cancelInProgress": false
585
+ },
586
+ "expectedRunnerMinutes": 10,
587
+ "cancellationBehavior": "finish-started",
588
+ "sloImpact": {
589
+ "mergeCritical": false,
590
+ "metric": "primary and recovery equivalence latency",
591
+ "expectedContributionSeconds": 0,
592
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
593
+ }
594
+ }
595
+ ],
596
+ "declarationFamilies": [
597
+ {
598
+ "authorityClass": "governed-delegation",
599
+ "triggerClass": "reusable",
600
+ "concurrencyPolicy": {
601
+ "mode": "none",
602
+ "cancelInProgress": false
603
+ },
604
+ "expectedRunnerMinutes": 60,
605
+ "cancellationBehavior": "finish-started",
606
+ "sloImpact": {
607
+ "mergeCritical": false,
608
+ "metric": "opt-in exact-candidate execution latency",
609
+ "expectedContributionSeconds": 0,
610
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
611
+ },
612
+ "laneIds": [
613
+ ".github/workflows/.auditable-demo.yml#universal-bootstrap",
614
+ ".github/workflows/.binary-release-assets.yml#universal-bootstrap",
615
+ ".github/workflows/.build.yml#universal-bootstrap",
616
+ ".github/workflows/.bump-minor-version.yml#universal-bootstrap",
617
+ ".github/workflows/.declarative-auditable-demo.yml#universal-bootstrap",
618
+ ".github/workflows/.gate-profile.yml#universal-bootstrap",
619
+ ".github/workflows/.publication-authority.yml#universal-bootstrap",
620
+ ".github/workflows/.release-candidate-promote.yml#universal-bootstrap",
621
+ ".github/workflows/.release-verify.yml#universal-bootstrap",
622
+ ".github/workflows/.sam-verify.yml#universal-bootstrap",
623
+ ".github/workflows/.sync-release-page.yml#universal-bootstrap",
624
+ ".github/workflows/.sync-remote-git.yml#universal-bootstrap",
625
+ ".github/workflows/.web-surface.yml#universal-bootstrap",
626
+ ".github/workflows/.wheel-verify.yml#universal-bootstrap",
627
+ ".github/workflows/build.yml#universal-bootstrap",
628
+ ".github/workflows/buildchain-patrol.yml#universal-bootstrap",
629
+ ".github/workflows/check.yml#universal-bootstrap",
630
+ ".github/workflows/dev-alpha-candidate-patrol.yml#universal-bootstrap",
631
+ ".github/workflows/dev-delivery-warrant-cancel.yml#universal-bootstrap",
632
+ ".github/workflows/dev-delivery-warrant-close.yml#universal-bootstrap",
633
+ ".github/workflows/dev-pr-auto-merge.yml#universal-bootstrap",
634
+ ".github/workflows/dev-qualification-patrol.yml#universal-bootstrap",
635
+ ".github/workflows/engineering-housekeeper.yml#universal-bootstrap",
636
+ ".github/workflows/github-artifact-attestation.yml#universal-bootstrap",
637
+ ".github/workflows/paper-release-sealed.yml#universal-bootstrap",
638
+ ".github/workflows/paper-release.yml#universal-bootstrap",
639
+ ".github/workflows/patrol-daily.yml#universal-bootstrap",
640
+ ".github/workflows/patrol-monthly.yml#universal-bootstrap",
641
+ ".github/workflows/patrol-observed-evidence.yml#universal-bootstrap",
642
+ ".github/workflows/patrol-weekly.yml#universal-bootstrap",
643
+ ".github/workflows/publication-artifact.yml#universal-bootstrap",
644
+ ".github/workflows/release-candidate-promote.yml#universal-bootstrap",
645
+ ".github/workflows/release-propagation.yml#universal-bootstrap",
646
+ ".github/workflows/release-tail.yml#universal-bootstrap",
647
+ ".github/workflows/stable-candidate-patrol.yml#universal-bootstrap",
648
+ ".github/workflows/v4-stage-capsule-canary.yml#universal-bootstrap",
649
+ ".github/workflows/v4-tail-reseal.yml#universal-bootstrap"
650
+ ]
651
+ },
652
+ {
653
+ "authorityClass": "governed-delegation",
654
+ "triggerClass": "mixed",
655
+ "concurrencyPolicy": {
656
+ "mode": "none",
657
+ "cancelInProgress": false
658
+ },
659
+ "expectedRunnerMinutes": 60,
660
+ "cancellationBehavior": "finish-started",
661
+ "sloImpact": {
662
+ "mergeCritical": false,
663
+ "metric": "mixed-trigger exact-candidate execution latency",
664
+ "expectedContributionSeconds": 0,
665
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
666
+ },
667
+ "laneIds": [
668
+ ".github/workflows/release-governance-reconcile.yml#universal-bootstrap",
669
+ ".github/workflows/v4-adopter-delivery.yml#universal-bootstrap"
670
+ ]
322
671
  }
323
672
  ]
324
673
  }
@@ -75,6 +75,7 @@
75
75
  "scripts/v4-stage-capsule-qualification.mjs",
76
76
  "packages/core/dev-delivery-warrant.js",
77
77
  "packages/core/dev-delivery-warrant-state.js",
78
+ "packages/core/dev-delivery-warrant-native-compatibility.js",
78
79
  "packages/core/dev-delivery-warrant-qualification.js",
79
80
  "packages/core/dev-delivery-warrant-legacy-recovery.js",
80
81
  "packages/core/dev-delivery-native-proof.js",
@@ -136,6 +137,12 @@
136
137
  "crates/buildchain-v4-contracts/src/adopter_delivery.rs",
137
138
  "crates/buildchain-v4-contracts/src/compatibility_facts.rs",
138
139
  "crates/buildchain-v4-contracts/src/compatibility_facts",
140
+ "packages/core/v4-universal-workflow-bootstrap.js",
141
+ "scripts/check-v4-universal-workflow-bootstrap.mjs",
142
+ "scripts/generate-v4-universal-workflow-facades.mjs",
143
+ "scripts/v4-universal-workflow-backflow.mjs",
144
+ "scripts/v4-universal-workflow-engine.mjs",
145
+ "scripts/v4-universal-workflow-self-dogfood.mjs",
139
146
  "scripts/check-internal-architecture.mjs",
140
147
  "scripts/check-maintainability.mjs",
141
148
  "scripts/maintainability-metrics.mjs",
@@ -270,11 +277,13 @@
270
277
  "id": "promotion-channel-orchestration",
271
278
  "owner": "Buildchain action maintainers",
272
279
  "implementation": [
280
+ "actions/promote-buildchain-ref/internal/contained-published-version-state.js",
273
281
  "actions/promote-buildchain-ref/internal/promote-alpha-channel.js",
274
282
  "actions/promote-buildchain-ref/internal/promote-major-channel.js",
275
283
  "actions/promote-buildchain-ref/internal/promote-release-channel.js"
276
284
  ],
277
285
  "tests": [
286
+ "tests/promote-buildchain-ref-contained-published-version-state.test.mjs",
278
287
  "tests/promote-buildchain-ref.test.mjs",
279
288
  "tests/promote-buildchain-ref-recovery.test.mjs",
280
289
  "tests/promote-buildchain-ref-governance.test.mjs",
@@ -286,7 +295,7 @@
286
295
  ],
287
296
  "generatedOutputs": ["actions/promote-buildchain-ref/dist/index.js"],
288
297
  "validationCommands": [
289
- "node --test tests/promote-buildchain-ref.test.mjs tests/promote-buildchain-ref-recovery.test.mjs tests/promote-buildchain-ref-governance.test.mjs tests/promotion-responsibilities.test.mjs"
298
+ "node --test tests/promote-buildchain-ref-contained-published-version-state.test.mjs tests/promote-buildchain-ref.test.mjs tests/promote-buildchain-ref-recovery.test.mjs tests/promote-buildchain-ref-governance.test.mjs tests/promotion-responsibilities.test.mjs"
290
299
  ]
291
300
  },
292
301
  {
@@ -591,6 +600,7 @@
591
600
  "implementation": [
592
601
  "packages/core/dev-delivery-warrant.js",
593
602
  "packages/core/dev-delivery-warrant-state.js",
603
+ "packages/core/dev-delivery-warrant-native-compatibility.js",
594
604
  "packages/core/dev-delivery-warrant-qualification.js",
595
605
  "packages/core/dev-delivery-warrant-legacy-recovery.js",
596
606
  "packages/core/dev-delivery-native-proof.js",
@@ -831,6 +841,39 @@
831
841
  "node --test tests/v4-architecture.test.mjs tests/v4-bridge.test.mjs tests/v4-provider-operation-journal.test.mjs tests/v4-provider-readback-idempotency.test.mjs tests/v4-release-activation-shadow.test.mjs tests/v4-stable-publication-fence.test.mjs tests/v4-partial-mutation-recovery-qualification.test.mjs tests/v4-stage-capsule.test.mjs tests/v4-stage-capsule-store.test.mjs tests/v4-platform-stage-checkpoints.test.mjs tests/v4-stage-capsule-qualification.test.mjs tests/v4-runtime-ref-resume-authority.test.mjs tests/v4-tail-reseal.test.mjs tests/v4-tail-reseal-parity.test.mjs"
832
842
  ]
833
843
  },
844
+ {
845
+ "id": "v4-universal-workflow-bootstrap",
846
+ "owner": "Buildchain workflow maintainers",
847
+ "implementation": [
848
+ "packages/core/v4-universal-workflow-bootstrap.js",
849
+ "scripts/check-v4-universal-workflow-bootstrap.mjs",
850
+ "scripts/generate-v4-universal-workflow-facades.mjs",
851
+ "scripts/v4-universal-workflow-backflow.mjs",
852
+ "scripts/v4-universal-workflow-engine.mjs",
853
+ "scripts/v4-universal-workflow-self-dogfood.mjs"
854
+ ],
855
+ "tests": [
856
+ "tests/v4-universal-workflow-backflow.test.mjs",
857
+ "tests/v4-universal-workflow-bootstrap.test.mjs",
858
+ "tests/v4-universal-workflow-fault-campaign.test.mjs",
859
+ "tests/v4-universal-workflow-self-dogfood.test.mjs"
860
+ ],
861
+ "contracts": [
862
+ "architecture/v4-universal-workflow-bootstrap.json",
863
+ "architecture/v4-universal-workflow-fault-campaign.json",
864
+ "architecture/v4-universal-workflow-train-admission.json",
865
+ ".github/workflows/bootstrap.yml",
866
+ ".github/workflows/universal-bootstrap-dogfood.yml",
867
+ "templates/universal-buildchain-bootstrap-recovery.yml"
868
+ ],
869
+ "generatedOutputs": [
870
+ ".github/workflows/universal-bootstrap-recovery.yml"
871
+ ],
872
+ "validationCommands": [
873
+ "node scripts/check-v4-universal-workflow-bootstrap.mjs",
874
+ "node --test tests/v4-universal-workflow-bootstrap.test.mjs tests/v4-universal-workflow-backflow.test.mjs tests/v4-universal-workflow-fault-campaign.test.mjs tests/v4-universal-workflow-self-dogfood.test.mjs"
875
+ ]
876
+ },
834
877
  {
835
878
  "id": "maintainability-governance",
836
879
  "owner": "Buildchain architecture maintainers",