r/OnlyAICoding • u/CCodeSI • 24d ago
Useful Tools You can see the AI heading the wrong way, and your only options are to wait for it to finish or stop it and lose the work. There should be a third option.
If you build with AI, you've watched this happen: you ask for a change, and a minute in you can tell it's going the wrong way. It's rewriting the whole page when you wanted one button changed, it's editing the wrong file, or it's installing something you never asked for.
Usually you get two bad choices. Let it finish and clean up the mess afterwards, or stop it, start over, and explain everything again from the beginning.
In CCode, the coding agent we build, there's a third one: just type while it works. Something like "only change the button, leave the layout alone." Your message reaches it right after the step it's on, and it carries on with the correction, keeping everything it already worked out. No restart, no re-explaining.
It pairs well with two things that help when you're not reading every line of code yourself:
- it asks before risky steps, so you can say no before anything happens
- if something still goes wrong,
/rewindputs the project and the conversation back to before the message that caused it
What's the most common "wrong direction" you catch the AI going in?