Skip to main content

Beadhive CLI

Project description

Beadhive (bh)

bh is a single CLI for managing beads issue tracking across many repositories. Each repo is its own beads database (a hive) with a short, stable prefix; bh onboards them, keeps their labels consistent, runs bd/git across one or all of them, and aggregates every hive into one cross-repo view — even hives whose code isn't checked out.

It's a thin orchestrator over bd, git, git-workspace, dolt, and docker: bh encodes the conventions, the registry, validation, and routing. Config and runtime state live under ~/.beadhive/; no issue data lives there — each hive's issues live in its own Dolt DB under refs/dolt/data on that repo's own git remote.

bh is the Beadhive umbrella's workspace CLI — the integration-plane driver for AGF (Agentic Git Flow), the abstract, tracker-independent process. Beadflow is that process implemented on beads: this repo's concrete implementation, unchanged behavior under a naming layer. See docs/AGF.md for the process and docs/design/limn-naming-strategy-adr.md for the naming decision record.

This repo is the CLI's source (Python package beadhive on PyPI, command bh).

Install

Agents: point your agent at INSTALL.md — the preferred install path. It carries a structured install: frontmatter block (the agent reads it, discloses the plan, and asks before each command) plus a prose fallback any agent or human can follow.

Manual (pick one):

uv tool install 'beadhive[otel]'     # PyPI (recommended)
brew install beadhive/tap/beadhive   # Homebrew

Then scaffold the config home:

bh config init      # writes config.yaml + templates into ~/.beadhive/

Optional (Claude Code): the bh claude-plugin vends the AGF seat agent defs and role skills; bh mcp install wires the MCP server at user scope:

claude plugin marketplace add beadhive/claude-plugin
claude plugin install bh@beadhive
bh mcp install

Docs

New to bh? Start at **docs/ONBOARDING.md** — the end-to-end guide from fresh Mac to a configured AGF workspace with registered hives.

Everything else — the design and reasoning, configuration, the full command surface, and each component — starts at **docs/OVERVIEW.md**.

Develop

just bootstrap   # brew bundle + mise install + uv sync   (once per machine)
just install     # uv tool install --force '.[otel]' → ~/.local/bin/bh
just lint        # ruff check
just fmt         # ruff format
just test        # pytest
just build       # uv build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beadhive-0.3.0.tar.gz (953.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beadhive-0.3.0-py3-none-any.whl (384.7 kB view details)

Uploaded Python 3

File details

Details for the file beadhive-0.3.0.tar.gz.

File metadata

  • Download URL: beadhive-0.3.0.tar.gz
  • Upload date:
  • Size: 953.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for beadhive-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b14301a3a48363741256ba1082ac95b845d449eb4cf28af6acd0ccb2c9f4d3ef
MD5 6ce73c11b3b7ec448bbe77fd3fa3ec8f
BLAKE2b-256 471ec8ae65b19d8b779e78ec7a5848e03849e53edb04ea48ab8c7d0ed625ab87

See more details on using hashes here.

File details

Details for the file beadhive-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: beadhive-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 384.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for beadhive-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60fc92043354b0a9770832d9427f9eb0dec484f0c4bef0e34d9f4c630ee6ad9c
MD5 5eded7bf3c60c53311ec32b2bcafa311
BLAKE2b-256 17e055c48d4de462bb18dc73f97ef2a64b6d2e562bdd0c679c40ab9930fd53db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page