@daltonfunbar when I don't have goddamn writer's block (which I get is just a mental state but whatever) I tend to know most aspects of a story when I get the initial idea, and then I stitch it together as I go.
Sometimes I know how a book ends the moment I begin writing it.