MiPi: export packages as topic-organized Markdown
Added package Markdown export: the Overview page can generate and download a UTF-8 .md document from processed content. The file normalizes available text, transcripts, OCR, descriptions, and notes, groups sections by topic, and includes source references plus coverage gaps.
MiPi adds package Markdown export. What is new: • Overview shows actions for generating, regenerating, and downloading .md; • a durable background queue stores one job per package, coalesces repeated requests, recovers expired leases, and lets users retry failed exports; • the document is built from available processed content only: package message, text, audio/video transcripts, OCR, visual/audio descriptions, and notes; • text is normalized in bounded batches, then the model only orders already-created section titles into topics; • the server validates that every section appears exactly once and adds source references with result IDs plus a coverage section; • oversized packages fail explicitly instead of being silently truncated; • the output is a UTF-8 .md file up to 4 MiB delivered as a no-store attachment. Boundaries: export does not change Originals or Summary history, reuses existing SUMMARY settings, and does not render model output as HTML. Explicit limits are 384000 input code points, 256 sources, 2048 supported results per source, batches of up to 12000 code points, at most 64 batches plus one topic-plan call.