@kungfu-tech/buildchain 4.0.2-alpha.4 → 4.0.2-alpha.41

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 (153) hide show
  1. package/AGENTS.md +10 -1
  2. package/CONTRIBUTING.md +24 -0
  3. package/README.md +2 -2
  4. package/actions/promote-buildchain-ref/README.md +1 -1
  5. package/actions/v4-release-candidate-promote/README.md +28 -0
  6. package/architecture/agent-change-map.md +66 -7
  7. package/architecture/ci-lane-change-budget.json +366 -0
  8. package/architecture/internal-capabilities.json +52 -8
  9. package/architecture/maintainability-debt.json +148 -92
  10. package/architecture/maintainability-policy.json +34 -30
  11. package/architecture/release-tail-contract-inventory.json +6 -6
  12. package/architecture/v4-architecture-constitution.md +23 -20
  13. package/architecture/v4-cross-platform-adopter-qualification.json +1 -1
  14. package/architecture/v4-delivery-authority-parity.json +2 -2
  15. package/architecture/v4-delivery-warrant-shadow-bootstrap-plan.json +1 -1
  16. package/architecture/v4-floating-consumer-policy.json +2 -2
  17. package/architecture/v4-next-development-parity.json +5 -5
  18. package/architecture/v4-partial-mutation-recovery-qualification.json +4 -1
  19. package/architecture/v4-platform-stage-checkpoints.json +1 -1
  20. package/architecture/v4-provider-operation-journal-contract.json +5 -2
  21. package/architecture/v4-publication-facade-patches.json +64 -0
  22. package/architecture/v4-release-activation-shadow-domain.json +5 -2
  23. package/architecture/v4-release-topology.json +143 -35
  24. package/architecture/v4-rust-wasm-production-authority.json +58 -0
  25. package/architecture/v4-stable-publication-fence.json +5 -2
  26. package/architecture/v4-stage-capsule-qualification.json +2 -2
  27. package/architecture/v4-tail-reseal-parity.json +8 -6
  28. package/architecture/v4-universal-workflow-bootstrap.json +171 -0
  29. package/architecture/v4-universal-workflow-fault-campaign.json +72 -0
  30. package/architecture/v4-universal-workflow-train-admission.json +40 -0
  31. package/architecture/workflow-taxonomy.json +1451 -0
  32. package/bin/buildchain.mjs +7 -7
  33. package/contracts/buildchain-v2-residuals-v1.json +57 -48
  34. package/contracts/dev-delivery-authority-v2.schema.json +16 -2
  35. package/contracts/fixtures/v4-tail-reseal-v1/valid.json +1 -1
  36. package/contracts/v4-canonical-contracts-v1.schema.json +1 -0
  37. package/dist/site/buildchain-contract.json +93 -48
  38. package/dist/site/buildchain-site.json +222 -69
  39. package/dist/site/capability-registry.json +4 -4
  40. package/dist/site/controller-registry.json +50 -13
  41. package/dist/site/kfd-claims.json +2569 -982
  42. package/dist/site/kfd-upstream-aggregate.json +1 -1
  43. package/dist/site/manual-registry.json +13 -13
  44. package/dist/site/node-api-registry.json +88 -83
  45. package/dist/site/page-registry.json +204 -51
  46. package/dist/site/public-surface-audit.json +3207 -1219
  47. package/dist/site/publication-authority-registry.json +1124 -362
  48. package/dist/site/publication-registry.json +4 -4
  49. package/dist/site/schemas/dev-delivery-authority-v2.schema.json +16 -2
  50. package/dist/site/site-manifest.json +17 -17
  51. package/dist/site/workflow-registry.json +5063 -1659
  52. package/docs/MAP.md +1 -0
  53. package/docs/auditable-demo.md +1 -1
  54. package/docs/cli.md +3 -3
  55. package/docs/dev-delivery-warrant.md +1 -1
  56. package/docs/engineering-housekeeper.md +3 -3
  57. package/docs/kfd-support.md +26 -2
  58. package/docs/next-development-transition.md +2 -2
  59. package/docs/node-api-reference.md +129 -129
  60. package/docs/publication-authority.md +2 -2
  61. package/docs/release-candidate.md +3 -3
  62. package/docs/release-flow.md +67 -19
  63. package/docs/release-governance.md +8 -8
  64. package/docs/release-passport.md +27 -2
  65. package/docs/reusable-build-surface.md +16 -0
  66. package/docs/v4-adopter-delivery.md +2 -2
  67. package/docs/v4-production-release.md +71 -8
  68. package/docs/v4-rust-wasm-production-authority.md +58 -0
  69. package/docs/v4-stage-capsule.md +2 -2
  70. package/docs/v4-tail-reseal.md +1 -1
  71. package/docs/workflow-catalog.md +154 -0
  72. package/docs/workflow-path-migration.md +109 -0
  73. package/package.json +10 -6
  74. package/packages/core/artifact-verification-envelope.js +5 -5
  75. package/packages/core/buildchain-contract.js +1 -1
  76. package/packages/core/buildchain-kfd-claims.js +2 -2
  77. package/packages/core/buildchain-publication-authority.js +42 -26
  78. package/packages/core/buildchain-v4-domain.wasm +0 -0
  79. package/packages/core/ci-lane-change-budget.js +14 -1
  80. package/packages/core/controller-evidence.js +4 -1
  81. package/packages/core/dev-delivery-candidate-identity.js +40 -6
  82. package/packages/core/dev-delivery-warrant-state.js +3 -4
  83. package/packages/core/dev-delivery-warrant.js +12 -2
  84. package/packages/core/github-governance-authority.js +4 -4
  85. package/packages/core/kfd-adopter-manifest.js +46 -47
  86. package/packages/core/next-development-projection.js +2 -2
  87. package/packages/core/release-line-dry-run.js +1 -1
  88. package/packages/core/release-passport-contract.js +5 -5
  89. package/packages/core/release-passport.js +5 -4
  90. package/packages/core/release-tail-product-capabilities.js +29 -0
  91. package/packages/core/release-tail-provider-plane.js +68 -1048
  92. package/packages/core/v4-canonical-contracts.js +14 -75
  93. package/packages/core/v4-domain-wasm-artifact.js +7 -0
  94. package/packages/core/v4-domain-wasm.js +216 -0
  95. package/packages/core/v4-floating-consumer-evidence.js +1 -1
  96. package/packages/core/v4-floating-consumer-policy.js +1 -1
  97. package/packages/core/v4-partial-mutation-recovery-qualification.js +9 -386
  98. package/packages/core/v4-product-publication.js +57 -0
  99. package/packages/core/v4-protected-publication-source.js +19 -21
  100. package/packages/core/v4-provider-operation-journal.js +18 -487
  101. package/packages/core/v4-provider-readback-idempotency.js +12 -97
  102. package/packages/core/v4-release-activation-shadow.js +13 -500
  103. package/packages/core/v4-release-invocation.js +28 -389
  104. package/packages/core/v4-stable-publication-fence.js +13 -342
  105. package/packages/core/v4-universal-workflow-bootstrap.js +586 -0
  106. package/scripts/binary-publication-evidence.mjs +135 -0
  107. package/scripts/build-contract-core.mjs +1 -14
  108. package/scripts/build-v4-domain-wasm.mjs +189 -0
  109. package/scripts/check-action-bundles.mjs +12 -2
  110. package/scripts/check-ci-lane-change-budget.mjs +4 -1
  111. package/scripts/check-core-mechanism-inventory.mjs +4 -3
  112. package/scripts/check-inventory.mjs +35 -44
  113. package/scripts/check-maintainability.mjs +16 -113
  114. package/scripts/check-v4-floating-consumer-policy-contract.mjs +2 -2
  115. package/scripts/check-v4-public-dogfood-contract.mjs +22 -9
  116. package/scripts/check-v4-release-topology.mjs +214 -50
  117. package/scripts/check-v4-runtime-semantic-closure.mjs +4 -1
  118. package/scripts/check-v4-universal-workflow-bootstrap.mjs +266 -0
  119. package/scripts/check-workflow-taxonomy.mjs +6 -0
  120. package/scripts/copy-v4-domain-wasm.mjs +14 -0
  121. package/scripts/dev-delivery-authority-command-adapters.mjs +1 -1
  122. package/scripts/dev-delivery-authority.mjs +8 -8
  123. package/scripts/dev-delivery-source-proof-reuse.mjs +2 -1
  124. package/scripts/dev-delivery-warrant-options.mjs +14 -9
  125. package/scripts/dev-delivery-warrant-store.mjs +73 -7
  126. package/scripts/dev-delivery-warrant-transition.mjs +109 -0
  127. package/scripts/dev-delivery-warrant.mjs +76 -99
  128. package/scripts/dev-pr-auto-merge.mjs +15 -15
  129. package/scripts/generate-channel-build-workflow.mjs +7 -2
  130. package/scripts/generate-channel-promotion-workflow.mjs +7 -5
  131. package/scripts/generate-site-bundle.mjs +11 -11
  132. package/scripts/generate-v4-universal-workflow-facades.mjs +458 -0
  133. package/scripts/generate-workflow-taxonomy.mjs +25 -0
  134. package/scripts/github-output.mjs +31 -0
  135. package/scripts/maintainability-metrics.mjs +16 -5
  136. package/scripts/maintainability-public-surface.mjs +115 -0
  137. package/scripts/next-development-review.mjs +307 -0
  138. package/scripts/release-asset-client.mjs +91 -0
  139. package/scripts/release-candidate-resolver.mjs +17 -18
  140. package/scripts/resume-from-candidate-run.mjs +1 -1
  141. package/scripts/source-verification-evidence.mjs +344 -0
  142. package/scripts/stable-candidate-qualification.mjs +1 -1
  143. package/scripts/universal-facade-maintainability.mjs +82 -0
  144. package/scripts/v4-product-publication-intent.mjs +121 -0
  145. package/scripts/v4-publication-settlement.mjs +211 -0
  146. package/scripts/v4-universal-workflow-backflow.mjs +212 -0
  147. package/scripts/v4-universal-workflow-engine.mjs +618 -0
  148. package/scripts/v4-universal-workflow-self-dogfood.mjs +205 -0
  149. package/scripts/verify-version-state-delta.mjs +173 -0
  150. package/scripts/workflow-taxonomy.mjs +507 -0
  151. package/templates/native-dev-delivery.yml +4 -7
  152. package/templates/universal-buildchain-bootstrap-recovery.yml +282 -0
  153. package/templates/universal-buildchain-bootstrap.yml +28 -0
