by jurgenburgen · 3mo ago · 0 comments
The way I review it is to let it finish a PR sized slice and then I review the whole diff in a separate terminal as if it’s a PR from someone else. Then I very impolitely list the shit that needs fixing, let the LLM grind out a new batch and repeat the process. When the code is good enough I throw it into a commit and push a PR out for other humans to review.
Clicking around in a UI would just waste time and if the change is too large to review in a terminal window the change is too large for another human to review.
I sometimes see people reviewing LLM code leaving the same review comments multiple times, or worse, after some time they just give up reviewing.
The part where you add instructions into a document is a bit of hit and miss. If they’re general enough it works but at my employer they have gone all out and have LLMs writing instructions that are committed to repos. There’s also a bunch of tools enforcing security instructions that usually just make the model confused (it starts arguing against the instructions randomly in the middle of performing a task). The agents are “stuttering” on most tasks because of the bloated instructions.
It's funny because we're once again speed running what the best practices already are!
Insanely inefficient. It's 10x more productive to watch the thinking traces and edits in real time and steer the model appropriately.
If your workflow is typical no wonder my team members who use claude code are so much less productive.
If I work with one agent / few subagents on one feature I can steer it as soon as I notice it drifting into the direction of waste. This way I only review the total diff 1.5-2 times. And I also don't waste my own mental energy on context switching between tasks agents are producing diffs for in parallel.
If that’s what you got from my comment then you need to review it again.
When thinking first started and you would still see the whole "thinking process", I thought it was a ploy to 10x token use because it was just the most inane bullshit. "But wait, the user is asking me to" in loops.
Wasn't there a study recently that even found a model's performance was sometimes better when the "reasoning" was nonsense? As in, no clear correllation between what the reasoning says in a human's interpretation, and how the model actually did with the task.
I sometimes read the traces out of boredom or morbid curiosity. My favourite bit with Claude is how, even if you give a very comprehensive prompt in complete sentences, almost every trace will contain a variation of "the user asks me to X, but their thought cuts off mid-sentence."
Fever dream.
Look at the finished piece of work and then treat the agent as if it’s that colleague you really hate and nitpick the shit out of the change it wrote. Usually the agent writes some over-engineered garbage which you then “help it” whittle down to something you would be okay approving if another human wrote it.