一键导入
beads-local-db-ops
Use Beads (bd) with Dolt server backend for multi-repo task tracking.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use Beads (bd) with Dolt server backend for multi-repo task tracking.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use GitHub CLI (gh) and SonarQube MCP tools to fetch PR details, review comments, threads, and quality gate status for the current branch before addressing code review feedback.
Inspect SonarQube quality gates, issues, and source using the SonarQube MCP tools.
Use structured sequential thinking for multi-step debugging, architecture decisions, or ambiguous problem framing.
Retrieve up-to-date third-party library docs via Context7 (resolve-library-id then query-docs) before implementing integrations.
Use Augment context engine codebase-retrieval for semantic code search and architecture understanding before editing or refactoring.
基于 SOC 职业分类
| name | beads-local-db-ops |
| description | Use Beads (bd) with Dolt server backend for multi-repo task tracking. |
Use Beads with Dolt server backend where:
issue-prefix in config) share a single Dolt database.beads/issues.jsonl) are interchange format for cross-clone git syncbd export / bd import replace the deprecated bd sync commandsEach repository connects to the shared Dolt server with its own prefix:
issue-prefix: repomap-core (this repo)issue-prefix: daemon~/.dolt-data/beads holds all repos' issues--prefix flag on bd create routes issues to the correct partitionTo create beads in a different repo's prefix from the current repo, each repo
needs a .beads/routes.jsonl file mapping prefixes to relative paths:
repomap-core .beads/routes.jsonl:
{"prefix":"daemon-","path":"../oc-daemon"}
oc-daemon .beads/routes.jsonl:
{"prefix":"repomap-core-","path":"../repomap-core"}
Format: Each line is a JSON object with:
prefix: the ID prefix with trailing hyphen (e.g., "daemon-")path: relative path from the project root (parent of .beads/) to the target repo's project rootUsage:
# From repomap-core, create a bead in daemon's rig
.kilocode/tools/bd create "Fix classifier" -t task -p 1 --prefix daemon
# List beads in another rig
.kilocode/tools/bd list --rig daemon
~/Projects/repomap-windsurf/~/Projects-Employee-1/repomap-core/Use this skill for:
bd statusbd create, bd update, bd show, bd close (all persist immediately)bd export if JSONL interchange is needed for cross-clone syncbd export → git commit JSONL → other clone bd import--prefix flag with routes.jsonl configuredThe Dolt server must be running before bd commands work:
# Start Dolt server (one-time per boot)
cd ~/.dolt-data/beads && nohup dolt sql-server --port 3307 --host 127.0.0.1 > /tmp/dolt-beads-server.log 2>&1 &
# Verify server is listening
nc -z 127.0.0.1 3307 && echo "Server OK" || echo "Server NOT running"
# Verify Dolt server is running
nc -z 127.0.0.1 3307 && echo "Server OK" || echo "Start Dolt server first"
# Refresh Dolt from JSONL if a cross-clone git pull may have brought newer JSONL
.kilocode/tools/bd import --from-jsonl .beads/issues.jsonl
# Find available work
.kilocode/tools/bd ready
# Claim an issue
.kilocode/tools/bd update <id> --status in_progress
# View issue details
.kilocode/tools/bd show <id>
# Update status (writes persist immediately — no sync needed)
.kilocode/tools/bd update <id> --status in_progress
# Add notes as you learn
.kilocode/tools/bd update <id> --notes "..."
# Create new issues
.kilocode/tools/bd create "Title" -d "Description" -p 0 -l "label1,label2"
# Create in another repo's prefix (requires routes.jsonl)
.kilocode/tools/bd create "Title" -t task -p 1 --prefix daemon
# Close completed issues (persists immediately)
.kilocode/tools/bd close <id>
# Export to JSONL for cross-clone interchange (if needed)
.kilocode/tools/bd export -o .beads/issues.jsonl
Do NOT use bd hooks install. Git hook shims resolve bd via PATH, which
may find the wrong version (e.g., a release binary without CGO support). This
causes hard crashes that block all git commits.
Instead, use the opencode plugin at .opencode/plugins/beads-sync.ts which:
bd wrapper at .kilocode/tools/bdbd is unavailableIf bd doctor warns about missing hooks, this is expected and safe to ignore.
The following commands exist for backward compatibility but are no-ops with Dolt backend:
bd sync — Returns instantly. All writes persist via Dolt server immediately.bd sync --no-push — Returns instantly. Same reason.Replacements:
bd export (to JSONL) and bd import (from JSONL)bd dolt push and bd dolt pullbd gate — Async coordination gates for fanout/collect patternsbd query — Query issues using simple query languagebd dep — Manage dependencies between issuesbd diff — Show changes between Dolt commits/branchesbd history — Show version history for an issue (Dolt feature)bd mol — Molecule commands (work templates)bd formula — Workflow formulasbd slot — Agent bead slotsbd compact — Dolt compaction for closed issues (new in v0.55.4)bd list --no-parent — Filter to top-level issues only (new in v0.55.4)bd list --rig <name> — Query another rig's beads from current repobd move / bd refile — Move issues between rigsbd doctor / init diagnostics for fresh-clone and Dolt database-not-found statesrepomap-core) automatically partitions issues per repo in the shared databaseroutes.jsonl in both reposThe pinned build script at .kilocode/tools/beads_install.sh (local-only,
gitignored) builds from source with CGO_ENABLED=1, which is required for
the Dolt backend. Run it once per machine to install. The version pin is in
.kilocode/tools/beads_version.
.kilocode/tools/beads_install.sh (local-only, gitignored)cd ~/.dolt-data/beads && dolt sql-server --port 3307 --host 127.0.0.1bd init --server --from-jsonl to initializebd sync is a no-op with Dolt. Use bd export/bd import for interchange.bd doctor and init flows should surface fresh-clone state more clearly; prefer those diagnostics before manual repairbd doctor for diagnosticsbd export -o .beads/issues.jsonl to re-sync JSONL..beads/routes.jsonl exists in the source repo with the correct prefix and relative path..beads/config.yaml has the correct issue-prefix.