@@ -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,338 @@
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
+ "laneId": ".github/workflows/self-release-next-development.yml#review",
597
+ "authorityClass": "merge-critical-admission",
598
+ "triggerClass": "mixed",
599
+ "concurrencyPolicy": {
600
+ "mode": "ref-scoped",
601
+ "cancelInProgress": false
602
+ },
603
+ "expectedRunnerMinutes": 3,
604
+ "cancellationBehavior": "finish-started",
605
+ "sloImpact": {
606
+ "mergeCritical": true,
607
+ "metric": "generated next-development independent review latency",
608
+ "expectedContributionSeconds": 180,
609
+ "rationale": "Only successful same-repository version PRs regenerate from the protected base and read completed publication evidence; ordinary source PRs skip the lane. Native queue checks remain final merge authority."
610
+ }
611
+ }
612
+ ],
613
+ "declarationFamilies": [
614
+ {
615
+ "authorityClass": "governed-delegation",
616
+ "triggerClass": "reusable",
617
+ "concurrencyPolicy": {
618
+ "mode": "none",
619
+ "cancelInProgress": false
620
+ },
621
+ "expectedRunnerMinutes": 60,
622
+ "cancellationBehavior": "finish-started",
623
+ "sloImpact": {
624
+ "mergeCritical": false,
625
+ "metric": "opt-in exact-candidate execution latency",
626
+ "expectedContributionSeconds": 0,
627
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
628
+ },
629
+ "laneIds": [
630
+ ".github/workflows/.auditable-demo.yml#universal-bootstrap",
631
+ ".github/workflows/.binary-release-assets.yml#universal-bootstrap",
632
+ ".github/workflows/.build.yml#universal-bootstrap",
633
+ ".github/workflows/.bump-minor-version.yml#universal-bootstrap",
634
+ ".github/workflows/.declarative-auditable-demo.yml#universal-bootstrap",
635
+ ".github/workflows/.gate-profile.yml#universal-bootstrap",
636
+ ".github/workflows/.publication-authority.yml#universal-bootstrap",
637
+ ".github/workflows/.release-candidate-promote.yml#universal-bootstrap",
638
+ ".github/workflows/.release-verify.yml#universal-bootstrap",
639
+ ".github/workflows/.sam-verify.yml#universal-bootstrap",
640
+ ".github/workflows/.sync-release-page.yml#universal-bootstrap",
641
+ ".github/workflows/.sync-remote-git.yml#universal-bootstrap",
642
+ ".github/workflows/.web-surface.yml#universal-bootstrap",
643
+ ".github/workflows/.wheel-verify.yml#universal-bootstrap",
644
+ ".github/workflows/build.yml#universal-bootstrap",
645
+ ".github/workflows/buildchain-patrol.yml#universal-bootstrap",
646
+ ".github/workflows/check.yml#universal-bootstrap",
647
+ ".github/workflows/dev-alpha-candidate-patrol.yml#universal-bootstrap",
648
+ ".github/workflows/dev-delivery-warrant-cancel.yml#universal-bootstrap",
649
+ ".github/workflows/dev-delivery-warrant-close.yml#universal-bootstrap",
650
+ ".github/workflows/dev-pr-auto-merge.yml#universal-bootstrap",
651
+ ".github/workflows/dev-qualification-patrol.yml#universal-bootstrap",
652
+ ".github/workflows/engineering-housekeeper.yml#universal-bootstrap",
653
+ ".github/workflows/github-artifact-attestation.yml#universal-bootstrap",
654
+ ".github/workflows/paper-release-sealed.yml#universal-bootstrap",
655
+ ".github/workflows/paper-release.yml#universal-bootstrap",
656
+ ".github/workflows/patrol-daily.yml#universal-bootstrap",
657
+ ".github/workflows/patrol-monthly.yml#universal-bootstrap",
658
+ ".github/workflows/patrol-observed-evidence.yml#universal-bootstrap",
659
+ ".github/workflows/patrol-weekly.yml#universal-bootstrap",
660
+ ".github/workflows/publication-artifact.yml#universal-bootstrap",
661
+ ".github/workflows/release-candidate-promote.yml#universal-bootstrap",
662
+ ".github/workflows/release-propagation.yml#universal-bootstrap",
663
+ ".github/workflows/release-tail.yml#universal-bootstrap",
664
+ ".github/workflows/stable-candidate-patrol.yml#universal-bootstrap",
665
+ ".github/workflows/v4-stage-capsule-canary.yml#universal-bootstrap",
666
+ ".github/workflows/v4-tail-reseal.yml#universal-bootstrap"
667
+ ]
668
+ },
669
+ {
670
+ "authorityClass": "governed-delegation",
671
+ "triggerClass": "mixed",
672
+ "concurrencyPolicy": {
673
+ "mode": "none",
674
+ "cancelInProgress": false
675
+ },
676
+ "expectedRunnerMinutes": 60,
677
+ "cancellationBehavior": "finish-started",
678
+ "sloImpact": {
679
+ "mergeCritical": false,
680
+ "metric": "mixed-trigger exact-candidate execution latency",
681
+ "expectedContributionSeconds": 0,
682
+ "rationale": "The opt-in universal path preserves the default compatibility lane and executes only an exact admitted runtime."
683
+ },
684
+ "laneIds": [
685
+ ".github/workflows/release-governance-reconcile.yml#universal-bootstrap",
686
+ ".github/workflows/v4-adopter-delivery.yml#universal-bootstrap"
687
+ ]
322
688
  }
323
689
  ]
