Portfolio/Blog

Open Code Review Manager

A local-first web control plane for Alibaba OpenCodeReview (ocr): projects, review profiles, a durable queue, live progress, structured findings, and usage analytics — with an MCP server and signed webhooks on top.
View on GitHub

What it is

OpenCodeReview Manager is a local-first web control plane for the ocr review engine. It manages projects, review profiles, a durable review queue, live job progress, structured findings, usage analytics, and integrations (an MCP server and signed webhooks) from one local app. Your code and credentials stay local except for the requests to whichever LLM endpoint you configure.

Why I built it

The ocr CLI is a good review engine but had no way to manage many projects and sessions at once. I wanted a durable queue, live progress, and a UI over the structured findings — plus programmatic access so my AI agents could submit and monitor reviews themselves instead of me pasting diffs into a terminal.

Features

Architecture

┌──────────────────────────────────────────────────────────────┐
│   React 18 · TypeScript · Vite  (custom design system)       │
└──────────────┬───────────────────────────────────────────────┘
               │  REST /api/v1       SSE /events
┌──────────────▼───────────────────────────────────────────────┐
│   FastAPI · SQLAlchemy 2 (async) · SQLite WAL · Alembic      │
│   Queue worker · Webhook worker · Watchdog reaper            │
└───────┬──────────────────────────────────────────────────────┘
        │  invokes
┌───────▼──────────────────────────────────────────────────────┐
│   `ocr` CLI  →  runs reviews in isolated git worktrees       │
│                                                              │
│   Also exposes:  /mcp  (MCP server) · /api/v1  (REST)        │
└──────────────────────────────────────────────────────────────┘

Tech stack

Status

Public on GitHub. Actively used for my own review workflow and exposed to agents through the MCP server.