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
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?
Specifications describe the behavior of the system, but most of all it defines wanted outcomes and edge cases. This is hard.
I'd like to see the results if anyone can make this work! It would make my job orders of magnitude simpler.