Deployment configs, CSS polish, and mock legal endpoints dressed as real integrations

Two commits bundle a backend Dockerfile, `vercel.json`, `render.yaml`, animated CSS, and what look like CanLII and Justice Canada integrations. The deployment files are real. The legal integrations return fabricated data.

searchinfrastructure

8f3d355 adds a backend/Dockerfile (Node 20 Alpine, installs cairo/pango/libreoffice for PDF work, builds the TS backend, exposes 3001), a frontend/vercel.json, and ~41 lines of CSS: a glass-panel class using backdrop-filter: blur(16px), a bg-animated-gradient with a 15s keyframe cycle on a four-stop slate gradient, and a chatBubbleIn animation applied to each message on render.

The "Justice Canada MCP" path added to useCanadianChat in the same commit is a regex check - /act|code|legislation|statute/i - that, on match, returns a hardcoded Criminal Code, RSC 1985, c C-46, s 380(1) fraud provision. No MCP call, no network request.

8d446df adds render.yaml for a Render deployment, tweaks ChatView background and input area styling, and adds backend/src/routes/canlii.ts. That file is self-labeled MOCK CANLII INTEGRATION in a comment, and delivers: a /canlii/search endpoint returning two invented cases (2024 SCC 1, R. v. Mock Defendant and 2023 ONCA 555, Smith v. Jones) and a /canlii/document endpoint returning "This is a mocked primary source legal document for ${citation}". The TS LLM router gets fetchLegalCase and searchCanLII tools that call these mock routes internally.

The deployment configs (Dockerfile, vercel.json, render.yaml) are the only files in these commits worth evaluating for production use.

So what Take the deployment configs as reference if you want a starting point for Vercel/Render/Docker setups for this stack. Ignore the CanLII and Justice Canada endpoints entirely - they return invented data, and the "Justice Canada MCP" in `useCanadianChat` is a regex, not an MCP call. Don't import the mock routes.

View this fork on GitHub →

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

Commits in this thread

2 commits from jrklaus8/mike-Canada, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
8f3d355b feat: Add deployment configs, Justice Canada MCP, and Premium UI MikeOSS Bot 2026-05-22 ↗ GitHub
8d446df6 feat: Premium UI, CanLII mock API, and Render deployment config MikeOSS Bot 2026-05-22 ↗ GitHub

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-547.md from inside the repo you want the changes in.

⬇ Download capture-thread-547.md