lucianschw-dev plants an EU flag on Mike

EU-Mike isn't just a paint job - the chat box now routes through an EU-law pipeline and asks before it cites.

chat-uibranding

Lucian Schwartz-Croft has rebranded a fork of Mike as EU-Mike: a blue EU banner with twelve stars sits at the top of every page, the colour palette shifts to EU blue, and a personal byline replaces the old footer. So far, so cosmetic.

The more interesting move is buried underneath. The chat interface no longer talks to Mike's generic chat endpoint - it's been rewired to an EU-law-specific one, and the assistant's instructions have been tightened so that when a user pastes a loose citation, the model has to surface the European case or legislation ID it thinks the user means and get a yes before fetching anything. Type an exact ID and it proceeds; describe a case in plain English and it confirms first. It's a small guardrail against the fork's biggest current weakness: you still need to know roughly what you're looking for, because there's no real search layer yet.

So what Worth a look for anyone building EU-jurisdiction legal tools - the citation-confirmation pattern is a clean, copyable answer to LLMs hallucinating case numbers.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

3 commits from lucianschw-dev/eumike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
840135db Frontend EU-Mike branding + tightened EU-law system prompt Lucian.schw 2026-05-17 ↗ GitHub
commit body
Frontend:
- New EuBanner component (real EU flag SVG with 12 five-pointed stars
  on EU blue, plus 'EU-Mike' name and 'Created by Lucian Schwartz-Croft'
  credit) mounted at the top of every authed page
- Primary color switched to EU blue (#003399) in light and dark themes
- mikeApi.ts streaming chat POST routed to /eu-law-chat so the new
  endpoint is actually exercised by the UI
- Browser tab title and OpenGraph metadata updated to 'EU-Mike'
- Old fixed-position footer removed (banner replaces it)

Backend:
- EU_LAW_SYSTEM_PROMPT_EXTRA tightened: when the user gives a free-text
  citation, the LLM must show its inferred CELEX/ECLI and get user
  confirmation before fetching. Explicit identifiers from the user
  still go straight through.
3d1289e9 Remove website link from README lucianschw-dev 2026-05-17 ↗ GitHub
Removed website link from the README.
ce6c70fe Rename project to EU-Mike and update README lucianschw-dev 2026-05-17 ↗ GitHub
Updated project description to reflect the new name and features of EU-Mike, including added EU law tools and integration with EUR-Lex.

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-467.md from inside the repo you want the changes in.

⬇ Download capture-thread-467.md