A living decision graph for your codebase. Build one retroactively from git history. Keep it alive as you work. Recover full context when sessions end. Ask it questions. Attach evidence. Share it with your team.
Point it at any repository. Claude reads every commit, traces the narratives — what got built, what got replaced, where the pivots happened — and builds a connected decision graph. Grounded entirely in what's in the repo. No speculation.
Attach screenshots, PDFs, and architecture diagrams to decision nodes. Then ask questions — the built-in Q&A interface grounds answers in your actual decision history with full-text search across all stored interactions.
The pulse skill is what makes deciduous a living document. As you work, Claude logs goals before implementing, tracks which options you considered, records what you chose and why, and links outcomes to commits. Run deciduous pulse anytime to see the health of your graph.
New session? Context compacted? /recover reads the decision graph, checks attached documents, audits for disconnected nodes, and gives Claude full context — far richer than what compaction preserves.
Before any implementation, /work creates the goal node with your verbatim request, then tracks actions and outcomes as Claude writes code. Commits get linked to the graph automatically.
The narratives skill helps maintain a living document (.deciduous/narratives.md) tracking how each subsystem evolved and where it pivoted.
The archaeology skill transforms those narratives into queryable graph structure — creating revisit nodes, superseding old approaches, and connecting the timeline.
Or download pre-built binaries for macOS, Linux, and Windows.
Deploy to GitHub Pages with deciduous sync or run locally with deciduous serve.
Browse the actual graph from building deciduous — 1,100+ nodes across DAG, timeline, and archaeology views.
Ask questions in plain English via POST /api/ask. Answers grounded in your graph. Full-text search with FTS5.
Navigate narratives as card stacks. Keyboard navigation (j/k/g/G/Space). See pivots and superseded approaches.
One command creates slash commands, skills, and project instructions that teach your AI assistant the workflow.
deciduous initdeciduous init --windsurfdeciduous init --opencodedeciduous init --codexA vocabulary for how software actually gets built: goal → options → decision → actions → outcomes. Observations attach anywhere. Revisits connect old approaches to new.
What to achieve
Approaches considered
Choice made
Work implemented
Result observed
Insight captured
Pivot point
Via Homebrew, Cargo, or pre-built binaries.
Creates 9 slash commands, 3 skills, and project instructions.
Use /decision-graph to build from existing commits.
Then just work normally — Claude logs decisions as you go.
Use /recover at the start of every new session.
Everything deciduous init installs. Commands are slash commands (/recover). Skills are contextual guides Claude follows.
| Name | Type | What It Does |
|---|---|---|
/decision-graph |
command | Build a decision graph from an existing repo's commit history. Analyzes commits, traces narratives, creates backdated nodes grounded in real evidence. |
/recover |
command | Recover context at session start. Queries nodes, edges, documents, commands, and git state. Audits for disconnected nodes. Reports what's active and what's next. |
/work |
command | Start a work transaction. Creates goal node with verbatim prompt before any code is written. Tracks actions and outcomes through to commit. |
/decision |
command | Full decision graph management. Add nodes, link edges, manage documents, sync with teammates, export DOT/PNG, generate PR writeups. |
/document |
command | Generate comprehensive documentation for a file or directory. Shakes the tree — traces callers, finds tests, maps dependencies. |
/sync |
command | Multi-user sync. Pull teammate events, rebuild local DB, push your changes. Event-based, append-only, git-mergeable. |
/serve-ui |
command | Start the web viewer at localhost:3000. Auto-refreshes. DAG, timeline, chains, archaeology, and Q&A views. |
/sync-graph |
command | Export graph to docs/graph-data.json for GitHub Pages deployment. |
/build-test |
command | Build the project and run the test suite. |
pulse |
skill | Map the current state as decisions. Pick a scope, read the code, ask "what decisions define this?", build goal → options → decisions. deciduous pulse shows the summary. |
narratives |
skill | Maintain .deciduous/narratives.md — evolution stories for each subsystem. Identify pivots, track current state vs history, find evidence in commits. |
archaeology |
skill | Transform narratives into graph structure. Create backdated goals, use archaeology pivot to atomically create pivot chains, mark superseded paths, review timeline. |
New to deciduous? The tutorial walks through building a real decision graph from scratch, with live examples. Start the tutorial →
Deciduous was built with itself — 1,100+ decisions tracking its own development. Read the full story →