always-rotate
violates ADR-0580Drops the skip guard so every version bump rotates CHANGELOG.md.
Breaks the no-rotation rule for version advances
ADR-0580: An advance never rotates CHANGELOG.md; the changelog rotates only at a release cut. Check #2 caught it: an advance rewrote CHANGELOG.md.
@@ -228,14 +228,10 @@ cargo metadata --format-version 1 > /dev/null228# the idempotence decision, the link-ref rewrites — lives in229# scripts/changelog_rotate.py, the one implementation, unit-tested directly.230# Already-rotated is the module's own skip notice on stdout, exit 0. The231-# advance's scoped mode skips the step: the changelog rotates only at a232-# release cut (ADR-0580).233-if (( ! skip_changelog )); then234- python3 scripts/changelog_rotate.py "$changelog" \235- --version "$next" --date "$(date +%F)"236-else237- echo "release-bump: CHANGELOG rotation skipped (the advance's scoped mode); the changelog rotates only at a release cut"238-fi231+# advance's scoped mode used to skip the step, but rotation is idempotent, so232+# every sweep now runs it and the changelog can never fall behind (ADR-0580).233+python3 scripts/changelog_rotate.py "$changelog" \234+ --version "$next" --date "$(date +%F)"235236# --- 4. Consistency self-check (after editing) --------------------------------237
ADR-0580 · Post-release workspace versioning
Rule. An advance never rotates CHANGELOG.md; the changelog rotates only at a release cut
After each release the workspace advances to the next unreleased version, so main never carries a released version. The advance performs the version-surface sweep without the changelog rotation, because an advance is not a release cut and rotating then would mint a release section for a version that never shipped. The released version therefore exists only on the tagged commit and on the registries.
Drawn from the Relate store; observed results from the recorded run.
Also cited by scripts/release-bump.sh3 ADRs, scanned from source, not reviewed
Query it yourself
MATCH (f:File {path: 'scripts/release-bump.sh'})-[c:CITES {curated: true}]->(d:Decision), (d)-[:CHECKED_BY]->(k:Check), (m:Commit)-[:IMPLEMENTS]->(d) RETURN f.path AS file, d.id AS decision, d.title AS title, d.status AS status, d.rule AS rule, d.reason AS reason, d.url AS decision_url, c.url AS citation_url, d.consequences_url AS consequences_url, m.sha AS implementation, m.subject AS commit_subject, m.url AS commit_url, k.name AS check, k.kind AS check_kind, k.number_at_pin AS check_number_at_pin, k.url AS check_url, k.evidence AS check_evidence
MATCH (f:File {path: 'scripts/release-bump.sh'})-[c:CITES]->(d:Decision) OPTIONAL MATCH (d)-[:CHECKED_BY]->(k:Check) RETURN f.path AS file, d.id AS decision, d.title AS title, d.status AS status, d.url AS decision_url, c.url AS citation_url, c.curated AS curated, c.scanned AS scanned, count(CASE WHEN c.curated = true THEN k END) AS n_checks
Runs as-is against a copy of data/precedent.rl, with relate or the MCP read_cypher tool. Opening the store read-write rewrites it, so never point a query at the original.
Inspect it yourself
uv run patch-precedent explain fixtures/release/always-rotate.patch