Have you considered having it write a plan.md file and saving it to git?