I like the direction you are thinking Kevin, clearly you have a background in law and it's noticeable in what you're launching with script.
I agree the drafting process for legal documents has fundamentally not improved while IDEs for software code supportive tooling has gotten much better.
I've kicked the tires on the editor and like some of your ideas a whole lot, it would be wonderful though if there was some sort of programmatic interaction or some sort of interface for electronic composition and export of documents.