logoalt Hacker News

westurneryesterday at 5:32 PM0 repliesview on HN

> It is understanding whether your fix preserves the invariants the original author had in mind but did not write down.

This may also be the limit to the quality of an automated port to another language. What isn't encoded as automated tests or manual test procedure cannot be verified.

So often I'm amazed at what it's possible to accomplish from a prompt that's certainly insufficient with insufficient context. "It should have been necessary to specify more context there," or "I would have thought that it wasn't possible to do that without reading in more context than just one source code file," and then a few prompts later, "there's where we failed for trying to skimp on context"

To prevent architectural rework as a human developer also requires substantial ahead-of-time codebase review.

Are AGENTS.md files the best place to summarize more comprehensive codebase review and useful dense context like guidelines for testing and architectural components in order to avoid rework?