@kungfu-tech/buildchain 4.0.2-alpha.34 → 4.0.2-alpha.35
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 +9 -0
- package/CONTRIBUTING.md +24 -0
- package/README.md +2 -2
- package/actions/promote-buildchain-ref/README.md +1 -1
- package/architecture/agent-change-map.md +6 -4
- package/architecture/internal-capabilities.json +4 -4
- package/architecture/maintainability-debt.json +13 -11
- package/architecture/maintainability-policy.json +4 -4
- package/architecture/release-tail-contract-inventory.json +6 -6
- package/architecture/v4-delivery-authority-parity.json +2 -2
- package/architecture/v4-delivery-warrant-shadow-bootstrap-plan.json +1 -1
- package/architecture/v4-floating-consumer-policy.json +1 -1
- package/architecture/v4-next-development-parity.json +4 -4
- package/architecture/v4-platform-stage-checkpoints.json +1 -1
- package/architecture/v4-publication-facade-patches.json +53 -0
- package/architecture/v4-release-topology.json +46 -29
- package/architecture/v4-rust-wasm-production-authority.json +1 -0
- package/architecture/v4-stage-capsule-qualification.json +1 -1
- package/architecture/v4-universal-workflow-bootstrap.json +1 -1
- package/architecture/v4-universal-workflow-fault-campaign.json +1 -1
- package/architecture/v4-universal-workflow-train-admission.json +4 -4
- package/architecture/workflow-taxonomy.json +1437 -0
- package/contracts/buildchain-v2-residuals-v1.json +64 -1
- package/contracts/fixtures/v4-tail-reseal-v1/valid.json +1 -1
- package/contracts/v4-canonical-contracts-v1.schema.json +1 -0
- package/dist/site/buildchain-contract.json +20 -20
- package/dist/site/buildchain-site.json +122 -56
- package/dist/site/capability-registry.json +4 -4
- package/dist/site/controller-registry.json +5 -4
- package/dist/site/kfd-claims.json +2617 -964
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +10 -10
- package/dist/site/node-api-registry.json +26 -21
- package/dist/site/page-registry.json +107 -41
- package/dist/site/public-surface-audit.json +3196 -1128
- package/dist/site/publication-authority-registry.json +1179 -417
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/site-manifest.json +14 -14
- package/dist/site/workflow-registry.json +5484 -1924
- package/docs/MAP.md +1 -0
- package/docs/auditable-demo.md +1 -1
- package/docs/cli.md +3 -3
- package/docs/dev-delivery-warrant.md +1 -1
- package/docs/engineering-housekeeper.md +3 -3
- package/docs/next-development-transition.md +1 -1
- package/docs/node-api-reference.md +30 -30
- package/docs/publication-authority.md +2 -2
- package/docs/release-candidate.md +3 -3
- package/docs/release-flow.md +67 -19
- package/docs/release-governance.md +8 -8
- package/docs/v4-adopter-delivery.md +1 -1
- package/docs/v4-production-release.md +45 -8
- package/docs/v4-stage-capsule.md +1 -1
- package/docs/workflow-catalog.md +151 -0
- package/package.json +8 -6
- package/packages/core/buildchain-contract.js +1 -1
- package/packages/core/buildchain-kfd-claims.js +2 -2
- package/packages/core/buildchain-publication-authority.js +40 -25
- package/packages/core/buildchain-v4-domain.wasm +0 -0
- package/packages/core/controller-evidence.js +4 -1
- package/packages/core/github-governance-authority.js +4 -4
- package/packages/core/next-development-projection.js +1 -1
- package/packages/core/release-line-dry-run.js +1 -1
- package/packages/core/v4-canonical-contracts.js +1 -0
- package/packages/core/v4-domain-wasm-artifact.js +2 -2
- package/packages/core/v4-floating-consumer-evidence.js +1 -1
- package/packages/core/v4-floating-consumer-policy.js +1 -1
- package/scripts/binary-publication-evidence.mjs +135 -0
- package/scripts/check-ci-lane-change-budget.mjs +4 -1
- package/scripts/check-core-mechanism-inventory.mjs +4 -3
- package/scripts/check-inventory.mjs +22 -22
- package/scripts/check-v4-floating-consumer-policy-contract.mjs +1 -1
- package/scripts/check-v4-public-dogfood-contract.mjs +18 -5
- package/scripts/check-v4-release-topology.mjs +5 -2
- package/scripts/check-v4-runtime-semantic-closure.mjs +4 -1
- package/scripts/check-v4-universal-workflow-bootstrap.mjs +5 -9
- package/scripts/check-workflow-taxonomy.mjs +6 -0
- package/scripts/generate-channel-build-workflow.mjs +2 -1
- package/scripts/generate-channel-promotion-workflow.mjs +4 -3
- package/scripts/generate-site-bundle.mjs +11 -11
- package/scripts/generate-v4-universal-workflow-facades.mjs +24 -6
- package/scripts/generate-workflow-taxonomy.mjs +25 -0
- package/scripts/maintainability-metrics.mjs +16 -5
- package/scripts/release-asset-client.mjs +90 -0
- package/scripts/release-candidate-resolver.mjs +1 -1
- package/scripts/source-verification-evidence.mjs +344 -0
- package/scripts/stable-candidate-qualification.mjs +1 -1
- package/scripts/v4-publication-settlement.mjs +207 -0
- package/scripts/v4-universal-workflow-self-dogfood.mjs +1 -1
- package/scripts/verify-version-state-delta.mjs +173 -0
- package/scripts/workflow-taxonomy.mjs +468 -0
package/docs/MAP.md
CHANGED
|
@@ -37,6 +37,7 @@ running artifact), *use* (consume / extend) - and a **status**:
|
|
|
37
37
|
| First-time repository adopter | [Golden Path](getting-started.md) | [Lifecycle Protocol](lifecycle-protocol.md) only when the generated defaults need changes |
|
|
38
38
|
| CLI operator or agent | [Generated CLI Reference](cli-reference.md) | [CLI guide](cli.md) for concepts and worked examples |
|
|
39
39
|
| Node toolkit developer | [Generated Node API Reference](node-api-reference.md) | [Core package guide](../packages/core/README.md) for recipes |
|
|
40
|
+
| Workflow contributor | [Workflow Catalog](workflow-catalog.md) | [Contribution rules](../CONTRIBUTING.md#workflow-organization) and the [exact registry](../architecture/workflow-taxonomy.json) |
|
|
40
41
|
| Build/release operator | [Reusable Build Surface](reusable-build-surface.md) | [Release Flow](release-flow.md) and [Release Passport](release-passport.md) |
|
|
41
42
|
| Product/trust reviewer | [Product Mechanism](product-mechanism.md) | [Release Passport](release-passport.md) and [KFD Support](kfd-support.md) |
|
|
42
43
|
|
package/docs/auditable-demo.md
CHANGED
|
@@ -139,7 +139,7 @@ jobs:
|
|
|
139
139
|
```
|
|
140
140
|
|
|
141
141
|
Buildchain recursively consumes this surface in
|
|
142
|
-
`.github/workflows/
|
|
142
|
+
`.github/workflows/self-build-demo-dogfood.yml` using its own exact standalone binary
|
|
143
143
|
and the beginner bootstrap scenario in `.buildchain/auditable-demo.json`.
|
|
144
144
|
|
|
145
145
|
## Authority Boundary
|
package/docs/cli.md
CHANGED
|
@@ -1044,7 +1044,7 @@ and package identity. See [`v4-adopter-delivery.md`](v4-adopter-delivery.md).
|
|
|
1044
1044
|
## npm Publish Gate
|
|
1045
1045
|
|
|
1046
1046
|
Buildchain's own npm package is published from
|
|
1047
|
-
`.github/workflows/
|
|
1047
|
+
`.github/workflows/self-release-promote.yml`, inside the same publish
|
|
1048
1048
|
transaction that promotes release refs:
|
|
1049
1049
|
|
|
1050
1050
|
- `v4.0.3-alpha.0` publishes to npm with dist-tag `alpha`.
|
|
@@ -1070,9 +1070,9 @@ Before the first real release, configure npm Trusted Publishing for:
|
|
|
1070
1070
|
|
|
1071
1071
|
- package: `@kungfu-tech/buildchain`
|
|
1072
1072
|
- repository: `kungfu-systems/buildchain`
|
|
1073
|
-
- workflow: `.github/workflows/
|
|
1073
|
+
- workflow: `.github/workflows/self-release-promote.yml`
|
|
1074
1074
|
|
|
1075
1075
|
No npm package is published by manual dispatch or ordinary branch builds.
|
|
1076
|
-
Manual dispatch on `.github/workflows/npm-
|
|
1076
|
+
Manual dispatch on `.github/workflows/self-release-npm-dry-run.yml` remains dry-run only, so
|
|
1077
1077
|
maintainers can verify package contents and npm publish shape before opening or
|
|
1078
1078
|
merging the release PR.
|
|
@@ -506,7 +506,7 @@ shows the same exact PR head is already queued again, so an earlier queue event
|
|
|
506
506
|
cannot close a newer active Warrant generation.
|
|
507
507
|
|
|
508
508
|
Buildchain uses the same contract for its own protected dev line through
|
|
509
|
-
`
|
|
509
|
+
`self-ops-dev-delivery.yml`. The manual caller requires the exact PR head and
|
|
510
510
|
semantic source roots, accepts an optional reusable native proof, keeps both
|
|
511
511
|
the durable public selector and explicit runtime input on `v4-alpha`, selects
|
|
512
512
|
`delivery-warrant-mode: required`, and targets GitHub Merge Queue. It does not
|
|
@@ -158,9 +158,9 @@ to plans, reports, receipts, summaries, or artifacts.
|
|
|
158
158
|
|
|
159
159
|
Buildchain dogfoods the reusable contract through three thin callers:
|
|
160
160
|
|
|
161
|
-
- `
|
|
162
|
-
- `
|
|
163
|
-
- `
|
|
161
|
+
- `self-ops-housekeeping-daily.yml` uses a 30-day window and a 10-action cap;
|
|
162
|
+
- `self-ops-housekeeping-weekly.yml` uses a 45-day window and a 20-action cap;
|
|
163
|
+
- `self-ops-housekeeping-monthly.yml` uses a 60-day window and a 50-action cap.
|
|
164
164
|
|
|
165
165
|
All three schedules run unattended apply with repository-wide mainline
|
|
166
166
|
discovery. They delete only exact merged heads from the positive temporary
|
|
@@ -76,7 +76,7 @@ invalid.
|
|
|
76
76
|
|
|
77
77
|
## Public self-dogfood and adoption
|
|
78
78
|
|
|
79
|
-
`.github/workflows/
|
|
79
|
+
`.github/workflows/self-build-public-consumer-dogfood.yml` remains the exact thin
|
|
80
80
|
consumer of the public `v4-stage-capsule-canary.yml@v4-alpha` contract. Its
|
|
81
81
|
declared `lifecycle.verify` runs `pnpm run check`, so the same public path
|
|
82
82
|
executes pure recovery tests that inject a transient durable-state write
|
|
@@ -31,7 +31,7 @@ Target: `./packages/core/index.js`. Public symbols: 636.
|
|
|
31
31
|
| `abortReleaseActivationTransaction` | function: function abortReleaseActivationTransaction(transaction, reason) | transaction, reason | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | may-write-or-invoke-external-actions | `import { abortReleaseActivationTransaction } from "@kungfu-tech/buildchain";` | `packages/core/release-activation-transaction.js:277` |
|
|
32
32
|
| `AGENT_INDEX_CONTRACT` | constant: const AGENT_INDEX_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { AGENT_INDEX_CONTRACT } from "@kungfu-tech/buildchain";` | `packages/core/release-passport.js:54` |
|
|
33
33
|
| `aggregateBuildFacts` | function: function aggregateBuildFacts({ cwd = process.cwd(), productId = "", moduleFacts = [], artifacts = [], now = nowIso(), } = {}) | { cwd = process.cwd(), productId = "", moduleFacts = [], artifacts = [], now = nowIso(), } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | subprocess | `import { aggregateBuildFacts } from "@kungfu-tech/buildchain";` | `packages/core/build-facts.js:466` |
|
|
34
|
-
| `aggregateControllerReceipts` | function: function aggregateControllerReceipts({ plans = [], receipts = [] } = {}) | { plans = [], receipts = [] } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { aggregateControllerReceipts } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:
|
|
34
|
+
| `aggregateControllerReceipts` | function: function aggregateControllerReceipts({ plans = [], receipts = [] } = {}) | { plans = [], receipts = [] } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { aggregateControllerReceipts } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:452` |
|
|
35
35
|
| `ANCHORED_VERSION_MATERIAL_CONTRACT` | constant: const ANCHORED_VERSION_MATERIAL_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { ANCHORED_VERSION_MATERIAL_CONTRACT } from "@kungfu-tech/buildchain";` | `packages/core/anchored-version-material.js:15` |
|
|
36
36
|
| `appendBuildchainLogEvent` | function: function appendBuildchainLogEvent(filePath, event) | filePath, event | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | local-filesystem-write | `import { appendBuildchainLogEvent } from "@kungfu-tech/buildchain";` | `packages/core/logging.js:67` |
|
|
37
37
|
| `applyGitHubHousekeeperPlan` | function: async function applyGitHubHousekeeperPlan({ client, plan, dryRun = true, priorReceipt, appliedAt = new Date().toISOString(), staleDays = DEFAULT_STALE_DAYS, maxActions = DEFAULT_MAX_ACTIONS, }) | { client, plan, dryRun = true, priorReceipt, appliedAt = new Date().toISOString(), staleDays = DEFAULT_STALE_DAYS, maxActions = DEFAULT_MAX_ACTIONS, } | Promise<unknown> | Errors from called operations may propagate; no narrower throw contract is declared in source. | may-write-or-invoke-external-actions | `import { applyGitHubHousekeeperPlan } from "@kungfu-tech/buildchain";` | `packages/core/engineering-housekeeper-github.js:615` |
|
|
@@ -117,7 +117,7 @@ Target: `./packages/core/index.js`. Public symbols: 636.
|
|
|
117
117
|
| `BUILDCHAIN_VERSION_PIN_PATH` | constant: const BUILDCHAIN_VERSION_PIN_PATH | none | value | Import does not declare a throw contract. | none-on-import | `import { BUILDCHAIN_VERSION_PIN_PATH } from "@kungfu-tech/buildchain";` | `packages/core/buildchain-layout.js:5` |
|
|
118
118
|
| `BUILDCHAIN_WORKFLOW_FRICTION_ISSUE_CONTRACT` | constant: const BUILDCHAIN_WORKFLOW_FRICTION_ISSUE_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { BUILDCHAIN_WORKFLOW_FRICTION_ISSUE_CONTRACT } from "@kungfu-tech/buildchain";` | `packages/core/issue-reporting.js:5` |
|
|
119
119
|
| `buildchainKfdClaims` | constant: const buildchainKfdClaims | none | value | Import does not declare a throw contract. | none-on-import | `import { buildchainKfdClaims } from "@kungfu-tech/buildchain";` | `packages/core/kfd.js:896` |
|
|
120
|
-
| `buildchainPublicationAuthorityDescriptors` | function: function buildchainPublicationAuthorityDescriptors() |
|
|
120
|
+
| `buildchainPublicationAuthorityDescriptors` | function: function buildchainPublicationAuthorityDescriptors({ root = process.cwd() } = {}) | { root = process.cwd() } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { buildchainPublicationAuthorityDescriptors } from "@kungfu-tech/buildchain";` | `packages/core/buildchain-publication-authority.js:65` |
|
|
121
121
|
| `buildConsumerIssueReport` | function: function buildConsumerIssueReport(options = {}) | options = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { buildConsumerIssueReport } from "@kungfu-tech/buildchain";` | `packages/core/issue-reporting.js:104` |
|
|
122
122
|
| `buildFactsDigest` | function: function buildFactsDigest(value) | value | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | local-filesystem-write, subprocess | `import { buildFactsDigest } from "@kungfu-tech/buildchain";` | `packages/core/build-facts.js:45` |
|
|
123
123
|
| `buildWorkflowFrictionIssueReport` | function: function buildWorkflowFrictionIssueReport(options = {}) | options = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { buildWorkflowFrictionIssueReport } from "@kungfu-tech/buildchain";` | `packages/core/issue-reporting.js:199` |
|
|
@@ -188,15 +188,15 @@ Target: `./packages/core/index.js`. Public symbols: 636.
|
|
|
188
188
|
| `createBuildchainKfdSurfaceRegistry` | function: function createBuildchainKfdSurfaceRegistry({ root = process.cwd() } = {}) | { root = process.cwd() } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createBuildchainKfdSurfaceRegistry } from "@kungfu-tech/buildchain";` | `packages/core/buildchain-kfd-claims.js:411` |
|
|
189
189
|
| `createBuildchainLayoutDiscovery` | function: function createBuildchainLayoutDiscovery({ cwd = process.cwd(), buildchainVersion = "", } = {}) | { cwd = process.cwd(), buildchainVersion = "", } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createBuildchainLayoutDiscovery } from "@kungfu-tech/buildchain";` | `packages/core/buildchain-layout.js:99` |
|
|
190
190
|
| `createBuildchainLogger` | function: function createBuildchainLogger(options = {}) | options = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | subprocess | `import { createBuildchainLogger } from "@kungfu-tech/buildchain";` | `packages/core/logging.js:300` |
|
|
191
|
-
| `createBuildchainPublicationAuthorityRegistry` | function: function createBuildchainPublicationAuthorityRegistry({ root = process.cwd() } = {}) | { root = process.cwd() } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createBuildchainPublicationAuthorityRegistry } from "@kungfu-tech/buildchain";` | `packages/core/buildchain-publication-authority.js:
|
|
191
|
+
| `createBuildchainPublicationAuthorityRegistry` | function: function createBuildchainPublicationAuthorityRegistry({ root = process.cwd() } = {}) | { root = process.cwd() } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createBuildchainPublicationAuthorityRegistry } from "@kungfu-tech/buildchain";` | `packages/core/buildchain-publication-authority.js:104` |
|
|
192
192
|
| `createBuildchainPublicClaimDefinitions` | function: function createBuildchainPublicClaimDefinitions() | none | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createBuildchainPublicClaimDefinitions } from "@kungfu-tech/buildchain";` | `packages/core/buildchain-kfd-claims.js:226` |
|
|
193
193
|
| `createCacheEvidenceSet` | function: function createCacheEvidenceSet({ repository, sourceCommit, sourceTree = "", runtimeCommit = "", platform, operations = [], } = {}) | { repository, sourceCommit, sourceTree = "", runtimeCommit = "", platform, operations = [], } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createCacheEvidenceSet } from "@kungfu-tech/buildchain";` | `packages/core/cache-evidence.js:244` |
|
|
194
194
|
| `createCacheOperationReceipt` | function: function createCacheOperationReceipt({ operationId, operation, provider, producer, platform, cacheKey, cacheRoot, outcome, bindings = {}, metrics, evidence, } = {}) | { operationId, operation, provider, producer, platform, cacheKey, cacheRoot, outcome, bindings = {}, metrics, evidence, } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createCacheOperationReceipt } from "@kungfu-tech/buildchain";` | `packages/core/cache-evidence.js:169` |
|
|
195
195
|
| `createCandidateTimeline` | function: function createCandidateTimeline({ candidate = {}, events = [], generatedAt, } = {}) | { candidate = {}, events = [], generatedAt, } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createCandidateTimeline } from "@kungfu-tech/buildchain";` | `packages/core/candidate-timeline.js:381` |
|
|
196
196
|
| `createConsumerPublicationDecision` | function: function createConsumerPublicationDecision({ capability, gateAggregate, decision, predicateId, predicateDigest, evidence = {}, now = new Date(), } = {}) | { capability, gateAggregate, decision, predicateId, predicateDigest, evidence = {}, now = new Date(), } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createConsumerPublicationDecision } from "@kungfu-tech/buildchain";` | `packages/core/publication-authority.js:991` |
|
|
197
|
-
| `createControllerPlan` | function: function createControllerPlan({ descriptor, source = {}, runtime = {}, inputs = {} } = {}) | { descriptor, source = {}, runtime = {}, inputs = {} } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerPlan } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:
|
|
198
|
-
| `createControllerReceipt` | function: function createControllerReceipt({ plan, stages = [], evidence = [], reason = undefined, artifact = "" } = {}) | { plan, stages = [], evidence = [], reason = undefined, artifact = "" } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerReceipt } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:
|
|
199
|
-
| `createControllerReceiptReference` | function: function createControllerReceiptReference(receipt) | receipt | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerReceiptReference } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:
|
|
197
|
+
| `createControllerPlan` | function: function createControllerPlan({ descriptor, source = {}, runtime = {}, inputs = {} } = {}) | { descriptor, source = {}, runtime = {}, inputs = {} } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerPlan } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:290` |
|
|
198
|
+
| `createControllerReceipt` | function: function createControllerReceipt({ plan, stages = [], evidence = [], reason = undefined, artifact = "" } = {}) | { plan, stages = [], evidence = [], reason = undefined, artifact = "" } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerReceipt } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:366` |
|
|
199
|
+
| `createControllerReceiptReference` | function: function createControllerReceiptReference(receipt) | receipt | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerReceiptReference } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:494` |
|
|
200
200
|
| `createControllerRegistry` | function: function createControllerRegistry({ workflows = [] } = {}) | { workflows = [] } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerRegistry } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:197` |
|
|
201
201
|
| `createDiagnosticsArtifact` | function: function createDiagnosticsArtifact({ cwd = process.cwd(), logPath = "", artifactPaths = [], cacheDirs = [], lifecycleObservability = undefined, processSamples = [], processSummary = undefined, requestedParallelism = 0, sourceCheckout = undefined, compilerCachePreparation = undefined, links = {}, } = {}) | { cwd = process.cwd(), logPath = "", artifactPaths = [], cacheDirs = [], lifecycleObservability = undefined, processSamples = [], processSummary = undefined, requestedParallelism = 0, sourceCheckout = undefined, compilerCachePreparation = undefined, links = {}, } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createDiagnosticsArtifact } from "@kungfu-tech/buildchain";` | `packages/core/diagnostics.js:1408` |
|
|
202
202
|
| `createEngineeringHousekeeperPlan` | function: function createEngineeringHousekeeperPlan({ repository, target, branches = [], pullRequests = [], policy = {}, observedAt, }) | { repository, target, branches = [], pullRequests = [], policy = {}, observedAt, } | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createEngineeringHousekeeperPlan } from "@kungfu-tech/buildchain";` | `packages/core/engineering-housekeeper.js:170` |
|
|
@@ -393,7 +393,7 @@ Target: `./packages/core/index.js`. Public symbols: 636.
|
|
|
393
393
|
| `normalizeBuildchainConfig` | function: function normalizeBuildchainConfig(config) | config | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { normalizeBuildchainConfig } from "@kungfu-tech/buildchain";` | `packages/core/buildchain-config.js:206` |
|
|
394
394
|
| `normalizeBuildchainLogEvent` | function: function normalizeBuildchainLogEvent(input = {}, defaults = {}) | input = {}, defaults = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { normalizeBuildchainLogEvent } from "@kungfu-tech/buildchain";` | `packages/core/logging.js:45` |
|
|
395
395
|
| `normalizeCandidateTimelineEvent` | function: function normalizeCandidateTimelineEvent(input = {}) | input = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { normalizeCandidateTimelineEvent } from "@kungfu-tech/buildchain";` | `packages/core/candidate-timeline.js:74` |
|
|
396
|
-
| `normalizeControllerReceiptReferences` | function: function normalizeControllerReceiptReferences({ receipts = [], references = [], expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {}) | { receipts = [], references = [], expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { normalizeControllerReceiptReferences } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:
|
|
396
|
+
| `normalizeControllerReceiptReferences` | function: function normalizeControllerReceiptReferences({ receipts = [], references = [], expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {}) | { receipts = [], references = [], expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { normalizeControllerReceiptReferences } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:535` |
|
|
397
397
|
| `normalizeGitHubArtifactAttestationPolicy` | function: function normalizeGitHubArtifactAttestationPolicy(value) | value | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { normalizeGitHubArtifactAttestationPolicy } from "@kungfu-tech/buildchain";` | `packages/core/github-artifact-attestation.js:158` |
|
|
398
398
|
| `normalizeGithubBranchProtectionSnapshot` | function: function normalizeGithubBranchProtectionSnapshot(protection = {}) | protection = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { normalizeGithubBranchProtectionSnapshot } from "@kungfu-tech/buildchain";` | `packages/core/github-governance-authority.js:1028` |
|
|
399
399
|
| `normalizeGithubRulesetSnapshot` | function: function normalizeGithubRulesetSnapshot(ruleset = {}) | ruleset = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { normalizeGithubRulesetSnapshot } from "@kungfu-tech/buildchain";` | `packages/core/github-governance-authority.js:1098` |
|
|
@@ -606,9 +606,9 @@ Target: `./packages/core/index.js`. Public symbols: 636.
|
|
|
606
606
|
| `validateArtifactSigningRequest` | function: function validateArtifactSigningRequest(request) | request | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { validateArtifactSigningRequest } from "@kungfu-tech/buildchain";` | `packages/core/artifact-signing.js:352` |
|
|
607
607
|
| `validateArtifactSigningResult` | function: function validateArtifactSigningResult(result, { request, receipt } = {}) | result, { request, receipt } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { validateArtifactSigningResult } from "@kungfu-tech/buildchain";` | `packages/core/artifact-signing-result.js:147` |
|
|
608
608
|
| `validateBuildchainConfig` | function: function validateBuildchainConfig(cwd = process.cwd(), { requireConfig = true, requireVersionState = false, requireLifecycleStages = [], } = {}) | cwd = process.cwd(), { requireConfig = true, requireVersionState = false, requireLifecycleStages = [], } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { validateBuildchainConfig } from "@kungfu-tech/buildchain";` | `packages/core/buildchain-config.js:1691` |
|
|
609
|
-
| `validateControllerPlan` | function: function validateControllerPlan(plan) | plan | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerPlan } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:
|
|
610
|
-
| `validateControllerReceipt` | function: function validateControllerReceipt(receipt, { plan = undefined, expectedSourceSha = "", expectedRuntimeSha = "", expectedPlanDigest = "", } = {}) | receipt, { plan = undefined, expectedSourceSha = "", expectedRuntimeSha = "", expectedPlanDigest = "", } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerReceipt } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:
|
|
611
|
-
| `validateControllerReceiptReference` | function: function validateControllerReceiptReference(reference, { expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {}) | reference, { expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerReceiptReference } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:
|
|
609
|
+
| `validateControllerPlan` | function: function validateControllerPlan(plan) | plan | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerPlan } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:328` |
|
|
610
|
+
| `validateControllerReceipt` | function: function validateControllerReceipt(receipt, { plan = undefined, expectedSourceSha = "", expectedRuntimeSha = "", expectedPlanDigest = "", } = {}) | receipt, { plan = undefined, expectedSourceSha = "", expectedRuntimeSha = "", expectedPlanDigest = "", } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerReceipt } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:426` |
|
|
611
|
+
| `validateControllerReceiptReference` | function: function validateControllerReceiptReference(reference, { expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {}) | reference, { expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerReceiptReference } from "@kungfu-tech/buildchain";` | `packages/core/controller-evidence.js:508` |
|
|
612
612
|
| `validateKfd1ReleaseGateEvidence` | function: function validateKfd1ReleaseGateEvidence(section, { metadata = resolveKfd1Metadata() } = {}) | section, { metadata = resolveKfd1Metadata() } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateKfd1ReleaseGateEvidence } from "@kungfu-tech/buildchain";` | `packages/core/kfd-gate.js:1337` |
|
|
613
613
|
| `validateKfd2ProductClaimsRegistry` | function: function validateKfd2ProductClaimsRegistry(registry = {}) | registry = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { validateKfd2ProductClaimsRegistry } from "@kungfu-tech/buildchain";` | `packages/core/kfd2-product-claims.js:152` |
|
|
614
614
|
| `validateKfd3CollaborationInterfaceReleaseGateEvidence` | function: function validateKfd3CollaborationInterfaceReleaseGateEvidence(section, { metadata = resolveKfd3Metadata() } = {}) | section, { metadata = resolveKfd3Metadata() } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateKfd3CollaborationInterfaceReleaseGateEvidence } from "@kungfu-tech/buildchain";` | `packages/core/kfd-gate.js:1470` |
|
|
@@ -720,7 +720,7 @@ Target: `./packages/core/index.js`. Public symbols: 636.
|
|
|
720
720
|
| `abortReleaseActivationTransaction` | function: function abortReleaseActivationTransaction(transaction, reason) | transaction, reason | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | may-write-or-invoke-external-actions | `import { abortReleaseActivationTransaction } from "@kungfu-tech/buildchain/core";` | `packages/core/release-activation-transaction.js:277` |
|
|
721
721
|
| `AGENT_INDEX_CONTRACT` | constant: const AGENT_INDEX_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { AGENT_INDEX_CONTRACT } from "@kungfu-tech/buildchain/core";` | `packages/core/release-passport.js:54` |
|
|
722
722
|
| `aggregateBuildFacts` | function: function aggregateBuildFacts({ cwd = process.cwd(), productId = "", moduleFacts = [], artifacts = [], now = nowIso(), } = {}) | { cwd = process.cwd(), productId = "", moduleFacts = [], artifacts = [], now = nowIso(), } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | subprocess | `import { aggregateBuildFacts } from "@kungfu-tech/buildchain/core";` | `packages/core/build-facts.js:466` |
|
|
723
|
-
| `aggregateControllerReceipts` | function: function aggregateControllerReceipts({ plans = [], receipts = [] } = {}) | { plans = [], receipts = [] } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { aggregateControllerReceipts } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:
|
|
723
|
+
| `aggregateControllerReceipts` | function: function aggregateControllerReceipts({ plans = [], receipts = [] } = {}) | { plans = [], receipts = [] } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { aggregateControllerReceipts } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:452` |
|
|
724
724
|
| `ANCHORED_VERSION_MATERIAL_CONTRACT` | constant: const ANCHORED_VERSION_MATERIAL_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { ANCHORED_VERSION_MATERIAL_CONTRACT } from "@kungfu-tech/buildchain/core";` | `packages/core/anchored-version-material.js:15` |
|
|
725
725
|
| `appendBuildchainLogEvent` | function: function appendBuildchainLogEvent(filePath, event) | filePath, event | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | local-filesystem-write | `import { appendBuildchainLogEvent } from "@kungfu-tech/buildchain/core";` | `packages/core/logging.js:67` |
|
|
726
726
|
| `applyGitHubHousekeeperPlan` | function: async function applyGitHubHousekeeperPlan({ client, plan, dryRun = true, priorReceipt, appliedAt = new Date().toISOString(), staleDays = DEFAULT_STALE_DAYS, maxActions = DEFAULT_MAX_ACTIONS, }) | { client, plan, dryRun = true, priorReceipt, appliedAt = new Date().toISOString(), staleDays = DEFAULT_STALE_DAYS, maxActions = DEFAULT_MAX_ACTIONS, } | Promise<unknown> | Errors from called operations may propagate; no narrower throw contract is declared in source. | may-write-or-invoke-external-actions | `import { applyGitHubHousekeeperPlan } from "@kungfu-tech/buildchain/core";` | `packages/core/engineering-housekeeper-github.js:615` |
|
|
@@ -806,7 +806,7 @@ Target: `./packages/core/index.js`. Public symbols: 636.
|
|
|
806
806
|
| `BUILDCHAIN_VERSION_PIN_PATH` | constant: const BUILDCHAIN_VERSION_PIN_PATH | none | value | Import does not declare a throw contract. | none-on-import | `import { BUILDCHAIN_VERSION_PIN_PATH } from "@kungfu-tech/buildchain/core";` | `packages/core/buildchain-layout.js:5` |
|
|
807
807
|
| `BUILDCHAIN_WORKFLOW_FRICTION_ISSUE_CONTRACT` | constant: const BUILDCHAIN_WORKFLOW_FRICTION_ISSUE_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { BUILDCHAIN_WORKFLOW_FRICTION_ISSUE_CONTRACT } from "@kungfu-tech/buildchain/core";` | `packages/core/issue-reporting.js:5` |
|
|
808
808
|
| `buildchainKfdClaims` | constant: const buildchainKfdClaims | none | value | Import does not declare a throw contract. | none-on-import | `import { buildchainKfdClaims } from "@kungfu-tech/buildchain/core";` | `packages/core/kfd.js:896` |
|
|
809
|
-
| `buildchainPublicationAuthorityDescriptors` | function: function buildchainPublicationAuthorityDescriptors() |
|
|
809
|
+
| `buildchainPublicationAuthorityDescriptors` | function: function buildchainPublicationAuthorityDescriptors({ root = process.cwd() } = {}) | { root = process.cwd() } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { buildchainPublicationAuthorityDescriptors } from "@kungfu-tech/buildchain/core";` | `packages/core/buildchain-publication-authority.js:65` |
|
|
810
810
|
| `buildConsumerIssueReport` | function: function buildConsumerIssueReport(options = {}) | options = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { buildConsumerIssueReport } from "@kungfu-tech/buildchain/core";` | `packages/core/issue-reporting.js:104` |
|
|
811
811
|
| `buildFactsDigest` | function: function buildFactsDigest(value) | value | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | local-filesystem-write, subprocess | `import { buildFactsDigest } from "@kungfu-tech/buildchain/core";` | `packages/core/build-facts.js:45` |
|
|
812
812
|
| `buildWorkflowFrictionIssueReport` | function: function buildWorkflowFrictionIssueReport(options = {}) | options = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { buildWorkflowFrictionIssueReport } from "@kungfu-tech/buildchain/core";` | `packages/core/issue-reporting.js:199` |
|
|
@@ -877,15 +877,15 @@ Target: `./packages/core/index.js`. Public symbols: 636.
|
|
|
877
877
|
| `createBuildchainKfdSurfaceRegistry` | function: function createBuildchainKfdSurfaceRegistry({ root = process.cwd() } = {}) | { root = process.cwd() } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createBuildchainKfdSurfaceRegistry } from "@kungfu-tech/buildchain/core";` | `packages/core/buildchain-kfd-claims.js:411` |
|
|
878
878
|
| `createBuildchainLayoutDiscovery` | function: function createBuildchainLayoutDiscovery({ cwd = process.cwd(), buildchainVersion = "", } = {}) | { cwd = process.cwd(), buildchainVersion = "", } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createBuildchainLayoutDiscovery } from "@kungfu-tech/buildchain/core";` | `packages/core/buildchain-layout.js:99` |
|
|
879
879
|
| `createBuildchainLogger` | function: function createBuildchainLogger(options = {}) | options = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | subprocess | `import { createBuildchainLogger } from "@kungfu-tech/buildchain/core";` | `packages/core/logging.js:300` |
|
|
880
|
-
| `createBuildchainPublicationAuthorityRegistry` | function: function createBuildchainPublicationAuthorityRegistry({ root = process.cwd() } = {}) | { root = process.cwd() } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createBuildchainPublicationAuthorityRegistry } from "@kungfu-tech/buildchain/core";` | `packages/core/buildchain-publication-authority.js:
|
|
880
|
+
| `createBuildchainPublicationAuthorityRegistry` | function: function createBuildchainPublicationAuthorityRegistry({ root = process.cwd() } = {}) | { root = process.cwd() } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createBuildchainPublicationAuthorityRegistry } from "@kungfu-tech/buildchain/core";` | `packages/core/buildchain-publication-authority.js:104` |
|
|
881
881
|
| `createBuildchainPublicClaimDefinitions` | function: function createBuildchainPublicClaimDefinitions() | none | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createBuildchainPublicClaimDefinitions } from "@kungfu-tech/buildchain/core";` | `packages/core/buildchain-kfd-claims.js:226` |
|
|
882
882
|
| `createCacheEvidenceSet` | function: function createCacheEvidenceSet({ repository, sourceCommit, sourceTree = "", runtimeCommit = "", platform, operations = [], } = {}) | { repository, sourceCommit, sourceTree = "", runtimeCommit = "", platform, operations = [], } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createCacheEvidenceSet } from "@kungfu-tech/buildchain/core";` | `packages/core/cache-evidence.js:244` |
|
|
883
883
|
| `createCacheOperationReceipt` | function: function createCacheOperationReceipt({ operationId, operation, provider, producer, platform, cacheKey, cacheRoot, outcome, bindings = {}, metrics, evidence, } = {}) | { operationId, operation, provider, producer, platform, cacheKey, cacheRoot, outcome, bindings = {}, metrics, evidence, } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createCacheOperationReceipt } from "@kungfu-tech/buildchain/core";` | `packages/core/cache-evidence.js:169` |
|
|
884
884
|
| `createCandidateTimeline` | function: function createCandidateTimeline({ candidate = {}, events = [], generatedAt, } = {}) | { candidate = {}, events = [], generatedAt, } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createCandidateTimeline } from "@kungfu-tech/buildchain/core";` | `packages/core/candidate-timeline.js:381` |
|
|
885
885
|
| `createConsumerPublicationDecision` | function: function createConsumerPublicationDecision({ capability, gateAggregate, decision, predicateId, predicateDigest, evidence = {}, now = new Date(), } = {}) | { capability, gateAggregate, decision, predicateId, predicateDigest, evidence = {}, now = new Date(), } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createConsumerPublicationDecision } from "@kungfu-tech/buildchain/core";` | `packages/core/publication-authority.js:991` |
|
|
886
|
-
| `createControllerPlan` | function: function createControllerPlan({ descriptor, source = {}, runtime = {}, inputs = {} } = {}) | { descriptor, source = {}, runtime = {}, inputs = {} } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerPlan } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:
|
|
887
|
-
| `createControllerReceipt` | function: function createControllerReceipt({ plan, stages = [], evidence = [], reason = undefined, artifact = "" } = {}) | { plan, stages = [], evidence = [], reason = undefined, artifact = "" } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerReceipt } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:
|
|
888
|
-
| `createControllerReceiptReference` | function: function createControllerReceiptReference(receipt) | receipt | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerReceiptReference } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:
|
|
886
|
+
| `createControllerPlan` | function: function createControllerPlan({ descriptor, source = {}, runtime = {}, inputs = {} } = {}) | { descriptor, source = {}, runtime = {}, inputs = {} } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerPlan } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:290` |
|
|
887
|
+
| `createControllerReceipt` | function: function createControllerReceipt({ plan, stages = [], evidence = [], reason = undefined, artifact = "" } = {}) | { plan, stages = [], evidence = [], reason = undefined, artifact = "" } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerReceipt } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:366` |
|
|
888
|
+
| `createControllerReceiptReference` | function: function createControllerReceiptReference(receipt) | receipt | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerReceiptReference } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:494` |
|
|
889
889
|
| `createControllerRegistry` | function: function createControllerRegistry({ workflows = [] } = {}) | { workflows = [] } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerRegistry } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:197` |
|
|
890
890
|
| `createDiagnosticsArtifact` | function: function createDiagnosticsArtifact({ cwd = process.cwd(), logPath = "", artifactPaths = [], cacheDirs = [], lifecycleObservability = undefined, processSamples = [], processSummary = undefined, requestedParallelism = 0, sourceCheckout = undefined, compilerCachePreparation = undefined, links = {}, } = {}) | { cwd = process.cwd(), logPath = "", artifactPaths = [], cacheDirs = [], lifecycleObservability = undefined, processSamples = [], processSummary = undefined, requestedParallelism = 0, sourceCheckout = undefined, compilerCachePreparation = undefined, links = {}, } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createDiagnosticsArtifact } from "@kungfu-tech/buildchain/core";` | `packages/core/diagnostics.js:1408` |
|
|
891
891
|
| `createEngineeringHousekeeperPlan` | function: function createEngineeringHousekeeperPlan({ repository, target, branches = [], pullRequests = [], policy = {}, observedAt, }) | { repository, target, branches = [], pullRequests = [], policy = {}, observedAt, } | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createEngineeringHousekeeperPlan } from "@kungfu-tech/buildchain/core";` | `packages/core/engineering-housekeeper.js:170` |
|
|
@@ -1082,7 +1082,7 @@ Target: `./packages/core/index.js`. Public symbols: 636.
|
|
|
1082
1082
|
| `normalizeBuildchainConfig` | function: function normalizeBuildchainConfig(config) | config | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { normalizeBuildchainConfig } from "@kungfu-tech/buildchain/core";` | `packages/core/buildchain-config.js:206` |
|
|
1083
1083
|
| `normalizeBuildchainLogEvent` | function: function normalizeBuildchainLogEvent(input = {}, defaults = {}) | input = {}, defaults = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { normalizeBuildchainLogEvent } from "@kungfu-tech/buildchain/core";` | `packages/core/logging.js:45` |
|
|
1084
1084
|
| `normalizeCandidateTimelineEvent` | function: function normalizeCandidateTimelineEvent(input = {}) | input = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { normalizeCandidateTimelineEvent } from "@kungfu-tech/buildchain/core";` | `packages/core/candidate-timeline.js:74` |
|
|
1085
|
-
| `normalizeControllerReceiptReferences` | function: function normalizeControllerReceiptReferences({ receipts = [], references = [], expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {}) | { receipts = [], references = [], expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { normalizeControllerReceiptReferences } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:
|
|
1085
|
+
| `normalizeControllerReceiptReferences` | function: function normalizeControllerReceiptReferences({ receipts = [], references = [], expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {}) | { receipts = [], references = [], expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { normalizeControllerReceiptReferences } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:535` |
|
|
1086
1086
|
| `normalizeGitHubArtifactAttestationPolicy` | function: function normalizeGitHubArtifactAttestationPolicy(value) | value | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { normalizeGitHubArtifactAttestationPolicy } from "@kungfu-tech/buildchain/core";` | `packages/core/github-artifact-attestation.js:158` |
|
|
1087
1087
|
| `normalizeGithubBranchProtectionSnapshot` | function: function normalizeGithubBranchProtectionSnapshot(protection = {}) | protection = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { normalizeGithubBranchProtectionSnapshot } from "@kungfu-tech/buildchain/core";` | `packages/core/github-governance-authority.js:1028` |
|
|
1088
1088
|
| `normalizeGithubRulesetSnapshot` | function: function normalizeGithubRulesetSnapshot(ruleset = {}) | ruleset = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { normalizeGithubRulesetSnapshot } from "@kungfu-tech/buildchain/core";` | `packages/core/github-governance-authority.js:1098` |
|
|
@@ -1295,9 +1295,9 @@ Target: `./packages/core/index.js`. Public symbols: 636.
|
|
|
1295
1295
|
| `validateArtifactSigningRequest` | function: function validateArtifactSigningRequest(request) | request | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { validateArtifactSigningRequest } from "@kungfu-tech/buildchain/core";` | `packages/core/artifact-signing.js:352` |
|
|
1296
1296
|
| `validateArtifactSigningResult` | function: function validateArtifactSigningResult(result, { request, receipt } = {}) | result, { request, receipt } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { validateArtifactSigningResult } from "@kungfu-tech/buildchain/core";` | `packages/core/artifact-signing-result.js:147` |
|
|
1297
1297
|
| `validateBuildchainConfig` | function: function validateBuildchainConfig(cwd = process.cwd(), { requireConfig = true, requireVersionState = false, requireLifecycleStages = [], } = {}) | cwd = process.cwd(), { requireConfig = true, requireVersionState = false, requireLifecycleStages = [], } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { validateBuildchainConfig } from "@kungfu-tech/buildchain/core";` | `packages/core/buildchain-config.js:1691` |
|
|
1298
|
-
| `validateControllerPlan` | function: function validateControllerPlan(plan) | plan | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerPlan } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:
|
|
1299
|
-
| `validateControllerReceipt` | function: function validateControllerReceipt(receipt, { plan = undefined, expectedSourceSha = "", expectedRuntimeSha = "", expectedPlanDigest = "", } = {}) | receipt, { plan = undefined, expectedSourceSha = "", expectedRuntimeSha = "", expectedPlanDigest = "", } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerReceipt } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:
|
|
1300
|
-
| `validateControllerReceiptReference` | function: function validateControllerReceiptReference(reference, { expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {}) | reference, { expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerReceiptReference } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:
|
|
1298
|
+
| `validateControllerPlan` | function: function validateControllerPlan(plan) | plan | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerPlan } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:328` |
|
|
1299
|
+
| `validateControllerReceipt` | function: function validateControllerReceipt(receipt, { plan = undefined, expectedSourceSha = "", expectedRuntimeSha = "", expectedPlanDigest = "", } = {}) | receipt, { plan = undefined, expectedSourceSha = "", expectedRuntimeSha = "", expectedPlanDigest = "", } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerReceipt } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:426` |
|
|
1300
|
+
| `validateControllerReceiptReference` | function: function validateControllerReceiptReference(reference, { expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {}) | reference, { expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerReceiptReference } from "@kungfu-tech/buildchain/core";` | `packages/core/controller-evidence.js:508` |
|
|
1301
1301
|
| `validateKfd1ReleaseGateEvidence` | function: function validateKfd1ReleaseGateEvidence(section, { metadata = resolveKfd1Metadata() } = {}) | section, { metadata = resolveKfd1Metadata() } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateKfd1ReleaseGateEvidence } from "@kungfu-tech/buildchain/core";` | `packages/core/kfd-gate.js:1337` |
|
|
1302
1302
|
| `validateKfd2ProductClaimsRegistry` | function: function validateKfd2ProductClaimsRegistry(registry = {}) | registry = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { validateKfd2ProductClaimsRegistry } from "@kungfu-tech/buildchain/core";` | `packages/core/kfd2-product-claims.js:152` |
|
|
1303
1303
|
| `validateKfd3CollaborationInterfaceReleaseGateEvidence` | function: function validateKfd3CollaborationInterfaceReleaseGateEvidence(section, { metadata = resolveKfd3Metadata() } = {}) | section, { metadata = resolveKfd3Metadata() } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateKfd3CollaborationInterfaceReleaseGateEvidence } from "@kungfu-tech/buildchain/core";` | `packages/core/kfd-gate.js:1470` |
|
|
@@ -1592,20 +1592,20 @@ Target: `./packages/core/controller-evidence.js`. Public symbols: 14.
|
|
|
1592
1592
|
|
|
1593
1593
|
| Symbol | Kind and signature | Parameters | Return | Errors | Side effects | Example | Source |
|
|
1594
1594
|
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1595
|
-
| `aggregateControllerReceipts` | function: function aggregateControllerReceipts({ plans = [], receipts = [] } = {}) | { plans = [], receipts = [] } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { aggregateControllerReceipts } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:
|
|
1595
|
+
| `aggregateControllerReceipts` | function: function aggregateControllerReceipts({ plans = [], receipts = [] } = {}) | { plans = [], receipts = [] } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { aggregateControllerReceipts } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:452` |
|
|
1596
1596
|
| `BUILDCHAIN_CONTROLLER_AGGREGATE_CONTRACT` | constant: const BUILDCHAIN_CONTROLLER_AGGREGATE_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { BUILDCHAIN_CONTROLLER_AGGREGATE_CONTRACT } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:6` |
|
|
1597
1597
|
| `BUILDCHAIN_CONTROLLER_DESCRIPTOR_CONTRACT` | constant: const BUILDCHAIN_CONTROLLER_DESCRIPTOR_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { BUILDCHAIN_CONTROLLER_DESCRIPTOR_CONTRACT } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:4` |
|
|
1598
1598
|
| `BUILDCHAIN_CONTROLLER_EVIDENCE_CONTRACT` | constant: const BUILDCHAIN_CONTROLLER_EVIDENCE_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { BUILDCHAIN_CONTROLLER_EVIDENCE_CONTRACT } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:3` |
|
|
1599
1599
|
| `BUILDCHAIN_CONTROLLER_REGISTRY_CONTRACT` | constant: const BUILDCHAIN_CONTROLLER_REGISTRY_CONTRACT | none | value | Import does not declare a throw contract. | none-on-import | `import { BUILDCHAIN_CONTROLLER_REGISTRY_CONTRACT } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:5` |
|
|
1600
1600
|
| `controllerEvidenceDigest` | function: function controllerEvidenceDigest(value) | value | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { controllerEvidenceDigest } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:151` |
|
|
1601
|
-
| `createControllerPlan` | function: function createControllerPlan({ descriptor, source = {}, runtime = {}, inputs = {} } = {}) | { descriptor, source = {}, runtime = {}, inputs = {} } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerPlan } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:
|
|
1602
|
-
| `createControllerReceipt` | function: function createControllerReceipt({ plan, stages = [], evidence = [], reason = undefined, artifact = "" } = {}) | { plan, stages = [], evidence = [], reason = undefined, artifact = "" } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerReceipt } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:
|
|
1603
|
-
| `createControllerReceiptReference` | function: function createControllerReceiptReference(receipt) | receipt | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerReceiptReference } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:
|
|
1601
|
+
| `createControllerPlan` | function: function createControllerPlan({ descriptor, source = {}, runtime = {}, inputs = {} } = {}) | { descriptor, source = {}, runtime = {}, inputs = {} } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerPlan } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:290` |
|
|
1602
|
+
| `createControllerReceipt` | function: function createControllerReceipt({ plan, stages = [], evidence = [], reason = undefined, artifact = "" } = {}) | { plan, stages = [], evidence = [], reason = undefined, artifact = "" } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerReceipt } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:366` |
|
|
1603
|
+
| `createControllerReceiptReference` | function: function createControllerReceiptReference(receipt) | receipt | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerReceiptReference } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:494` |
|
|
1604
1604
|
| `createControllerRegistry` | function: function createControllerRegistry({ workflows = [] } = {}) | { workflows = [] } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { createControllerRegistry } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:197` |
|
|
1605
|
-
| `normalizeControllerReceiptReferences` | function: function normalizeControllerReceiptReferences({ receipts = [], references = [], expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {}) | { receipts = [], references = [], expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { normalizeControllerReceiptReferences } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:
|
|
1606
|
-
| `validateControllerPlan` | function: function validateControllerPlan(plan) | plan | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerPlan } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:
|
|
1607
|
-
| `validateControllerReceipt` | function: function validateControllerReceipt(receipt, { plan = undefined, expectedSourceSha = "", expectedRuntimeSha = "", expectedPlanDigest = "", } = {}) | receipt, { plan = undefined, expectedSourceSha = "", expectedRuntimeSha = "", expectedPlanDigest = "", } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerReceipt } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:
|
|
1608
|
-
| `validateControllerReceiptReference` | function: function validateControllerReceiptReference(reference, { expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {}) | reference, { expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerReceiptReference } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:
|
|
1605
|
+
| `normalizeControllerReceiptReferences` | function: function normalizeControllerReceiptReferences({ receipts = [], references = [], expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {}) | { receipts = [], references = [], expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { normalizeControllerReceiptReferences } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:535` |
|
|
1606
|
+
| `validateControllerPlan` | function: function validateControllerPlan(plan) | plan | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerPlan } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:328` |
|
|
1607
|
+
| `validateControllerReceipt` | function: function validateControllerReceipt(receipt, { plan = undefined, expectedSourceSha = "", expectedRuntimeSha = "", expectedPlanDigest = "", } = {}) | receipt, { plan = undefined, expectedSourceSha = "", expectedRuntimeSha = "", expectedPlanDigest = "", } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerReceipt } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:426` |
|
|
1608
|
+
| `validateControllerReceiptReference` | function: function validateControllerReceiptReference(reference, { expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {}) | reference, { expectedSourceSha = "", acceptedSourceShas = [], expectedRuntimeSha = "", requirePassed = false, } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { validateControllerReceiptReference } from "@kungfu-tech/buildchain/controller-evidence";` | `packages/core/controller-evidence.js:508` |
|
|
1609
1609
|
|
|
1610
1610
|
## `@kungfu-tech/buildchain/diagnostics`
|
|
1611
1611
|
|
|
@@ -2422,8 +2422,8 @@ Target: `./packages/core/buildchain-publication-authority.js`. Public symbols: 2
|
|
|
2422
2422
|
|
|
2423
2423
|
| Symbol | Kind and signature | Parameters | Return | Errors | Side effects | Example | Source |
|
|
2424
2424
|
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
2425
|
-
| `buildchainPublicationAuthorityDescriptors` | function: function buildchainPublicationAuthorityDescriptors() |
|
|
2426
|
-
| `createBuildchainPublicationAuthorityRegistry` | function: function createBuildchainPublicationAuthorityRegistry({ root = process.cwd() } = {}) | { root = process.cwd() } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createBuildchainPublicationAuthorityRegistry } from "@kungfu-tech/buildchain/buildchain-publication-authority";` | `packages/core/buildchain-publication-authority.js:
|
|
2425
|
+
| `buildchainPublicationAuthorityDescriptors` | function: function buildchainPublicationAuthorityDescriptors({ root = process.cwd() } = {}) | { root = process.cwd() } = {} | unknown | May throw an Error on rejected input or failed operations; follow the linked source contract. | none-detected-by-static-source-scan | `import { buildchainPublicationAuthorityDescriptors } from "@kungfu-tech/buildchain/buildchain-publication-authority";` | `packages/core/buildchain-publication-authority.js:65` |
|
|
2426
|
+
| `createBuildchainPublicationAuthorityRegistry` | function: function createBuildchainPublicationAuthorityRegistry({ root = process.cwd() } = {}) | { root = process.cwd() } = {} | unknown | Errors from called operations may propagate; no narrower throw contract is declared in source. | none-detected-by-static-source-scan | `import { createBuildchainPublicationAuthorityRegistry } from "@kungfu-tech/buildchain/buildchain-publication-authority";` | `packages/core/buildchain-publication-authority.js:104` |
|
|
2427
2427
|
|
|
2428
2428
|
## `@kungfu-tech/buildchain/github-governance-authority`
|
|
2429
2429
|
|
|
@@ -227,7 +227,7 @@ buildchain audit publication-control-plane \
|
|
|
227
227
|
--source-sha <exact-merged-branch-sha> \
|
|
228
228
|
--workflow .github/workflows/release-candidate-promote.yml \
|
|
229
229
|
--workflow-ref <exact-buildchain-sha> \
|
|
230
|
-
--publisher-workflow .github/workflows/
|
|
230
|
+
--publisher-workflow .github/workflows/self-release-promote.yml \
|
|
231
231
|
--job promote \
|
|
232
232
|
--environment none
|
|
233
233
|
|
|
@@ -236,7 +236,7 @@ buildchain audit publication-control-plane \
|
|
|
236
236
|
--repository kungfu-systems/buildchain \
|
|
237
237
|
--branch dev/v3/v3.0 \
|
|
238
238
|
--workflow .github/workflows/release-candidate-promote.yml \
|
|
239
|
-
--publisher-workflow .github/workflows/
|
|
239
|
+
--publisher-workflow .github/workflows/self-release-promote.yml \
|
|
240
240
|
--job promote \
|
|
241
241
|
--environment none \
|
|
242
242
|
--npm-trust-json sanitized-npm-trust.json
|
|
@@ -265,7 +265,7 @@ in the release passport.
|
|
|
265
265
|
|
|
266
266
|
Standalone binary publication is a separate consumer capability. The promotion
|
|
267
267
|
wrapper does not assume that an npm-only repository provides
|
|
268
|
-
`.github/workflows/binary-distribution.yml`. Repositories that own that workflow
|
|
268
|
+
`.github/workflows/self-build-binary-distribution.yml`. Repositories that own that workflow
|
|
269
269
|
opt in with `standalone-binary-distribution: true`; Buildchain's self-promotion
|
|
270
270
|
does so explicitly. Once enabled, a missing or invalid binary workflow remains a
|
|
271
271
|
hard failure rather than being silently skipped.
|
|
@@ -303,7 +303,7 @@ short-lived admission JSON in repository-specific workflow code:
|
|
|
303
303
|
```yaml
|
|
304
304
|
publication-auto-admission: true
|
|
305
305
|
publication-auto-no-gate: true
|
|
306
|
-
publication-publisher-workflow-path: .github/workflows/
|
|
306
|
+
publication-publisher-workflow-path: .github/workflows/self-release-promote.yml
|
|
307
307
|
publication-product: Example Product
|
|
308
308
|
publication-target: npm:@example/product
|
|
309
309
|
publication-package-name: "@example/product"
|
|
@@ -339,7 +339,7 @@ an npm package identity:
|
|
|
339
339
|
```yaml
|
|
340
340
|
publication-auto-admission: true
|
|
341
341
|
publication-auto-no-gate: true
|
|
342
|
-
publication-publisher-workflow-path: .github/workflows/
|
|
342
|
+
publication-publisher-workflow-path: .github/workflows/self-release-promote.yml
|
|
343
343
|
publication-product: Example Binary
|
|
344
344
|
publication-target: github-release:example/example-binary
|
|
345
345
|
publication-package-name: ""
|
package/docs/release-flow.md
CHANGED
|
@@ -8,17 +8,17 @@ confidence: high
|
|
|
8
8
|
sensitivity: public
|
|
9
9
|
evidence_grade: A
|
|
10
10
|
review_state: unreviewed
|
|
11
|
-
last_reviewed: 2026-
|
|
11
|
+
last_reviewed: 2026-09-05
|
|
12
12
|
ai_provenance:
|
|
13
|
-
model_family: GPT-
|
|
13
|
+
model_family: GPT-6
|
|
14
14
|
product: Codex
|
|
15
|
-
generated_at: 2026-
|
|
15
|
+
generated_at: 2026-09-05
|
|
16
16
|
invisible_context: not asserted
|
|
17
17
|
---
|
|
18
18
|
|
|
19
19
|
# Release Flow Diagrams
|
|
20
20
|
|
|
21
|
-
This document describes
|
|
21
|
+
This document describes v4 alpha publication and the legacy v3 release flow.
|
|
22
22
|
See [Release governance](release-governance.md) for the design rationale.
|
|
23
23
|
|
|
24
24
|
## Architecture
|
|
@@ -142,7 +142,21 @@ published. Queue reconciliation runs after branch protection and before the
|
|
|
142
142
|
default-branch switch, so a failed governance apply leaves the old active line
|
|
143
143
|
in place and the idempotently created new refs can be retried.
|
|
144
144
|
|
|
145
|
-
## Alpha
|
|
145
|
+
## V4 Alpha Publication
|
|
146
|
+
|
|
147
|
+
The protected `dev/v4/v4.0 -> alpha/v4/v4.0` channel PR admits the source.
|
|
148
|
+
Publication creates the immutable `v4.0.Z-alpha.N` tag and advances the eligible
|
|
149
|
+
floating alpha refs to that published source. Its completed receipt and original
|
|
150
|
+
Release Passport remain the publication authority.
|
|
151
|
+
|
|
152
|
+
A separate protected next-development PR prepares `4.0.Z-alpha.(N+1)` on
|
|
153
|
+
`dev/v4/v4.0`. Preparing that version does not publish another exact tag or move
|
|
154
|
+
the alpha refs. A review, queue, or transient API failure in that PR leaves
|
|
155
|
+
publication complete and next-development incomplete; recovery resumes the
|
|
156
|
+
missing tail. Binary distribution has its own evidence and completion state.
|
|
157
|
+
See [What each verification proves](#what-each-verification-proves).
|
|
158
|
+
|
|
159
|
+
## Legacy V3 Alpha Promotion
|
|
146
160
|
|
|
147
161
|
```mermaid
|
|
148
162
|
sequenceDiagram
|
|
@@ -180,7 +194,7 @@ dev/vX/vX.Y
|
|
|
180
194
|
|
|
181
195
|
all point at the generated alpha version-state commit.
|
|
182
196
|
|
|
183
|
-
## Release Promotion
|
|
197
|
+
## Legacy V3 Release Promotion
|
|
184
198
|
|
|
185
199
|
```mermaid
|
|
186
200
|
sequenceDiagram
|
|
@@ -234,7 +248,7 @@ dev/vX/vX.Y
|
|
|
234
248
|
|
|
235
249
|
point at the next alpha version-state commit.
|
|
236
250
|
|
|
237
|
-
## State Machine
|
|
251
|
+
## Legacy V3 State Machine
|
|
238
252
|
|
|
239
253
|
```mermaid
|
|
240
254
|
stateDiagram-v2
|
|
@@ -249,28 +263,28 @@ stateDiagram-v2
|
|
|
249
263
|
|
|
250
264
|
The same minor line can loop through this state machine many times.
|
|
251
265
|
|
|
252
|
-
## Version Examples
|
|
266
|
+
## Legacy V3 Version Examples
|
|
253
267
|
|
|
254
|
-
Assume `
|
|
255
|
-
`alpha/
|
|
268
|
+
Assume `v3.0.2-alpha.1` has been tested and a maintainer merges
|
|
269
|
+
`alpha/v3/v3.0 -> release/v3/v3.0`.
|
|
256
270
|
|
|
257
271
|
Buildchain should produce:
|
|
258
272
|
|
|
259
273
|
```text
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
release/
|
|
274
|
+
v3.0.2 exact production tag
|
|
275
|
+
v3.0 floating minor tag
|
|
276
|
+
v3 floating major tag when v3.0 is the selected major line
|
|
277
|
+
release/v3/v3.0 production channel branch
|
|
264
278
|
```
|
|
265
279
|
|
|
266
280
|
It should also prepare:
|
|
267
281
|
|
|
268
282
|
```text
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
alpha/
|
|
273
|
-
dev/
|
|
283
|
+
v3.0.3-alpha.0 exact next alpha tag
|
|
284
|
+
v3.0-alpha floating alpha tag
|
|
285
|
+
v3-alpha floating major alpha tag when v3.0 is the highest published alpha minor
|
|
286
|
+
alpha/v3/v3.0 alpha channel branch
|
|
287
|
+
dev/v3/v3.0 development channel branch
|
|
274
288
|
```
|
|
275
289
|
|
|
276
290
|
This is expected behavior. A production release closes one patch and opens the
|
|
@@ -333,3 +347,37 @@ the current target ref contains or corresponds to the recorded
|
|
|
333
347
|
`release_material_sha`. It must then tolerate exact tags, dev refs, or alpha
|
|
334
348
|
refs that have already moved and continue filling any missing floating tags
|
|
335
349
|
before writing the transaction state as `complete`.
|
|
350
|
+
|
|
351
|
+
## What each verification proves
|
|
352
|
+
|
|
353
|
+
| Evidence | Meaning and reuse boundary |
|
|
354
|
+
| --- | --- |
|
|
355
|
+
| Full source execution | `pnpm run check` runs source tests, Rust gates, policy checks and generated artifact checks. Each Node test file runs once; the focused `check:v4-contracts` command still includes its 22 contract test files. |
|
|
356
|
+
| Merge queue proof | A successful full merge-group run seals its exact source SHA/tree, workflow, check definition, WASM runtime, toolchain versions, dependency locks, hosted image and platform. The proof expires after six hours and is verified against the completed GitHub run attempt and artifact archive digest. |
|
|
357
|
+
| Push reuse | A Dev push may reuse that exact full execution. Its summary links the original run and proof; it does not claim to have rerun tests. Missing, failed, expired, ambiguous, tampered or unavailable evidence executes the full check. |
|
|
358
|
+
| Version-state projection | Requires an authenticated full-source proof for the exact base and an ancestor-bound delta containing only declared version files and derived material. The base generator reconstructs every tracked byte, including derived digests. Any source, workflow, lock, configuration, file-mode or unexplained output change executes the full check. Projection results cannot issue a new full-source proof. |
|
|
359
|
+
| Generated version-state check | `Version-state projection / <context>` describes generated material. It never uses a protected full-source check's name on v4. Required PR lineage, review and merge queue gates remain independent. |
|
|
360
|
+
| Candidate qualification | Validates the sealed candidate, admitted runtime, source lock and publication authority. Source test reuse grants no provider mutation authority. |
|
|
361
|
+
| Provider readback and settlement | Verifies actual tags, npm integrity, release assets and native receipt roots. Publication, next-development and binary distribution are reported separately. |
|
|
362
|
+
|
|
363
|
+
The protected `check` context keeps its stable name while step names and summaries
|
|
364
|
+
identify full execution, exact proof reuse, or generated projection. The two
|
|
365
|
+
consumer-policy checks execute inside the root check, without duplicate Verify
|
|
366
|
+
pre-steps. The root check uses the Rust-only contract command before its complete
|
|
367
|
+
Node suite, removing 22 repeated test-file executions without removing tests.
|
|
368
|
+
|
|
369
|
+
The public v4 consumer remains a thin floating-channel caller with both locks.
|
|
370
|
+
Linux, macOS and Windows each execute the declared lifecycle, clean-process
|
|
371
|
+
restore and runtime/source binding. Their platform and called-runtime identities
|
|
372
|
+
differ from the source Verify lane, so a Linux source proof cannot replace them.
|
|
373
|
+
The Stage Capsule checkpoint matrix also retains all three platforms. Shared
|
|
374
|
+
platform-independent logic lives in the root check and public runtime; there is
|
|
375
|
+
no Buildchain-only dogfood exception or persisted candidate runtime selector.
|
|
376
|
+
|
|
377
|
+
A local Linux sample on 2026-09-05 measured the original full check at
|
|
378
|
+
`a41c00a0c0b2dbd57c238cd9b326b167a1d27ca8` at 148.772 seconds and the updated check
|
|
379
|
+
at 126.731 seconds, both exit 0. The original plan executed 226 Node test files
|
|
380
|
+
plus 22 duplicate selections; the updated plan executes all 231 files once,
|
|
381
|
+
including the new negative and recovery tests (2,047 tests). These are individual
|
|
382
|
+
local measurements with existing tool caches; hosted queue/push reuse is proved
|
|
383
|
+
separately by the exact run attempt and evidence roots in each job summary.
|
|
@@ -77,8 +77,8 @@ line.
|
|
|
77
77
|
|
|
78
78
|
Buildchain implements the same governance loop with:
|
|
79
79
|
|
|
80
|
-
- `.github/workflows/release-verify.yml` for PR verification;
|
|
81
|
-
- `.github/workflows/
|
|
80
|
+
- `.github/workflows/self-build-release-verify-compat.yml` for PR verification;
|
|
81
|
+
- `.github/workflows/self-release-promote.yml` for post-verify ref
|
|
82
82
|
promotion; this workflow dogfoods the declarative
|
|
83
83
|
`release-candidate-promote.yml` wrapper and does not hand-wire resolver,
|
|
84
84
|
artifact download, publish-gate, or promote action steps;
|
|
@@ -246,7 +246,7 @@ while exact tags and SHAs remain the reproducible audit choice.
|
|
|
246
246
|
### Buildchain Alpha Self-Dogfood
|
|
247
247
|
|
|
248
248
|
Buildchain continuously consumes its own current major alpha through
|
|
249
|
-
`.github/workflows/
|
|
249
|
+
`.github/workflows/self-build-alpha-dogfood.yml`. Both lanes call the
|
|
250
250
|
released channel router at `build.yml@v3-alpha`. The auto lane must resolve
|
|
251
251
|
`v3-alpha`; the explicit stable lane must resolve `v3`. Both execute the same
|
|
252
252
|
declared install, build, and verify fixture, proving that a single consumer
|
|
@@ -295,7 +295,7 @@ resolution and evidence comparison.
|
|
|
295
295
|
|
|
296
296
|
This is a post-publication consumer canary, not a release bootstrap. Source
|
|
297
297
|
verification still runs the current commit, and
|
|
298
|
-
`
|
|
298
|
+
`self-release-promote.yml` still passes the verified exact SHA into the
|
|
299
299
|
promotion workflow. Patrol, dev-merge, repair, and promotion defaults remain on
|
|
300
300
|
stable or exact refs so a broken alpha cannot prevent Buildchain from publishing
|
|
301
301
|
its fix. When Buildchain opens a new major, inventory validation requires this
|
|
@@ -526,7 +526,7 @@ The repository policy can be declared once instead of repeated as CLI flags:
|
|
|
526
526
|
```toml
|
|
527
527
|
[governance.dev.merge_queue]
|
|
528
528
|
mode = "inherit"
|
|
529
|
-
required_workflows = [".github/workflows/verify.yml"]
|
|
529
|
+
required_workflows = [".github/workflows/self-build-verify.yml"]
|
|
530
530
|
```
|
|
531
531
|
|
|
532
532
|
`enabled` explicitly requires Buildchain to create or update an exact-branch
|
|
@@ -632,7 +632,7 @@ binds the caller commit/tree and both workflow digests.
|
|
|
632
632
|
```sh
|
|
633
633
|
node .buildchain/workflow-contract-runtime/scripts/workflow-call-contract.mjs check \
|
|
634
634
|
--caller-root . \
|
|
635
|
-
--caller-workflow .github/workflows/release-new-version.yml \
|
|
635
|
+
--caller-workflow .github/workflows/self-release-new-version-compat.yml \
|
|
636
636
|
--caller-repository kungfu-systems/example \
|
|
637
637
|
--job promote \
|
|
638
638
|
--callee-root .buildchain/workflow-contract-runtime \
|
|
@@ -1009,8 +1009,8 @@ v3.0.1-alpha.0
|
|
|
1009
1009
|
When debugging or extending release behavior, read in this order:
|
|
1010
1010
|
|
|
1011
1011
|
1. `docs/release-flow.md`
|
|
1012
|
-
2. `.github/workflows/release-verify.yml`
|
|
1013
|
-
3. `.github/workflows/
|
|
1012
|
+
2. `.github/workflows/self-build-release-verify-compat.yml`
|
|
1013
|
+
3. `.github/workflows/self-release-promote.yml`
|
|
1014
1014
|
4. `.github/workflows/release-candidate-promote.yml`
|
|
1015
1015
|
5. `.github/workflows/.release-candidate-promote.yml`
|
|
1016
1016
|
6. `actions/promote-buildchain-ref/README.md`
|
|
@@ -115,7 +115,7 @@ stable use and `@v4-alpha` during prerelease evaluation. It resolves the exact
|
|
|
115
115
|
called-workflow SHA, enforces floating selector plus dual-lock consumer
|
|
116
116
|
admission, and runs the same CLI on Linux, macOS, and Windows. Buildchain
|
|
117
117
|
dogfoods it through the thin
|
|
118
|
-
[`
|
|
118
|
+
[`self-build-adopter-dogfood.yml`](../.github/workflows/self-build-adopter-dogfood.yml)
|
|
119
119
|
caller, which contains no steps or local orchestration and persists only the
|
|
120
120
|
floating `@v4-alpha` selector.
|
|
121
121
|
|