Documentation Map
Start here. Find the question you have; follow it to the document that answers it. This map is meant to be readable by both a person skimming for the right doc and an agent grounding a specific claim.
Each row carries a plane - why (intent / rationale), verify (trust the running artifact), use (consume / extend) - and a status:
stable- current and holds.draft- exists, rough or incomplete.to write- planned; the material exists but is not yet a single doc.retired- intentionally not part of the active Buildchain v2 surface.
Capability Coverage
This package should be usable by an agent from the npm artifact alone. The
machine-readable dist/site/ bundle is the first fact source; the Markdown
manuals explain those facts and give operator examples.
dist/site/capability-registry.json is the capability navigation entrypoint.
It groups the public surface into stable product areas so sites and agents do
not have to infer structure from file names. Each page, manual, CLI command,
workflow, action, and Node API export also carries a capabilityGroup,
audience, and maturity field in its own registry.
| Capability group | Primary facts | Primary manuals |
|---|---|---|
| Getting Started | capability-registry.json, product-mechanism.json |
install.md, product-mechanism.md, cli.md |
| Release Passport and Trust | release-model.json, artifact-schemas.json, publication-authority-registry.json, kfd-claims.json |
release-passport.md, publication-authority.md, release-candidate.md, publish-transaction.md, binary-distribution.md |
| Reusable Build and Lifecycle | workflow-registry.json, controller-registry.json, release-model.json |
reusable-build-surface.md, controller-evidence.md, shifu-gate-profiles.md, lifecycle-protocol.md |
| KFD Trust and Surface Closure | kfd-claims.json, public-surface-audit.json, cli-registry.json, node-api-registry.json |
kfd-support.md, release-passport.md |
| Site Bundle, Web Surfaces, and Propagation | buildchain-site.json, site-manifest.json, page-registry.json, release-model.json |
site-bundle-contract.md, web-surface-deployments.md, release-propagation.md |
| Publication Artifacts | publication-registry.json, workflow-registry.json, node-api-registry.json, manual-registry.json, kungfu-buildchain-publication-artifact-registry |
publication-artifacts.md, reusable-build-surface.md |
| Distribution Indexes and Badges | badge-endpoint-registry.json, node-api-registry.json, manual-registry.json |
readme-badges.md, homebrew.md |
| Build Facts, Observability, and Diagnostics | cli-registry.json, node-api-registry.json, lifecycle artifacts |
build-facts.md, toolkit-observability.md, consumer-issue-reporting.md |
| Governance, Versioning, and Runtime Drift | buildchain-contract.json, workflow-registry.json, release-model.json |
github-governance-authority.md, release-governance.md, release-flow.md, versioning.md, runtime-train-validation.md, cli.md |
| CLI and Node API Reference | cli-registry.json, node-api-registry.json, workflow-registry.json, manual-registry.json |
cli.md, ../packages/core/README.md |
| Capability | Machine-readable entry | Manual entry |
|---|---|---|
| Capability-grouped KFD navigation | dist/site/capability-registry.json, dist/site/page-registry.json, dist/site/manual-registry.json, dist/site/cli-registry.json, dist/site/node-api-registry.json |
this map, site-bundle-contract.md, kfd-support.md |
| KFD-1 / KFD-2 / KFD-3 release-passport gates | dist/site/kfd-claims.json, dist/site/buildchain-contract.json, dist/site/artifact-schemas.json |
release-passport.md |
| Product invariant Passport release gate | buildchain.release.json#invariantPassports, dist/site/buildchain-contract.json |
release-passport.md |
| KFD-3 public surface reverse audit | dist/site/public-surface-audit.json, dist/site/cli-registry.json, dist/site/workflow-registry.json, dist/site/page-registry.json |
cli.md, site-bundle-contract.md |
| KFD-1 / KFD-2 / KFD-3 first-class CLI and Node API | .buildchain/kfd/kfd-3/surfaces.json, dist/site/kfd-claims.json, buildchain.release.json, KFD schemas from @kungfu-tech/kfd |
kfd-support.md, cli.md |
| Declarative KFD Agent Hub adapter conformance and Passport evidence | .buildchain/kfd/agent-hub.json, .buildchain/artifacts/kfd-agent-hub/evidence.json, buildchain.release.json#kfdAgentHub |
kfd-agent-hub.md |
Floating @v3 drift detection and compatibility issues |
dist/site/buildchain-contract.json |
reusable-build-surface.md |
| npm publish transactions, evidence, dist-tags, and recovery | dist/site/release-model.json, dist/site/artifact-schemas.json |
publish-transaction.md |
| Git/source/version/module/product build facts | dist/site/node-api-registry.json, dist/site/cli-registry.json, kungfu-buildchain-module-build-facts, kungfu-buildchain-product-build-facts |
build-facts.md |
| GitHub Release passport/evidence publication | dist/site/release-model.json, dist/site/artifact-schemas.json |
release-governance.md, release-candidate.md |
| GitHub ownership, effective protection, plan capability, and managed-zone governance receipts | dist/site/node-api-registry.json, dist/site/cli-registry.json, kungfu-buildchain-github-governance-receipt |
github-governance-authority.md |
| release propagation for package/publication/site chains | dist/site/release-model.json |
release-propagation.md |
| publication artifact manifests, immutable archive registries, source bundles, and paper repository workflows | dist/site/publication-registry.json, dist/site/workflow-registry.json, dist/site/node-api-registry.json, kungfu-buildchain-publication-artifact-manifest, kungfu-buildchain-publication-artifact-registry |
publication-artifacts.md |
| Generated badge bundles, README badge blocks, and badge facts | dist/site/node-api-registry.json, dist/site/manual-registry.json, kungfu-buildchain-badge-bundle-facts, kungfu-buildchain-readme-badge-facts |
readme-badges.md |
| Homebrew tap distribution indexes | dist/site/node-api-registry.json, dist/site/buildchain-contract.json |
homebrew.md |
| Buildchain CLI manual | dist/site/cli-registry.json, dist/site/manual-registry.json |
cli.md |
| Node API / package exports | dist/site/node-api-registry.json, dist/site/release-provenance.json |
cli.md |
dist/site/kfd-claims.json is generated from
packages/core/buildchain-kfd-claims.js. Treat that module and JSON file as the
source claim registry; this map and the manuals explain those claims but do not
replace them.
Map
| Your question | Document | Plane | Status |
|---|---|---|---|
| What is Buildchain, in one idea? | ../README.md |
- | stable |
| Why is Buildchain a Release Passport mechanism rather than a generic workflow collection? | product-mechanism.md |
why | stable |
| How do agents and contributors enter this repo? | ../AGENTS.md + ../CONTRIBUTING.md |
use | stable |
| How do I install a standalone binary or npm package? | install.md |
use | stable |
How do I run the buildchain CLI? |
cli.md |
use | stable |
| How do I import Buildchain toolkit APIs from JavaScript build code? | toolkit-observability.md + ../packages/core/README.md |
use | stable |
| How do I initialize a new repository? | cli.md + lifecycle-protocol.md |
use | stable |
| Why does Buildchain use branch-driven release governance? | release-governance.md |
why | stable |
| How do protected dev branches and scheduled ready-PR merging work? | release-governance.md |
use | stable |
| How do slow required checks land reliably on a busy dev channel? | release-governance.md + cli.md |
use | preview |
| How do I run daily, weekly, or monthly repository patrols? | release-governance.md |
use | stable |
| How does Buildchain decide patch, minor, and major release lines? | versioning.md |
why | stable |
| What exact branch/tag state machine runs on alpha, release, and major gate? | release-flow.md |
verify | stable |
| What did Buildchain migrate or retire from old action repositories? | migration-inventory.md |
verify | stable |
| What is the active action and workflow source of truth? | ownership.md |
verify | stable |
| How do I declare version files and custom lifecycle commands? | lifecycle-protocol.md |
use | stable |
| How does publish evidence, recovery, and finalization work? | publish-transaction.md |
verify | stable |
| How do I collect and verify module/product build facts from Git source, version files, and outputs? | build-facts.md + cli.md |
use/verify | stable |
| How do I publish or verify release passport artifacts? | release-passport.md |
use | stable |
| How do I seal exact artifact, identity, lifecycle, and KFD assessment roots for KFX admission? | artifact-verification-envelope.md |
verify/use | preview |
| How is product publication authority sealed to an exact workflow, runner, control plane, nonce, and artifact? | publication-authority.md |
verify | preview |
| How are GitHub ownership, independent review, effective protection, and plan capability audited fail-closed? | github-governance-authority.md |
verify | preview |
| How do I gate release artifacts with KFD-1 contract-world witnesses? | release-passport.md |
verify/use | stable |
| How do I declare, render, and audit product KFD-2 release trust claims? | kfd-support.md + release-passport.md + cli.md |
verify/use | stable |
| How do I gate KFD-3 collaboration-interface releases? | release-passport.md + cli.md |
verify/use | stable |
| How do I detect, register, audit, witness, or query KFD-3 product surfaces? | kfd-support.md + cli.md |
verify/use | stable |
| How do I adopt the KFD Agent Hub profile with one declaration and one adapter? | kfd-agent-hub.md |
verify/use | preview |
How do I keep @v3 floating refs while detecting Buildchain contract drift? |
reusable-build-surface.md |
verify/use | stable |
| How do reusable workflows bind controller intent, source/runtime identity, outcomes, and receipt evidence? | controller-evidence.md |
verify/use | draft |
| How do I propagate finalized upstream releases to downstream package/site PRs? | release-propagation.md |
use | preview |
| How do paper or report repositories publish PDFs, metadata, source bundles, site-consumable manifests, npm packages, and GitHub Releases? | publication-artifacts.md |
use | stable |
| How do I generate KFD / Release Passport badge bundles without hand-maintaining Markdown? | readme-badges.md + cli.md |
use | stable |
| How do I generate and verify a Homebrew tap from release passport evidence? | homebrew.md + cli.md |
use/verify | stable |
| How do I prove a PR-stage reusable build is the artifact source promoted later? | release-candidate.md + reusable-build-surface.md |
verify | stable |
| Why are binary release assets archived by platform, and where is the single bundle? | binary-distribution.md |
verify | stable |
| How do I add timestamped logs inside build scripts? | toolkit-observability.md |
use | stable |
| What package-owned facts should buildchain.libkungfu.dev render? | site-bundle-contract.md |
use | stable |
| How do I call the reusable build workflow? | reusable-build-surface.md |
use | stable |
| How does Buildchain schedule and aggregate a project-owned Shifu Gate profile? | shifu-gate-profiles.md |
use/verify | draft |
| How do exact build artifacts become qualified, transcript-traceable demo media? | auditable-demo.md |
use/verify | draft |
| How do I use one build job that follows alpha during development and stable for releases? | reusable-build-surface.md |
use | preview |
| How do self-hosted runners relay large artifacts through S3 before GitHub artifacts? | reusable-build-surface.md |
use | stable |
| How do self-hosted runners reuse local Git checkout caches without weakening source locks? | reusable-build-surface.md |
use | stable |
| How do ephemeral GitHub-hosted runners share exact dependency or compiler caches without fixed-runner affinity? | cli.md |
use/verify | preview |
How do I validate an unreleased Buildchain runtime train while keeping @v3? |
runtime-train-validation.md |
use | stable |
| How do I automatically qualify alpha candidates and publish the newest non-revoked qualified candidate at a fixed window? | stable-candidate-patrol.md |
use | preview |
| How do I deploy a site/app preview, staging, or production surface? | web-surface-deployments.md |
use | stable |
| How do I publish observed infrastructure contracts for downstream consumers? | infra-contract.md |
use | preview |
| How do I use the active actions directly? | ../actions/validate-config/README.md, ../actions/run-lifecycle/README.md, ../actions/promote-buildchain-ref/README.md, ../actions/report-buildchain-issue/README.md |
use | stable |
| How can a consumer workflow report a Buildchain-owned failure back to Buildchain? | consumer-issue-reporting.md + ../actions/report-buildchain-issue/README.md |
use | stable |
| What do the fixture repositories demonstrate? | ../fixtures/libnode-shaped/README.md, ../fixtures/publish-transaction-shaped/README.md, ../fixtures/web-surface-shaped/README.md, ../fixtures/publication-artifact-shaped/README.md |
verify | stable |
| What license and contribution terms apply? | ../LICENSE + ../LICENSE-POLICY.md |
use | stable |
| What trademark, official-service, and provider-compliance boundaries apply? | ../TRADEMARK.md + ../ACCEPTABLE_USE.md + ../PROVIDER_COMPLIANCE.md |
use | stable |
| How do I report a vulnerability? | ../SECURITY.md |
use | stable |
Also asking about
- ABV / old workflows / old action repositories ->
release-governance.mdandmigration-inventory.md. - v2 / v3-alpha / v2.0 / v2.0-alpha / exact tags / floating tags ->
release-governance.mdandrelease-flow.md. - Buildchain self-dogfood / released alpha canary / stable compatibility lane ->
release-governance.md. - qualified alpha ledger / scheduled stable selection / hold and revoke ->
stable-candidate-patrol.md. - v2.1 vs v2.2 / when to open a new minor line ->
versioning.md. - dry-run / what would happen if this channel PR merges ->
cli.mdandrelease-flow.md. - protected dev branches / scheduled ready-PR merge / daily-weekly-monthly patrol ->
release-governance.mdandrelease-governance.md. - pnpm / npm / yarn / package-manager adapters ->
lifecycle-protocol.md. - pip / Conan / CMake / custom commands ->
lifecycle-protocol.mdandreusable-build-surface.md. - libnode / native artifacts / self-hosted runner matrix ->
reusable-build-surface.mdand../fixtures/libnode-shaped/README.md. - S3 artifact relay / self-hosted runner artifact transfer ->
reusable-build-surface.md. - local Git checkout cache / self-hosted source transport ->
reusable-build-surface.md. - runtime train validation / temporary
buildchain-refoverride ->runtime-train-validation.mdandreusable-build-surface.md. - consumer workflow feedback / automatic Buildchain GitHub issues ->
consumer-issue-reporting.md. - PR-stage RC artifacts / promote-only release candidates ->
release-candidate.mdandreusable-build-surface.md. - infra contract / observed infrastructure outputs / downstream contract propagation ->
infra-contract.md. - standalone binary install / platform archives / GitHub Release bundle ->
install.md,binary-distribution.md, andrelease-passport.md. - Trusted Publishing / npm / publish evidence / recovery ->
cli.mdandpublish-transaction.md. - Git source digest / module build facts / product build facts / legacy
Kungfu build info ->
build-facts.mdandcli.md. - release chains / upstream package or publication artifact as source of truth / site synchronization ->
release-propagation.md. - paper repositories / PDFs / publication manifests / immutable archive registries / source bundles ->
publication-artifacts.md. - README status badges / KFD badge bundles / badge facts JSON ->
readme-badges.mdandcli.md. - Homebrew taps / distribution indexes / Formula drift checks ->
homebrew.mdandcli.md. - KFD-1 contract worlds / byte-for-byte release gates ->
release-passport.md. - KFD-2 public release trust claim audit ->
release-passport.md. - KFD-3 collaboration-interface / agent-facing control surface closure ->
release-passport.md. - floating
@v3/ contract lock / compatible drift issue ->reusable-build-surface.md. - GitHub Release passport / binary assets / artifact evidence / agent release checks ->
release-passport.md,binary-distribution.md, andcli.md. - Buildchain logging / timestamps / consumer build phase timing ->
toolkit-observability.mdfor JavaScript API imports, andcli.mdfor workflow or shell command usage. - buildchain.libkungfu.dev / package-owned site facts ->
site-bundle-contract.md. - sites / web previews / staging / production gates ->
web-surface-deployments.md. - trademark / fork / official service / provider compliance / release
evidence boundary ->
../TRADEMARK.md,../ACCEPTABLE_USE.md, and../PROVIDER_COMPLIANCE.md.
How this map is maintained
- A document becomes a row here when it is a stable entrypoint for a user, contributor, or workflow consumer.
- A row’s status must never claim more than the artifact delivers.
whydocuments explain intent and design pressure;verifyandusedocuments should state what is guaranteed, where to verify it, and the current maturity of that guarantee.