[Bug] Auto-Compact loses task context and reverts completed work without preserving last assignment

Resolved 💬 3 comments Opened Apr 9, 2026 by WilliamDeurwaarder-TomTom Closed Apr 12, 2026

Bug Description
Claude lost it complete task after compacting. You should at least reserve the last assignment. In the actual situation, we were investigating an issue and Claude claimed a solution. I ask to write a test it went away for more than 10 minutes causing a compact and reverted my changes claiming it fixed the bug again and no trace of the writing test action. This is hugely waistful and disappointing.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.96
  • Feedback ID: 9f57ffff-1f1b-4d12-a01e-650280995a29

Errors

[{"error":"MaxFileReadTokenExceededError: File content (13841 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at CT7 (/$bunfs/root/src/entrypoints/cli.js:4309:13191)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T14:01:16.031Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3447)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T14:01:26.576Z"},{"error":"Error: Request was aborted.\n    at sV_ (/$bunfs/root/src/entrypoints/cli.js:1244:11929)\n    at next (native:1:11)\n    at Cb7 (/$bunfs/root/src/entrypoints/cli.js:7777:9035)\n    at next (native:1:11)\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:7782:11451)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T14:06:27.863Z"},{"error":"Error: Request was aborted.\n    at sV_ (/$bunfs/root/src/entrypoints/cli.js:1244:11929)\n    at next (native:1:11)\n    at Cb7 (/$bunfs/root/src/entrypoints/cli.js:7777:9035)\n    at next (native:1:11)\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:7782:11451)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T14:08:58.570Z"},{"error":"Error: Request was aborted.\n    at sV_ (/$bunfs/root/src/entrypoints/cli.js:1244:11929)\n    at next (native:1:11)\n    at Cb7 (/$bunfs/root/src/entrypoints/cli.js:7777:9035)\n    at next (native:1:11)\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:7782:11451)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T14:09:58.880Z"},{"error":"Error: Request was aborted.\n    at sV_ (/$bunfs/root/src/entrypoints/cli.js:1244:11929)\n    at next (native:1:11)\n    at Cb7 (/$bunfs/root/src/entrypoints/cli.js:7777:9035)\n    at next (native:1:11)\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:7782:11451)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T14:16:07.210Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/william.deurwaarder/TomTom/MapVis/MapVisualization/second-branch.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4318:7616)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T15:10:26.589Z"},{"error":"Error: Request was aborted.\n    at sV_ (/$bunfs/root/src/entrypoints/cli.js:1244:11929)\n    at next (native:1:11)\n    at Cb7 (/$bunfs/root/src/entrypoints/cli.js:7777:9035)\n    at next (native:1:11)\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:7782:11451)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T15:20:17.026Z"},{"error":"Error: Request was aborted.\n    at sV_ (/$bunfs/root/src/entrypoints/cli.js:1244:11929)\n    at next (native:1:11)\n    at Cb7 (/$bunfs/root/src/entrypoints/cli.js:7777:9035)\n    at next (native:1:11)\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:7782:11451)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T15:20:40.043Z"},{"error":"Error: Request was aborted.\n    at sV_ (/$bunfs/root/src/entrypoints/cli.js:1244:11929)\n    at next (native:1:11)\n    at Cb7 (/$bunfs/root/src/entrypoints/cli.js:7777:9035)\n    at next (native:1:11)\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:7782:11451)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T15:23:10.493Z"},{"error":"Error: Request was aborted.\n    at sV_ (/$bunfs/root/src/entrypoints/cli.js:1244:11929)\n    at next (native:1:11)\n    at Cb7 (/$bunfs/root/src/entrypoints/cli.js:7777:9035)\n    at next (native:1:11)\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:7782:11451)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T15:30:52.636Z"},{"error":"Error: Request was aborted.\n    at sV_ (/$bunfs/root/src/entrypoints/cli.js:1244:11929)\n    at next (native:1:11)\n    at Cb7 (/$bunfs/root/src/entrypoints/cli.js:7777:9035)\n    at next (native:1:11)\n    at xb7 (/$bunfs/root/src/entrypoints/cli.js:7782:11451)\n    at processTicksAndRejections (native:7:39)","timestamp":"202…

Note: Content was truncated.

View original on GitHub ↗

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