AI Agent Memory Loss During Task Interruption

Resolved 💬 1 comment Opened Jun 7, 2025 by RazgrizHsu Closed Jul 2, 2025

Bug Description
When you've discussed the implementation details in plan mode and then tell it to start implementing, after which you press Shift+Tab to switch to general mode, if it calls Task(Exit plan mode), it will begin the implementation. If you then press Esc to exit midway through to correct its command usage and tell it to continue, it won't realize what it just did with Task(Exit plan mode). It will tell you that it hasn't started implementing yet, and the entire process will restart. At this point, it will try to use git checkout to restore what it was doing, because it has forgotten that it already implemented it using Task. This is a significant problem.

Environment Info

  • Platform: macos
  • Terminal: WezTerm
  • Version: 1.0.17
  • Feedback ID: d1bbf93e-f04b-40a8-b3df-3cf33d6ac01b

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