Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
fix(release): handle backslashes in changelog entries
AkitaOnRailsa8ffc60309d7
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex f104e61d..80867fc9 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -22,6 +22,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0recovers on the next session without re-running `install-hooks`), and futurespool enqueue failures emit a sanitized stderr warning instead of staying fullysilent. (issue #116)+- `bin/release` now handles changelog entries containing backslashes, so Windows+ path examples cannot abort the release after the version files are updated.## [1.1.2] - 2026-06-19diff --git a/bin/release b/bin/releaseindex 1db53362..2e3791ad 100755--- a/bin/release+++ b/bin/release@@ -148,14 +148,16 @@ new_block = (+ unreleased_body)-new_text = unreleased_pattern.sub(new_block + r"\n## [", text, count=1)+new_text = unreleased_pattern.sub(lambda _: new_block + "\n## [", text, count=1)# Update the reference links at the bottom.# Replace the Unreleased compare link to point from this version to HEAD.new_text = re.sub(r'^\[Unreleased\]:.*$',- "[Unreleased]: https://github.com/akitaonrails/ai-memory/compare/$TAG...HEAD\n"- "[$VERSION]: https://github.com/akitaonrails/ai-memory/releases/tag/$TAG",+ lambda _: (+ "[Unreleased]: https://github.com/akitaonrails/ai-memory/compare/$TAG...HEAD\n"+ "[$VERSION]: https://github.com/akitaonrails/ai-memory/releases/tag/$TAG"+ ),new_text,flags=re.MULTILINE,)