Zero Zone Of Pain

A code-analysis kernel
you attach to your own source.

zzop turns source into one language-neutral IR, builds the dependency graph and the join between trees over it, runs rules, and writes one JSON reply that says what it found and what it could not see. What it reads and what it judges is yours to inject: a parser or overlay for your stack, your conventions in the config, your own rule packs. Each run names the next gap and how to fill it.

Built-in parsers and rule packs ship on by default — TypeScript/JavaScript, Python, Java, C#, Go and Rust, plus Prisma and SQL schemas. They are an option, not the product: cargo build -p zzop-cli-bin --no-default-features builds the kernel alone, which analyzes only what an envelope or overlay hands it.

Same commit in, same findings out. zzop never writes code and makes no network request.

Start

Three commands.

A config is required — zzop judges nothing you did not declare. Put one at the top of your workspace; every tree under it finds it by walking up.

01 zzop init at the top of the workspace · declares each git repository under it as a tree · never overwrites a config without --force
02 zzop analyze ./api one tree
03 zzop cross ./api ./web the join between trees — which calls reach which routes
what zzop cross prints
zzop cross — ./api ./web  (2 trees)

read      4 of 4 files parsed across 2 trees
joined    1 edges, 1 of them between trees  (http 1)

findings  cross-layer 2  (warning 2)
  warning  cross-layer/unconsumed-mutation-endpoint  src/server.ts:8  (./api)
  warning  cross-layer/unprovided-mutation-call      src/users.ts:7  (./web)
...
next      zzop endpoint "PUT /api/users/me" ./api ./web   — who provides and who calls the first row's key, and why they did or did not join

Read the screen top to bottom: read is what zzop saw, next is one concrete command. The full reply goes to .zzop/last-<command>.json (to stdout with --json). --severity, --rule and --limit narrow the list you see; the counts always cover the whole run. Zero findings is not a clean bill until warnings and coverageGaps in that reply say the run was not blind.

Inject

What it cannot read, you hand it.

Overlay
A partial Normalized AST envelope merged onto the native parse — routes from a house helper, a framework no recognizer knows. Any program can write it. For a language with no parser at all, a full envelope replaces parsing: zzop analyze-envelope.
Rule pack
A JSON file of declarative rules. Put it in zzop/rules/ beside the config and it loads with no key.
Vocabulary
Your project's names under vocabulary — what your guards, routers and generated files are called. A key you do not declare is a question zzop does not ask.
zzop.config.jsonc
{
  "trees": [
    { "root": "./api", "overlays": ["../zzop/overlays/api-routes.json"] },  // overlay paths resolve against the tree root
    { "root": "./web" }
  ],
  "packs": { "disabled": ["browser"] },  // drop a built-in pack
  "vocabulary": {
    "skipDirs": ["node_modules", "dist", ".zzop"]  // zzop init writes the rest
  }
}

Check before you attach — zzop validate-envelope, zzop validate-rule-pack. Once attached, the screen proves it: every applied overlay and every pack of yours gets an injected line.

proof it reached
injected  overlay house-route-kit/1 (./api)   1 files → 1 routes
injected  pack house   1 rule → 2 findings

zzop coverage <tree> shows the next gap — what was read, per extension and per io channel.

Install

Two Node-free binaries.

Releases
Download zzop-cli-<platform> (the CLI) or zzop-mcp-<platform> (the MCP server) from GitHub Releases. Each release carries SHA256SUMS.
npm
npm i -g @zzop/cli — the same native zzop binary, fetched for your platform.
Claude Code
/plugin marketplace add eezz4/zzop, then /plugin install zzop@zzop. Restart once and the tools appear.
Any MCP client
Run zzop-mcp as a stdio server. It answers through the same handlers as the CLI, so the same path gets the same answer.
Read next

The depth is in the docs.

Two repositories, the join, an overlay, a rule pack — the guided path, with real output.
The contract for injecting a parser or overlay for a language or framework.
Write, check and fire a rule pack. To look up one rule, the rules page.
How a tree becomes IR, graphs and a reply, and the properties every run holds.
Pre-1.0 (0.x): pin an exact version. Which surfaces are stable.

The binary carries the same contracts: zzop contract lists the embedded documents, zzop --help every command and flag, zzop explain <rule-id> one rule — no source checkout needed.