{"version":"2.1.225","anchor":"compaction-payloads-clamped-alongside-preserved-event-ids","canonical_anchor":"compaction-payloads-clamped-alongside-preserved-event-ids","heading":"Compaction payloads clamped alongside preserved event ids","tier":"notice","area":"Compaction","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.225\/e\/compaction-payloads-clamped-alongside-preserved-event-ids","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.225","markdown":"### Compaction payloads clamped alongside preserved event ids\n\nCompaction now trims the saved conversation payload to match the preserved message list, avoiding mismatches.\n\n**What**\n\nWhen preserved event ids exceed the cap, the compaction payload itself is now trimmed to match, rather than only the id list.\n\n**Details**\n\n- The internal event writer rewrites `compactMetadata.preservedMessages.uuids` to the last N and adjusts the preserved segment.\n- Whether that rewrite happened is reported as `payloadClamped` on the existing `tengu_ccr_preserved_event_ids_clamped` event.\n\n**Evidence**\n\n`tengu_ccr_preserved_event_ids_clamped`\n\n- Area: Compaction\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 0\/5"}