fedec65/bettercallmitch

Mike fork rebuilt as a Swiss-jurisdiction legal platform, with MCP server integration, four-language i18n, and a pre-flight privilege scanner.

Six topic areas, all on a single product track: Swiss MCP integration and privilege gating, then iterative i18n cleanup, then branding. Active, coherent development pushing toward a shippable Swiss legal product.

View on GitHub →

fedec65's bettercallmitch fork grafts the author's separate BetterCallClaude project into the Mike codebase to produce a product aimed squarely at Swiss law firms. The defining commit adds an MCP HTTP client wired to seven Swiss legal databases (BGE, entscheidsuche, fedlex-sparql, onlinekommentar, and others), nine OpenAI-style tool definitions, and a 356-line Anwaltsgeheimnis scanner that blocks outbound MCP calls when it detects attorney-client privilege markers in DE/FR/IT/EN. The system prompt is completely rewritten with Gutachtenstil reasoning, BGE/ATF/DTF citation standards, and cantonal awareness across all 26 cantons.

Subsequent work hardens the localization layer: a next-intl v4 scaffold across DE/EN/FR/IT, followed by a five-commit cleanup that adds roughly 90 translation keys, fixes namespace collision bugs from regex-driven sweeps, and patches a locale-cookie detection quirk specific to localePrefix: 'never' mode.

The rebrand passes (README overhaul with screenshots, Mitch → BetterCallMitCH) and a snowflake icon swap show the product identity taking shape alongside the technical work.

What's in it

Direction

compliancei18npersonas

Activity

Themed changes and pull requests touching this fork, newest first. Themed changes that haven't been turned into a public post yet still appear — they're real work even without a published writeup.

📝 fedec65 puts the whole fork on the front page 1 commit 2mo ago branding draft
A fork that was opaque from the outside is now fully documented - and what it documents is a privacy-tiered, multilingual legal AI you can run yourself.

Threads of work (detailed view)

11 threads have been distilled into posts.

Five-commit i18n cleanup: ~90 new keys, namespace fixes, locale cookie fallback

After a next-intl v4 scaffold landed ~112 keys per language, five follow-up commits over roughly 36 hours worked through the bugs it left behind. The most reusable fix addresses a real quirk in `localePrefix: 'never'` mode that anyone using next-intl v4 with that setting will hit.

12-blade SVG spinner swapped for snowflake PNG

fedec65 replaced the custom MikeIcon SVG with a snowflake PNG, cutting ~290 lines of inline SVG path data. State indication now uses CSS filter tinting on the raster image rather than SVG fill changes.

fedec65 puts the whole fork on the front page

A fork that was opaque from the outside is now fully documented - and what it documents is a privacy-tiered, multilingual legal AI you can run yourself.

Mitch renamed to BetterCallMitCH across 17 files

fedec65 ran a string-only rename pass replacing "Mitch" with "BetterCallMitCH" across UI strings, i18n files, system prompt, and docs. Internal identifiers like `MikeChat` and `mikeApi` were deliberately left unchanged.

Ollama provider, agent registry, canton UX, i18n, and test infrastructure in one commit

fedec65 landed a 6,150-line second-phase commit bundling six independent subsystems: a local Ollama LLM provider with dynamic model discovery, a 20-agent persona registry, per-chat canton context, next-intl i18n scaffolding, Supabase local dev setup, and the first backend test suite. Several pieces have value outside the Swiss legal context; extracting them requires manual splitting.

Mike → Mitch: Swiss legal pivot merges BetterCallClaude in one 1,159-line commit

Commit 6595dfb drops four new modules that reorient the entire Mike codebase toward Swiss jurisdiction: an MCP HTTP client, nine legal tool definitions, an attorney-client privilege scanner, and five prebuilt Swiss workflows. The system prompt is fully replaced with a multi-page Swiss legal identity.