Live data from Hacker News

Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App

daringfireball.net

11–20 of 20 posts

Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App

#12
I’ve been formalizing behaviors to requirements and building more end to end tests to verify them. In reality, every requirement needs a verification element. Secondly, building traceability in your unit/integration tests helps “keep it honest” about how much it has built and verified.

Mostly I’m borrowing heavily from model based systems engineering and adapting it to some form of constitutional spec driven development.

Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App

#13
Interesting how he works with it, ”do you have access to macOS runner?” , “do you have access to repo?” And finally they will see that the biggest and hardest problem with native development is verification. So the magic word it seems, is “verify pixel by pixel”. But that would limit what you can verify and implement. There should be vision models trained in UI.

Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App

#15
I've worked on a LLM-based visual validation framework for mobile layouts of different websites. The results are pretty flaky, even with Claude models. I've actually seen better performance with older ones like Meta Llama 4 or Amazon's Nova (the solution was running on AWS Bedrock).

I've since refactored it to first do some deterministic checks using CSS, to determine visual glitches like overlaps. Only after do I use LLMs to figure out if text is broken, loading spinners still display, or other such things where models are better.

For deterministic tasks like pixel-by-pixel comparison, I don't think LLMs are good enough (for now, at least).

Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App

#16

I've worked on a LLM-based visual validation framework for mobile layouts of different websites. The results are pretty flaky, even with Claude models. I've actually seen better performance with older ones like Meta Llama 4 or Amazon's Nova (the solution was running on AWS Bedrock). I've since refactored it to first do some deterministic checks using CSS, to determine visual glitches like overlaps. Only after do I us…

It might help to consider how stable an arbitrary human would be at this task.

User interfaces are like pieces of artwork. You really don't know until it's finished, and even then it's not for everyone.

LLMs are most effective when working with human parsed representations of websites. They are terrible at doing the actual parsing.

They're also good at working on a relative basis. One png screenshot of the viewport is a difficult hill to climb. The difference between two screenshots is much more informative. Deltas usually tell a much bigger story than dead reckoning against the base world model.

Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App

#17

I've worked on a LLM-based visual validation framework for mobile layouts of different websites. The results are pretty flaky, even with Claude models. I've actually seen better performance with older ones like Meta Llama 4 or Amazon's Nova (the solution was running on AWS Bedrock). I've since refactored it to first do some deterministic checks using CSS, to determine visual glitches like overlaps. Only after do I us…

I've done VHS (terminal recording) rewrite in rust built on libghostty called Betamax [1], and then threw it at creating a TUI for jujutsu. This worked pretty well, but is admittedly a much simpler task than a web ui. The harness was able to build out a feature, confirm it worked, find bugs in what it expected vs saw and fix them with evidence. Web is many more pixels and more nuanced things that have to do with how various elements relate.

I speculate that maybe the OpenAI models have the edge here over Claude's (while still being terrible at web UIs), as the training necessary to handle computer use stuff is heavily image processing based. I wouldn't bet on either being bad for much longer though.

[1]: https://www.joshka.net/betamax/

Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App

#18
post #16

I've worked on a LLM-based visual validation framework for mobile layouts of different websites. The results are pretty flaky, even with Claude models. I've actually seen better performance with older ones like Meta Llama 4 or Amazon's Nova (the solution was running on AWS Bedrock). I've since refactored it to first do some deterministic checks using CSS, to determine visual glitches like overlaps. Only after do I us…

It might help to consider how stable an arbitrary human would be at this task. User interfaces are like pieces of artwork. You really don't know until it's finished, and even then it's not for everyone. LLMs are most effective when working with human parsed representations of websites. They are terrible at doing the actual parsing. They're also good at working on a relative basis. One png screenshot of the viewport i…

This, but I'd say that there is an engineering perspective that you can apply. What the developer world is trying to discover here is how to encode taste concretely - often this is things like really mechanical design system things (space/padding/margins/relative sizes/color contrast/...).

The hard point is doing that well deterministically in a way that is token efficient and which can be iterated on. I suspect it's difficult to encode that into an AI model of what's good taste.

Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App

#20
post #7

Better technology cannot compensate for poor product design. Two weeks' worth of tokens sounds like tens of thousands of dollars by the time it is done. Wouldn't it be better to hire someone who knows what they are doing, get it right, and teach the other engineers why and how? Tech dept and product dept creeping in on every LLM loop, compounding.

Not in this case. This is a marketing stunt, and if successful might convince more Organizations to start buying Claude.
Post reply on HN