bjorn.now

March 20, 2026

All I got up to this day (as far as you know)

7 posts on this day

When beads can’t find or create a dolt database, delete the local dolt state and reinit.

The errors look like this:

Error: failed to open Dolt store: database "bs" not available after CREATE DATABASE: Error 1049 (HY000): database not found: bs

or:

Error: failed to open database: database "bs" not found on Dolt server at 127.0.0.1:3308
[… more]
til 1 min read #beads, #dolt

Beads with dolt store data in git refs, not branches, and won’t share it anywhere until you manually configure a remote.

After bd init, your dolt data only exists locally. You can check with bd dolt remote list which will show “No remotes configured.”

[… more]
til 1 min read #beads, #dolt

I tweak the default beads setup to work with Claude instead of the generic agent integration.

As of beads 0.62.0, this is what I run:

# configure agents later
bd init --shared-server --skip-agents

# setup a CLAUDE.md and configure claude hooks to re-prime beads
bd setup claude --project
bd hooks install

# move local settings to project settings
mv .claude/settings{.local,}.json

# amend init commit so .beads-credential-key never enters git
git add .claude/settings.json CLAUDE.md
git commit --amend -CHEAD

# share beads data alongside your git repo
bd dolt remote add origin git+ssh://[email protected]/you/repo.git
echo -e 'sync:\n  git-remote: git+ssh://[email protected]/you/repo.git' >> .beads/config.yaml

The key thing is --skip-agents and then bd setup claude --project instead, so you get Claude-specific hooks rather than the generic agent integration. The dolt remote lines are so your beads data gets stored alongside your git repo.

til Updated #beads

To switch beads from a per-project dolt server to the shared server, do a backup, configure shared-server, and restore.

I was running in “a server per repo” mode and it’s just unnecessary, they clash in annoying ways when switching repos, and once I understood how beads store data in git I embraced dolt and the shared server. I had hesitated because I had somehow connected it with DoltHub, and that’s optional for using beads.

  1. bd backup: make sure you have your local database available for restore
  2. bd dolt stop: so we don’t conflict on anything
  3. bd dolt set shared-server true: to configure this project to use the shared server
  4. bd restore: to restore the db

For most of my projects this just worked, but in some cases I had to reset the dolt configuration for the repo.

and now I’ve strung up all the beads experiences from the last couple of days 😆