Skip to content

DecisionBook · Handoff inside · local work memory

Sheet 02 / DecisionBook

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.

1

You hand over the issue

Name it in one plain line. That's all you say; you don't copy earlier answers in by hand.
2

It reads the issue and what it points to

Claude reads the issue, the discussion under it, and the files and documents it links to that it can open, before it plans anything.
3The heart of it

It examines the code

The agent researches the code and finds what the issue leaves open, before any code is written.
4

Decisions already made are recorded

Each decision found in the issue is recorded under the name of who made it, with the link to the comment.
5

It asks only what is still missing

Each question comes with its proposal. What the issue or the code already answers is not asked again.
6

One message, answers numbered

You answer every question in one message. A teammate's answer is credited to them only on proof.
7

Ready and frozen

The plan is READY and frozen before any code; a protected file is not written until it is.
8

Build

The build starts from the frozen plan and runs its checks. The decisions and their reasons stay in the record for the next change.

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 step

Use 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.

DecisionBook on GitHub

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.

DecisionBook on GitHub

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.

  1. Find evidence
  2. Ask the gap
  3. Keep the answer
  4. Use it again

A knowledge layer beside your code

Runs on your machineNo third-party dependenciesNo install scripts

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.

Read the work behind the changeREADME example

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?
The finding and the open question stay together.

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.

In your terminalNode 22 or newer
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"
Or let Claude Code do it

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.
1Plan

Give it a task.

The agent researches the code and brings you the open questions, with its proposals, before editing protected files.
2Decide

You decide.

Answer in your own words. Your answer is recorded separately from the agent’s proposal.
3Build

Build with the context.

The settled plan guides the change. Research, decisions and checks stay together in a record you can review with the code.
4Continue

Hand off when you want.

Type /handoff, then /clear, then /resume-handoff. The new context starts from the note and from the settled decisions, and does not ask again what you already decided.

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 GitHub

Find 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.
Read the setup and command guide on GitHub

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.

01

Investigate the task and its sources.

Read the issue and its discussion, earlier work and the affected code. Use relevant design references, such as Figma, and external documentation through your agent’s existing tools and access. Keep external references distinct from findings checked in the repository.
02

Test the risky assumptions.

Where it is safe and possible before an edit, the agent can run an existing test or a small probe and record the command and what happened. An observation, an assumption and an untested idea remain different kinds of evidence.
03

Walk through the proposed change.

Follow the change through its files and consumers. Consider existing data, limits, permissions and failure paths: what happens if this input is empty, this call fails or another part still expects the old behaviour? Open questions become visible before implementation.
04

Ask what only people can decide.

The agent brings each open decision with its evidence, why the code cannot settle it and a proposed answer. You supply the intent the repository does not contain. Your own words, reasons and exceptions stay with the question.

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.

01The first taskResearch, a product choice and a check become a record the next task can use.
  • 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

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.

Scenario

Months later, the store changes again.

A new change touches src/store.js. The earlier limit of 100, the person’s answer and AC-1 provide a starting point. The agent checks what still applies and asks what the new change leaves open.
Scenario

Someone else takes over.

The next owner finds the research, answers and checks linked to the file, before tracking down the person who last worked on it.
Scenario

A long task goes on in a new session.

Type /handoff, then /clear, then /resume-handoff. The new context starts from the note and the settled decisions instead of asking you again.

The use cases add a decision quoted from a real plan of our test runs.

See the use cases

Handoff

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.

01Kept without you

The note stays current.

It is rebuilt from measured facts at every message: the branch, the commits, the changed files, the plan's state. A closed terminal or a crash still leaves the next session your last messages.
02Your own words

Kept lines quote you.

At a handoff the agent sends back up to seven lines, each naming the message it comes from. A line keeps the whole sentence you wrote; a paraphrase is refused.
03The next session

It starts from the note.

After /clear, /resume-handoff starts the new context from the note, the kept lines first. Handoff never blocks and never asks by itself.

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.

Free · today

Plans are plain files in Git

Commit .decisionbook/ with the code; a teammate who pulls gets the plans and the decisions in the words they were given.
Free · today

A question can go to a teammate

Only the person who can answer it gets it. The plan doesn't wait, and their answer is recorded in their words.
Free · today

Credited on proof

A teammate's words are credited to them only on proof: a pasted chat line, a quoted email, their issue comment, or your one click on Claude Code's prompt.
Free · today

Every clone names what waits

A question parked for someone is named at every session start and in the inbox, in every clone that holds the plan.

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.
Read PRIVACY.md in the repository

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.

Get started free