Thread xml_url through legislation citation pipeline to fix article loading

↗ view on GitHub · Claude · 2026-05-05 · b86bb894

Passes the xml_url (resolved during search_legislation) directly to
fetchLegalArticle, bypassing the unreliable SRU secondary lookup that
was causing 503/empty-result errors when opening legislation in the side panel.

Also adds xml_url field to MikeCitationAnnotation type so the frontend
can forward it in the /legal/article API call.

https://claude.ai/code/session_016JxWnFc3baeDgkzDgxY6ex
Repository Jeroen1991z/mikeNL
Author Claude <noreply@anthropic.com>
Authored
Committed
Parents 55c579b5
Stats 4 files changed , +10 , -5
Part of Legal citation side panel (full-text reader with quote highlight)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-b86bb894.md from inside the repo you want the change in.

⬇ Download capture-commit-b86bb894.md