Your first decision
A complete walkthrough: create a ledger, record a choice, check a plan, and change direction.
Open source · Reasoning kept in Git
Keep the why behind your code. dira records decisions and rejected alternatives in your repo, brings them into your coding agent's next session, and checks proposed work against what you already decided.
brew install kazi-org/tap/diraLocal CLI. Plain files. No Dira account.
This proposal matches a rejected alternative. Review the recorded reason, revise the plan, or explicitly supersede the decision.
Illustrative rendering of the documented check. Matching is lexical.
01 / Continuity
Capture the decision, bring it back when work resumes, and consult it before repeating an old argument.
Claude Code hooks stage possible decisions from the conversation. You review the captures; the session's skill supplies the reasoning.
sniff · distillA session-start brief brings blockers, active intentions, and recent decisions into context, capped at 1,500 tokens.
briefCheck a proposed plan against recorded decisions. When direction changes, explicitly supersede the old record.
check · supersede02 / The Record
Keep the alternative, the reason it lost, and the condition that would make it worth considering again.
Below is the same example record from dira's ledger. Selecting a part changes emphasis only — the full record stays visible.
A rejected alternative carries a reason, so a later session can examine the argument that settled it.
03 / Your Repository
Each entry is Markdown with YAML frontmatter. Commit it alongside your code. Review it in a diff. The files remain readable even without dira.
Run dira import DIR to inspect what your documents contain before importing. Reasoned rejections become staged entries after confirmation; documents without them can be indexed instead.
dira keeps the reasoning behind a goal. kazi checks whether the work satisfies its acceptance predicates. Use either independently, or keep direction and execution connected.
04 / Installation
brew install kazi-org/tap/dira dira --version
Homebrew support is documented for Apple Silicon Macs, Intel Macs, and Linux amd64. For other published builds, use the release archives.
From your project directory, answer a short interview. Choose workspace to seed an intent, a constraint, and an open question:
dira init --interview
dira install-hooks dira install-skill
These commands add dira's hooks and capture skill to your Claude Code configuration. Start a new session after setup.
05 / Questions
No. The CLI and ledger work locally without a Dira account. The optional web viewer runs on your machine.
The binary has no model client. Its semantic capture skill uses the coding-agent session you already have running.
No. dira check uses lexical matching against recorded decisions. It provides a concrete check with cited reasoning, not a guarantee of complete semantic detection.
No. Confirmation marks the capture for semantic extraction; it stays staged until its reasoning is supplied. The agent must complete that step. Read the capture workflow.
06 / Go further
A complete walkthrough: create a ledger, record a choice, check a plan, and change direction.
Every command and its flags, generated from the actual CLI at build time.
Explore the real intents, constraints, and decisions behind the project you’re looking at.