Understand an inherited or AI-generated codebase
Usually a developer or tech lead who has taken over a system
Ask the map what you would have asked the person who built it. Chat answers from the code and draws a context board for each question.
Fig. 01Understand an inherited or AI-generated codebase
The problem
The person who knew how it fits together has moved on, or the code was written by agents faster than anyone read it. The documentation, where there is any, describes a system that has changed since.
So every question goes to whoever is left, or to an agent that reads files one at a time and starts from zero each session. Changes get made around the parts the team cannot explain, and the first sign of a dependency the team did not know about is the incident.
How it goes
The same steps the product’s playbook walks. Each one shows the screen at that moment and opens the video there.
Map the repository
The code plugin reads the repository on your machine and builds a layered board: the parts, what they depend on and the contracts between them. It pushes only derived metadata.
Ask what you would have asked
Open Chat on the board and ask the questions that went to the person who left: where requests enter, how an order gets from checkout to payment. It answers from the map, and keeps an answer as an insight whose path you step through on the map, stop by stop.
Ask for a context board
Ask for a context board and Chat draws one for that question, a C4 diagram of a path or a dependency map, as a preview that leaves the map you are on unchanged.
Keep what you learned
Record what you learned as a decision anchored to the systems it covers, and publish the answer board, so the next person or coding agent starts from it instead of from zero.
- Done
End proofDone when what the team learned is a recorded decision, and the answer it will need again is a published board.
Run this playbookFree account. Opens in ProvenMap as Get to know an inherited system, with the steps beside you.
Works with
- Repositories
- One per app; JavaScript and TypeScript, Python, Java, Go, C#, Ruby, Rust, PHP, Kotlin, Swift and Scala, with monorepos split into apps.
- Hosts
- Claude Code, Codex and Cursor on your machine. The analysis runs locally and pushes only derived metadata.
- Connected documents
- Confluence or Notion pages and Jira issues you connect, read when you ask: an old architecture decision record (ADR) or runbook adds reasons the code does not hold.
Where it stops
- Chat answers from the map, the repository and the documents you connect. A reason that lives only in someone's head is not recovered.
- Who owns what shows only where teams are tagged on the map.
- The map is as current as the last analysis; keeping it current on a schedule is its own job.
Walk through it
- The docs walkthrough of this job is being written.
- In the product this job runs as the playbook Get to know an inherited system. The board ticks each step when what it asked for exists, and the guide links back to this page.
The features behind it
Start with one system
Map a real system and see the architecture around it.
Open one repository and run the code plugin. No migration, no rollout, no diagramming.
No credit card · Analysis runs locally in your own session · Self-hosted available
See the four commands to your first board →
Or for writing on architecture that stays connected across systems.