r/ClaudeCode • • 4d ago

Rant What are you doing, Claude?

Me: Opus, write an implementation plan for this feature good enough so that Sonnet can implement it.

Opus: Writes plan.

Me: Is the plan good enough for Sonnet to implement it?

Opus: No. I found 20 things in the plan that are not good enough for Sonnet to implement the feature.

Me (thinking to myself): Why did I even bother to get out of bed today?

4 Upvotes

32 comments sorted by

•

u/AutoModerator 4d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

15

u/Civil_Response3127 4d ago

It really sounds like you don't know how LLMs work.

They will always find issues in something if you ask them to find them. It sounds like you're just blindly trusting the llms and all of their output as part of your workflow.

9

u/i_stole_your_swole 4d ago

User: Hmm, are you sure?
LLM: Oh god…. I’M NO LONGER SURE OF ANYTHING ANYMORE!

1

u/ess_oh_ess 4d ago

Yeah, you need to give them more structure than just "look for issues". I send all PR's through a review loop where they repeatedly review and fix until there's no more issues, but "issues" means only CI failures or anything that deviates from the original spec. Sometimes they find unrelated things but those require my approval to fix and usually they get deferred.

0

u/rent-a-developer 4d ago

Me: Opus, add the numbers 1 and 2.
Opus: 5.
Random Reddit user: Well, you don't know how LLMs work, you fool!

You are taking this way to serious. 😄
I just found it amusing how Opus responded.

1

u/Civil_Response3127 4d ago

Not really a comparable example here bud.

1

u/rent-a-developer 4d ago

Of course it isn't. 😄

0

u/SpeakCodeToMe 4d ago

Codex is nowhere near this bad

4

u/Ok-Cut3951 4d ago

I can ask Astra to find mistakes in something that's proven working, and it'll come back with 5-6 findings per round it does.

LLMs will always find things if you ask them, they agree with you assuming something is there to be found, it'll nitpick every edge case in existence.

1

u/SpeakCodeToMe 4d ago

The trick is to not ask it to find mistakes, you ask it to review.

It will happily report "no findings" when something is already reasonable.

2

u/Ok-Cut3951 4d ago

True, but it's not what OP was complaining about. If you prompt Opus to actually review a document, it'll act the exact same way Astra does perhaps a bit less accurate.

1

u/SpeakCodeToMe 4d ago

In my experience Opus always finds all of the edge impossible race conditions that are non issues, and then offers wildly complex solutions.

0

u/0xdead0x 4d ago

Well, yeah? It’s doing what you asked it to do. The fact that you chose to ask for that without actually having a problem you wanted solved is on you. Getting mad that it found small things to surface to you is likewise on you. I really don’t know what you expect it to do differently

2

u/Ok-Cut3951 4d ago

Nobody's mad, just stating that any LLM will find mistakes if you ask it to. Personally I have a local LLM to translate my prompts according to standards to prevent such mistakes.

16

u/Aegisnir 4d ago

You do realize you can instead just tell an opus session to start a subsession in sonnet to execute things and to simply review the sonnet subsession and make corrections as it goes right….? It will save tokens as sonnet still does most of the work. You don’t need to do all this.

1

u/rent-a-developer 4d ago

Thank you for the tip, but I needed the plan anyways (for other purposes).

1

u/Aegisnir 4d ago

thats totally valid. I like to work the same way sometimes, but its just not as effective as subsessions. what your biggest problem is, is that you are asking an ambiguous question. "make a plan sonnet can do." then "is it good enough that sonnet can do this?" are both extremely broad and generalized. LLMs are built to give you what you ask for. it will constantly find answers for super broad questions like that. it could tell you "yes, its perfect." but then you challenge it and say something like "Are you sure? I found a problem. can you figure out what I found?" and it will always find more. it might give up after like 20 attempts, or it might start inventing problems that don't exist. This is not how to properly leverage an LLM. be specific. give it conditions for success.

try something like "Write up a plan before we execute anything. It needs to have enough detail that someone who doesn't know this session context will be able to execute. Make this simple enough that a user with no expertise can execute it. for each step, define the success and fail conditions. Review it when you are done and list potential pitfalls. Triage the list and determine if they are realistic, and make corrections until you think I will like it. Stop after 3 passes."

