1. Determine the user's intent: create, edit, or apply template.
2. Select the appropriate pipeline (A, B, or C) based on the user's request and available input.
3. Pre-process the document (convert .doc to .docx, preview, analyze structure).
4. Execute the chosen pipeline using CLI commands or direct C# scripting.
5. Validate the output using XSD and business rules.
6. Fix any validation errors and re-validate.
7. Preview the final document.
8. Run diff to verify minimal changes.