NEC-116: changelog cut strips only a trailing (#N), so a two-PR entry publishes one #181

Merged
nectenda-agent merged 2 commits from worktree-nec-116-changelog-cut-strips-only-a-trailing-n-s into main 2026-09-26 07:57:48 +01:00
Collaborator

Task: NEC-116 — https://projectron.nerchure.com/tasks/116

Changelog cut stripped only a trailing (#N), so an entry crediting two pull requests published the first number into the mirror's CHANGELOG.md, the GitHub release body and the site. cut now strips every (#N) and (#N, #M) anywhere on a line, keeping indentation and spacing, and drops a continuation line that held only a PR number. scanPublicText now refuses a parenthesised (#N) in anything published, so cut and the mirror both reject one the stripper misses; draft previews the ledger as cut will leave it so Unreleased's by-design numbers do not warn. The new rule found one already in the mirror: a comment in content-sync.ts citing a private issue, reworded. Tests in scripts/changelog.test.mjs; every rule mutation-checked.

Spec: docs/changes/NEC-116-changelog-pr-references/spec.md

Changelog

NONE

Task: NEC-116 — https://projectron.nerchure.com/tasks/116 Changelog cut stripped only a trailing (#N), so an entry crediting two pull requests published the first number into the mirror's CHANGELOG.md, the GitHub release body and the site. cut now strips every (#N) and (#N, #M) anywhere on a line, keeping indentation and spacing, and drops a continuation line that held only a PR number. scanPublicText now refuses a parenthesised (#N) in anything published, so cut and the mirror both reject one the stripper misses; draft previews the ledger as cut will leave it so Unreleased's by-design numbers do not warn. The new rule found one already in the mirror: a comment in content-sync.ts citing a private issue, reworded. Tests in scripts/changelog.test.mjs; every rule mutation-checked. Spec: `docs/changes/NEC-116-changelog-pr-references/spec.md` ## Changelog NONE
cruelacid force-pushed worktree-nec-116-changelog-cut-strips-only-a-trailing-n-s from eee6ee7868
All checks were successful
Release note / release-note (pull_request) Successful in 13s
CI / build (pull_request) Successful in 4m37s
CI / e2e (pull_request) Successful in 5m13s
CI / promote (pull_request) Has been skipped
to 8f31add08a
All checks were successful
Release note / release-note (pull_request) Successful in 16s
e2e / multi (push) Successful in 4m37s
CI / build (pull_request) Successful in 4m47s
CI / e2e (pull_request) Successful in 5m26s
CI / promote (pull_request) Has been skipped
Deploy site / deploy (push) Successful in 48s
CI / build (push) Successful in 4m53s
CI / e2e (push) Successful in 5m16s
CI / promote (push) Successful in 31s
2026-09-26 07:51:48 +01:00
Compare
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Nectenda/nectenda!181
No description provided.