[Bug] Context leakage between sessions or invalid context persistence

Resolved 💬 2 comments Opened May 1, 2026 by mdprescott Closed Jun 11, 2026

Bug Description
Session included incorrect context and claimed I provided it - no idea where it came from (probably from another session with invalid info)

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.126
  • Feedback ID: 67cfb3a6-45c3-4bdc-b4d0-24cb474a918c

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/michaelprescott/.local/share/claude/versions/2.1.126 (expected in multi-process scenarios)\n    at r86 (/$bunfs/root/src/entrypoints/cli.js:2768:2177)\n    at HD8 (/$bunfs/root/src/entrypoints/cli.js:2768:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T21:32:41.369Z"},{"error":"Error: ENOENT: no such file or directory, open '/var/folders/g3/n8nqgf6541n0h352qjtww6c00000gn/T/TemporaryItems/NSIRD_screencaptureui_7WwRLt/Screenshot 2026-05-01 at     \r  2.34.12 PM.png'\n    at readFileSync (unknown)\n    at readFileBytesSync (/$bunfs/root/src/entrypoints/cli.js:55:1079)\n    at mZ9 (/$bunfs/root/src/entrypoints/cli.js:587:14964)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:642:170)\n    at map (native:1:11)\n    at M (/$bunfs/root/src/entrypoints/cli.js:642:161)\n    at f (/$bunfs/root/src/entrypoints/cli.js:643:154)\n    at tM1 (/$bunfs/root/src/entrypoints/cli.js:511:1976)\n    at dispatch (/$bunfs/root/src/entrypoints/cli.js:511:2652)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:497:111856)","timestamp":"2026-05-01T21:42:01.852Z"},{"error":"Error: ENOENT: no such file or directory, open '/var/folders/g3/n8nqgf6541n0h352qjtww6c00000gn/T/TemporaryItems/NSIRD_screencaptureui_7WwRLt/Screenshot 2026-05-01 at     \r  2.34.12 PM.png'\n    at readFileSync (unknown)\n    at readFileBytesSync (/$bunfs/root/src/entrypoints/cli.js:55:1079)\n    at mZ9 (/$bunfs/root/src/entrypoints/cli.js:587:14964)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:642:170)\n    at map (native:1:11)\n    at M (/$bunfs/root/src/entrypoints/cli.js:642:161)\n    at f (/$bunfs/root/src/entrypoints/cli.js:643:154)\n    at tM1 (/$bunfs/root/src/entrypoints/cli.js:511:1976)\n    at dispatch (/$bunfs/root/src/entrypoints/cli.js:511:2652)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:497:111856)","timestamp":"2026-05-01T21:42:11.113Z"},{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (49 -> 49 messages). Message structure: [0] user; [1] assistant(id=msg_011e1mq7g5teTG5f1Fqut9yP, tool_uses=[toolu_0158q4cHK2rHvDW4osV9JfJf]); [2] user(tool_results=[toolu_0158q4cHK2rHvDW4osV9JfJf]); [3] assistant(id=msg_01BRvBKRsNETSgrF9ikzaKwg, tool_uses=[toolu_01EhoN33Qhpje5Y4dUm2ofc3,toolu_01AhsaRmjMwYH6k5d6rb59sm,toolu_01LgatYGxDzTmH6otzxnNEB5]); [4] user(tool_results=[toolu_01EhoN33Qhpje5Y4dUm2ofc3,toolu_01AhsaRmjMwYH6k5d6rb59sm,toolu_01LgatYGxDzTmH6otzxnNEB5]); [5] assistant(id=msg_014T7f5Xqiwp1BPwPyb9bvmf, tool_uses=[toolu_01RFYxK9yTa4gVFhJxFP5hDx,toolu_01JhUyTZgony64wo1ByaDS6q,toolu_01QHL1xmEQ5diDQrkZyX71Hw,toolu_01G1QCk6sc4TraAnTPjmU2Wn,toolu_01NvEWuzTDiZqx8BdQjkt3rN,toolu_01AcwctLEqPVcxLVxwikUPmS,toolu_01T2F953tq51FfmKBcabGsS9,toolu_01H4ooy9ewLQShpzWf6bKGhc,toolu_01AdTH33EbpvDFtitwFZyBsZ]); [6] user(tool_results=[toolu_01RFYxK9yTa4gVFhJxFP5hDx,toolu_01JhUyTZgony64wo1ByaDS6q,toolu_01QHL1xmEQ5diDQrkZyX71Hw,toolu_01G1QCk6sc4TraAnTPjmU2Wn,toolu_01NvEWuzTDiZqx8BdQjkt3rN,toolu_01AcwctLEqPVcxLVxwikUPmS,toolu_01T2F953tq51FfmKBcabGsS9,toolu_01H4ooy9ewLQShpzWf6bKGhc,toolu_01AdTH33EbpvDFtitwFZyBsZ]); [7] assistant(id=msg_01S7Mz6SxLw3dKT3jHv2mNtW, tool_uses=[toolu_01RZFFLhDa3JdhU2pQkK4Gsi,toolu_01ARqovtrLLWnfqcpziTU3FT,toolu_01UabumGeAu3FyKu9ab1UNg2,toolu_011ns58qSc32sTGQZN2mZYTF]); [8] user(tool_results=[toolu_01UabumGeAu3FyKu9ab1UNg2,toolu_011ns58qSc32sTGQZN2mZYTF,toolu_01RZFFLhDa3JdhU2pQkK4Gsi,toolu_01ARqovtrLLWnfqcpziTU3FT]); [9] assistant(id=msg_01QCh5YZfbBhkqL3XfNtBExu, tool_uses=[toolu_014va2uUskTMSLMo8Sk3T8Bj,toolu_01JAyuVvUZH7TBqMu2poauJ2,toolu_01VRnMQzvHG2fb3hu2AyjhrJ,toolu_0136PXFPuEz2ZA2F6bsr44dW]); [10] user(tool_results=[toolu_014va2uUskTMSLMo8Sk3T8Bj,toolu_01JAyuVvUZH7TBqMu2poauJ2,toolu_01VRnMQzvHG2fb3hu2AyjhrJ,toolu_0136PXFPuEz2ZA2F6bsr44dW]); [11] assistant(id=msg_01LZUj7V8bmVF8QCYBipZF28, tool_uses=[toolu_01NvT8kugRZjfq8Mvucjd6aa,toolu_01FMrBT1TXWvktQRVxM4oKPr,toolu_01PnrkfXCZ9D8FshUca1gL7r]); [12] user(tool_results=[toolu_01NvT8kugRZjfq8Mvucjd6aa,toolu_01FMrBT1TXWvktQRVxM4oKPr,toolu_01PnrkfXCZ9D8FshUca1gL7r]); [13] assistant(id=msg_01YJ6DAGuRo2bdf4qniQiigN, tool_uses=[toolu_01EFFvg8LtCR86hNwvG9BwLh,toolu_011mqosuKZELoHSQyeBNjmmy]); [14] user(tool_results=[toolu_01EFFvg8LtCR86hNwvG9BwLh,toolu_011mqosuKZELoHSQyeBNjmmy]); [15] assistant(id=msg_01LNs7SS6Ly4AZ8q8zP3L381, tool_uses=[toolu_012Wm6fF9MxoDToupw7tgEcQ,toolu_018uQHhdY18uuZRAeqvdxWcU,toolu_019uVLfwjLSG32p99Mtt4rw3]); [16] user(tool_results=[toolu_012Wm6fF9MxoDToupw7tgEcQ,toolu_018uQHhdY18uuZRAeqvdxWcU,toolu_019uVLfwjLSG32p99Mtt4rw3]); [17] assistant(id=msg_01B69fksrssr1vYMs6h3Nbma, tool_uses=[toolu_01SbRJV7B12S8T9riNJUS2YA,toolu_01CtYi1ANxjkfkWvkJxXHx57,toolu_01XrttUU5w8fK5qmeBUjViET,toolu_01NTbytmpELQyC4oBf7JxDpA]); [18] user(tool_results=[toolu_01SbRJV7B12S8T9riNJUS2YA,toolu_01CtYi1ANxjkfkWvkJxXHx57,toolu_01XrttUU5w8fK5qmeBUjViET,toolu_01NTbytmpELQyC4oBf7JxDpA]); [19] assistant(id=msg_018CZu2txCAL5RT2aWU1CCHC, tool_uses=[toolu_01S8QEXXF8xLcFJ8Q7nPwVgT,toolu_015jWGbT5d84RQ2NnGAadXaF]); [20] user(tool_results=[toolu_01S8QEXXF8xLcFJ8Q7…

Note: Content was truncated.

View original on GitHub ↗

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