Skip to the content.

Repository Map

This is a guided tour of the TODL source tree — what lives where and why, so you can find the code behind any part of the pipeline. The architecture overview gives the same map as a single table; this page adds the reasoning and the reading order. Everything the package ships lives under src/; a few sibling folders exist only for development.

The shape of the tree

src/ is organised by responsibility in the pipeline, not by technical layer. Reading roughly top to bottom follows a model’s life: it is compiled, described, consumed, published, and built.

The compiler front end

The runtime description

Consuming a model

These four are the subject of Consuming a model.

Publishing and resolving

Reading and querying

Orchestration

Editor tooling

The tooling is covered in Tooling.

The barrel

Two things called “runtime”

A naming collision that trips up newcomers, worth flagging on the map itself:

Package surface and dependencies spells the distinction out in full.

What is not published

Three sibling folders exist for development and the demo corpus, and are excluded from the published package (whose files allowlist is essentially dist plus the README):

The testing conventions around these live in Testing and conventions.

A suggested reading order

If you are new, read the pages in this order: What TODL is → The two-minute mental model → Core concepts → The compiler, then branch into whichever consumer or build path your work touches, and finish with End-to-end walkthroughs to see it all connect.


← Back to the Architecture overview

See also: The two-minute mental model · Core concepts · Package surface and dependencies