Implementation Roadmap API

Flask equivalent of the original FastAPI service.

GET /
Interactive UI for uploads and roadmap generation.
POST /update-document
Multipart form upload with field file.
POST /generate-roadmap
JSON body:
{"project_description":"string","output_format":"html|pdf","provider":"openrouter|deepseek","model":"optional"}
GET /download/<filename>
Download a generated roadmap PDF.
GET /context-info
Inspect the currently loaded template metadata.