cairn 2.0
Converged work management for AI coding agents — one tool where deep
planning, durable memory, tracker truth, and session continuity meet in a
single deterministic engine. First-class as a Claude Code plugin; one-command
installers wire the same server and verbs into seven other AI CLI harnesses
(Grok Build, Copilot CLI, Codex, Gemini CLI, Cursor, OpenCode, Zed).
What makes it different — mechanism, not vocabulary:
| |
|---|
| Server-validated lifecycle | Plan↔tracker drift is computed math, verify gates work goal-backward from the phase goal, and checkpoint markers are parsed by a real server — correctness is code, not prompt discipline. |
| Tracker-first | Eight write-through backends (GitHub, GitLab, Jira, Asana, Azure Boards, ClickUp, Linear, local files) hold the single source of truth for work, mirrored in plain language a non-engineer can read. |
| Cross-vendor adversarial review | peers seats codex, grok, antigravity, opencode, and copilot as reviewers — five seats, four labs — and their claims are verified against source before they count. (Install the CLIs you want seated.) |
| Memory with provenance | Git-committed memory cards record their source commit; recall serves a STALE flag when the code moved — and the cards feed plan, work, and verify. |
This repo is the cairn 2.0 rebuild; the earlier 1.x plugin lives in the
claude-plugins
marketplace repo. Full docs index: docs/README.md.
What it is
Cairn 2.0 is a Claude Code plugin backed by a real TypeScript MCP server.
External work trackers are the single source of truth for work items, git
owns all prose (plans, memory cards), and the server owns every mechanism
with a wrong answer — state transitions, mirroring, drift math, staleness
checks — while skills own judgment. No prompt-glue, no sync engine, no
sidecar processes.
plugin (thin) commands + skills + hooks — policy and judgment
│ typed MCP tools
cairn-server tracker/ · planning/ · memory/ · core/ (one process)
│
tracker API (work truth) · git repo (prose truth) · ~/.cairn/ (disposable cache)
The full code relationship map — verb layer, MCP server, and the three
subsystems underneath (sources in docs/diagrams/):

Features (shipped — P0–P4)
Tracker layer — eight adapters behind one normalized interface: GitHub,
GitLab, Jira, Asana, Azure Boards, ClickUp, Linear (native issue links +
dependency graph), and a zero-credential local backend that stores issues
as plain files in your repo (links and graph included). Capability matrix per backend
(declare, don't flatten), write-through with cached reads, shared HTTP core
with retry/backoff, and a single contract test suite every adapter must pass
— fixtures in CI, live sandboxes before release.
Docs connectors — publish repo documentation outward through the same
pluggable-adapter pattern: /cairn:docs publish mirrors README + docs/
into Confluence (per-project folder, landing page + child-page tree,
generated contents sections, space-wide title-conflict handling) or into a
local Docusaurus site checkout (markdown + _category_.json, native
sidebar, optional auto-commit — never push). Idempotent re-publish on both.
The SPI is product-neutral — Confluence and Docusaurus ship today, and new
targets slot in behind the same contract suite on demand, not roadmapped
ahead of need.
Planning engine — GSD-depth planning on native Claude Code muscles.
Git-owned artifacts (PROJECT.md, roadmap.md, per-phase
CONTEXT.md/RESEARCH.md/PLAN.md/VERIFICATION.md), tracker mirroring
(phase → milestone/epic/list, requirement → issue), a quick/standard/deep
depth dial, model routing for agent fan-out, and drift detection when plans
reference missing or unverified-closed issues.
Memory module — two tiers engineered against context rot. Tier 1: a
disposable SQLite FTS5 index outside the repo (bulk tool output, research
dumps — searchable, rebuildable, never in context wholesale). Tier 2:
git-committed memory cards, one fact each, with provenance + staleness
checking — recall diffs each card's source files against the recorded
commit and serves a STALE flag when the code moved. Memory can be wrong;
it can never silently lie.