everything-lens

A lens over code, deployments, configuration and rules

A tool that reads a whole system, several services with their deployments, configuration and rule sets, and draws how it fits together. Every box and every line points to where it came from: a file and line, or a recorded call.

The map view of everything-lens on a small invented system: five boxes called ops, web, pumps, box and sensors, each with a count of findings, joined by right-angled lines to a box called external. On the right, a panel lists unresolved references and definitions nobody uses, each with its file and line.

Separate pieces of software find each other only through names they agree on: a route, a host, an environment variable, an image, a topic, a table, a rule id. everything-lens collects every place where such a name is defined or used, across all the repositories of a system, and matches them. The result is a graph in which every connection is backed by a file and line, or by a call recorded at runtime. A link with neither doesn’t get drawn.

People keep about seven things in mind at once, so the graph stays in the machine. A view shows at most about twelve boxes: the slice that answers one question, and what breaks the rules. More detail means zooming in, never more boxes.

Facts first

Plain code finds the facts: definitions, references, configuration. Helm charts and Kustomize overlays are rendered for one environment first, so the path from a public URL to the workload, its image, the CI job that builds it and the code behind it is read from what actually gets deployed.

An AI is optional. lens describe can ask Claude to group the graph into named parts with short summaries. It sends names and links, never source text (Codex works too, with a warning, since it can read other files on the machine). It runs only when I ask for it, and every link the AI proposes is drawn dashed and marked as inferred. The ten built-in questions (who serves this path, which env vars are read but never set, what starts in which order, …) ignore those links.

What it shows

  • Map, impact and path. The whole system in a few boxes; what a change touches; the way from one end to the other.
  • Rules. Rule files become a decision table and a rule tree. Each scan checks every rule set for rules that can never fire, rules that hide others, overlaps, conflicts and gaps, and counts what it can’t decide instead of guessing.
  • Sankey, mapping and sequence. Amounts flowing between accounts, fields mapped from one shape to another, calls in their order.
  • Change overlay. The system as it was at an older commit compared with now, with what changed marked on the map. Recorded OpenTelemetry calls show up too: a call seen at runtime that no code explains is a finding.

What doesn’t resolve is listed, not hidden: a reference with no definition, a definition nobody uses, a name built at runtime, a file it couldn’t read.

Local, and quiet about secrets

Scanning, answers and views stay on my machine. The output goes to a folder outside the scanned repositories, holds no source text and no absolute paths, and records secrets by name only, never their values. A test plants a known secret in a test system and proves it appears nowhere in the output.

Where it stands

Five milestones are built and reviewed, with 307 tests passing. Every fixture it is tested on is invented, like the one in the screenshot. It’s licensed under Apache-2.0, and the repository is private for now; whether and when it goes public is my call, and I haven’t made it yet.

Facts

Status
Underway
Category
Tool · Code analysis
Made with
Node.js, JavaScript, ast-grep, ELK, z3, Helm, Kustomize, OpenTelemetry, Claude Code
Logged
November 2026
Last change
22 Nov 2026

What changed

  1. New quest: everything-lens, the tool I’m building to see how a system fits together. Five milestones are built; the code stays private for now.

Every change across the site, and what preview, beta and living mean

Credits

  • The screenshot shows a small invented test system that ships with the tool. Its names belong to no real service, host or company.
  • Claude Code agents wrote the code and the tests, milestone by milestone, from a spec I wrote with them; an independent reviewer agent checked each milestone, and each of its findings was fixed with a test. What it should do, what it may never do and what stays are my decisions.
  • everything-lens is licensed under Apache-2.0. It uses ast-grep to read code, ELK to lay out the views (EPL-2.0) and, where installed, Helm, kubectl and z3.