SIAgentNews.com
← All news

Genesis Map draws what your coding agent changed and flags the untested parts

A new open-source tool turns an agent's code changes into a flow diagram and marks which ones no test would catch, so you can review risk instead of reading every line.

· First reported by GitHub

38%risky changes Claude Code flagged with Genesis, versus 8% alone

The short version

  • Genesis runs as a skill inside Claude Code and Codex and writes a browser page plus a summary for pull requests.
  • Claude Code flagged 8% of changes that tests run but would not catch; with Genesis it flagged 38%. Codex went from 4% to 23%.
  • Every step the agent describes must cite real code, and the tool checks each citation against a frozen copy of the repo.
  • The benchmark is small: 10 commits, three runs each, graded by language models rather than people.
  • Genesis does not run your tests or your code; test verdicts come from the agent reading them.

Why it matters

Coding agents now produce changes faster than a person can read them. A map that shows what moved and whether a test would notice a break gives a reviewer somewhere to start. The authors' own numbers also show the limits, so it is a triage aid rather than a safety guarantee.

What Genesis does

As github.com reported in a Show HN post, Genesis is a tool for people who let an AI coding agent edit their projects. It reads a codebase and draws it as a flow of business steps, such as a checkout, instead of a pile of files. Then it places the agent's recent changes on that diagram.

Each change gets a verdict about testing. Some are covered by a test that would fail if the change broke something. Others are only run by a test that would still pass if the change were broken. Some are not reached by any test at all.

It works as a skill, an add-on that Claude Code and Codex can call. Python projects get the most accurate results, though other common languages are supported too.

A guest checkout example

The authors give a simple scenario. You ask your agent for guest checkout, meaning buying without an account. It builds that, and quietly changes three other things along the way.

Genesis draws the checkout flow and puts all four changes on it. One example is a stock change marked yellow: a test executes that code, but the test would keep passing even if the stock logic were wrong. That is the kind of change a quick skim of a green test report would miss.

Clicking a step shows what changed there, the test verdict with a note explaining it, and the underlying code.

What the benchmark found

The team tested both agents on 10 commits (a commit is a saved batch of code changes) from 5 open-source Python projects. Each agent answered every commit three times alone and three times with Genesis. The questions were what the commit changes, whether it could break anything, and whether tests cover it.

  • Risky-change flags: Claude Code went from 8% to 38%, and Codex from 4% to 23%, on changes that tests run but would not catch.
  • Accuracy of warnings: false alarms fell to about a third. The share of raised risks that were real rose from 44% to 64% for Claude Code and from 54% to 72% for Codex.
  • Entry points: these are the routes, tools and commands that lead into changed code. Claude Code named 47% of affected ones, up from 32%. Codex rose from 15% to 24%.

The caveats the authors admit

The authors say the overall coverage score hides the real story. Most changes in these commits were already covered by tests, so an answer that simply called everything covered would score 82%. Codex beat that baseline on only 4 of the 10 commits.

The gains show up in the hard cases, changes that tests would not catch. Even with Genesis, about a third of those were still called covered. Codex also named more entry points with the tool, but a smaller share of them were correct.

The sample is small, and language-model readers graded the answers, not people. Treat the results as a promising early signal.

How it keeps the agent honest

The agent does the reading, but it does not have the final say. Each step it describes must quote the code it refers to. The Genesis command-line program checks every quote against a frozen snapshot of your repository. If one fails to match, the whole description is thrown out and the agent tries again.

For Python, Genesis also parses the code itself. If the agent skips a branch, the result is marked partial in summary.md. In a review, the list of changes comes from comparing the two code versions, not from the agent. What each change means, its test verdict and its risks are still the agent's judgment.

The tool itself calls no AI model, sends nothing anywhere and never runs your code. It also does not run your tests, and in languages other than Python, a path the agent misses is not flagged.

Trying it

You need Git, the uv package installer, and macOS or Linux. Your project must be a Git repository with at least one commit. In Claude Code, /genesis map draws the system as it stands, and /genesis review main shows what changed since the main branch. In Codex the skill is called $genesis.

Results land in a local page at .genesis/out/latest/view.html, with a summary.md you can paste into a pull request. The code is under the Apache-2.0 license, per the repository.

What to watch

  • Will independent testers, with more than 10 commits and human graders, see similar gains?
  • How will it perform on non-Python projects, where the agent's reading is not cross-checked by code parsing?

Try it

Copy a project, install Genesis using the repository's install guide, run /genesis review on your latest commit, and open summary.md. Check whether it flags anything you had not noticed.

Sources and links

Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

More AI news