324
690
  }
@@ -36,6 +36,7 @@
36
36
  "actions/release-tail/index.js",
37
37
  "scripts/authorize-promotion-runtime-override.cjs",
38
38
  "scripts/build-contract-core.mjs",
39
+ "scripts/github-output.mjs",
39
40
  "scripts/buildchain-cli-help.mjs",
40
41
  "scripts/generate-channel-build-workflow.mjs",
41
42
  "scripts/promotion-routing-evidence.mjs",
@@ -137,6 +138,12 @@
137
138
  "crates/buildchain-v4-contracts/src/adopter_delivery.rs",
138
139
  "crates/buildchain-v4-contracts/src/compatibility_facts.rs",
139
140
  "crates/buildchain-v4-contracts/src/compatibility_facts",
141
+ "packages/core/v4-universal-workflow-bootstrap.js",
142
+ "scripts/check-v4-universal-workflow-bootstrap.mjs",
143
+ "scripts/generate-v4-universal-workflow-facades.mjs",
144
+ "scripts/v4-universal-workflow-backflow.mjs",
145
+ "scripts/v4-universal-workflow-engine.mjs",
146
+ "scripts/v4-universal-workflow-self-dogfood.mjs",
140
147
  "scripts/check-internal-architecture.mjs",
141
148
  "scripts/check-maintainability.mjs",
