https://medium.com/@s.v.a/taming-ai-generated-code-chaos-intent-behaviour-contracts-for-predictable-llm-output-a7f925a928b9