[Bug] Ultraplan agent has wrong git state, gets confused
Bug Description
I tried using ultraplan to refine a plan but the cloud agent was very confused. the agent had a clone of the repo that was dozens of commits behind and had absolutely no way to update it because it had no network access to git pull. I also couldn't give it a gist link (no network access), paste a tarball to it via the upload UI (images only allowed). I eventually got the local agent to produce a single text file including all files in the repo and pasted that into ultraplan agent's text box.
My suspicion is that this happened because I used ultraplan on a previous PR a few hours before and the cloud environment was reused from that prior plan. I'd strongly recommend adding some kind of guard rails to ensure that the git commit state the cloud agent sees is always identical to the one the local agent sees.
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.96
- Feedback ID: 3ed9642a-6602-4ace-a995-617d4df49ae3
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