Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs: describe releases per batch in the contributor docs

garrytan6d1c0520d61b
diff --git a/CLAUDE.md b/CLAUDE.md
index fb4a46cbce..c827b35d2d 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -365,9 +365,9 @@ four numeric segments are required first. Historical 3-segment versions
(e.g. "v0.21.0 Code Cathedral"); update only when the README's marketing
copy is intentionally being refreshed, NOT on every micro/patch bump.
-**Always use PATCH without asking**, including the initial release choice;
-override `/ship`'s MINOR/MAJOR prompts. Auto-allocate past collisions, sync all
-version stamps and the PR title, then report the number. This changes numbering
+**PRs carry no version** ([releases per batch](docs/RELEASING.md#releases-per-batch)):
+/ship writes a `changelog.d` fragment, and the release PR picks the next PATCH
+(never MINOR or MAJOR) and syncs every stamp. This changes numbering
only: scope, merge, deployment, paid-work and validation approvals still apply.
CI rejects mismatched `VERSION`/`package.json` or versions not newer than master.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 900450fc14..19f44a8f75 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -706,7 +706,7 @@ accepted contribution is credited in `CHANGELOG.md`.
### gstack repo config (`.gstack/`)
-Two committed files tell gstack (1.94.16.0 or later) about gbrain's own gates;
+Two committed files tell gstack (1.98.0.0 or later) about gbrain's own gates;
gstack reads both from master, so a branch's edits take effect after it merges.
- `.gstack/pregate.json`: `gstack-pregate run --allow-repo-commands` runs a
diff --git a/docs/TESTING.md b/docs/TESTING.md
index 1922ba17a0..a87a6e4caa 100644
--- a/docs/TESTING.md
+++ b/docs/TESTING.md
@@ -816,9 +816,9 @@ Two guards run in `bun run verify`:
Collision recovery: an unapplied branch migration is renumbered (`git mv`, edit
`version`, regenerate); one already applied to a disposable dev DB means rebuilding
that DB and replaying; one applied to retained data needs explicit `schema_version`
-reconciliation, never just a counter edit. `bun run release:restamp` does the
-renumbering at merge time and prints the old-to-new mapping with these steps
-([RELEASING.md](RELEASING.md#release-restamp)). Pinned by
+reconciliation, never just a counter edit. `bun run migrations:renumber` does the
+renumbering after merging `origin/master` and prints the old-to-new mapping
+([RELEASING.md](RELEASING.md#releases-per-batch)). Pinned by
`test/scripts/build-schema-migrations.test.ts` and `test/migrations-golden.test.ts`.
### Schema generator freshness
diff --git a/docs/contributing/version-recovery.md b/docs/contributing/version-recovery.md
index e126c767c1..4858727eca 100644
--- a/docs/contributing/version-recovery.md
+++ b/docs/contributing/version-recovery.md
@@ -2,6 +2,11 @@
Read [release rules](../RELEASING.md) before shipping.
+Under [releases per batch](../RELEASING.md#releases-per-batch) a PR edits
+none of VERSION, package.json's version or CHANGELOG.md; only the release PR
+does. The audit and recovery below apply to a branch that still carries a
+version, which `bun run release:unstamp` converts.
+
### Mandatory version-consistency audit (run after EVERY merge or commit that touches VERSION, package.json, or CHANGELOG)
**The trio MUST agree.** Every merge from master will hit conflicts on
diff --git a/llms-full.txt b/llms-full.txt
index 056fcb3357..d7df4c8508 100644
--- a/llms-full.txt
+++ b/llms-full.txt
@@ -2533,9 +2533,9 @@ four numeric segments are required first. Historical 3-segment versions
(e.g. "v0.21.0 Code Cathedral"); update only when the README's marketing
copy is intentionally being refreshed, NOT on every micro/patch bump.
-**Always use PATCH without asking**, including the initial release choice;
-override `/ship`'s MINOR/MAJOR prompts. Auto-allocate past collisions, sync all
-version stamps and the PR title, then report the number. This changes numbering
+**PRs carry no version** ([releases per batch](docs/RELEASING.md#releases-per-batch)):
+/ship writes a `changelog.d` fragment, and the release PR picks the next PATCH
+(never MINOR or MAJOR) and syncs every stamp. This changes numbering
only: scope, merge, deployment, paid-work and validation approvals still apply.
CI rejects mismatched `VERSION`/`package.json` or versions not newer than master.