Rank, 14 days: 312 on the Claude Code sheet
4 people reported

All time, since Sep 23.

Compacted messages duplicated

“The desktop transcript shows entries from before and after the boundary, so a message kept through N compactions appears N+1 times.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/claude-code/issues/3053/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Fading. No reports in the last 7 days and 1 the week before.

Messages kept by session.compact hook duplicate after each compaction. Kept messages are re-written to the session log with the same message.id after compact_boundary, so the desktop transcript shows copies.

Is this your bug?

File my report
Where
session.compact hook
Versions
2.1.280 to 2.1.308
Platforms
macOS, Windows

Not quite your bug?

  1. Resume undoes hook compaction4 people

Original reports4, newest first

  1. Code tab shows assistant messages twice after a plugin compaction that returns messages#105383
  2. Function-hook session.compact replacement re-saves kept messages as new entries, so the desktop app shows them duplicated#101879
  3. Resume merges transcript lines sharing an assistant message.id across compact boundaries, multiplying messages kept by a session.compact hook#99727
  4. Desktop app renders kept messages twice after a session.compact hook returns { messages }; copies grow with every compaction#96502

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.