In Quest mode, repeated questioning and modification processes may result in code duplication

Issue Description

在Quest模式下,操作轨迹,反复提问修改过程中,会出现代码重复的。

Steps to Reproduce

不知道,但时常发生

Expected Behavior

似乎是worktree与实际目录的内容不同步?

Actual Behavior

Screenshots / Screen Recordings

Operating System

Current Qoder Version (Menu → About Qoder → Copy)

Please submit an issue so that we can troubleshoot it together with the logs.

Thank you for your feedback. We are currently investigating and analyzing this issue :grinning_face: