Your AI Coding Agent Says It's Done. Cairn Makes It Prove It.

Ever had an AI coding agent tell you a task was finished, and then found out it wasn't?

Not lying, exactly. It closed the ticket because closing the ticket was the easy part. The tests never ran, the plan lived in a chat window that scrolled away, and by the next morning the agent had forgotten the whole project anyway…

That's the problem cairn is for. Here's the short version, no jargon.

What cairn is

Cairn is a free, open source add-on for AI coding agents. It started on Claude Code and now installs into seven other tools too, Codex, Cursor, Gemini CLI and Copilot CLI among them.

It gives the agent three things it doesn't have on its own:

A plan that lives where your team already looks. The agent breaks a project into phases and writes every piece of work into your real issue tracker, GitHub Issues, Jira, Linear, eight of them in all. Not a hidden file. If your manager opens the tracker, that is the project. Why does that matter? Because the tracker is the one place a person who isn't you will ever check.

A memory it can be wrong about, out loud. Lessons get saved as small cards, one fact each, and every card remembers which file and which commit it came from. When the code has moved since, cairn says so: this note may be stale. An agent that remembers confidently and wrongly is worse than one that forgets.

A rule that "done" needs evidence. A task closes when the check it promised has run and the result is on the record. A phase passes when the code actually does what the phase said it would. And when the agent tries to push to your main branch past a failed check, a guard stops the command before it runs.

A cairn is a stack of stones that marks the trail for whoever comes next. Including you, three weeks from now, with no idea what you were doing.

What the last two months were about

Honestly? Mostly not features. Nine releases since late September, a bit over 600 commits, and the theme of nearly all of it was one question: does cairn actually do what its own docs say?

I turned its audits on itself, and it was humbling.

  • Rules became mechanisms. A lot of cairn's promises were sentences in a prompt, "never force-push," "always ask before publishing." Sentences get ignored. They're now guards that refuse the command and tell you why in one line.
  • The guards got attacked on purpose. One release was nothing but trying to sneak destructive commands past them, fixing what got through, and trying again. Forty-eight fixes across thirteen rounds, ten audit passes, until a pass came back with nothing important left.
  • It stopped reporting numbers it couldn't stand behind. Time spent is measured now, not guessed. A test result that flips between runs says "inconclusive" and doesn't get averaged into a score that looks fine.
  • It got smaller. The installed package went from 1,081 files to 628.
  • Reviews got a devil's advocate. When cairn reviews code, every serious finding goes to a panel whose default vote is "that's not real." Only what survives gets filed, so your tracker fills up with problems and not opinions.

And I'm still finding gaps. This week I noticed cairn's own memory cards had never left my laptop, in the one repo that tells everyone they travel with the code… That fix is in review now, in public, like everything else.

Who it's for

You, if you've handed an agent something bigger than an afternoon and wanted to know afterward what really happened. Solo devs juggling a few projects. Small teams who want the agent's work to show up in the same tracker as everyone else's.

It is not magic. It won't make a weak plan good. The guards are guardrails, not a vault. And it's built by one person, with the agent, using cairn to build cairn, which is either a great sign or a warning depending on your mood.

Try it

In Claude Code, one line:

/plugin install cairn --marketplace eventually-consistent-code-org/cairn2 

Then /cairn:new walks you through your first project. It's MIT licensed, the issues are open, and the changelog tells you every time I got it wrong.

Break it and tell me how. That's the most useful thing you could do for it!

Repo: https://github.com/eventually-consistent-code-org/cairn2

-John Reed