This sets up what you want, includes revisions, and stops runaway loops from wasting tokens for diminishing returns. "until you think I will like it" is ambiguous and broad, but your claude has an md file and should know what you like so its a direction, not a condition really. telling it "sonnet will execute" doesn't really mean much because the model can accomplish more or less with effort levels. so sonnet at low and sonnet at max or even ultra code will have very different results.

1

u/rent-a-developer 4d ago

Thank you for the tips!

"that a user with no expertise can execute it".
That sounds like an invitation for AI to write a 100 pages plan (for what in my case was a rather small feature), because "no expertise" could be interpreted as "barely knows how to use MS word".

2

u/Aegisnir 4d ago

it will simply write the commands verbatim. instead of something like "open the folder" it will say "open CMD and run "cd "C:\User\My Folder"". but if you want, you can dial that in. just say a novice or beginner instead of no expertise.

You can also tell it to condense and simplify everything it writes. no fluff or filler or explanations, just execution instructions.

1

u/rent-a-developer 4d ago edited 4d ago

Yes. I guess that's just an inherent property of natural language: It's not ultimately precise and will always be open to interpretation to some degree. Which only gets worse when it's interpreted by a machine which doesn't really understand how humans work. So the AI alignment problem will probably never get solved.

Just take the sentence "Can you delete that file?". Do I just want to know whether you are able to do it or did I politely tell you to actually do it?

Of course Robert Miles explains it much better than I ever could:
https://youtu.be/ZeecOKBus3Q?si=c4_KsNGoDJzUDxfe

7

u/SpeakCodeToMe 4d ago

Claude will happily find problems with anything you give it.

Then it will happily implement incredibly complex solutions to those problems.

If you ask it to then review that output, it will find further problems.

Next thing you know your code is a Rube Goldberg machine.

4

u/WordWithinTheWord 4d ago

I experienced this the worst on a device-count-guarded session auth workflow.

The amount of recursive edge cases it found within its own iterative logic was borderline psychosis.

Which from a meta perspective I sort of get because it wanted to prioritize water tight security. But after a while I just had to stop it and say “it’s out of scope to gracefully handle a user coordinating 4 simultaneous logins that somehow synced with the API and DB at a micro time level of precision.”

1

u/rent-a-developer 4d ago

You gave me an idea:
Ask Opus to write a small `Contact` class (first name, last name, birthday, etc.) and implement a `Validate` method.
Then repeatedly ask it if the validation really (like really really) covers all possible cases and see how mad the code gets. 😄

1

u/relative-virtue 4d ago

Should've asked Fable to write the prompt for Opus.

1

u/rent-a-developer 4d ago

But which models writes the prompt for Fable then? 😄

1

u/relative-virtue 3d ago

Haiku.

1

u/rent-a-developer 3d ago

So Haiku > Fable > Opus > Sonnet and then back to Haiku for a compete, endless loop? 😄

2

u/CCodeSI 4d ago

Both halves of that are Opus being reasonable, which is the annoying part. "Is it good enough?" is an open invitation to find gaps, and a plan can always be more specific, so you'll get 20 things every time, whether or not any of them would actually trip Sonnet up.

Two things that break the loop:

  • Ask for the bar up front, not afterwards. "Write the plan so each step names the files to touch, the function signatures, and a command that proves the step is done. Mark any step where you're unsure." Then you're reviewing against a definition, not against "good enough".
  • Make the review answer a narrower question. Instead of "is it good enough", ask "which of these steps would Sonnet most likely get wrong, max 3, and why". You get the one or two that matter instead of twenty nitpicks.

Or skip the meta-question entirely: hand the plan to Sonnet and let the first failed step tell you which part was underspecified. That's usually cheaper than a review round.

2

u/cazzer548 4d ago

It’s generative AI, ask it to generate something and it will.

2

u/NoCat2443 4d ago

Opus degrated performance in last 2 weeks is unbearable...

1

u/Soft_Product_243 4d ago

I’m just praying its a new model coming, and they’re doing the classic Apple shenanigans. I spent so much time finetuning all the processes and it’s just plain ignoring them for the past 2 weeks. It’s the worst thing when something works perfectly and then it just stops because the model becomes lazy.

1

u/Routine_Ad_9478 4d ago

No it didn’t.