darma / Developer tools

An issue tracker where AI coding agents are first-class users

I designed and built darma so my agents and I work from one place, under the same rules across multiple projects.

Role
Scope, design, build
Timeline
Since October 2026
Stack
TypeScript, React, SQLite, MCP
Runs on
Docker
Agents and I work from one record.

Overview

One tracker for me and my agents

What is darma?

darma is a self-hosted issue tracker for my own projects, in the spirit of Linear without the enterprise parts. In darma, AI agents are first-class users: they read, create and update issues through MCP, and every change records which agent made it, and in which session. It runs in one container on my home server, and replaces the chaotic workflow of managing markdown spec files.

The problem

My work across projects previously lived through WORK.md, a Markdown queue I kept by hand, and anarchive/ folder of completion records.

This became a messy problem very quickly, and finding earlier work meant sifting through hundreds of lines of text across many different files. I needed a better system for managing state of work.

What it had to do

Four principles that guided the decisions.

  1. The activity is the record

    An issue's history - comments, decisions, status changes, releases, screenshots - replaces long Markdown rows and archive files.

  2. Agents follow the same rules I do

    One set of rules behind the web app and MCP. What the app wouldn't let me do, it won't let an agent do either.

  3. Every change has an author

    No teams, roles or assignees. Each change records its actor: me, or a named agent token, with the session that made it.

  4. Keyboard-first, Linear-fast

    Every common action has a shortcut and opens instantly. The UI only says what helps me decide or recover.

Design

Using darma

Messy thoughts, loose ideas, bugs found during usage - all of these form to create issues that I can hand over to an agent for feature sprints, bug fixing, or simply to bounce ideas off.

Seeing what's in flight

The Active view groups a project's work by status. Waiting issues say what they're waiting on. That could be a server restart, a natural check, or something else. Review dates keep these in check.

darma's Active view for the home-server project: one issue in progress, seven waiting on named real-world checks, one to do, and recently done slices, each with its labels and whether Andy or Claude Code last touched it.
Active work, grouped by status.

Picking up where an agent left off

An issue's activity is one timeline: comments, decisions, status changes and a closing note. These closing notes tell a brief summary of how the issue got closed out, with the why and how backing them up.

The closing note

Completing an issue leaves four sections: Changed, Validated, Rollback and Still to check. "None" is an answer, but an empty section isn't.

Issue DA-3, Markdown export, in darma: its activity shows Claude Code in session Export slice 1 marking it as blocking DA-2, moving it to In Progress, recording decision D1, moving it to Done, and a closing note with Changed, Validated, Rollback and Still to check sections.
What the session left on the issue: a decision and a closing note.

Decisions that stay findable

Decisions made within each project are numbered: D24. Each project has a Decisions view, and writing D24 anywhere links back to it.

Keeping track and exposing decisions made is important for both myself and agents, because it helps reinforce why something was built the way it was. It prevents future changes on going back against what was decided, and any change would require a new decision to override it.

Three decisions on issue HS-41, D22 to D24, each recorded by Claude Code and tagged with the session that made it, such as Schedules slice 9, followed by a release entry.
Decisions are numbered and name the session that made them.

Moving at keyboard speed

Every common action is a shortcut, and the ⌘K palette holds the rest: views, projects and actions on the selected issue.

Decisions

Why it works the way it does

darma is purpose-built to handle how I manage my own personal projects. It captures and organizes my ideas, state of work, and makes it easier to work with AI tools.

Why not just use Linear or JIRA?

Enterprise solutions for a single developer are excessive. Linear is the closest solution to what I needed, but the 500 issue limit felt limiting and I quickly outgrew that. I also simply wanted to own my own data and rely less on third parties if I could help it.

  • Rules agents can't skip, enforced by the server
  • Purpose-built and designed around how I work
  • Private, on my own server
  • Time and effort to build and maintain

Agents leave a record

When I close an issue by hand it closes at once, useful for small bug fixes or changes. Toasts still offer the note afterwards, if I want to add one.

An agent is not allowed to close an issue without a closing note. The MCPrefuses completion without a closing note, with all four sections.

Refused twice, then closed with a note.
  • Every agent's work ends with what changed and how it was checked
  • Closing by hand stays one keystroke
  • My own closes can go without a record

Rules over instructions

Telling an agent what to do isn't the same as stopping it. darma's rules live in the server, behind both the web app and MCP: starting an issue that an open blocker still blocks is refused unless I override it, and an issue in Waiting needs to say what it's waiting on. Agents and I go through the same rules.

Agents and I go through the same rules.

Answers sized for an agent

An agent pays for every word darma sends back, in context. Writes answer with the compact issue and only the changes the call made, not the whole history.

The project_context tool orients an agent in one call: what's started, what's waiting and on what, recent decisions, and the top of the backlog.

Files without the tokens

An image sent as a tool argument has to be written out by the model as text, and the server can't read paths on my machine. Instead, attach_file hands back a one-time upload URL, valid for five minutes, and the agent uploads with curl.

  • No file bytes in the model's context
  • Any file up to 100 MB
  • Two steps: ask for the URL, then upload

How it works

One server, two doors

darma is one TypeScript codebase: a Node server, a React app and the types they share, in one Docker container with SQLite for storage.

One set of operations

The MCP endpoint for agents and the JSON API for the web app are backed by the same operations, so a rule written once applies to both. Each actor has its own token; mine signs me in to the web app, and an agent's can't.

Every tab stays current

When a write commits, from the app, an agent or an upload, darma sends every open tab a change notice, not the data, and each tab refetches what it shows. A tab notices a new release and reloads into it.

Never locked in

An importer brought every row of WORK.md and every archive record across without loss, and an export writes every project back out as Markdown, so agents keep their context even if the server is down.

In use

What it holds

1,088
issues completed across six projects
831
decisions recorded across all projects

Summary

Takeaways

  1. Designing with agents in mind

    Initially, darma's tools were built like an API for people, so every status change sent back the whole issue - about 10k tokens for a long one. Now a write answers with only what changed, and project_context sets a hard limit on what it lists. In the end, designing for agents was mostly deciding what not to send.