Skip to content

Claude Code guide in three levels, Beginner to Advanced: hands-on lessons with checked exercises, every volatile fact cited to its source. Independent community guide.

docs: say when a merge becomes an edition, a correction, or no release (#142)

Wesam Abousaid6b5b86ad1635
diff --git a/AGENTS.md b/AGENTS.md
index 26b2503..e8a6ef9 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -32,6 +32,7 @@ Before you write or change one, fetch the Tier 1 source for its domain:
- One change per PR. Fill in the PR template. For its claim table, start a separate agent that tries to refute each changed claim against Tier 1, and copy that agent's results into the table; never fill the Result column yourself. Leave the box "I have personally verified any AI-assisted content in this PR" for the user to tick.
- Before you open a PR, run `node .github/scripts/check.mjs` on your working tree and fix every `FAIL`; CI runs the same command. If you change a rule, also run `node --test '.github/scripts/test/**/*.test.mjs'`.
- Lesson PRs, and example PRs whose example a core lesson or capstone uses, record a dry-run in a clean configuration: [CONTRIBUTING.md#pull-requests](CONTRIBUTING.md#pull-requests).
+- After a PR merges, decide whether it is an edition, part of the next correction, or needs no tag, then follow [CONTRIBUTING.md#editions-and-corrections](CONTRIBUTING.md#editions-and-corrections). Corrections are batched, so a single fix does not get its own tag.
## Examples
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 222b12e..c7f2365 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -107,6 +107,12 @@ Each release has an entry in [CHANGELOG.md](CHANGELOG.md), newest first:
Pushing a `v*` tag runs the edition gate. On an edition tag, every stamped page's Stamp must name the edition's version. On a correction tag, every stamped page changed since the previous tag must carry a Stamp dated after that tag's entry.
+Not every merge is a release. After a pull request merges, decide which of these it is:
+
+- **Edition** (`vYYYY.MM`): a new level or a major rework. Verify every stamped page at the then-current `stable` and re-stamp it, as the Baseline item under [Pull requests](#pull-requests) says. Then turn the Unreleased entry into the edition's entry, tag the merge commit, and publish a GitHub Release with the entry as its notes.
+- **Correction** (`vYYYY.MM.N`, numbered from 1 within an edition): a merged change that alters what a learner does or reads as fact, such as a wrong command, a stale claim, or a broken lesson, example or check. Batch these: one correction covers every such change merged since the previous tag, at most once a week. Its entry lists the changes. Give every stamped page changed since the previous tag a new Stamp, then tag the merge commit and publish a Release as for an edition.
+- **No tag**: typos, wording that changes no fact or step, CI, the guide's own check scripts, tooling and repository housekeeping. These ship on `main` without a release.
+
### Numbers, benchmarks and estimates
| Kind | Rule |