Back to Architecture
Codebase Map

Knowledge Graph

A map of each of your repositories, built in your AWS account from your code. The platform consults it before it changes anything and adds to it after every change.

What the Graph Holds

Files and functions

Every source file the platform has read in a repository, and the functions each file defines.

Relationships

Which file defines which function, which function calls which, and which file imports which, including through the repository's own import aliases.

How It Is Used

Before a change

Starting from the files a ticket points at, the platform asks the graph for their neighbours and adds them to the files it considers, so a change is planned against the code around it, not one file at a time.

After a change

What the run read and changed is written back to the graph, so the next ticket on the same repository starts from a fuller map. The pull request says what the run added.

Scope, Stated Plainly

  • One graph per repository, kept in your own account. Nothing in it is shared with other customers.
  • Verified so far on Go and TypeScript code, on one large repository (about 23,000 files) over five consecutive tickets: on every ticket the graph added related files to what the platform considered.
  • The graph holds files, functions, calls and imports. It does not yet map database tables, API routes or configuration keys.
  • We have not measured whether it makes a change faster or better, and we do not claim that it does.