DecisionBook · Handoff inside · local work memory
Ground the work. Keep the knowledge.
Before editing protected files, your agent researches the code and asks what the evidence leaves open. Its findings, your answers and the checks stay beside the code, ready for the next change.
How it works
You hand over the issue. That's all you say.
The commands are local and open: run them yourself, or let Claude run them as it works.
It reads the issue and what it points to
It examines the code
Decisions already made are recorded
It asks only what is still missing
One message, answers numbered
Ready and frozen
Build
On a big job, when research and grounding have used much of the context, /handoff, /clear and /resume-handoff carry the frozen plan into a fresh context. Small work just continues.
Read how it works, step by stepUse case videos
Watch it in real sessions.
Real tasks in a demo repository, recorded in Claude Code. No sound.
What DecisionBook is and how to use it
The problem, how it works in five steps, the three levels, and how to start.
You hand over the issue: decisions already made are found, credited and linked
Handed the issue in one plain line, the agent reads the issue and its comments, records the decisions Emma (BA) and Olivia (PM) already made there under their names with the comment links, and asks only what is still missing. The plan is frozen and built; the tests pass, and nothing is committed.
Demo repository, fictional team. Real Claude Code sessions, waits cut, nothing sped up.
A long job: you hand it over, it asks first, a fresh context, then the build
Mark hands over the issue in one plain line. In one numbered message he pastes Emma's (BA) answers from the team chat and passes on what Olivia (PM) said at standup; each answer is recorded under her name, and the plan is frozen before any code. On this big job, handoff, clear and resume carry it into a fresh context; then it is built from the plan, the tests pass, and nothing is committed.
Demo repository, fictional team. Real Claude Code sessions, waits cut, nothing sped up.
Bug fix from history: the AI finds the earlier decision and the commit that broke it
Lee reports a bug; the agent finds the commit that dropped an earlier rule and Emma's decision from the earlier plan, relayed by Mark, fixes the code with a test from a plan that keeps that rule, and closes with one commit command.
Demo repository, fictional team. Real Claude Code sessions, waits cut, nothing sped up.
Short spots
One familiar problem, then the moment that answers it.
Short cuts from the same real sessions; their session frames are labelled From our test runs. The videos have no sound.
The issue was half-written. The agent filled in the rest itself.
You hand over the issue; it reads the code, then asks only what is still open.
I already answered that.
A big job: /handoff keeps the decisions and the plan; after /clear, /resume-handoff starts from the frozen plan.
Why is this code like this? Nobody knows.
Each decision is recorded under the name of who made it, in their own words, with the link to the comment.
The rule changed. The old decision is still in the code.
A bug: it finds the commit that broke it, and the decision it broke, Emma's rule from the earlier plan.
Inside the work record
One work record. Two tasks.
See how a question becomes a decision during the first task, then how that decision informs a later change to the same file.
One example task
Add undo and redo to a state library.
The diff shows the implementation. This record also shows what was investigated, what the code could not settle and what the person asked for.
- Find evidence
- Ask the gap
- Keep the answer
- Use it again
A knowledge layer beside your code
Built on Node.js: no third-party runtime packages, no bundled third-party libraries and no install scripts. The local CLI uses your existing coding session, without a separate recording model or hosted account.
Your coding agent still uses its configured model provider. Sharing records through Git is your choice.
Before the first edit
The code answers some questions. Not all of them.
- The code said
- setState replaces the state object; no earlier state is kept. Source: src/store.js:12
- The question
- How many past states should the store keep before it drops the oldest?
A choice the code cannot make
The proposal is not the person’s answer.
- The AI proposed
- Keep the last 50 states.
- The person said
- “Keep 100, and make it an option.”
- The suggestion stays beside the answer, so a later reader can see the difference.
- Why it was asked
- The implementation cannot choose a product limit. That gap becomes a question for the person, alongside the agent’s proposed answer.
A check attached to the work
Keep the question connected to the change.
- What it affects
- The planned file src/store.js and the check AC-1.
- How it is checked
- Undo after two changes restores the first; redo applies the second again: npm test -- store
This example specifies a check. It does not show an executed test result.
An explanation of the record, not a live session or a product screenshot.
The record stays in .decisionbook/, beside the code. Use the commands below to find earlier work for a file or read its recorded decisions.
Can a decision change later?
- Replaced in your own words
- A decision holds by its scope and by what it replaces, never by its date. Replacing yours takes a new sentence of your own. The file is append-only, so the earlier decision stays in the history.
- Your words and your AI’s reading
- Your AI interprets the answer. The record keeps the person’s quoted words alongside the value it records, so the interpretation can be reviewed.
Based on the illustrative undo-and-redo plan in the README, not a customer record. The next task is a scenario, not a measured outcome.
Quick start · free
Try it in your repository.
- Runs on your machine
- No third-party dependencies
- No install scripts
Runs on Node.js built-ins. The CLI has no third-party runtime packages, bundled third-party libraries or install scripts.
Use Node.js 22 or newer, Git and Claude Code. On Windows, install Git for Windows with Git Bash. After setup, restart Claude Code so it loads the hooks.
npm install -g atlasboundcd your-repositoryatlasbound setupatlasbound protect --sourceatlasbound doctor
atlasbound setupAdds local hooks and commands, then asks what to protect.atlasbound protect --sourceChoose the source files you want protected.atlasbound doctor"doctor: ok"
Paste this into Claude Code in your repository. It runs the steps and asks you what to protect.
Install AtlasBound (DecisionBook and Handoff) in this repository:1. Run `npm install -g atlasbound` (needs Node 22 or newer).2. Run `atlasbound setup` in the repository root and show me its output.3. Setup asks what to protect. Do not choose for me: show me the options it printed and ask me. When I answer, run the matching `atlasbound protect` command. If I say "not now", tell me to type `atlasbound protect --none` in my own terminal.4. Run `atlasbound doctor` and show me the result. It should end with "doctor: ok".5. Tell me to restart Claude Code so the new hooks load, and to commit the .gitignore change.
Give it a task.
You decide.
Build with the context.
Hand off when you want.
Zero third-party dependencies. Nothing runs at install. AGPL-3.0-only; a commercial licence is available on enquiry in the public repository.
Read the source and the README on GitHubFind the command you need.
- Check your setup
- Run atlasbound doctor to see whether the hooks and commands are wired in this repository.
- Read earlier work by file
- Run atlasbound decisionbook related src/store.js to find earlier work, or atlasbound decisionbook show file:src/store.js to inspect the record.
- Continue in a fresh session
- Use /handoff, then /clear, then /resume-handoff to bring the handoff into the new session.
Grounding
Find the missing decisions before writing the change.
You should not have to anticipate every question. DecisionBook gives your agent a research-first process: establish what is known, explore what could change, then bring you the gaps that need your judgement.
Investigate the task and its sources.
Test the risky assumptions.
Walk through the proposed change.
Ask what only people can decide.
Research uses your coding agent and the tools you give it. DecisionBook does not connect to your issue tracker or design tools by itself, and it does not prove every planned behaviour by running it.
Grounding, kept
Today's work becomes tomorrow's context.
Research for today’s task. Context for the next one. Follow the same feature as its recorded history grows.
Code findings, recorded outside research, open questions and human answers stay with the work. There is no separate knowledge base to fill.
- Task: add undo and redo
- Repository sourcesrc/store.js:12
- FindingsetState keeps no earlier state.from src/store.js:12
- Outside referenceRecorded reference: how other state libraries keep an undo history.topic: undo history
- Open questionHow many past states should the store keep?topic: undo history
- AI proposal · not a decisionKeep the last 50 states.proposed by the AI for the open question
- Person's decision · in their words“Keep 100, and make it an option.”said by the person · answers the open question
- CheckUndo after two changes restores the first.file: src/store.js
- Task: keep undo across a reload
- FindingEarlier finding: no undo history existed before that change.earlier task · same file src/store.js
- Person's decision · in their wordsEarlier answer: “Keep 100, and make it an option.”earlier task · same file src/store.js
- FindingA reload empties the store.from src/persist.js:8
- Open questionHow much of the history should survive a reload?topic: undo history
- Person's decision · in their words“Keep it for the open tab only.”said by the person · answers the open question
- CheckUndo still works after a reload.file: src/store.js
- Task: add undo and redo
- Task: keep undo across a reload
- Task: rename the settings page
- Task: speed up the search list
- New task: redo is lost after a reload
- Repository sourcesrc/store.js:12earlier task · same file src/store.js
- Person's decision · in their wordsEarlier answer: “Keep 100, and make it an option.”from the undo task · same file
- CheckUndo still works after a reload.from the reload task · same behaviour
Illustrative scenario, not a product screen. Connections represent a shared file, topic or source. The record stays; its relevance is checked against the current code.
Work memory
Keep what the work teaches you.
The preparation becomes the history: the task, research, observations, open questions, human answers and checks stay together under .decisionbook/. Commit them with the code and review them in a pull request.
- Why, and what success looks like
- The request in plain words, and how anyone will see that it worked.
- What the agent found
- What was investigated, what the code showed, any recorded probes, and the references that informed the work.
- Questions and answers
- Only what the code cannot answer is asked. Each answer is kept as your own sentence, marked as yours by the product, never by the agent.
- Checks and links
- The acceptance checks with their commands, and the files, tests and commits of the work.
From our test runs · one plan file
“Asking for more steps than there are goes as far as it can, without an error.”
- Who decided
- The person. The product marks whose decision it is, never the agent.
- What it answers
- A question of the plan about undo and redo over several steps.
- What proves it
- A check of the plan: the undo and redo tests pass.
The form is light. A small fix needs its files and your yes. Normal work adds how success is seen, a check and the questions. Only critical work fills the whole form.
The next task
Start with what was already learned.
The same history helps at different moments. These scenarios illustrate how it is used.
Months later, the store changes again.
Someone else takes over.
A long task goes on in a new session.
The use cases add a decision quoted from a real plan of our test runs.
See the use casesHandoff
New session. Start with the record.
In a long session, the decisions and jobs you gave early are the first thing an agent forgets. Handoff keeps one note per branch and puts your early messages in front of the agent again.
The note stays current.
Kept lines quote you.
It starts from the note.
The note lives in your home folder, never in the repository, and Handoff sends it nowhere. It calls no model: the only AI is your own session.
For teams
It already works for a team, with the free package.
Nothing to sign up for: a team shares DecisionBook through Git.
Plans are plain files in Git
A question can go to a teammate
Credited on proof
Every clone names what waits
Enterprise is a planned paid beta, in pilot, and not part of the free package: we are building a Team Console where a teammate answers in the browser and the reply returns to the work that raised it.
What Enterprise will add (pilot)Local by design
It runs on your machine.
- In your repository
- The plans (.decisionbook/). You commit them with the code and review them like code; everything else setup writes stays out of git.
- In your home folder
- The handoff note and the sentences of your messages, never in the repository. A session's sentences go when its plan closes, and after 30 days at most; uninstall with purge removes them.
- Sent to AtlasBound
- After its notice is shown, the beta sends a daily usage report to api.atlasbound.dev: step counts, time ranges, outcome codes, the version, Node major, OS family and a rotating random id. Never code, prompts, answers, names or paths. atlasbound telemetry next prints it first; atlasbound telemetry off turns it off. PRIVACY.md has the details.
- Your agent's provider
- What Claude Code sends to its model provider is governed by that provider's terms, not by AtlasBound.
Open source · AGPL-3.0-only
The next change has a head start.
When a bug fix or feature returns to the same part of the code, the agent can look up what the team decided and check it against today’s implementation.