by Incipient · 5mo ago · 0 comments
While it was significantly better than previous attempts, it still misses very basic things - sporadically. Eg. A clear design requirement was essentially adding clients, explained clearly and comprehensively. The ability to add clients was entirely missed in the build and iteration (there were multiple 'please check its all done' separate agent runs/checks).
I can imagine in a fully autonomous deployment, in even moderate complexity, even to this day would still occasionally mess up - badly enough to cause non-trivial business issues.
I haven't managed to really figure out what's the best way, but my latest thinking is really having boil down tasks to almost unit operations "add UI button, wire to Api call. End".
And at that point you might as well just code the thing yourself.
For you, the best way is to break your code down into modules insofar as possible, so that you don't overrun the context window. Opus Max starts forgetting things the minute it begins compressing your conversation -- and multiple compressions can make for gaps in memory.
I find that it's also important to have another model serve as review/critique. I use Opus Max for code and 5.5 Pro for immediate code review. The latter will often pick up on things that might have been missed, and will usually provide good suggestions.
Your own conclusion, smaller, concrete units, is the right direction. Except by units I don't mean partitioing the program into smaller units (files, modules). In fact, you should stop thinking about implementation at all. I'm thinking more about the way of asking the LLM to build it. One feature at a time etc. so you can tighten the feedback loop. Then you can early on (in the first hour say): "I also need a way that the user can add/manage clients - basic CRUD" and that small sentence might be enough the model makes it all (UI, API, backend etc.) to enable that and put it in a proper place in the app. A big ambiguous spec defers that discovery to the worst possible moment.
That's not a sentence they literally gave the agent. This is their full quote.
> A clear design requirement was essentially adding clients, explained clearly and comprehensively.
Why are you assuming they described this so ambiguously?
You could ask it to go through the spec point by point and then mark what is done and WHERE/WHY, then it'd point you towards exactly what might be missing.