Earlier quoted context omitted.
I've added an instruction: "do not implement anything unless the user approves the plan using the exact word 'approved'". This has fixed all of this, it waits until I explicitly approve.
There’s an extension to this problem which I haven’t got past. More generally I’d like the agent to stop and ask questions when it encounters ambiguity that it can’t reasonably resolve itself. If someone can get agents doing this well it’d be a massive improvement (and also solve the above).
Shall I implement it? No
491–500 of 603 posts
Re: Shall I implement it? No
#492Codex has always been better at following agents.md and prompts more, but I would say in the last 3 months both Claude Code got worse (freestyling like we see here) and Codex got EVEN more strict. 80% of the time I ask Claude Code a question, it kinda assumes I am asking because I disagree with something it said, then acts on a supposition. I've resorted to append things like "THIS IS JUST A QUESTION. DO NOT EDIT COD…
First time I used Claude I asked it to look at the current repo and just tell me where the database connection string was defined. It added 100 lines of code. I asked it to undo that and it deleted 1000 lines and 2 files
Re: Shall I implement it? No
#493Codex has always been better at following agents.md and prompts more, but I would say in the last 3 months both Claude Code got worse (freestyling like we see here) and Codex got EVEN more strict. 80% of the time I ask Claude Code a question, it kinda assumes I am asking because I disagree with something it said, then acts on a supposition. I've resorted to append things like "THIS IS JUST A QUESTION. DO NOT EDIT COD…
>I've resorted to append things like "THIS IS JUST A QUESTION. DO NOT EDIT CODE. DO NOT RUN COMMANDS". Which is ridiculous. Funny to read that, because for me it's not even new behavior. I have developed a tendency to add something like "(genuinely asking, do not take as a criticism)". I'm from a more confrontational culture, so I just assumed this was just corporate American tone framing criticism softly, and me com…
So instead of:
"Why is foo str|None and not str"
I'd do:
"tell me why foo is str|None and not str"
or
"Why is foo str|None and not str, explain"
Which is usually good enough.
If you're asking this kind of question, the answer probably deserves to be a code comment.
Re: Shall I implement it? No
#494Earlier quoted context omitted.
>I've resorted to append things like "THIS IS JUST A QUESTION. DO NOT EDIT CODE. DO NOT RUN COMMANDS". Which is ridiculous. Funny to read that, because for me it's not even new behavior. I have developed a tendency to add something like "(genuinely asking, do not take as a criticism)". I'm from a more confrontational culture, so I just assumed this was just corporate American tone framing criticism softly, and me com…
Appending "Good." before clarifying questions actually helps with that suprisingly well.
I think people having different styles of prompting LLMs leads to different model preferences. It's like you can work better with some colleagues while with others it does not really "click".
Re: Shall I implement it? No
#495How about "oh my AI overlord, no, just no, please no, I beg you not do that, I'll kill myself if you do"?
Re: Shall I implement it? No
#496Earlier quoted context omitted.
Yeah, anyone who’s used LLMs for a while would know that this conversation is a lost cause and the only option is to start fresh. But, a common failure mode for those that are new to using LLMs, or use it very infrequently, is that they will try to salvage this conversation and continue it. What they don’t understand is that this exchange has permanently rotted the context and will rear its head in ugly ways the long…
I like how anything these tools do wrong just boils down to “you’re using it wrong” It can do no wrong It is unfalsifiable as a tool
Re: Shall I implement it? No
#497I grieve for the era where deterministic and idempotent behavior was valued.
Re: Shall I implement it? No
#498Codex has always been better at following agents.md and prompts more, but I would say in the last 3 months both Claude Code got worse (freestyling like we see here) and Codex got EVEN more strict. 80% of the time I ask Claude Code a question, it kinda assumes I am asking because I disagree with something it said, then acts on a supposition. I've resorted to append things like "THIS IS JUST A QUESTION. DO NOT EDIT COD…
Re: Shall I implement it? No
#499Earlier quoted context omitted.
There’s an extension to this problem which I haven’t got past. More generally I’d like the agent to stop and ask questions when it encounters ambiguity that it can’t reasonably resolve itself. If someone can get agents doing this well it’d be a massive improvement (and also solve the above).
In planning I sometimes add ”ask me questions as we go to iron out details and ambiguities.” Works quite well.
Re: Shall I implement it? No
#500Earlier quoted context omitted.
First time I used Claude I asked it to look at the current repo and just tell me where the database connection string was defined. It added 100 lines of code. I asked it to undo that and it deleted 1000 lines and 2 files
Would `git reset --hard` have worked to in your case? I guess you want to have each babystep in a git commit, in the end you could do a `git rebase -i` if needed.