Skip to content
Documentation

Understand how your app changed over time

Use the Evolution tab to scrub a project's git history pull request by pull request and read its modules, data model, infra, jobs, integrations, config and dependencies. Pro.

The Evolution tab replays a project's git history as diagrams. Drag a slider through its merged pull requests and watch the modules, data model, infrastructure, jobs, integrations, config and dependencies change, pull request by pull request. It answers "why is the code shaped like this?" and "when did this arrive?" without reading the history yourself. It is built on your machine from your local clone. Evolution is a Pro feature, and Basic can try its voice dock with the 5 free questions.

#Open it

  1. Open a project and choose the Evolution tab. The project needs a local clone. Without one the tab says "Evolution needs a local clone"; add a local path to the project and come back.
  2. The first time, choose Build evolution. It runs in the background and reads only your local clone. A progress bar shows "Indexing evolution: N of M pull requests", and Stop indexing cancels it.
  3. Indexing fills the history from the oldest pull request to the newest. The tab opens on the latest pull request, so you start from how the project looks now and scrub backwards.
  4. Rebuild re-reads the history from the local clone if you want a fresh index.

#What you will see

PartWhat it shows
Diagram pickerThe lens: Modules, Data model, Data flow, External integrations, Infra, Dependencies, Background jobs, and Environment and config.
HeaderThe selected pull request: number, title, author and merge date, with the next pull request beside it.
CanvasThe diagram as of the selected pull request, with what that pull request changed highlighted.
TimelineThe pull request slider, with cards for the previous, selected and next pull requests.
Voice dockA floating dock for spoken questions about the selected pull request.

#Move through history

  • Drag the slider. Only the thumb and a label move while you drag. After you stop for about a second, the diagram and the header load for that pull request, so crossing hundreds of pull requests stays fast.
  • Step with the keyboard. Left and Right move one pull request at a time. Use the Older and Newer buttons, or click the previous or next card.
  • Go to a pull request. Go to PR searches the loaded pull requests by number, title or author.
  • Load more history. Load older commits brings in up to 100 more; Load all loads every older pull request, newest first, and you can stop any time. The history stops at 20,000 entries.
  • Older banner. When you are not on the latest pull request, a banner says how many newer ones exist and offers Jump to latest.

#Read the diagrams

Each lens is a different picture of the same point in history. All of them show what the selected pull request changed and are marked against the pull request before it.

#Modules (architecture)

Boxes are modules, folders and files, and lines are the imports, calls and references between them.

  • A tinted fill and thick border means the pull request changed it. A box that uses changed code or is used by changed code is marked too, so you see the reach of the change.
  • Removed items are faint and dashed. Everything else is slightly dimmed.
  • A pill on a box says what the pull request did to it. A chip says what its files are for, such as frontend, backend, tests or database. "Mixed" means no clear majority.
  • A dashed line is weaker evidence: inferred or ambiguous. A solid line is stated directly in the code. Hover a line to see what it is made of.
  • Double-click a module or folder, or pin it and press Open inside, to go all the way down to files. Back or Esc brings you up a level.
  • Use Find (Ctrl or Cmd plus F) to locate a box by name, path or category. Key opens the legend and Tips lists the shortcuts.

#Data model

The database tables and their fields as of the pull request, with the foreign keys between them. Fields show as added, changed or removed, with the previous type under "was". Fields are read from the migrations that declare them, so another migration can add or drop more; the view says when it is only a partial reading. A project with no tables says "No database tables were found".

#Data flow

How a request moves from a route, channel or script to the database. It has its own page: Understand how data flows.

#External integrations

The third-party services the code reaches, grouped by category, each with a confidence of Certain, Likely or Weak, the files that use it and the setting names it needs (names only, never values). Each card says whether the pull request added, changed or removed it.

#Infra

How the project is built, packaged, deployed and run: pipelines and jobs, container images, services, platform config and environments, grouped into Build and test, Package, Deploy, Run and Environments.

#Dependencies

The third-party packages the project declares, across ecosystems such as npm, Python, Go, Ruby, PHP, Java, .NET and Rust. Each shows a version and whether the pull request added, removed, upgraded or downgraded it, with major, minor or patch for upgrades. Packages that look unused or are used without being declared are flagged.

#Background jobs

