1.0.0-beta.9 · exact release
Documentation system and release workflow
Source fda16de1b352 · Published v1.0.0-beta.9
Pulse documentation and the public product site have three synchronized delivery forms:
- repository Markdown for review and source-bound examples;
- installed Markdown, references, schemas, examples, and completions in the CLI package;
- a generated public homepage plus a searchable, versioned static-site artifact under
.pulse-docs-site/, with committed immutable exact-version archives for prior releases.
Canonical owners
Section titled “Canonical owners”release/pulse-release-manifest.jsonowns the release version, hosted documentation route, runtime targets, package set, support tiers, and supported entry points.release/documentation-site.jsonowns editable homepage copy, named document destinations, public navigation grouping and order, and homepage composition.release/maintenance-policy.jsonowns change classes, protected boundaries, validation selection, CODEOWNERS/label generation, and the resident-maintainer authority model.wasm/packages/cli/src/command-spec.jsowns public commands and options; it generates help, the CLI reference, and shell completions.wasm/packages/cli/src/project-config-schema.jsowns core config fields, defaults, and runtime constraints.packages/provider-fastly/src/config-schema.jsonowns Fastly provider defaults.- the diagnostic and environment catalogs own their generated references.
release/documentation-versions.jsonowns the version selector and latest alias.scripts/documentation-site/owns shared presentation tokens, the vendored Starry Night dark theme, components, browser behavior, the favicon, and the deterministic decorative Pulse field.
Do not hand-edit generated copies under wasm/packages/cli/docs, wasm/packages/cli/completions, or .pulse-docs-site. Edit the editorial manifest, canonical catalogs, Markdown, or shared site assets instead. The site directory is an ignored build artifact, not a source tree. Prior exact releases are the exception: release/documentation-site-archives/v<version>/ contains a byte-preserved site subtree created while that release is still current.
Procedure owners
Section titled “Procedure owners”| Task | Authoritative procedure |
|---|---|
| Contribute a change | Contributor workflow |
| Edit and validate docs | Update loop below |
| Inspect site presentation | Public site |
| Run tests or recover a seal | Testing Pulse |
| Understand release coverage | Release acceptance |
| Prepare, qualify and publish a release | npm publishing |
| Preserve exact-version history | Documentation versions |
| Upload and promote hosted docs | Documentation deployment |
Keep commands and recovery instructions with their owner; link to that page from other guides. Historical task packets and raw run evidence belong in Git history or retained run artifacts, not active procedures.
Update loop
Section titled “Update loop”npm run docs:syncnpm run maintainer:checknpm run docs:checknode scripts/documentation-release.cjsdocs:sync also runs maintenance-policy synchronization. It refreshes references,
package metadata, shell completions, installed documentation, ownership metadata
and source-bound examples, regenerates the allowlisted MCP context corpus before
copying bundled examples, and removes retired generated copies.
maintainer:check validates the control plane and registered test commands.
docs:check checks generated-file drift and builds/validates the hosted site in
a temporary directory. documentation-release.cjs additionally checks package,
CLI, configuration, source-link and documentation-delivery contracts. Source-link
validation includes the root contributor entry point and PR template, so stale
links there fail the same gate.
docs:site:check is the standalone hosted-site check already included in
docs:check; it need not be added to this sequence. Use npm run docs:site to
retain a local artifact or the preview adapter
for presentation work.
Delivery boundaries
Section titled “Delivery boundaries”Repository-only material under docs/internal/, retired architecture decisions,
and AGENTS.md files are excluded from hosted pages, hosted assets and installed
CLI docs by the shared source policy in scripts/documentation-system.cjs.
Generated references remain derived from their catalogs; deleting a canonical
page removes its installed copy on synchronization. Immutable prior-version
archives are preserved, not regenerated during current-document cleanup.
The Documentation workflow runs node scripts/documentation-preview.cjs.
It checks generated documentation, snippets, metadata and the MCP context corpus,
then runs the full documentation release validator. That validator builds the
site once and supplies its validated temporary directory directly to the existing
preview sealer before cleanup. The workflow uploads only a successful fresh
preview; it does not rebuild the site or consume a cached site directory.
Package, CLI, configuration, source-link, metadata, site and deployment checks
remain required. The output is .pulse-documentation-preview; this command
performs no network delivery. Local parity qualification compares its manifest
and object checksums with an independently built and sealed site:
node wasm/test/docs/assert-documentation-preview.cjs --integrationProduction delivery is a manual exact-tag operation consuming the pre-main qualified artifact; it does not rebuild or deploy through GitHub Pages. The deployment runbook owns verification, immutable uploads, npm gating and promotion. The versioning procedure owns snapshots from the exact published source before advancing the version.
Ownership and review dates
Section titled “Ownership and review dates”Contributor and handwritten maintainer pages carry a generated
pulse-doc-meta block. The
release gate requires a known owner, status, last-reviewed date, and non-expired
review-by date. Update the ownership catalog and review the page content
together; do not merely extend a date without verifying the document.
The detailed editing contract, navigation rules, hero motion requirements, and presentation-specific gates are documented in Public site and documentation presentation.