From 42bea392be8a2cff24367dc5fc124cefb8b4155b Mon Sep 17 00:00:00 2001 From: nesquena-hermes Date: Tue, 16 Jun 2026 17:08:56 +0000 Subject: [PATCH] =?UTF-8?q?docs(changelog):=20v0.51.459=20=E2=80=94=20norm?= =?UTF-8?q?alize=20repair-merged=20user=20context=20(#4089)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36cfdd49..d5b6faa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ ## [Unreleased] +## [v0.51.459] — 2026-06-16 — Release PT (your message stays your message) + +### Fixed + +- **Stale prior-turn text no longer contaminates the current user message (#4089).** When the agent's defensive role-sequence repair concatenated the previous context-tail user row with the freshly-submitted turn as `\n\n`, that polluted pair was persisted into both the model context and the visible transcript — so a new message could render prefixed with an earlier one. A new detector recognizes exactly this repair shape (it requires the literal `\n\n` boundary and an exact tail/current match after workspace-sentinel stripping) and normalizes the affected row back to the clean current turn. Both the model-context merge and the visible-transcript merge funnel through one rule, and the normalization is scoped strictly to the new-turn slice — committed history rows are never rewritten. Thanks @starship-s. + ## [v0.51.458] — 2026-06-16 — Release PS (long sessions stop hanging) ### Fixed