Scheduled work, queue workers and producers, events and webhooks, and long-running processes. Each shows its trigger, such as a schedule in plain words or the queue it listens on, and settings such as attempts, backoff and timeout. A job with a producer but no consumer in the repository, or the reverse, is flagged.

#Environment and config

The environment variables, flags and settings the code reads, grouped as secrets, public values, URLs, feature flags and runtime settings. It can show names that are read but never declared, or declared but never read. It shows names only, never values.

#What the colors and badges mean

LookMeaning
Green, solid outlineNew in this pull request.
Red, faded, dashedRemoved by this pull request. Shown for that step only.
NeutralMoved or renamed.
Tinted fill, thick borderChanged by this pull request.
Dashed bandA folder holding boxes. Its header names the folder and how many boxes changed.
Heavy dashed outline and a plus signProposed by a previewed pull request that has not merged.
Dashed lineWeaker evidence: inferred or ambiguous.

Turn on Compare to see only what changed since the previous pull request. The Simplified for readability chip tells you when the diagram shows fewer, larger boxes or hides lighter links to stay readable, and how to narrow it.

#Preview an open pull request

Choose Incoming pull requests, pick an open pull request or type a number, branch or commit, and press Preview. The diagram shows how the architecture would change if it merged, with the new boxes marked as proposed, the likely conflict areas and a one-line summary. It is a what-if applied to the latest commit, not history. Clear preview goes back.

#Ask the voice dock

The Evolution tab has no chat box. Questions go to the voice dock, which answers out loud at the pull request the slider settled on. It knows that pull request and the next ones (it labels them as not merged yet at that point), and it can look up files and code as of that commit and find which pull request changed something. It cites pull requests by number and says when the history does not hold the answer. If you move the slider while it speaks, it stops, so an answer is never read against the wrong point in time.

Examples:

  • You just joined a team. Drag back to the pull request where billing was split out of the monolith and ask: "What changed in this pull request, and why did it matter for billing?"
  • You are chasing a regression. Scroll to the pull request that added the retry queue and ask: "Why did we make this change here?"
  • You want the history of a piece. Ask: "Which pull request added the checkout module?" and the dock names it, so you can jump to it with Go to PR.

#Empty states and problems

You seeWhat it means
Evolution needs a local cloneThe project has no local path, so there is no history to read.
No history to showThe repository has no commits on its main line yet.
Evolution has not been built yetChoose Build evolution.
Indexing evolutionThe index is still filling. You can use what is loaded.
No pull requests indexed yetNothing is indexed to scrub yet.
Evolution could not be builtSomething failed. Choose Try again.
No database tables were foundThere is no data model to draw.
No third-party services, configuration or dependencies foundThe read at that commit found none.
This is the oldest entry in viewThere is nothing earlier to compare with.

#Limits

  • It reads your local clone, so history that is not in the clone is not shown.
  • Diagrams are static readings of the code. Dynamic calls, and anything only known at run time, can be missing, and weaker links are drawn dashed.
  • Large diagrams are simplified, and the Simplified chip says so.
  • Names of settings and services are shown, never secret values.

See also Understand how data flows, Understand your codebase quickly and Voice.

#FAQ

#What is the Evolution tab?

It is a tab on every project that replays the git history as diagrams you scrub with a slider: modules, data model, data flow, external integrations, infrastructure, dependencies, background jobs and configuration, as of any merged pull request. It is built on your machine and is a Pro feature.

#Who is it for?

Engineers who join a team and need to know why the code is shaped the way it is, reviewers who want the context behind a change, and anyone who needs to find when something arrived.

#How does it index my history?

It reads your local clone in the background, from the oldest pull request to the newest, and opens on the latest. You can use the pull requests already loaded while it works, and stop it at any time.

#Does my code leave my machine?

The index is built locally from git. A question to the voice dock goes only to the model you chose, or nowhere with a local model.

#Can I ask questions in text?

No. The Evolution tab is voice only. Hold the talk key in the dock and speak.

#How do I find when something changed?

Ask the voice dock "Which pull request added it?" and then use Go to PR, or drag the timeline. In Data flow and several other lenses the timeline can show only the pull requests that touch what you are looking at.

#Which version control hosts does it support?

It works from a local git clone, so it does not depend on the host.

#Is it free?

Evolution is Pro. Basic can try it with the 5 free questions, spent on the voice dock.