From a72f898d0fd7cc88d2e3dcc3a96b666d783ea908 Mon Sep 17 00:00:00 2001 From: Michael Jordan Date: Wed, 29 Jul 2026 15:16:09 -0400 Subject: [PATCH] docs(agent): drop a fabricated issue reference MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `_micro_compact` docstring cited "#82483" for the resume double-load problem. No such issue exists — the repository's highest number is 74323, so the reference was invented rather than looked up. The reasoning it was attached to is correct and stays: the session flush is append-only, so an in-memory splice alone leaves the original rows active and a resume loads both the summary and the messages it replaced. Only the citation was wrong. Co-Authored-By: Claude Fable 5 --- agent/context_compressor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/context_compressor.py b/agent/context_compressor.py index b120e83db09..7cbc3879b5e 100644 --- a/agent/context_compressor.py +++ b/agent/context_compressor.py @@ -5303,7 +5303,7 @@ This compaction should PRIORITISE preserving all information related to the focu NOTE: the in-memory splice alone is not persisted — the subsequent ``_persist_session`` flush is append-only, so old DB rows stay ``active=1`` and a session resume double-loads both the summary and - the original exchanges (#82483). This method therefore also calls + the original exchanges. This method therefore also calls ``archive_and_compact`` on the session DB to soft-archive old rows and insert the compacted set atomically. """