142
149
  "scripts/maintainability-metrics.mjs",
@@ -271,11 +278,13 @@
271
278
  "id": "promotion-channel-orchestration",
272
279
  "owner": "Buildchain action maintainers",
273
280
  "implementation": [
281
+ "actions/promote-buildchain-ref/internal/contained-published-version-state.js",
274
282
  "actions/promote-buildchain-ref/internal/promote-alpha-channel.js",
275
283
  "actions/promote-buildchain-ref/internal/promote-major-channel.js",
276
284
  "actions/promote-buildchain-ref/internal/promote-release-channel.js"
277
285
  ],
278
286
  "tests": [
287
+ "tests/promote-buildchain-ref-contained-published-version-state.test.mjs",
279
288
  "tests/promote-buildchain-ref.test.mjs",
280
289
  "tests/promote-buildchain-ref-recovery.test.mjs",
281
290
  "tests/promote-buildchain-ref-governance.test.mjs",
@@ -287,7 +296,7 @@
287
296
  ],
288
297
  "generatedOutputs": ["actions/promote-buildchain-ref/dist/index.js"],
289
298
  "validationCommands": [
290
- "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"
299
+ "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"
291
300
  ]
292
301
  },
293
302
  {
@@ -412,12 +421,14 @@
412
421
  "owner": "Buildchain contract maintainers",
413
422
  "implementation": [
414
423
  "packages/core/buildchain-contract.js",
415
- "scripts/build-contract-core.mjs"
424
+ "scripts/build-contract-core.mjs",
425
+ "scripts/github-output.mjs"
416
426
  ],
417
427
  "tests": [
418
428
  "tests/buildchain-contract.test.mjs",
419
429
  "tests/build-surface.test.mjs",
420
- "tests/build-surface-promotion.test.mjs"
430
+ "tests/build-surface-promotion.test.mjs",
431
+ "tests/github-output.test.mjs"
421
432
  ],
422
433
  "contracts": [
423
434
  "dist/site/buildchain-contract.json",
@@ -578,7 +589,7 @@
578
589
  "contracts": [
579
590
  "architecture/v4-publication-rehearsal-parity.json",
580
591
  "contracts/v4-publication-rehearsal-capsule-v1.schema.json",
581
- ".github/workflows/v4-publication-rehearsal-dogfood.yml",
592
+ ".github/workflows/self-release-rehearsal-dogfood.yml",
582
593
  "docs/v4-publication-rehearsal.md"
583
594
  ],
584
595
  "generatedOutputs": [],
@@ -645,7 +656,7 @@
645
656
  "contracts/dev-delivery-authority-v2.schema.json",
646
657
  "dist/site/schemas/dev-delivery-authority-v2.schema.json",
647
658
  ".github/workflows/dev-pr-auto-merge.yml",
648
- ".github/workflows/buildchain-dev-delivery.yml",
659
+ ".github/workflows/self-ops-dev-delivery.yml",
649
660
  "templates/native-dev-delivery.yml",
650
661
  "docs/dev-delivery-warrant.md",
651
662
  "docs/dev-delivery-qualification-landing-adr.md"
@@ -722,8 +733,8 @@
722
733
  "contracts/fixtures/v4-adopter-delivery-v1/gate-positive.json",
723
734
  "contracts/fixtures/v4-adopter-delivery-v1/gate-unknown-selector.json",
724
735
  "contracts/fixtures/v4-adopter-delivery-v1/offline-vectors.json",
725
- ".github/workflows/v4-adopter-delivery.yml",
726
- ".github/workflows/v4-adopter-delivery-dogfood.yml",
736
+ ".github/workflows/public-build-adopter-qualification.yml",
737
+ ".github/workflows/self-build-adopter-dogfood.yml",
727
738
  "docs/v4-adopter-delivery.md"
728
739
  ],
729
740
  "generatedOutputs": [],
@@ -823,7 +834,7 @@
823
834
  "architecture/v4-tail-reseal-parity.json",
824
835
  "contracts/v4-tail-reseal-v1.schema.json",
825
836
  "contracts/fixtures/v4-tail-reseal-v1/valid.json",
826
- ".github/workflows/v4-tail-reseal.yml",
837
+ ".github/workflows/public-ops-tail-reseal.yml",
827
838
  "docs/v4-stage-capsule.md",
828
839
  "docs/v4-runtime-ref-resume-authority.md",
829
840
  "docs/v4-tail-reseal.md"
@@ -833,6 +844,39 @@
833
844
  "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"
834
845
  ]
