Release process
How a version of REA FAANG is prepared, verified and published. Publishing and deploying are maintainer decisions: an agent may prepare a release and prove it locally, but must not push a tag, npm publish, or deploy the site without explicit approval.
Version sources
| Surface | Source of truth |
|---|---|
| Package version | version in package.json (mirrored in package-lock.json) |
| CLI version | REA CLI v<version> reads package.json at runtime (src/cli.js) |
| Release history | CHANGELOG.md, one section per released version |
| Tag | v<version>, matching the changelog link reference |
Nothing else stores the version, so a release is one package.json bump plus a package-lock.json update.
SemVer rules for this project
| Change | Bump |
|---|---|
| Breaking change to a CLI command, flag, output shape, or a catalog JSON Schema | major |
| New CLI command or flag, new schema field, new catalogued product, new opportunity spec or documentation surface | minor |
| Data corrections, copy and docs fixes, generator fixes that keep every interface intact, test-script repairs | patch |
While the project is on 0.x, the same mapping applies; treat the release as 0.<minor>.<patch> and bump minor for any new surface. A change to catalog data alone is a patch unless it changes the schema.
Preparing a release
- Collect the change. Move everything under
## [Unreleased]inCHANGELOG.mdinto a new## [<version>] - <YYYY-MM-DD>section, and add the[<version>]: https://github.com/EnzoVezzaro/rea-faang/releases/tag/v<version>link reference at the bottom of the file. - Bump the version.
npm version <major|minor|patch> --no-git-tag-versionupdatespackage.jsonandpackage-lock.jsonwithout creating a commit or tag, so the bump can land in the same reviewed change. - Regenerate derived output. Run
npm run skills:catalogandnpm run site:buildwhenever catalog data, skills or docs changed; the validation step fails on drift. Verify. Run every command below and record the real exit codes in the handoff artifact:
npm ci npm run validate # catalog, research, opportunities, skills, site --check npm test # 58 root tests across 5 files for f in products/*/*/package.json; do (cd "$(dirname "$f")" && npm test) || exit 1; done npm run ace -- config check # the pinned ace-proagents, not a global install npm pack --dry-run # package contents, no publish node src/cli.js --version # must print the new version
- Describe the artifact.
npm pack --dry-run --jsonlists the files and size that would be published. It must includesrc/,lib/,catalog/,research/,opportunities/,tools/,docs/,ace.mjsand the license files; a missing directory means thefileslist inpackage.jsonneeds updating. - Stop at the gate. Commit the prepared release, then wait for maintainer approval before tagging, publishing or deploying.
Publishing (maintainer only)
git tag -a v<version> -m "v<version>" && git push origin v<version>
npm publish
The site is deployed by .github/workflows/pages.yml after a successful CI run on main; the Vercel project is optional and only canonical when the build is run with REA_SITE_URL=https://rea-faang-landing.vercel.app.
What a handoff must record
- The version prepared and the changelog section that describes it.
- Exit codes for every verification command above.
- Any check that could not run, with the reason (for example no network, no
aceruntime, or a maintainer-only step). - An explicit statement that nothing was published, tagged or deployed.
Related
../CHANGELOG.md— release history and the prepared[Unreleased]section.../CONTRIBUTING.md— the contribution loop that feeds a release.../PLAN.md— workstreams and project definition of done.