Testing and release
Validation layers
Run the complete Rust gate:
cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo test --all-targets
Run the documentation gate:
cd docs-site
npm ci
npm run typecheck
npm run build
Also exercise agentbriefer init, generate, sync, doctor, and the skill lifecycle in a temporary
project when user-visible workflows change.
Release checklist
- Set the same semantic version in
Cargo.toml, the changelog, and the release notes. - Verify generated snapshots and documentation examples against the current clap help.
- Build docs and confirm stable plus Next navigation, local search, sitemap,
llms.txt, andllms-full.txt. - Run the Rust validation gate on a clean checkout.
- Review
dist-workspace.tomltargets and installers. - Create and push the matching Git tag only after the release commit is approved.
- Verify the GitHub release archives, checksums, shell and PowerShell installers, and npm package.
- Smoke-test
agentbriefer --versionandagentbriefer skill listthrough at least one published installation path.
The generated cargo-dist workflow builds macOS ARM64/x64, Linux ARM64/x64, and Windows x64 artifacts, then publishes GitHub-hosted installers and the npm package. Tagging and publishing change external state and remain a maintainer-controlled action.
Versioned docs
Stable documentation is a snapshot under versioned_docs/version-<version>/. Ongoing source docs
under docs/ appear as Next. Create a new snapshot only for a real release boundary; do not edit
an old snapshot to describe later behavior.