Wed 2026.11.25
Genesis: a flow map and checks for agent changes
Today's pick: Genesis
Genesis is a product that shows a coding agent’s code changes on a business flow map. Its CLI checks the agent’s explanation against the code without calling a model.
It is today’s pick because you can review even the changes an agent leaves out of its summary.
In four panels
1The problem
- Agent’s changesWrites a lot of code in a short time
- Agent’s summaryWritten by the agent after reading the code
- You check againDoes it match the code? Is the change tested?
An agent writes its own summary, so you still have to check whether it matches the code and whether a test covers the change.
2How it works
- Agent’s changesChanges between two commits
- CLI’s change listCompares the two versions
- Agent’s steps and verdictsQuotes code per step, judges tests per changeWritten by me
- CLI checkMatches quotes, looks for assertions
- Flow map and summaryview.html, summary.md
Ran today
The agent reads the code and describes the steps of each business flow. The CLI checks that description.
3What is different
BeforeGenesis
Who lists the changes
The agent reads and summarizes (Claude Code)The CLI compares the two versions
Trade-offIn other languages, skipped paths go unflagged
How explanations are checked
No check before you read it (Claude Code)Rejects bad quotes and covered without assertions
Trade-offOne unrelated assertion is enough to pass
4Running it
A six-step explanation with one quote changed
Terminal, a submission with one changed quote $ genesis map submit --task task_a578e0193842 --input bad.json "status": "rejected" "code": "quote_not_found"When I changed "approved" to "rejected" in one step’s quote, the whole submission was rejected.

- Found on
- Show HN
- Built with
- Python, uv, React
The problem
When a coding agent changes a lot of code in a short time, it is hard for a person to read and check all of it. The Claude Code docs show how to ask Claude to summarize your changes. In the HN post, the maker described an agent that said everything was fine. The agent admitted it had missed something only after the code failed in production. An agent writes its own summary, so you still have to check whether it matches the code and whether a test covers the change.
How it solves it
HN user willlzl, one of the makers, posted Genesis as a Show HN on November 24, 2026.
Genesis is a CLI plus a agent skillInstructions, sometimes with scripts, that an AI agent uses for a specific task. that you install in Claude Code or Codex. The agent reads the code and describes the steps of each business flow. The CLI checks that description. The agent has to quote the code behind each step. The CLI takes a snapshot of the code when the prepare command runs, and checks each quote against it. If one quote does not match, the whole description is rejected. In a review, the CLI compares the old and new versions of the code and builds the list of changes itself. For each change, the agent judges whether a test would fail if the change were undone. If a test would fail, the agent marks the change covered. If tests only run the code, it marks the change reached_only. The CLI produces a flow map page and a summary file to paste into a pull request.
What is different
First, Genesis differs in who lists the changes. In Claude Code, the agent reads the changes and summarizes them. In Genesis, the CLI compares the base and current commits and lists the changes. The agent only explains what each change means and gives it a test verdict. So a change the agent never mentions still stays on the list. The trade-off is that Genesis itself analyzes only Python code. In other languages, the CLI does not flag a path the agent left out of its description.
Second, Genesis differs in how explanations are checked. In Claude Code, nothing checks the summary before you read it. The Genesis CLI rejects a submission when a quote does not match the code or when the agent bases a covered verdict on a test with no assertion. The trade-off is that the CLI does not run the tests and only checks that a cited test has an assertion. So a covered verdict passes if the test has even one assertion unrelated to the change. The page then marks the change as checked.
How it was built
- The repository has 146 commits from November 6 to 23, 2026. The author names are DeanOuY, willlzl, Dean, Ding Ouyang and Will Li. Of the commits, 36 have a Co-authored-by line for Claude Fable 5.2, and 31 have one for Claude Opus 5.5.
- The CLI package has 18,473 lines of Python outside the tests, and there are 45 test files.
Running it
I installed the CLI with uv in a separate directory with an empty environment. I did not connect Claude Code. Instead, I wrote the explanations and verdicts an agent would write and submitted them to the CLI myself.
- Install.
uv tool installtook 5 seconds. - The example app. I turned the expense report API example in the Genesis repository into a Git repository and ran
genesis map prepare. It found 2 entry points and 2 flows. - Quote check. I described the report approval flow in six steps and submitted it. When I changed "approved" to "rejected" in one step’s quote, the whole submission was rejected. The CLI accepted the fixed submission. It found that the description explained all 5 required items in the report approval flow. The count includes conditions, results and calls.
- Test verdict check. I committed a change that adds a draft status to the approval condition. The CLI rejected a covered verdict based on a test that calls approve_report but has no assertion. It accepted a reached_only verdict.
- An unrelated assertion. I added a test whose only assertion is
assert 1 == 1and gave a covered verdict based on it. It was accepted, and the page showed Behavior checked. The test uses only a report with the pending_approval status, so it would not fail if the change that allows drafts were undone. - Offline. With the network blocked, prepare still finished. The session ID, which comes from a hash of the code snapshot, was the same as with the network. So the CLI built the same snapshot offline.
- A larger repository. I ran prepare twice on the Genesis repository, which has 107 Python files. The runs took 25.6 and 25.1 seconds. It found 25 entry points and 25 flows.
$ genesis map submit --task task_a578e0193842 --input bad.json
"status": "rejected"
"code": "quote_not_found"
"message": "The quote is not in that range of the frozen file; read it again through the CLI."$ genesis map submit --task task_change --input chg-covered.json
"status": "rejected"
"code": "covered_needs_assertion"
"message": "covered needs a test that asserts on the result; none of the tests named here contains an assertion. Use reached_only and say what is missing."Not checked
- Explanations that an agent writes itself. Install the skill in Claude Code and run
/genesis review main. - A project that is not in Python. Run a review on a TypeScript repository too. Check whether the CLI rejects a covered verdict there when the test has no assertion.
Verdict
It works. The CLI rejected both a wrong quote and a verdict based on a test with no assertion. But it accepted a verdict based on a test with one unrelated assertion, and the page marked the change as checked. It is worth trying if you review an agent’s changes in every pull request.
What to take away
- Ask an agent to quote the code behind its explanation, and check the quotes against the code. Genesis rejected the whole explanation when one quote was wrong.
- When you check a test verdict, also check whether the test would fail if the change were undone. A test whose only assertion was
assert 1 == 1passed the Genesis check.
Getting started
uv tool install --python 3.12 "git+https://github.com/GenesisAgentInfra/genesis#subdirectory=packages/genesis_ci"genesis agent install --agent claude
- You need
- uv and Git.
- Claude Code or Codex. The agent does the analysis, and the CLI only checks it.
- Cost
- Free under the Apache 2.0 License. You pay for the agent separately.
Steps select 1 ran.
Progress
- Day 3Active
- Day 7Upcoming
- Day 15Upcoming
- Day 30Upcoming
- Day 90Upcoming
- Day 180Upcoming
- Day 365Upcoming
Latest check Day 3, Fri 2026.11.27
- Commits since launch
- 0 → 8
- Stars
- 69 → 77
- Last commit
- 2026.11.26
- HN points
- 13 → 14
- The verdict "covered" means a test checks the change. According to the commit title, this verdict now requires evidence backed by the source code.
- Map cards now resize to fit their text, and small diagrams appear at a readable size.