PR #466 β `fix(citations): enforce document order for [[PAGE_BREAK]] segments`
**Repo:** open-legal-products/mike β 4.3k β, open-source legal AI
platform for document review, drafting, and legal research.
Built with Next.js, Express, Supabase, and Cloudflare R2.
The bug I fixed:
Citations were verified segment by segment with no position check.
So B[[PAGE_BREAK]]A earned verified: true even when A preceded
B in the document β wrong order, wrong result.
I enforced document order across [[PAGE_BREAK]] segments in
verifyQuoteAgainstSource.
Wrong citation order = wrong legal research. That matters.
β PR #466