@kungfu-tech/buildchain 4.0.1-alpha.9 → 4.0.2-alpha.0

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 (99) hide show
  1. package/README.md +9 -6
  2. package/actions/v4-release-candidate-promote/README.md +3 -0
  3. package/architecture/agent-change-map.md +1017 -0
  4. package/architecture/ci-lane-change-budget.json +70 -1
  5. package/architecture/decisions/0004-v4-declarative-release-tail.md +47 -0
  6. package/architecture/internal-capabilities.json +159 -11
  7. package/architecture/maintainability-debt.json +3229 -0
  8. package/architecture/maintainability-policy.json +480 -129
  9. package/architecture/v3-core-mechanism-inventory.json +6 -3
  10. package/architecture/v3-v4-capability-closure.md +59 -0
  11. package/architecture/v3-v4-live-capability-inventory.json +102404 -0
  12. package/architecture/v4-cross-platform-adopter-qualification.json +52 -0
  13. package/architecture/v4-delivery-warrant-shadow-fixtures.json +3 -3
  14. package/architecture/v4-runtime-semantic-closure.json +710 -0
  15. package/bin/internal/trust-release-release-handlers.mjs +5 -0
  16. package/contracts/fixtures/v4-tail-reseal-v1/valid.json +1 -1
  17. package/contracts/v4-publication-qualification-v1.schema.json +51 -0
  18. package/dist/site/agent-index.json +1 -0
  19. package/dist/site/artifact-schemas.json +2 -0
  20. package/dist/site/buildchain-contract.json +123 -32
  21. package/dist/site/buildchain-site.json +96 -28
  22. package/dist/site/capability-registry.json +6 -6
  23. package/dist/site/cli-registry.json +5 -2
  24. package/dist/site/controller-registry.json +41 -5
  25. package/dist/site/kfd-claims.json +172 -23
  26. package/dist/site/kfd-upstream-aggregate.json +1 -1
  27. package/dist/site/manual-registry.json +6 -6
  28. package/dist/site/node-api-registry.json +1474 -215
  29. package/dist/site/page-registry.json +85 -17
  30. package/dist/site/public-surface-audit.json +91 -21
  31. package/dist/site/publication-authority-registry.json +28 -1
  32. package/dist/site/publication-registry.json +4 -4
  33. package/dist/site/release-provenance.json +5 -0
  34. package/dist/site/schemas/v4-publication-qualification-v1.schema.json +51 -0
  35. package/dist/site/site-manifest.json +10 -10
  36. package/dist/site/workflow-registry.json +94 -18
  37. package/docs/MAP.md +1 -1
  38. package/docs/cli-reference.md +4 -4
  39. package/docs/dev-delivery-warrant.md +33 -9
  40. package/docs/node-api-reference.md +291 -206
  41. package/docs/publish-transaction.md +11 -4
  42. package/docs/release-candidate.md +7 -0
  43. package/docs/v4-adopter-delivery.md +23 -4
  44. package/docs/v4-declarative-release-tail-migration.md +43 -0
  45. package/package.json +8 -3
  46. package/packages/core/adopter-delivery-passport.js +36 -0
  47. package/packages/core/buildchain-contract.js +31 -1
  48. package/packages/core/buildchain-publication-authority.js +1 -0
  49. package/packages/core/dev-delivery-warrant-legacy-recovery.js +246 -0
  50. package/packages/core/dev-delivery-warrant-settlement.js +239 -3
  51. package/packages/core/dev-delivery-warrant-state.js +15 -2
  52. package/packages/core/dev-delivery-warrant.js +21 -4
  53. package/packages/core/github-governance-authority.js +4 -4
  54. package/packages/core/index.js +1 -0
  55. package/packages/core/paper-scaffold-content.js +401 -0
  56. package/packages/core/paper.js +12 -378
  57. package/packages/core/publication-control-plane-audit.js +135 -111
  58. package/packages/core/publication-rehearsal-projection.js +104 -0
  59. package/packages/core/publication-rehearsal-runtime.js +190 -0
  60. package/packages/core/release-candidate-recovery.js +6 -5
  61. package/packages/core/release-passport.js +82 -184
  62. package/packages/core/v4-cross-platform-adopter-qualification.js +343 -0
  63. package/packages/core/v4-floating-consumer-policy.js +3 -2
  64. package/packages/core/v4-floating-consumer-release-passport.js +134 -15
  65. package/packages/core/v4-publication-qualification.js +222 -0
  66. package/scripts/artifact-signing-controller-core.mjs +1 -1
  67. package/scripts/audit-publication-control-plane.mjs +17 -17
  68. package/scripts/buildchain-cli-help.mjs +3 -0
  69. package/scripts/check-internal-architecture.mjs +23 -3
  70. package/scripts/check-inventory.mjs +23 -5
  71. package/scripts/check-maintainability.mjs +145 -4
  72. package/scripts/check-project-cut-merge-queue-admission.mjs +87 -0
  73. package/scripts/check-v3-v4-capability-inventory.mjs +574 -0
  74. package/scripts/check-v4-floating-consumer-policy-contract.mjs +10 -3
  75. package/scripts/check-v4-runtime-semantic-closure.mjs +266 -0
  76. package/scripts/dev-delivery-warrant-options.mjs +42 -15
  77. package/scripts/dev-delivery-warrant.mjs +59 -6
  78. package/scripts/dev-pr-auto-merge.mjs +25 -11
  79. package/scripts/dev-pr-delivery-warrant.mjs +44 -0
  80. package/scripts/dev-pr-prequeue-guard.mjs +0 -18
  81. package/scripts/dispatch-artifact-signing-authority.mjs +1 -1
  82. package/scripts/generate-agent-change-map.mjs +118 -0
  83. package/scripts/generate-release-candidate-passport.mjs +26 -1
  84. package/scripts/generate-site-bundle.mjs +6 -0
  85. package/scripts/maintainability-domain-metrics.mjs +237 -0
  86. package/scripts/maintainability-governance.mjs +473 -0
  87. package/scripts/maintainability-metrics.mjs +28 -6
  88. package/scripts/project-cut-merge-queue-admission.mjs +394 -0
  89. package/scripts/promotion-routing-evidence.mjs +35 -6
  90. package/scripts/release-candidate-resolver.mjs +44 -0
  91. package/scripts/release-line-policy.mjs +25 -15
  92. package/scripts/release-tail.mjs +19 -2
  93. package/scripts/resume-from-candidate-run.mjs +106 -103
  94. package/scripts/run-lifecycle-core.mjs +341 -376
  95. package/scripts/site-capability-metadata.mjs +4 -0
  96. package/scripts/stable-candidate-qualification.mjs +9 -10
  97. package/scripts/v3-v4-capability-catalog.mjs +439 -0
  98. package/scripts/v4-cross-platform-adopter-qualification.mjs +228 -0
  99. package/scripts/v4-declarative-promotion-admission.mjs +42 -0
@@ -57,7 +57,7 @@
57
57
  {
58
58
  "mechanismId": "publish-transaction",
59
59
  "root": "actions/promote-buildchain-ref/internal",
60
- "pattern": "^(?:durable-transaction-[a-z-]+|existing-version-state)\\.js$"
60
+ "pattern": "^durable-transaction-[a-z-]+\\.js$"
61
61
  },
62
62
  {
63
63
  "mechanismId": "publish-transaction",
@@ -293,6 +293,7 @@
293
293
  "sourcePaths": [
294
294
  "packages/core/dev-delivery-proof.js",
295
295
  "packages/core/dev-delivery-warrant-cancellation.js",
296
+ "packages/core/dev-delivery-warrant-legacy-recovery.js",
296
297
  "packages/core/dev-delivery-warrant-qualification.js",
297
298
  "packages/core/dev-delivery-warrant-settlement.js",
298
299
  "packages/core/dev-delivery-warrant-state.js",
@@ -306,6 +307,7 @@
306
307
  "testPaths": [
307
308
  "tests/dev-delivery-warrant.test.mjs",
308
309
  "tests/dev-delivery-warrant-command.test.mjs",
310
+ "tests/dev-delivery-warrant-legacy-recovery.test.mjs",
309
311
  "tests/release-blocker-priority.test.mjs"
310
312
  ],
311
313
  "migrationDisposition": "rebuild-in-rust-with-compatibility-projection",
@@ -624,12 +626,13 @@
624
626
  "scripts/release-transaction.mjs",
625
627
  "actions/promote-buildchain-ref/internal/durable-transaction-operations.js",
626
628
  "actions/promote-buildchain-ref/internal/durable-transaction-store.js",
627
- "actions/promote-buildchain-ref/internal/existing-version-state.js",
629
+ "actions/promote-buildchain-ref/internal/version-state-operations.js",
628
630
  "actions/promote-buildchain-ref/reuse-complete-release.js"
629
631
  ],
630
632
  "testPaths": [
631
633
  "tests/publish-transaction.test.mjs",
632
- "tests/promote-buildchain-ref.test.mjs"
634
+ "tests/promote-buildchain-ref.test.mjs",
635
+ "tests/promote-buildchain-ref-facade-contracts.test.mjs"
633
636
  ],
634
637
  "migrationDisposition": "primary-rust-authority-with-v3-record-reader",
635
638
  "unresolved": [
@@ -0,0 +1,59 @@
1
+ ---
2
+ status: active
3
+ period: 2026-08
4
+ theme: buildchain-v3-v4-complete-capability-closure
5
+ doc_type: capability-inventory
6
+ source_level: local-files
7
+ confidence: high
8
+ sensitivity: public
9
+ evidence_grade: A
10
+ review_state: unreviewed
11
+ last_reviewed: 2026-08-27
12
+ ai_provenance:
13
+ model_family: GPT-5
14
+ product: Codex
15
+ generated_at: 2026-08-27
16
+ invisible_context: not asserted
17
+ ---
18
+
19
+ # Buildchain v3 to v4 live capability inventory
20
+
21
+ The machine-readable inventory in
22
+ [`v3-v4-live-capability-inventory.json`](v3-v4-live-capability-inventory.json)
23
+ binds the previous absorption-family v3 cut, the execution-time protected v3
24
+ head, and the execution-time protected v4 head. It is an auditable cache of
25
+ Git objects and generated registries, not an assertion that branch names remain
26
+ unchanged after the recorded cut.
27
+
28
+ The extractor covers Node subpaths and symbols, CLI commands and flags,
29
+ workflow and Action interfaces, schemas and configuration contracts, generated
30
+ contracts, release/delivery/recovery mechanisms, observable evidence contracts,
31
+ platform branches, documented modules, and every path changed on v3 after the
32
+ previous family capture. Each capability has exactly one disposition:
33
+ `v4-native`, `compatibility-adapter`, `executable-migration`, or
34
+ `owned-missing`.
35
+
36
+ Run the fail-closed check with:
37
+
38
+ ```sh
39
+ node scripts/check-v3-v4-capability-inventory.mjs
40
+ ```
41
+
42
+ Refresh the checked-in matrix only after intentionally updating all three exact
43
+ cuts and reviewing every newly discovered gap:
44
+
45
+ ```sh
46
+ node scripts/check-v3-v4-capability-inventory.mjs --write
47
+ ```
48
+
49
+ The extractor rejects a new missing capability unless its exact stable identity
50
+ is added to the reviewed residual set with an owner Assignment. It also rejects
51
+ unknown dispositions, unowned rows, missing source evidence, missing positive
52
+ or negative probes, and non-residual rows without an executable v4 route.
53
+
54
+ This inventory does not by itself claim stable publication or v3 retirement.
55
+ Its public-surface rows bind the exact Child 2 implementation candidate, and
56
+ its 13 runtime mechanism families bind the Child 3 semantic closure with
57
+ positive, negative, failure, recovery, and idempotence evidence. Cross-platform
58
+ adopter qualification, stable-channel closure, and final reconciliation remain
59
+ separate ordered Assignments.