[Feature Request] Session compaction should preserve list item ordering to prevent information corruption

Status Closed — not planned
Reported on v2.1.143
Maintainer reply None cached
Activity 3 comments · opened May 19, 2026 · closed Jun 18, 2026

Bug Description
Compacting the session can mix up the information within, turning it into disinformation. A smarter model and/or and instruction that keeps an important lists's items in preserved order could help.

Environment Info

  • Platform: linux
  • Terminal: konsole
  • Version: 2.1.143
  • Feedback ID: 6f5854a7-4a76-4b6c-91d7-2004f01ba657

Errors

[{"error":"Error: Compaction canceled.\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:5728:1106)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T05:29:22.643Z"}]

Additional Notes:
The above error is unrelated to the issue above that. The compaction I had an issue with occurs much later in the session history, near the end.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