Releasing Veritas
This document is the operator checklist for cutting a release of @kontourai/veritas.
Preconditions
npm run verifypassesnpm testpassesnpm run test:coverage:checkpassesnpm run prepublishOnlypassesCHANGELOG.mdis updated- package metadata in
package.jsonis correct - any breaking changes are documented in MIGRATING.md
Release Flow
- Update
package.jsonversion. - Update
CHANGELOG.md. - Merge the release commit to
main. - Create and push a tag matching the package version, for example
v0.1.0. - Let
.github/workflows/publish-npm.ymlpublish the package. - Confirm the published tarball contents and README rendering on npm.
Tarball Audit
Before the first publish of a release candidate, run:
npm run test:coverage:check
npm pack --dry-run
Check:
- the tarball only contains intended files from the
filesallowlist - no local
.veritas/evidence/or other disposable artifacts are included - package size is still reasonable for a CLI-plus-docs package
Trusted Publishing
The repo publishes through npm trusted publishing via GitHub Actions OIDC. Configure npmjs.com to trust:
- organization or user:
kontourai - repository:
veritas - workflow filename:
publish-npm.yml
If that OIDC path is unavailable, use the fallback path documented in docs/guides/publish-and-release.md.