Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

chore(release): prepare 0.13.6 — bump version and changelog

xf gongc431b0f98805
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b9b0af6..ace6b39 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [0.13.6] - 2026-09-04
+
+### Fixed
+
+- **Compaction no longer lets trailing synthetic user controls hide
+ current-turn evidence.** Transform middleware can append a synthetic
+ `UserMessage` after this turn's tool results. Compaction previously
+ treated that control as the protected tail and a legal boundary, so
+ the results immediately before it became eligible for size-only
+ pruning (`[tool] N chars`) even though they were still in durable
+ history. Trailing synthetic user messages are now split off before
+ tail, boundary, prune, and summarize decisions; they still count
+ toward the send-size threshold and are reattached unchanged (`#217`).
+- **GitHub Actions workflows now declare least-privilege permissions.**
+ CI and publish workflows explicitly request read-only repository
+ contents access.
+
## [0.13.5] - 2026-08-16
### Changed
@@ -782,7 +799,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **[0.2.0]** - 2026-05-10 — see the [release notes](https://github.com/cubeplexai/cubepi/releases/tag/v0.2.0).
- **[0.1.0]** - 2026-05-09 — initial release. See the [release notes](https://github.com/cubeplexai/cubepi/releases/tag/v0.1.0).
-[Unreleased]: https://github.com/cubeplexai/cubepi/compare/v0.13.5...HEAD
+[Unreleased]: https://github.com/cubeplexai/cubepi/compare/v0.13.6...HEAD
+[0.13.6]: https://github.com/cubeplexai/cubepi/compare/v0.13.5...v0.13.6
[0.13.5]: https://github.com/cubeplexai/cubepi/compare/v0.13.4...v0.13.5
[0.13.4]: https://github.com/cubeplexai/cubepi/compare/v0.13.3...v0.13.4
[0.13.3]: https://github.com/cubeplexai/cubepi/compare/v0.13.2...v0.13.3
diff --git a/pyproject.toml b/pyproject.toml
index 2824a23..fd02703 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "cubepi"
-version = "0.13.5"
+version = "0.13.6"
description = "Pythonic async-native agent framework"
readme = "README.md"
license = "MIT"
diff --git a/uv.lock b/uv.lock
index df1f8fd..698a61c 100644
--- a/uv.lock
+++ b/uv.lock
@@ -522,7 +522,7 @@ wheels = [
[[package]]
name = "cubepi"
-version = "0.13.5"
+version = "0.13.6"
source = { editable = "." }
dependencies = [
{ name = "anthropic" },