{"version":"2.1.267","anchor":"compaction-buffer-builder-similarly-reworked-for-assistantr","canonical_anchor":"compaction-buffer-builder-similarly-reworked-for-assistantr","heading":"Compaction buffer builder similarly reworked for assistant\/runLink lineage","tier":"internal","area":"Compaction","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267\/e\/compaction-buffer-builder-similarly-reworked-for-assistantr","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267","markdown":"### Compaction buffer builder similarly reworked for assistant\/runLink lineage\n\nCompanion buffer-compaction routine also reworked to follow assistant\/run-link message lineage\n\n**Unclear.** The finding does not say what practical effect this has beyond matching the loader's new approach.\n\n**What**\n\nA related low-level routine that trims a transcript buffer down to the working set of messages was also rewritten, now walking assistant-message lineage through ancestor-following helper functions instead of a simpler linked-offset walk.\n\n**Why**\n\nThis pairs with the transcript pass-2 loader rework, changing how Claude Code decides which parts of a long conversation to keep in the working buffer during compaction.\n\n- Area: Compaction\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}