userarena1002 adds a parallel Databricks-target app alongside the upstream codebase

A 6,687-line commit lands a full parallel application under `databricks_app/` - FastAPI backend, Vite React frontend, Databricks notebook jobs, Unity Catalog bootstrap scripts, and a migration inventory document - while leaving the original `frontend/` and `backend/` trees intact. This is a reorientation toward a specific enterprise deployment shape, not a drop-in feature.

contract-reviewinfrastructure

The new app has a clean service-boundary layout. FastAPI (app/main.py) serves a Vite React port and delegates to four adapters in app/services/: a Databricks backend service (808 lines), storage, model, and persistence adapters. Two Databricks notebook jobs (app/jobs/) handle DOCX review and tabular review - both are intentionally import-light so they can be lifted into Databricks Jobs against cluster-specific libraries. An app.yaml covers Databricks Apps deployment using valueFrom resource bindings for volumes, warehouses, serving endpoints, and job IDs.

Model routing is handled by a MODEL_BACKEND environment variable: mock returns hardcoded redlines and cells, openai calls GPT-5.4, and databricks is a placeholder that currently falls back to mock until Model Serving is configured in a live workspace. The README is direct about this: the architecture is wired but the real engines aren't in yet.

The fork's docs/databricks/migration_inventory.md documents what gets cut in this reframing: Supabase auth, all auth-adjacent pages, R2/S3 storage, Cloudflare/OpenNext deployment, project sharing, free-form document generation, and general chat. What survives is the DOCX tracked-change engine, edit cards, the assistant timeline UI, and tabular/workflow components - reframed around single-user document_sessions and review_events rather than shared projects. That inventory is the most informative artifact in the commit: it's a concrete checklist of what an enterprise, upload-first version of mike looks like.

Author metadata is the git default (Your Name <you@example.com>), which puts this in personal-workspace territory. No tests, no CI configuration, and the Databricks job paths return mock data.

So what Skip as a cherry-pick source - the actual review logic still returns mocks, and the migration removes features (auth, sharing, free-form chat, doc generation) you probably still want. Worth reading as a reference if you're evaluating a non-Cloudflare, Databricks-hosted deployment of mike: the service-boundary layout is sensible, the `MODEL_BACKEND` indirection is portable, and the migration inventory gives an honest accounting of what a governed-review reframe costs.

View this fork on GitHub →

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

Commits in this thread

1 commit from userarena1002/mike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
b57522a6 Add Databricks legal review app POC Your Name 2026-05-03 ↗ 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-133.md from inside the repo you want the changes in.

⬇ Download capture-thread-133.md