# Doctrack

> A code-linked knowledge graph for finding your way through a codebase and picking up where an agent session left off.
>
> The Markdown version of https://imminentlatency.com/projects/doctrack. For an index of the whole site, see https://imminentlatency.com/llms.txt.

Project knowledge that lives beside the code. Doctrack connects implementation details, decisions, and working context in a Markdown graph that people and coding agents can navigate.

- **Status:** Standalone frozen
- **Role:** Creator & current maintainer
- **Stack:** Rust, Tree-sitter, MCP, LSP, Obsidian
- **Started:** March 2026
- **Platform:** Local tools & Markdown vault
- **License:** MIT
- **Website:** https://github.com/liamstar97/doctrack/wiki/Getting-Started
- **Source:** https://github.com/liamstar97/doctrack
- **Repo:** https://github.com/liamstar97/doctrack
- **Docs:** https://github.com/liamstar97/doctrack/wiki/Getting-Started

## Overview

I started Doctrack because useful context kept getting scattered across agent conversations and disconnected documents. A new session could read the code, but reconstructing the decisions, unfinished work, and reasons behind an implementation meant explaining the same things again.

Doctrack organizes that knowledge as a graph inside the repository. Features link to components, components link to interfaces, and decision notes record the alternatives as well as the choice. A Rust index connects those notes back to source files and symbols. MCP tools give agents ways to search and check references; a language-server integration brings navigation and diagnostics into the editor.

I've used it to learn unfamiliar codebases and recover context across sessions in my own work, including at IO Intelligence and across Imminent Latency projects. It's also used internally at AnyAlignment. The original hope was to save tokens; in practice, the extra documentation used more. The value turned out to be finding the right context and understanding how the pieces fit together.

Standalone development has been frozen since May 2026 while I explore its evolution as a Switchyard plugin. I still use Doctrack and am considering returning to standalone development. I created the project and am its current sole developer, with an earlier contribution from a friend.

## Key features

### Follow the connections

Linked notes connect features, components, interfaces, and decisions so you can move from what a system does to how and why it works.

### Find docs from code

A Rust index connects source files and symbols to their documentation, with search, impact checks, and reference validation exposed through MCP.

### Keep context in the repo

Plain Markdown travels with the code in Git and opens in Obsidian, making project history available to both people and agents.
