Change Map
A map of a large pull request's files by layer, with a guided tour in review order, inside the PR summary.
On a large pull request, Solemly can add a change map to the summary: a picture of the changed files, sorted into layers, with the imports between them and the findings in each file. It links to an interactive page with a guided tour of the change in review order.
It's off by default. See Turn it on.
When a map appears#
A map is added after a review when all of these hold:
- Change map and PR summary are both on for the repository. The map lives inside the summary block, so without a summary there's no map.
- The pull request is large enough: at least 6 files that need review across 2 or more top-level directories, or at least 300 changed lines in those files. Documentation, deleted files and whitespace-only changes don't count.
- Solemly could sort and summarize the changed files. If that step fails, the review is posted without a map.
A map needs at least two boxes. Smaller pull requests get the summary alone.
Where it shows#
The map is a section of the summary block in the pull request description, after the summary's bullets:
- a heading with the number of files, lines added and removed, and findings;
- an image of the map, which links to the interactive page;
- the review order as text, for anyone whose client doesn't load images;
- an Open the interactive change map link.
It works the same on GitHub, GitLab and Bitbucket. On GitHub and GitLab the section can be folded; Bitbucket shows it as a plain heading.
Each review updates the section. If nothing the map shows has changed since the last push, the map and its link stay the same. If something changed, the section links to a new version, and the old page says a newer version exists. If the pull request drops below the size threshold, or the setting is turned off, the next review removes the section.
Read the map#
Lanes#
Each file sits in one of five lanes, from top to bottom:
| Lane | What goes there |
|---|---|
| UI | .tsx, .jsx, .vue, .svelte, .css and .html files, and files under folders such as components/, pages/ and app/. |
| API | Route handlers, and files under folders such as routes/, controllers/, handlers/ and webhooks/. |
| Domain | Everything else. |
| Data | Migrations, models and schemas: .sql and .prisma files, and files under folders such as migrations/, models/ and db/. |
| Tests | Test files. |
Lanes come from file paths alone, so a file in an unusual place can land in a lane you wouldn't pick.
Boxes#
Each box is a changed file:
- Teal: a file the pull request adds.
- Purple: a file it modifies.
- Grey, dashed, name struck through: a file it deletes.
A map shows at most 14 boxes. Above that, files in the same folder are combined into one box for the folder, which shows how many files it holds.
Under each name, a bar shows the size of the change: green for lines added, red for lines removed. Its length grows with the change but is capped, so a very large file doesn't take over the map.
On the right, tested with a green dot means a test file changed in the same pull request covers this file, matched by name (test_invoice.py and invoice.py, billing.test.ts and billing.ts) or because the test imports it. no test with an amber dot means no such test changed in this pull request. It doesn't mean the file has no tests.
A badge on a box's corner counts its findings: red when the most severe is CRITICAL or HIGH, amber otherwise.
Links#
An arrow from one box to another means the first file imports the second. Only imports between files changed in the pull request are drawn, for Python, JavaScript, TypeScript, Go and Java.
- Green: the import is in a file the pull request adds, so the link is new.
- Grey: an import in a file that already existed.
The interactive page#
The image links to a page on solemly.com with the repository, the pull request number and commit, a one-line headline of the change, and the map itself.
Review order#
The Review order panel lists the files in groups, in the order to read them. Files that import each other are grouped together, and each group has a title and a sentence on why it matters. Solemly starts from the dependencies: a group comes after the groups it imports, so you read what changed underneath before what uses it. Where imports don't decide, data changes come first and tests last.
A model then writes the headline, the group titles and reasons, and the tour, and may adjust the order. The boxes, links and findings never come from the model: they come from the diff and the review. If the model call fails, the map still appears, with the pull request title as its headline and one tour step per group.
Guided tour#
Guided tour walks the map a step at a time. Each step numbers its boxes, fades the rest and shows a short note on what to check there. Use Back and Next to move, and End tour to leave.
Detail panel#
Click a box to see:
- its path, whether it was added or modified, its lane, lines added and removed, and whether a test covers it;
- a one-line summary of what changed in it;
- for a folder box, the files it holds;
- its findings, each with its severity, the line it's on, and a Fix with your agent link that opens the finding with a ready-made prompt for Claude Code, Cursor or Codex (see Fix with Your Agent).
The page doesn't show code or diffs. To read the change itself, follow Open the pull request.
Who can open it#
Anyone with the link, without signing in. The random id in the link is what gives access, the same as fix links. The page isn't indexed by search engines.
The page and the image show file paths, lane names, per-file summaries, line counts and the severity and line of each finding. They never show code. If your file paths or change summaries shouldn't be seen by anyone who gets hold of a pull request link, leave the change map off for that repository.
Turn it on#
The Change map toggle is in Repository settings → Integrations in the dashboard (Repository Settings). It's off by default. It needs PR summary on too.
Change map is new and is being rolled out. Besides the repository setting, it has to be enabled on Solemly's side, and until it is, turning the setting on adds no map. To ask whether it's available to you, email support@solemly.com.
It can't be set from .solemly.yaml yet. Setting summary.enabled: false there still turns the map off, because it turns off the summary the map lives in.
Something missing or unclear? Tell us.