{"slug": "my-pr-got-merged-into-mike-oss-legal-ai-platform", "title": "My PR got merged into Mike — OSS Legal AI Platform 🎉", "summary": "A developer's pull request #466 was merged into Mike, an open-source legal AI platform with 4.3k GitHub stars used for document review, drafting, and legal research. The fix enforces document order across [[PAGE_BREAK]] segments in the verifyQuoteAgainstSource function, closing a bug where citations could be marked verified: true even when quoted segments appeared out of order relative to the source document.", "body_md": "PR #466 — `fix(citations): enforce document order for [[PAGE_BREAK]] segments`\n\n**Repo:** open-legal-products/mike — 4.3k ⭐, open-source legal AI \n\nplatform for document review, drafting, and legal research.\n\nBuilt with Next.js, Express, Supabase, and Cloudflare R2.\n\n**The bug I fixed:**\n\nCitations were verified segment by segment with no position check.\n\nSo `B[[PAGE_BREAK]]A` earned `verified: true` even when A preceded \n\nB in the document — wrong order, wrong result.\n\nI enforced document order across `[[PAGE_BREAK]]` segments in \n\n`verifyQuoteAgainstSource`.\n\nWrong citation order = wrong legal research. That matters.\n\n→ [PR #466](https://github.com/open-legal-products/mike/pull/466)", "url": "https://wpnews.pro/news/my-pr-got-merged-into-mike-oss-legal-ai-platform", "canonical_source": "https://dev.to/diya730/my-pr-got-merged-into-mike-oss-legal-ai-platform-273i", "published_at": "2026-09-22 19:34:51+00:00", "updated_at": "2026-09-22 19:52:49.861046+00:00", "lang": "en", "topics": ["ai-products", "ai-tools", "natural-language-processing"], "entities": ["Mike", "open-legal-products", "GitHub", "Next.js", "Express", "Supabase", "Cloudflare R2"], "alternates": {"html": "https://wpnews.pro/news/my-pr-got-merged-into-mike-oss-legal-ai-platform", "markdown": "https://wpnews.pro/news/my-pr-got-merged-into-mike-oss-legal-ai-platform.md", "text": "https://wpnews.pro/news/my-pr-got-merged-into-mike-oss-legal-ai-platform.txt", "jsonld": "https://wpnews.pro/news/my-pr-got-merged-into-mike-oss-legal-ai-platform.jsonld"}}