835
846
  },
847
+ {
848
+ "id": "v4-universal-workflow-bootstrap",
849
+ "owner": "Buildchain workflow maintainers",
850
+ "implementation": [
851
+ "packages/core/v4-universal-workflow-bootstrap.js",
852
+ "scripts/check-v4-universal-workflow-bootstrap.mjs",
853
+ "scripts/generate-v4-universal-workflow-facades.mjs",
854
+ "scripts/v4-universal-workflow-backflow.mjs",
855
+ "scripts/v4-universal-workflow-engine.mjs",
856
+ "scripts/v4-universal-workflow-self-dogfood.mjs"
857
+ ],
858
+ "tests": [
859
+ "tests/v4-universal-workflow-backflow.test.mjs",
860
+ "tests/v4-universal-workflow-bootstrap.test.mjs",
861
+ "tests/v4-universal-workflow-fault-campaign.test.mjs",
862
+ "tests/v4-universal-workflow-self-dogfood.test.mjs"
863
+ ],
864
+ "contracts": [
865
+ "architecture/v4-universal-workflow-bootstrap.json",
866
+ "architecture/v4-universal-workflow-fault-campaign.json",
867
+ "architecture/v4-universal-workflow-train-admission.json",
868
+ ".github/workflows/bootstrap.yml",
869
+ ".github/workflows/self-ops-bootstrap-dogfood.yml",
870
+ "templates/universal-buildchain-bootstrap-recovery.yml"
871
+ ],
872
+ "generatedOutputs": [
873
+ ".github/workflows/universal-bootstrap-recovery.yml"
874
+ ],
875
+ "validationCommands": [
876
+ "node scripts/check-v4-universal-workflow-bootstrap.mjs",
877
+ "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"
878
+ ]
879
+ },
836
880
  {
837
881
  "id": "maintainability-governance",
838
882
  "owner": "Buildchain architecture maintainers",