{"version":"2.1.260","anchor":"compaction-now-decides-whether-to-strip-thinking-blocks-via","canonical_anchor":"compaction-now-decides-whether-to-strip-thinking-blocks-via","heading":"Compaction now decides whether to strip thinking blocks via a 'wise comet' policy","tier":"internal","area":"Compaction","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.260\/e\/compaction-now-decides-whether-to-strip-thinking-blocks-via","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.260","markdown":"### Compaction now decides whether to strip thinking blocks via a 'wise comet' policy\n\nCompaction now uses a named policy to decide whether to strip trailing thinking blocks.\n\nCompaction now uses a new helper to decide, per-compaction, whether trailing thinking blocks in the kept tail should be stripped, based on the resolved model and thinking type. It logs the decision, whether from an env override, the `thinking_type` default, or a flag, and marks the boundary with a `thinking_stripped` marker when stripping occurs.\n\nDuring reactive compaction, preserved messages now pass through a new step that may strip thinking blocks and insert a marker attachment, with new telemetry fields tracking how many thinking blocks were kept versus stripped and what determined the decision.\n\n- Flag `tengu_wise_comet`: Off in both readings (read for one account on one subscription tier against v2.1.260; this account: off, anonymous baseline: off, compiled default: no gate table built for this version) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Compaction\n- Names: `thinking_stripped`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}