Skip to content

Build(Release): Replace semantic-release and commitlint with Aronrepo 3 - #501

Merged
1aron merged 3 commits into
mainfrom
chore/aronrepo-3
Nov 7, 2026
Merged

1aron merged 3 commits into
mainfrom
chore/aronrepo-3

Conversation

@1aron

@1aron 1aron commented Nov 7, 2026

Copy link
Copy Markdown
Member

Summary

Moves commits, PR titles and releases to one resolver, Aronrepo 3, in explicit mode.

  • Commits and PR titles: the commit hook, bun run commit-check and the PR title check run aronrepo check (the PR title against the PR diff). AGENTS.md carries the generated policy block.
  • Release: bun run release runs scripts/release.mjs. Aronrepo plans the version, tag and notes from the commits since the channel's last v* tag; the existing workspace and promotion modules stage, verify (provenance and registry consumer) and promote the npm cohort in the same order as before; Aronrepo creates the GitHub release with the assets listed in aronrepo.config.js. Recovery is unchanged: release-recover.mjs and the workflow's npm recovery mode. A rerun on a tagged commit creates a missing GitHub release only after every package's channel points to the version.
  • Removed: semantic-release, @semantic-release/*, commitlint, the five @aronrepo/* v2 packages, release.config.js, commitlint.config.js, and the major-guard and notes plugins. The workspace and promotion modules drop the semantic-release- prefix and their addChannel entry points.

Release behavior

Explicit mode keeps the existing rules: only Bump(Major) releases major, and Add releases a patch. Feat/New/Update/Misc become legacy types, rejected in new commits; a minor release now needs Bump(Minor). Merging this PR releases nothing (only non-release commits since v2.0.2).

Validation

  • bun run check:release, release script tests (106), bun run test:toolchain, scripts/validation-workflow.test.mjs, check:toolchain, check:ai-context, aronrepo doctor all pass locally.
  • node scripts/release.mjs --dry-run --branch main reports no release on this branch; with a simulated Fix(Core) commit it plans v2.0.3 for all 34 packages with the expected notes.
  • The publishing path itself (npm upload, promotion, GitHub release) is not exercised until the next real release.

🤖 Generated with Claude Code

1aron and others added 3 commits November 7, 2026 10:13
Commits, PR titles and releases now follow one resolver, Aronrepo 3, in
explicit mode: only Bump(Minor) and Bump(Major) raise minor and major
versions, and a release type needs a change in a published package.

- The commit hook, `bun run commit-check` and the PR title check run
  `aronrepo check`; the PR title is checked against the PR diff.
- `bun run release` runs scripts/release.mjs. Aronrepo plans the version,
  tag and notes; the workspace and promotion modules stage, verify and
  promote the npm cohort in the same order as before; Aronrepo creates the
  GitHub release with the assets in aronrepo.config.js. A rerun on a tagged
  commit creates a missing GitHub release only after every package's
  channel points to the version. `--dry-run [--branch main]` previews it.
- semantic-release, @semantic-release/*, commitlint and the five
  @aronrepo/* v2 packages are removed with release.config.js,
  commitlint.config.js and the major guard and notes plugins; the
  workspace and promotion modules drop the semantic-release prefix and
  their addChannel entry points.
- AGENTS.md carries the generated Aronrepo policy block, and RELEASING.md
  describes the new entrypoint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`getChannel()` only sees `latest`, a prerelease channel, or `site` now, and
the OIDC note no longer names semantic-release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@1aron
1aron merged commit 5efccbb into main Nov 7, 2026
19 checks passed
@1aron
1aron deleted the chore/aronrepo-3 branch November 7, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant