Skip to content

Beads doesn't work in the sandbox out of box #588

@rkern

Description

@rkern

I've tried setting up a simple git repo with Beads (1.0.3, plain bd init, auto-export enabled as default) and Sandcastle (0.5.8, simple-loop). It does not appear that the Beads database is available to the workers.

  Sandbox: docker
  Max iterations: 3
  Branch: sandcastle/worker/20260506-200112
Iteration 1/3
Copying to worktree...
Copying to worktree done (0.2s)
Setting up sandbox
  npm install
Setting up sandbox done (0.8s)
Expanding shell expressions
Failed to resolve prompt: Command `bd ready --json` exited with code 1: Error: no beads database found
Hint: run 'bd where' to inspect the resolved workspace, or 'bd init' to create a new database
      or set BEADS_DIR to point to your .beads directory

Is there a worked example for setting up Sandcastle with Beads, end-to-end? Is there more setup to do (like a hook to reconstruct the Dolt database in the worktree)? I'm iterating on workarounds, but it's getting involved. It seems to me that either there's a lot more ceremony around exporting/importing .beads/issues.jsonl between host and worker or setting up the worker container to network out back to the host to access the Dolt server.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions