@kungfu-tech/buildchain 3.0.9-alpha.9 → 4.0.0-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.
- package/AGENTS.md +39 -0
- package/README.md +17 -13
- package/actions/promote-buildchain-ref/README.md +0 -10
- package/actions/release-tail/README.md +6 -10
- package/architecture/internal-capabilities.json +502 -0
- package/architecture/maintainability-baseline.json +59 -0
- package/architecture/maintainability-policy.json +1384 -0
- package/architecture/release-tail-contract-inventory.json +587 -0
- package/architecture/v3-core-mechanism-inventory.json +1043 -0
- package/architecture/v3-core-mechanism-inventory.md +67 -0
- package/architecture/v4-adopter-delivery-parity.json +47 -0
- package/architecture/v4-architecture-constitution.md +210 -0
- package/architecture/v4-bootstrap-authority.json +56 -0
- package/architecture/v4-canonical-contract-fixtures.json +105 -0
- package/architecture/v4-capability-state-machine-manifest.json +480 -0
- package/architecture/v4-capability-state-machine-manifest.schema.json +202 -0
- package/architecture/v4-delivery-warrant-shadow-bootstrap-plan.json +830 -0
- package/architecture/v4-delivery-warrant-shadow-bootstrap-plan.md +223 -0
- package/architecture/v4-delivery-warrant-shadow-bootstrap-plan.schema.json +318 -0
- package/architecture/v4-delivery-warrant-shadow-fixtures.json +227 -0
- package/architecture/v4-delivery-warrant-shadow-fixtures.schema.json +67 -0
- package/architecture/v4-exception-ledger.json +5 -0
- package/architecture/v4-exception-ledger.schema.json +56 -0
- package/architecture/v4-partial-mutation-recovery-qualification.json +65 -0
- package/architecture/v4-platform-stage-checkpoints.json +97 -0
- package/architecture/v4-provider-operation-journal-contract.json +113 -0
- package/architecture/v4-release-activation-shadow-domain.json +61 -0
- package/architecture/v4-release-train-parity.json +68 -0
- package/architecture/v4-rust-libnode-bridge-evaluation.json +107 -0
- package/architecture/v4-rust-libnode-bridge-spike.md +85 -0
- package/architecture/v4-stable-publication-fence.json +66 -0
- package/architecture/v4-stage-capsule-contract.json +90 -0
- package/architecture/v4-stage-capsule-qualification.json +99 -0
- package/architecture/v4-stage-capsule-resume-planner.json +52 -0
- package/architecture/v4-stage-capsule-store-contract.json +72 -0
- package/bin/buildchain.mjs +15 -10
- package/contracts/auditable-demo-scenario-v1.schema.json +1 -1
- package/contracts/buildchain-v2-residuals-v1.json +2 -2
- package/contracts/fixtures/v4-delivery-warrant-trace-v1/golden.json +158 -0
- package/contracts/fixtures/v4-delivery-warrant-trace-v1/property.json +380 -0
- package/contracts/fixtures/v4-delivery-warrant-trace-v1/replay.json +163 -0
- package/contracts/fixtures/v4-partial-mutation-recovery-v1/shared.json +155 -0
- package/contracts/fixtures/v4-provider-operation-journal-v1/shared.json +457 -0
- package/contracts/fixtures/v4-provider-readback-idempotency-v1/shared.json +682 -0
- package/contracts/fixtures/v4-release-activation-shadow-v1/shared.json +53 -0
- package/contracts/fixtures/v4-stable-publication-fence-v1/shared.json +56 -0
- package/contracts/fixtures/v4-stage-capsule-resume-v1/late-platform-failure.json +176 -0
- package/contracts/fixtures/v4-stage-capsule-store-v1/shared.json +132 -0
- package/contracts/fixtures/v4-stage-capsule-v1/shared.json +111 -0
- package/contracts/v4-canonical-contracts-v1.schema.json +182 -0
- package/contracts/v4-delivery-warrant-semantic-diff-report-v1.schema.json +284 -0
- package/contracts/v4-delivery-warrant-trace-v1.schema.json +215 -0
- package/contracts/v4-host-contract-v1.schema.json +135 -0
- package/contracts/v4-partial-mutation-recovery-v1.schema.json +168 -0
- package/contracts/v4-provider-operation-journal-v1.schema.json +381 -0
- package/contracts/v4-release-activation-shadow-v1.schema.json +186 -0
- package/contracts/v4-stable-publication-fence-v1.schema.json +125 -0
- package/contracts/v4-stage-capsule-resume-v1.schema.json +225 -0
- package/contracts/v4-stage-capsule-store-v1.schema.json +154 -0
- package/contracts/v4-stage-capsule-v1.schema.json +178 -0
- package/crates/buildchain-v4-bridge/Cargo.lock +213 -0
- package/crates/buildchain-v4-bridge/Cargo.toml +12 -0
- package/crates/buildchain-v4-bridge/src/main.rs +495 -0
- package/dist/site/agent-index.json +0 -4
- package/dist/site/artifact-schemas.json +0 -8
- package/dist/site/buildchain-contract.json +103 -397
- package/dist/site/buildchain-site.json +302 -386
- package/dist/site/capability-registry.json +9 -11
- package/dist/site/cli-registry.json +8 -53
- package/dist/site/controller-registry.json +48 -8
- package/dist/site/kfd-claims.json +129 -167
- package/dist/site/kfd-upstream-aggregate.json +9 -9
- package/dist/site/manual-registry.json +18 -49
- package/dist/site/node-api-registry.json +4345 -7345
- package/dist/site/page-registry.json +278 -346
- package/dist/site/public-surface-audit.json +85 -404
- package/dist/site/publication-authority-registry.json +11 -1
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/release-provenance.json +3 -9
- package/dist/site/schemas/kfd-support-projection-v1.schema.json +106 -0
- package/dist/site/site-manifest.json +22 -38
- package/dist/site/workflow-registry.json +78 -35
- package/docs/MAP.md +8 -5
- package/docs/auditable-demo.md +2 -2
- package/docs/aws-us-elastic-runner-burst-plane.md +7 -59
- package/docs/cli-reference.md +15 -213
- package/docs/cli.md +14 -14
- package/docs/dev-alpha-candidate-patrol.md +3 -11
- package/docs/dev-delivery-warrant.md +29 -194
- package/docs/engineering-housekeeper.md +12 -4
- package/docs/getting-started.md +1 -1
- package/docs/install.md +5 -5
- package/docs/kfd-support.md +2 -7
- package/docs/lifecycle-protocol.md +2 -4
- package/docs/node-api-reference.md +414 -554
- package/docs/release-flow.md +31 -31
- package/docs/release-governance.md +16 -28
- package/docs/release-passport.md +2 -15
- package/docs/release-tail-contract.md +13 -6
- package/docs/release-tail-provider-plane.md +13 -19
- package/docs/release-train.md +4 -4
- package/docs/reusable-build-surface.md +14 -27
- package/docs/site-bundle-contract.md +1 -5
- package/docs/stable-candidate-patrol.md +7 -7
- package/docs/v4-canonical-contracts.md +92 -0
- package/docs/v4-delivery-warrant-read-candidate.md +73 -0
- package/docs/v4-delivery-warrant-semantic-diff.md +75 -0
- package/docs/v4-production-release.md +63 -0
- package/docs/v4-stage-capsule.md +193 -0
- package/docs/versioning.md +3 -5
- package/package.json +19 -19
- package/packages/core/adopter-delivery-gate.js +576 -0
- package/packages/core/adopter-delivery-json.js +66 -0
- package/packages/core/artifact-signing.js +0 -61
- package/packages/core/artifact-verification-envelope.js +5 -5
- package/packages/core/build-facts.js +12 -4
- package/packages/core/buildchain-agent-manuals.js +0 -2
- package/packages/core/buildchain-channel-identity.js +3 -2
- package/packages/core/buildchain-config.js +4 -69
- package/packages/core/buildchain-contract.js +232 -46
- package/packages/core/buildchain-kfd-claims.js +1 -1
- package/packages/core/channel-candidate.js +0 -8
- package/packages/core/channel-promotion-baseline.js +0 -52
- package/packages/core/controller-evidence.js +3 -4
- package/packages/core/dev-alpha-candidate-selection.js +2 -10
- package/packages/core/dev-delivery-warrant-cancellation.js +0 -1
- package/packages/core/dev-delivery-warrant-settlement.js +20 -67
- package/packages/core/dev-delivery-warrant.js +50 -138
- package/packages/core/diagnostics.js +3 -8
- package/packages/core/github-governance-authority.js +3 -1
- package/packages/core/kfd-adopter-category-driver.js +167 -0
- package/packages/core/kfd-adopter-manifest.js +47 -46
- package/packages/core/kfd-gate.js +15 -45
- package/packages/core/paper-agent-entry.js +7 -16
- package/packages/core/paper-fleet.js +2 -2
- package/packages/core/paper-repository.js +2 -3
- package/packages/core/paper-scaffold-content.js +2 -23
- package/packages/core/paper.js +11 -43
- package/packages/core/publication-reproducibility.js +4 -4
- package/packages/core/release-line-bootstrap.js +21 -8
- package/packages/core/release-passport-contract.js +5 -5
- package/packages/core/release-passport.js +20 -131
- package/packages/core/self-dogfood-version.js +48 -35
- package/packages/core/spawn-command.js +232 -8
- package/packages/core/v4-adopter-delivery-parity.js +219 -0
- package/packages/core/v4-canonical-contracts.js +284 -0
- package/packages/core/v4-delivery-warrant-fixture-runner.js +371 -0
- package/packages/core/v4-delivery-warrant-read-candidate.js +279 -0
- package/packages/core/v4-delivery-warrant-semantic-diff-gate.js +352 -0
- package/packages/core/v4-delivery-warrant-shadow-adapter.js +447 -0
- package/packages/core/v4-partial-mutation-recovery-qualification.js +395 -0
- package/packages/core/v4-platform-stage-checkpoints.js +471 -0
- package/packages/core/v4-provider-operation-journal.js +531 -0
- package/packages/core/v4-provider-readback-idempotency.js +394 -0
- package/packages/core/v4-release-activation-shadow.js +519 -0
- package/packages/core/v4-stable-publication-fence.js +357 -0
- package/packages/core/v4-stage-capsule-local-store.js +426 -0
- package/packages/core/v4-stage-capsule-qualification-campaign.js +512 -0
- package/packages/core/v4-stage-capsule-qualification.js +456 -0
- package/packages/core/v4-stage-capsule-resume-planner.js +397 -0
- package/packages/core/v4-stage-capsule-store.js +401 -0
- package/packages/core/v4-stage-capsule.js +319 -0
- package/scripts/assemble-self-publication-admission.mjs +1 -1
- package/scripts/audit-publication-control-plane.mjs +5 -5
- package/scripts/auditable-demo-bundle-verification.mjs +3 -2
- package/scripts/auditable-demo-platform.mjs +2 -2
- package/scripts/auditable-demo-renditions.mjs +1 -1
- package/scripts/auditable-demo.mjs +2 -2
- package/scripts/aws-macos-jit-controller-core.mjs +13 -346
- package/scripts/aws-macos-jit-controller-runtime.mjs +2 -210
- package/scripts/aws-macos-jit-controller.mjs +37 -275
- package/scripts/aws-macos-jit-core.mjs +3 -41
- package/scripts/aws-macos-jit.mjs +0 -12
- package/scripts/aws-windows-jit-campaign.mjs +2 -2
- package/scripts/aws-windows-jit-controller-core.mjs +1 -1
- package/scripts/aws-windows-jit-controller.mjs +3 -3
- package/scripts/build-contract-core.mjs +3 -8
- package/scripts/build-standalone-binary.mjs +3 -14
- package/scripts/buildchain-channel-router.mjs +4 -0
- package/scripts/buildchain-cli-help.mjs +7 -16
- package/scripts/buildchain-contract-lock.mjs +0 -6
- package/scripts/check-action-bundles.mjs +3 -4
- package/scripts/check-internal-architecture.mjs +7 -6
- package/scripts/check-inventory.mjs +30 -25
- package/scripts/check-v4-public-dogfood-contract.mjs +270 -0
- package/scripts/create-release-bundle.mjs +8 -4
- package/scripts/dev-alpha-candidate-patrol.mjs +1 -22
- package/scripts/dev-delivery-proof.mjs +2 -64
- package/scripts/dev-delivery-warrant.mjs +61 -86
- package/scripts/dev-pr-auto-merge.mjs +4 -30
- package/scripts/dev-pr-delivery-warrant.mjs +0 -55
- package/scripts/dispatch-artifact-signing-authority.mjs +7 -4
- package/scripts/generate-buildchain-kfd-witnesses.mjs +94 -88
- package/scripts/generate-channel-build-workflow.mjs +54 -24
- package/scripts/generate-channel-promotion-workflow.mjs +15 -6
- package/scripts/generate-site-bundle.mjs +8 -27
- package/scripts/git-fetch-process-tree.mjs +34 -1
- package/scripts/init-repo.mjs +64 -159
- package/scripts/inspect-artifact-signing-requests.mjs +0 -6
- package/scripts/locked-source-checkout.mjs +3 -4
- package/scripts/maintainability-metrics.mjs +8 -2
- package/scripts/npm-publish-dry-run.mjs +2 -2
- package/scripts/npm-publish-transaction.mjs +2 -2
- package/scripts/publication-commit-evidence.mjs +23 -69
- package/scripts/release-candidate-resolver.mjs +11 -17
- package/scripts/release-tail.mjs +3 -49
- package/scripts/resume-from-candidate-run.mjs +9 -123
- package/scripts/run-lifecycle-core.mjs +12 -13
- package/scripts/seal-artifact-signing-requests.mjs +17 -21
- package/scripts/site-capability-metadata.mjs +3 -20
- package/scripts/stable-candidate-qualification.mjs +10 -10
- package/scripts/v4-architecture.mjs +12 -2
- package/scripts/v4-bridge-bootstrap.mjs +141 -0
- package/scripts/v4-bridge-evidence.mjs +141 -0
- package/scripts/v4-host-adapter.mjs +182 -0
- package/scripts/v4-platform-stage-checkpoint-rehearsal.mjs +207 -0
- package/scripts/v4-stage-capsule-qualification.mjs +528 -0
- package/scripts/v4-stage-capsule-resume-rehearsal.mjs +57 -0
- package/scripts/v4-warrant-shadow-plan.mjs +601 -0
- package/scripts/verify-golden-path.mjs +5 -5
- package/scripts/web-surface-cloudfront-rewrite.mjs +15 -15
- package/scripts/web-surface-core.mjs +2 -8
- package/scripts/workflow-call-contract.mjs +5 -184
- package/contracts/dev-delivery-authority-v2.schema.json +0 -253
- package/contracts/fixtures/kfd-adopter-release-v1/kfd-4-perspective.json +0 -16
- package/contracts/fixtures/kfd-adopter-release-v1/kfd-4-replay.json +0 -57
- package/contracts/fixtures/next-development-transition-v1/anchored-manual-waiting.json +0 -47
- package/contracts/fixtures/next-development-transition-v1/semver-auto-planned.json +0 -47
- package/contracts/fixtures/next-development-transition-v1/version-model-cases.json +0 -40
- package/contracts/next-development-request-v1.schema.json +0 -66
- package/contracts/next-development-transition-v1.schema.json +0 -292
- package/contracts/publication-rehearsal-capsule-v1.schema.json +0 -173
- package/dist/site/schemas/dev-delivery-authority-v2.schema.json +0 -442
- package/dist/site/schemas/publication-rehearsal-capsule-v1.schema.json +0 -269
- package/dist/site/schemas/release-tail-capabilities-v1.schema.json +0 -353
- package/dist/site/schemas/release-tail-provider-bindings-v1.schema.json +0 -94
- package/docs/dev-delivery-qualification-landing-adr.md +0 -137
- package/docs/next-development-transition.md +0 -119
- package/docs/publication-rehearsal.md +0 -94
- package/packages/core/buildchain-compatibility-proof.js +0 -631
- package/packages/core/dev-delivery-authority.js +0 -996
- package/packages/core/dev-delivery-native-proof.js +0 -418
- package/packages/core/dev-delivery-warrant-shadow.js +0 -502
- package/packages/core/next-development-candidate-reservation.js +0 -186
- package/packages/core/next-development-controller.js +0 -726
- package/packages/core/next-development-projection.js +0 -288
- package/packages/core/next-development-transition.js +0 -738
- package/packages/core/publication-rehearsal-projection.js +0 -173
- package/packages/core/publication-rehearsal-runtime.js +0 -921
- package/scripts/aws-macos-jit-instance-rehydrate.mjs +0 -260
- package/scripts/aws-macos-jit-source-rebind.mjs +0 -724
- package/scripts/dev-delivery-authority.mjs +0 -368
- package/scripts/dev-delivery-native-run.mjs +0 -235
- package/scripts/dev-delivery-two-phase-resume.mjs +0 -90
- package/scripts/dev-delivery-two-phase.mjs +0 -577
- package/scripts/generate-next-development-guidance.mjs +0 -49
- package/scripts/materialize-self-release-candidate-version.mjs +0 -137
- package/scripts/next-development-self-dogfood-harness.mjs +0 -409
- package/scripts/next-development-self-dogfood.mjs +0 -532
- package/scripts/next-development-transition.mjs +0 -47
- package/scripts/release-candidate-tail-reseal.mjs +0 -426
- package/templates/native-dev-delivery.yml +0 -86
package/docs/cli-reference.md
CHANGED
|
@@ -269,127 +269,6 @@ buildchain create runner-provenance --input-json <file-or-json> [--output <file>
|
|
|
269
269
|
buildchain dev
|
|
270
270
|
```
|
|
271
271
|
|
|
272
|
-
### `buildchain dev authority admit-merge-group`
|
|
273
|
-
|
|
274
|
-
- Help: `buildchain dev authority admit-merge-group --help`
|
|
275
|
-
- Canonical id: `dev`
|
|
276
|
-
- Options: `--branch`, `--execute`, `--json`, `--output`, `--repository`
|
|
277
|
-
- Syntax:
|
|
278
|
-
|
|
279
|
-
```text
|
|
280
|
-
buildchain dev authority <migrate|submit|lease-qualification|heartbeat-qualification|complete-qualification|lease-landing|heartbeat-landing|recover|admit-merge-group|settle|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
281
|
-
```
|
|
282
|
-
|
|
283
|
-
### `buildchain dev authority complete-qualification`
|
|
284
|
-
|
|
285
|
-
- Help: `buildchain dev authority complete-qualification --help`
|
|
286
|
-
- Canonical id: `dev`
|
|
287
|
-
- Options: `--branch`, `--execute`, `--json`, `--output`, `--repository`
|
|
288
|
-
- Syntax:
|
|
289
|
-
|
|
290
|
-
```text
|
|
291
|
-
buildchain dev authority <migrate|submit|lease-qualification|heartbeat-qualification|complete-qualification|lease-landing|heartbeat-landing|recover|admit-merge-group|settle|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
292
|
-
```
|
|
293
|
-
|
|
294
|
-
### `buildchain dev authority heartbeat-landing`
|
|
295
|
-
|
|
296
|
-
- Help: `buildchain dev authority heartbeat-landing --help`
|
|
297
|
-
- Canonical id: `dev`
|
|
298
|
-
- Options: `--branch`, `--execute`, `--json`, `--output`, `--repository`
|
|
299
|
-
- Syntax:
|
|
300
|
-
|
|
301
|
-
```text
|
|
302
|
-
buildchain dev authority <migrate|submit|lease-qualification|heartbeat-qualification|complete-qualification|lease-landing|heartbeat-landing|recover|admit-merge-group|settle|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
303
|
-
```
|
|
304
|
-
|
|
305
|
-
### `buildchain dev authority heartbeat-qualification`
|
|
306
|
-
|
|
307
|
-
- Help: `buildchain dev authority heartbeat-qualification --help`
|
|
308
|
-
- Canonical id: `dev`
|
|
309
|
-
- Options: `--branch`, `--execute`, `--json`, `--output`, `--repository`
|
|
310
|
-
- Syntax:
|
|
311
|
-
|
|
312
|
-
```text
|
|
313
|
-
buildchain dev authority <migrate|submit|lease-qualification|heartbeat-qualification|complete-qualification|lease-landing|heartbeat-landing|recover|admit-merge-group|settle|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
314
|
-
```
|
|
315
|
-
|
|
316
|
-
### `buildchain dev authority lease-landing`
|
|
317
|
-
|
|
318
|
-
- Help: `buildchain dev authority lease-landing --help`
|
|
319
|
-
- Canonical id: `dev`
|
|
320
|
-
- Options: `--branch`, `--execute`, `--json`, `--output`, `--repository`
|
|
321
|
-
- Syntax:
|
|
322
|
-
|
|
323
|
-
```text
|
|
324
|
-
buildchain dev authority <migrate|submit|lease-qualification|heartbeat-qualification|complete-qualification|lease-landing|heartbeat-landing|recover|admit-merge-group|settle|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
### `buildchain dev authority lease-qualification`
|
|
328
|
-
|
|
329
|
-
- Help: `buildchain dev authority lease-qualification --help`
|
|
330
|
-
- Canonical id: `dev`
|
|
331
|
-
- Options: `--branch`, `--execute`, `--json`, `--output`, `--repository`
|
|
332
|
-
- Syntax:
|
|
333
|
-
|
|
334
|
-
```text
|
|
335
|
-
buildchain dev authority <migrate|submit|lease-qualification|heartbeat-qualification|complete-qualification|lease-landing|heartbeat-landing|recover|admit-merge-group|settle|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
336
|
-
```
|
|
337
|
-
|
|
338
|
-
### `buildchain dev authority migrate`
|
|
339
|
-
|
|
340
|
-
- Help: `buildchain dev authority migrate --help`
|
|
341
|
-
- Canonical id: `dev`
|
|
342
|
-
- Options: `--branch`, `--execute`, `--json`, `--output`, `--repository`
|
|
343
|
-
- Syntax:
|
|
344
|
-
|
|
345
|
-
```text
|
|
346
|
-
buildchain dev authority <migrate|submit|lease-qualification|heartbeat-qualification|complete-qualification|lease-landing|heartbeat-landing|recover|admit-merge-group|settle|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
347
|
-
```
|
|
348
|
-
|
|
349
|
-
### `buildchain dev authority observe`
|
|
350
|
-
|
|
351
|
-
- Help: `buildchain dev authority observe --help`
|
|
352
|
-
- Canonical id: `dev`
|
|
353
|
-
- Options: `--branch`, `--execute`, `--json`, `--output`, `--repository`
|
|
354
|
-
- Syntax:
|
|
355
|
-
|
|
356
|
-
```text
|
|
357
|
-
buildchain dev authority <migrate|submit|lease-qualification|heartbeat-qualification|complete-qualification|lease-landing|heartbeat-landing|recover|admit-merge-group|settle|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
358
|
-
```
|
|
359
|
-
|
|
360
|
-
### `buildchain dev authority recover`
|
|
361
|
-
|
|
362
|
-
- Help: `buildchain dev authority recover --help`
|
|
363
|
-
- Canonical id: `dev`
|
|
364
|
-
- Options: `--branch`, `--execute`, `--json`, `--output`, `--repository`
|
|
365
|
-
- Syntax:
|
|
366
|
-
|
|
367
|
-
```text
|
|
368
|
-
buildchain dev authority <migrate|submit|lease-qualification|heartbeat-qualification|complete-qualification|lease-landing|heartbeat-landing|recover|admit-merge-group|settle|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
369
|
-
```
|
|
370
|
-
|
|
371
|
-
### `buildchain dev authority settle`
|
|
372
|
-
|
|
373
|
-
- Help: `buildchain dev authority settle --help`
|
|
374
|
-
- Canonical id: `dev`
|
|
375
|
-
- Options: `--branch`, `--execute`, `--json`, `--output`, `--repository`
|
|
376
|
-
- Syntax:
|
|
377
|
-
|
|
378
|
-
```text
|
|
379
|
-
buildchain dev authority <migrate|submit|lease-qualification|heartbeat-qualification|complete-qualification|lease-landing|heartbeat-landing|recover|admit-merge-group|settle|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
380
|
-
```
|
|
381
|
-
|
|
382
|
-
### `buildchain dev authority submit`
|
|
383
|
-
|
|
384
|
-
- Help: `buildchain dev authority submit --help`
|
|
385
|
-
- Canonical id: `dev`
|
|
386
|
-
- Options: `--branch`, `--execute`, `--json`, `--output`, `--repository`
|
|
387
|
-
- Syntax:
|
|
388
|
-
|
|
389
|
-
```text
|
|
390
|
-
buildchain dev authority <migrate|submit|lease-qualification|heartbeat-qualification|complete-qualification|lease-landing|heartbeat-landing|recover|admit-merge-group|settle|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
391
|
-
```
|
|
392
|
-
|
|
393
272
|
### `buildchain dev merge-queue`
|
|
394
273
|
|
|
395
274
|
- Help: `buildchain dev merge-queue --help`
|
|
@@ -420,18 +299,7 @@ buildchain dev pr-admit --repository <owner/repo> --branch <dev/vN/vN.M> --pull-
|
|
|
420
299
|
- Syntax:
|
|
421
300
|
|
|
422
301
|
```text
|
|
423
|
-
buildchain dev proof <source|verify-source|classify|
|
|
424
|
-
```
|
|
425
|
-
|
|
426
|
-
### `buildchain dev proof classify-native`
|
|
427
|
-
|
|
428
|
-
- Help: `buildchain dev proof classify-native --help`
|
|
429
|
-
- Canonical id: `dev`
|
|
430
|
-
- Options: `--json`, `--output`
|
|
431
|
-
- Syntax:
|
|
432
|
-
|
|
433
|
-
```text
|
|
434
|
-
buildchain dev proof <source|verify-source|classify|native|verify-native|classify-native|verify-native-reuse|replay|integration|verify-integration> [--output <file>] [--json]
|
|
302
|
+
buildchain dev proof <source|verify-source|classify|replay|integration|verify-integration> [--output <file>] [--json]
|
|
435
303
|
```
|
|
436
304
|
|
|
437
305
|
### `buildchain dev proof integration`
|
|
@@ -442,18 +310,7 @@ buildchain dev proof <source|verify-source|classify|native|verify-native|classif
|
|
|
442
310
|
- Syntax:
|
|
443
311
|
|
|
444
312
|
```text
|
|
445
|
-
buildchain dev proof <source|verify-source|classify|
|
|
446
|
-
```
|
|
447
|
-
|
|
448
|
-
### `buildchain dev proof native`
|
|
449
|
-
|
|
450
|
-
- Help: `buildchain dev proof native --help`
|
|
451
|
-
- Canonical id: `dev`
|
|
452
|
-
- Options: `--json`, `--output`
|
|
453
|
-
- Syntax:
|
|
454
|
-
|
|
455
|
-
```text
|
|
456
|
-
buildchain dev proof <source|verify-source|classify|native|verify-native|classify-native|verify-native-reuse|replay|integration|verify-integration> [--output <file>] [--json]
|
|
313
|
+
buildchain dev proof <source|verify-source|classify|replay|integration|verify-integration> [--output <file>] [--json]
|
|
457
314
|
```
|
|
458
315
|
|
|
459
316
|
### `buildchain dev proof replay`
|
|
@@ -464,7 +321,7 @@ buildchain dev proof <source|verify-source|classify|native|verify-native|classif
|
|
|
464
321
|
- Syntax:
|
|
465
322
|
|
|
466
323
|
```text
|
|
467
|
-
buildchain dev proof <source|verify-source|classify|
|
|
324
|
+
buildchain dev proof <source|verify-source|classify|replay|integration|verify-integration> [--output <file>] [--json]
|
|
468
325
|
```
|
|
469
326
|
|
|
470
327
|
### `buildchain dev proof source`
|
|
@@ -475,7 +332,7 @@ buildchain dev proof <source|verify-source|classify|native|verify-native|classif
|
|
|
475
332
|
- Syntax:
|
|
476
333
|
|
|
477
334
|
```text
|
|
478
|
-
buildchain dev proof <source|verify-source|classify|
|
|
335
|
+
buildchain dev proof <source|verify-source|classify|replay|integration|verify-integration> [--output <file>] [--json]
|
|
479
336
|
```
|
|
480
337
|
|
|
481
338
|
### `buildchain dev proof verify-integration`
|
|
@@ -486,29 +343,7 @@ buildchain dev proof <source|verify-source|classify|native|verify-native|classif
|
|
|
486
343
|
- Syntax:
|
|
487
344
|
|
|
488
345
|
```text
|
|
489
|
-
buildchain dev proof <source|verify-source|classify|
|
|
490
|
-
```
|
|
491
|
-
|
|
492
|
-
### `buildchain dev proof verify-native`
|
|
493
|
-
|
|
494
|
-
- Help: `buildchain dev proof verify-native --help`
|
|
495
|
-
- Canonical id: `dev`
|
|
496
|
-
- Options: `--json`, `--output`
|
|
497
|
-
- Syntax:
|
|
498
|
-
|
|
499
|
-
```text
|
|
500
|
-
buildchain dev proof <source|verify-source|classify|native|verify-native|classify-native|verify-native-reuse|replay|integration|verify-integration> [--output <file>] [--json]
|
|
501
|
-
```
|
|
502
|
-
|
|
503
|
-
### `buildchain dev proof verify-native-reuse`
|
|
504
|
-
|
|
505
|
-
- Help: `buildchain dev proof verify-native-reuse --help`
|
|
506
|
-
- Canonical id: `dev`
|
|
507
|
-
- Options: `--json`, `--output`
|
|
508
|
-
- Syntax:
|
|
509
|
-
|
|
510
|
-
```text
|
|
511
|
-
buildchain dev proof <source|verify-source|classify|native|verify-native|classify-native|verify-native-reuse|replay|integration|verify-integration> [--output <file>] [--json]
|
|
346
|
+
buildchain dev proof <source|verify-source|classify|replay|integration|verify-integration> [--output <file>] [--json]
|
|
512
347
|
```
|
|
513
348
|
|
|
514
349
|
### `buildchain dev proof verify-source`
|
|
@@ -519,18 +354,7 @@ buildchain dev proof <source|verify-source|classify|native|verify-native|classif
|
|
|
519
354
|
- Syntax:
|
|
520
355
|
|
|
521
356
|
```text
|
|
522
|
-
buildchain dev proof <source|verify-source|classify|
|
|
523
|
-
```
|
|
524
|
-
|
|
525
|
-
### `buildchain dev two-phase`
|
|
526
|
-
|
|
527
|
-
- Help: `buildchain dev two-phase --help`
|
|
528
|
-
- Canonical id: `dev`
|
|
529
|
-
- Options: `--branch`, `--expected-head`, `--native-command`, `--native-proof`, `--pull-request`, `--repository`, `--warrant-result`
|
|
530
|
-
- Syntax:
|
|
531
|
-
|
|
532
|
-
```text
|
|
533
|
-
buildchain dev two-phase --repository <owner/repo> --branch <dev/vN/vN.M> --pull-request <n> --expected-head <sha> --warrant-result <file> [--native-proof <file>] [--native-command <command>]
|
|
357
|
+
buildchain dev proof <source|verify-source|classify|replay|integration|verify-integration> [--output <file>] [--json]
|
|
534
358
|
```
|
|
535
359
|
|
|
536
360
|
### `buildchain dev warrant cancel-queued`
|
|
@@ -541,7 +365,7 @@ buildchain dev two-phase --repository <owner/repo> --branch <dev/vN/vN.M> --pull
|
|
|
541
365
|
- Syntax:
|
|
542
366
|
|
|
543
367
|
```text
|
|
544
|
-
buildchain dev warrant <submit|select|heartbeat|
|
|
368
|
+
buildchain dev warrant <submit|select|heartbeat|recover|close|cancel-queued|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
545
369
|
```
|
|
546
370
|
|
|
547
371
|
### `buildchain dev warrant close`
|
|
@@ -552,7 +376,7 @@ buildchain dev warrant <submit|select|heartbeat|qualify|recover|close|cancel-que
|
|
|
552
376
|
- Syntax:
|
|
553
377
|
|
|
554
378
|
```text
|
|
555
|
-
buildchain dev warrant <submit|select|heartbeat|
|
|
379
|
+
buildchain dev warrant <submit|select|heartbeat|recover|close|cancel-queued|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
556
380
|
```
|
|
557
381
|
|
|
558
382
|
### `buildchain dev warrant heartbeat`
|
|
@@ -563,7 +387,7 @@ buildchain dev warrant <submit|select|heartbeat|qualify|recover|close|cancel-que
|
|
|
563
387
|
- Syntax:
|
|
564
388
|
|
|
565
389
|
```text
|
|
566
|
-
buildchain dev warrant <submit|select|heartbeat|
|
|
390
|
+
buildchain dev warrant <submit|select|heartbeat|recover|close|cancel-queued|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
567
391
|
```
|
|
568
392
|
|
|
569
393
|
### `buildchain dev warrant observe`
|
|
@@ -574,18 +398,7 @@ buildchain dev warrant <submit|select|heartbeat|qualify|recover|close|cancel-que
|
|
|
574
398
|
- Syntax:
|
|
575
399
|
|
|
576
400
|
```text
|
|
577
|
-
buildchain dev warrant <submit|select|heartbeat|
|
|
578
|
-
```
|
|
579
|
-
|
|
580
|
-
### `buildchain dev warrant qualify`
|
|
581
|
-
|
|
582
|
-
- Help: `buildchain dev warrant qualify --help`
|
|
583
|
-
- Canonical id: `dev`
|
|
584
|
-
- Options: `--branch`, `--execute`, `--json`, `--output`, `--repository`
|
|
585
|
-
- Syntax:
|
|
586
|
-
|
|
587
|
-
```text
|
|
588
|
-
buildchain dev warrant <submit|select|heartbeat|qualify|recover|close|cancel-queued|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
401
|
+
buildchain dev warrant <submit|select|heartbeat|recover|close|cancel-queued|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
589
402
|
```
|
|
590
403
|
|
|
591
404
|
### `buildchain dev warrant recover`
|
|
@@ -596,7 +409,7 @@ buildchain dev warrant <submit|select|heartbeat|qualify|recover|close|cancel-que
|
|
|
596
409
|
- Syntax:
|
|
597
410
|
|
|
598
411
|
```text
|
|
599
|
-
buildchain dev warrant <submit|select|heartbeat|
|
|
412
|
+
buildchain dev warrant <submit|select|heartbeat|recover|close|cancel-queued|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
600
413
|
```
|
|
601
414
|
|
|
602
415
|
### `buildchain dev warrant select`
|
|
@@ -607,7 +420,7 @@ buildchain dev warrant <submit|select|heartbeat|qualify|recover|close|cancel-que
|
|
|
607
420
|
- Syntax:
|
|
608
421
|
|
|
609
422
|
```text
|
|
610
|
-
buildchain dev warrant <submit|select|heartbeat|
|
|
423
|
+
buildchain dev warrant <submit|select|heartbeat|recover|close|cancel-queued|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
611
424
|
```
|
|
612
425
|
|
|
613
426
|
### `buildchain dev warrant submit`
|
|
@@ -618,7 +431,7 @@ buildchain dev warrant <submit|select|heartbeat|qualify|recover|close|cancel-que
|
|
|
618
431
|
- Syntax:
|
|
619
432
|
|
|
620
433
|
```text
|
|
621
|
-
buildchain dev warrant <submit|select|heartbeat|
|
|
434
|
+
buildchain dev warrant <submit|select|heartbeat|recover|close|cancel-queued|observe> --repository <owner/repo> --branch <dev/vN/vN.M> [--execute] [--output <file>] [--json]
|
|
622
435
|
```
|
|
623
436
|
|
|
624
437
|
## `diagnostics`
|
|
@@ -1498,11 +1311,11 @@ buildchain lifecycle
|
|
|
1498
1311
|
|
|
1499
1312
|
- Help: `buildchain lifecycle run --help`
|
|
1500
1313
|
- Canonical id: `lifecycle`
|
|
1501
|
-
- Options: `--artifact-name`, `--artifact-path`, `--cwd`, `--manifest-path`, `--process-summary`, `--required`, `--summary-path`
|
|
1314
|
+
- Options: `--artifact-name`, `--artifact-path`, `--cwd`, `--manifest-path`, `--platform-id`, `--platform-name`, `--process-summary`, `--required`, `--summary-path`
|
|
1502
1315
|
- Syntax:
|
|
1503
1316
|
|
|
1504
1317
|
```text
|
|
1505
|
-
buildchain lifecycle run <stage> [--cwd <dir>] [--required] [--artifact-name <name>] [--artifact-path <path>]... [--manifest-path <path>] [--summary-path <path>] [--process-summary <json>]
|
|
1318
|
+
buildchain lifecycle run <stage> [--cwd <dir>] [--required] [--artifact-name <name>] [--artifact-path <path>]... [--platform-id <id>] [--platform-name <name>] [--manifest-path <path>] [--summary-path <path>] [--process-summary <json>]
|
|
1506
1319
|
```
|
|
1507
1320
|
|
|
1508
1321
|
## `log`
|
|
@@ -2167,17 +1980,6 @@ buildchain release-tail init --declaration <json-or-path> [--state <path>]
|
|
|
2167
1980
|
buildchain release-tail plan --declaration <json-or-path> [--output <path>]
|
|
2168
1981
|
```
|
|
2169
1982
|
|
|
2170
|
-
### `buildchain release-tail rehearse`
|
|
2171
|
-
|
|
2172
|
-
- Help: `buildchain release-tail rehearse --help`
|
|
2173
|
-
- Canonical id: `release-tail`
|
|
2174
|
-
- Options: `--capsule`, `--capsule-root`, `--environment-json`, `--evidence`, `--mode`, `--state`
|
|
2175
|
-
- Syntax:
|
|
2176
|
-
|
|
2177
|
-
```text
|
|
2178
|
-
buildchain release-tail rehearse --capsule <path> --capsule-root <absolute-path> --mode <simulate|replay> --state <path> --evidence <path> [--environment-json <json-or-path>]
|
|
2179
|
-
```
|
|
2180
|
-
|
|
2181
1983
|
### `buildchain release-tail status`
|
|
2182
1984
|
|
|
2183
1985
|
- Help: `buildchain release-tail status --help`
|
package/docs/cli.md
CHANGED
|
@@ -49,7 +49,7 @@ Consumers should pin the exact Buildchain version that was validated in their
|
|
|
49
49
|
repository. When dogfooding a fresh Buildchain release immediately after it is
|
|
50
50
|
published, pnpm may block the install through a minimum release-age policy. In
|
|
51
51
|
that case, add a temporary package/version-specific `minimumReleaseAgeExclude`
|
|
52
|
-
entry, such as `@kungfu-tech/buildchain@
|
|
52
|
+
entry, such as `@kungfu-tech/buildchain@4.0.0`, and remove it once the package
|
|
53
53
|
has aged past the normal policy window. Do not replace that with a broad
|
|
54
54
|
registry or scope-wide exclude. Paper scaffold and migration maintain the
|
|
55
55
|
exact current entry in `pnpm-workspace.yaml` before refreshing the lockfile.
|
|
@@ -110,7 +110,7 @@ import publicSurfaceAudit from "@kungfu-tech/buildchain/site/public-surface-audi
|
|
|
110
110
|
|
|
111
111
|
Use `dist/site/manual-registry.json` to find the packaged operating manuals and
|
|
112
112
|
their SHA-256 digests. Use `dist/site/buildchain-contract.json` to verify the
|
|
113
|
-
floating-ref contract world for a runtime such as `@
|
|
113
|
+
floating-ref contract world for a runtime such as `@v4`.
|
|
114
114
|
|
|
115
115
|
For exhaustive lookup, use the generated references rather than scanning this
|
|
116
116
|
conceptual guide:
|
|
@@ -386,9 +386,9 @@ branch action, and initial version before any GitHub mutation happens:
|
|
|
386
386
|
|
|
387
387
|
```bash
|
|
388
388
|
buildchain release line open \
|
|
389
|
-
--major
|
|
389
|
+
--major 4 \
|
|
390
390
|
--minor 1 \
|
|
391
|
-
--source-ref release/
|
|
391
|
+
--source-ref release/v4/v4.0 \
|
|
392
392
|
--json
|
|
393
393
|
```
|
|
394
394
|
|
|
@@ -401,9 +401,9 @@ reconciliation succeeds, and opens the first dev-to-alpha channel PR:
|
|
|
401
401
|
|
|
402
402
|
```bash
|
|
403
403
|
buildchain release line open \
|
|
404
|
-
--major
|
|
404
|
+
--major 4 \
|
|
405
405
|
--minor 1 \
|
|
406
|
-
--source-ref release/
|
|
406
|
+
--source-ref release/v4/v4.0 \
|
|
407
407
|
--write \
|
|
408
408
|
--json
|
|
409
409
|
```
|
|
@@ -994,10 +994,10 @@ even when the bundle hash has been refreshed.
|
|
|
994
994
|
maintainer opens or merges a channel PR:
|
|
995
995
|
|
|
996
996
|
```bash
|
|
997
|
-
buildchain release --dry-run --target-ref alpha/
|
|
998
|
-
buildchain release --dry-run --target-ref release/
|
|
999
|
-
buildchain release dry-run --target-ref publish-gate/major --source-ref release/
|
|
1000
|
-
buildchain release explain --target-ref alpha/
|
|
997
|
+
buildchain release --dry-run --target-ref alpha/v4/v4.0
|
|
998
|
+
buildchain release --dry-run --target-ref release/v4/v4.0 --sha <verified-sha>
|
|
999
|
+
buildchain release dry-run --target-ref publish-gate/major --source-ref release/v4/v4.0
|
|
1000
|
+
buildchain release explain --target-ref alpha/v4/v4.0 --json
|
|
1001
1001
|
```
|
|
1002
1002
|
|
|
1003
1003
|
This is a Buildchain-level dry-run, not an npm dry-run. It explains the legal
|
|
@@ -1012,7 +1012,7 @@ Pass `--json` for a machine-readable plan.
|
|
|
1012
1012
|
for the publish transaction state:
|
|
1013
1013
|
|
|
1014
1014
|
```bash
|
|
1015
|
-
buildchain transaction inspect --version
|
|
1015
|
+
buildchain transaction inspect --version v4.0.1-alpha.2
|
|
1016
1016
|
```
|
|
1017
1017
|
|
|
1018
1018
|
It reads or locally initializes the durable transaction record and validates
|
|
@@ -1039,9 +1039,9 @@ Buildchain's own npm package is published from
|
|
|
1039
1039
|
`.github/workflows/buildchain-ref-promotion.yml`, inside the same publish
|
|
1040
1040
|
transaction that promotes release refs:
|
|
1041
1041
|
|
|
1042
|
-
- `
|
|
1043
|
-
- `
|
|
1044
|
-
- moving refs such as `
|
|
1042
|
+
- `v4.0.3-alpha.0` publishes to npm with dist-tag `alpha`.
|
|
1043
|
+
- `v4.0.2` publishes to npm with dist-tag `latest`.
|
|
1044
|
+
- moving refs such as `v4`, `v4.0`, and `v4.0-alpha` do not match the publish
|
|
1045
1045
|
workflow and do not publish.
|
|
1046
1046
|
|
|
1047
1047
|
The promotion workflow uses npm Trusted Publishing through GitHub Actions OIDC.
|
|
@@ -13,7 +13,7 @@ ai_provenance:
|
|
|
13
13
|
model_family: GPT-5
|
|
14
14
|
product: Codex
|
|
15
15
|
generated_at: 2026-08-11
|
|
16
|
-
visible_context: Buildchain v3 Release Train and Release Cut contracts, existing source locks, exact-source Alpha preflight, Dev Patrol, cancelled duplicate runs, protected auto-merge policy, repository release governance, and the consumer-owned settlement renderer threat model.
|
|
16
|
+
visible_context: Buildchain v4 parity of the proven v3 Release Train and Release Cut contracts, existing source locks, exact-source Alpha preflight, Dev Patrol, cancelled duplicate runs, protected auto-merge policy, repository release governance, and the consumer-owned settlement renderer threat model.
|
|
17
17
|
invisible_context_boundary: No credentials, private logs, or private configuration were used.
|
|
18
18
|
---
|
|
19
19
|
|
|
@@ -39,7 +39,7 @@ head, selected SHA, and count of skipped newer commits. This makes a slow native
|
|
|
39
39
|
verification lane live under continuous development without silently treating
|
|
40
40
|
an unqualified head as releasable.
|
|
41
41
|
|
|
42
|
-
Before any new selection, the
|
|
42
|
+
Before any new selection, the v4 controller now resolves the open managed PR and
|
|
43
43
|
validates its embedded authoritative Release Train. If one exists, the frozen
|
|
44
44
|
Release Cut wins: Candidate Patrol does not scan for or retain a newer qualified
|
|
45
45
|
candidate. It returns the cut's exact candidate commit, candidate tree,
|
|
@@ -59,14 +59,6 @@ controller then compares the selected SHA to the exact Alpha head before it can
|
|
|
59
59
|
be eligible, so a bounded scan cannot turn a commit outside the promotion
|
|
60
60
|
ancestry into a candidate.
|
|
61
61
|
|
|
62
|
-
Generated next-development version preparation is not a product candidate. The
|
|
63
|
-
observer skips both the signed `chore(release): prepare ...` commit and its
|
|
64
|
-
two-parent integration commit. When later product work becomes qualified, the
|
|
65
|
-
nearest preparation becomes a reservation: Patrol reads every path changed by
|
|
66
|
-
that preparation at both exact SHAs and requires identical Git blob identities.
|
|
67
|
-
A missing or stale reserved path blocks selection before the Release Cut and
|
|
68
|
-
therefore before any heavy candidate build.
|
|
69
|
-
|
|
70
62
|
The decision is `kungfu-buildchain-channel-candidate-decision/v1`. It records the
|
|
71
63
|
source and target branches and SHAs, comparison distance, workflow paths, run
|
|
72
64
|
identities and attempts, completion times, URLs, policy, and a canonical decision
|
|
@@ -88,7 +80,7 @@ The companion state is
|
|
|
88
80
|
- `stale`: the available exact-SHA evidence pair is outside policy age; or
|
|
89
81
|
- `blocked`: qualification or reconciliation failed closed.
|
|
90
82
|
|
|
91
|
-
New
|
|
83
|
+
New v4 states embed the complete `kungfu-buildchain-release-train/v1` record.
|
|
92
84
|
`held` states include a rooted `kungfu-buildchain-release-train-hold/v1`
|
|
93
85
|
receipt with the expected cut and observed coordinates. Dev movement alone is
|
|
94
86
|
not an allowed supersession cause. Legacy markers remain readable by the core
|