Why does my AI coding agent keep drifting, and what can I do about it?
Posted by Carissa Lynn in the Vibe Coding is Life group on November 14, 2026. It made the roundup for the week of November 9, 2026.
- Comments
- 188
- Reactions
- 32
- Shares
- 2
The post describes an AI coding agent that drifts off task even with a short CLAUDE.md, an AGENTS.md and rules files, compacted sessions and fresh chats. The member asks whether others see it and what else to try. It drew 188 comments. One reply says to constrain each prompt, ask for tests, set clear limits for when the work is done and use a smaller model to solve problems before handing execution to the larger one.
The post
For the last month I've noticed drifting like never before. I can't ship anything because there's always more to do. I have CLAUDE.md under 200 lines, AGENTS.md, rules files, etc. I compact my sessions and start new chats.
Why it landed
- It describes a problem many builders hit and lists what was already tried, so replies could add something new.
- The post ends with two plain questions: has anyone else seen it, and what is left to try.
- It came with screenshots from four different workstreams, which made the pattern hard to dismiss.
The best answers from the thread
Contrain your prompts. Do not ask Astra to do long winded activities. Ask for tests, set boundaries so it knows when its done. Be very specific. Consider your harness is injecting files every turn that can confuse astra. I wouldnt use Astra for every task. Problem solve with a smaller model, execute with Astara.
What to take from it
- Keep each request small and specific rather than asking for long, open ended work.
- Ask for tests and set limits so the agent knows when it is done.
- Check which files your setup adds to every turn, since extra injected context can confuse the model.
- Use a smaller model to work out the problem and the larger one to carry out the plan.
This post was shared publicly in the group and is credited to its author, with a link to the original. Want it corrected or taken down? Message the group admins on Facebook and it comes down. Looking for more places to ask? See the best vibe coding communities, compared.
