1. ask LLM to summarize a codebase into its implicit spec
2. ask LLM to generate codebase from the spec
3. starting now, version control the spec, treat the codebase as a compiled artifact<p>Has anybody tried building anything this way?
I'm very skeptical that an LLM can derive any meaningful spec from a non-trivial codebase.<p>Specifications describe the behavior of the system, but most of all it defines wanted outcomes and edge cases. This is <i>hard</i>.<p>I'd like to see the results if anyone can make this work! It would make my job orders of magnitude simpler.
What’s the point of a specification? I thought it was to agree on things. If you have a specification that your LLM made up, why would your boss or your teammates care about it?