[Bug] Auto-Compact triggers prematurely at 24% token usage

Resolved 💬 3 comments Opened Apr 18, 2026 by dario-l Closed Apr 22, 2026

Bug Description
Compacting when only 24% from 1M is used?

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.1.111
  • Feedback ID: 4b0d879e-aa4d-45ab-a915-2c90ded5162c

Errors

[{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T13:00:39.445Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dariu\\AppData\\Local\\Temp\\claude\\C--Projects-ralphe\\3432dac5-24b0-4467-b5c8-2b482be99127\\tasks\\a4ec33798b9ac3357.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7955:299)","timestamp":"2026-04-18T13:01:44.671Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dariu\\AppData\\Local\\Temp\\claude\\C--Projects-ralphe\\3432dac5-24b0-4467-b5c8-2b482be99127\\tasks\\ab5479bfe705610a3.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7955:299)","timestamp":"2026-04-18T13:49:07.702Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dariu\\AppData\\Local\\Temp\\claude\\C--Projects-ralphe\\3432dac5-24b0-4467-b5c8-2b482be99127\\tasks\\a6fb89ef80319725b.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7955:299)","timestamp":"2026-04-18T17:26:24.454Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dariu\\AppData\\Local\\Temp\\claude\\C--Projects-ralphe\\3432dac5-24b0-4467-b5c8-2b482be99127\\tasks\\ae71d77add5cd8b11.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7955:299)","timestamp":"2026-04-18T17:27:51.487Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dariu\\AppData\\Local\\Temp\\claude\\C--Projects-ralphe\\3432dac5-24b0-4467-b5c8-2b482be99127\\tasks\\ae082b0a027683394.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7955:299)","timestamp":"2026-04-18T17:28:33.795Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dariu\\AppData\\Local\\Temp\\claude\\C--Projects-ralphe\\3432dac5-24b0-4467-b5c8-2b482be99127\\tasks\\a080101f15b1b7b71.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7955:299)","timestamp":"2026-04-18T17:49:27.070Z"},{"error":"AxiosError: Request failed with status code 404\n    at Pg (B:/~BUN/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:115:12736)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T17:49:30.130Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dariu\\AppData\\Local\\Temp\\claude\\C--Projects-ralphe\\3432dac5-24b0-4467-b5c8-2b482be99127\\tasks\\a62dfb3dd91121dbf.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7955:299)","timestamp":"2026-04-18T18:01:42.675Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dariu\\AppData\\Local\\Temp\\claude\\C--Projects-ralphe\\3432dac5-24b0-4467-b5c8-2b482be99127\\tasks\\a6198f5c85f1869fd.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7955:299)","timestamp":"2026-04-18T18:02:11.588Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dariu\\AppData\\Local\\Temp\\claude\\C--Projects-ralphe\\3432dac5-24b0-4467-b5c8-2b482be99127\\tasks\\a17eb23d949f45b56.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7955:299)","timestamp":"2026-04-18T18:03:41.693Z"},{"error":"Error: EISDIR: illegal operation on a directory, read 'C:\\Projects\\ralphe\\src\\Ralphe\\Configuration'\n    at W7H (B:/~BUN/root/src/entrypoints/cli.js:1618:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T18:03:54.167Z"},{"error":"Error: Tool bash not found\n    at SeK (B:/~BUN/root/src/entrypoints/cli.js:3140:30819)\n    at Xj (B:/~BUN/root/src/entrypoints/cli.js:497:21011)\n    at xz (B:/~BUN/root/src/entrypoints/cli.js:497:39565)\n    at hHH (B:/~BUN/root/src/entrypoints/cli.js:497:50277)\n    at TA (B:/~BUN/root/src/entrypoints/cli.js:497:86962)\n    at $q6 (B:/~BUN/root/src/entrypoints/cli.js:497:86933)\n    at bA8 (B:/~BUN/root/src/entrypoints/cli.js:497:86772)\n    at B9H (B:/~BUN/root/src/entrypoints/cli.js:497:82094)\n    at f8 (B:/~BUN/root/src/entrypoints/cli.js:497:6374)\n    at Fb6 (B:/~BUN/root/src/entrypoints/cli.js:490:6877)","timestamp":"2026-04-18T18:04:27.141Z"},{"error":"Error: Request was aborted.\n    at Oa8 (B:/~BUN/root/src/entrypoints/cli.js:5339:1432)\n    at next (native:1:11)\n    at tF_ (B:/~BUN/root/src/entrypoints/cli.js:8105:5107)\n …

Note: Content was truncated.

<img width="627" height="210" alt="Image" src="https://github.com/user-attachments/assets/85175167-e18b-42aa-8ef3-08d6d2636c20" />

View original on GitHub ↗

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