I have done this. Despite using Fable for the spec, and having it double-check the spec a couple of times, it still wasn't airtight. And at some point, the implementing LLM accessed one file of the original code on the Web.
I have by now deviated quite a bit from the original (well, original...) spec.