BeadsHX
BeadsHX is an experimental port of Beads,
the dependency-aware issue tracker, to Haxe. The Haxe source compiles to Go
with the haxe.go compiler. The compatibility target is Beads v1.2.1.
Why: the goal is a Beads whose application behavior is written in Haxe, with
precise types, under src/beadshx/. Go keeps what it already does well: the
Dolt database, its driver and the platform tooling. The BeadsHX binary,
bdhx, uses the same workspaces and the same database as upstream bd, so
both can read the same issues.

Status
BeadsHX is not a stable replacement for bd. The port is incomplete, and no
BeadsHX release is available. Use upstream Beads for real work.
- Works today: a read-only profile.
bdhx runs the Beads commands that
list, show, search and graph issues, and the ones that read the
configuration. For each tested case, it prints the same output as upstream
bd v1.2.1.
- Not yet: anything that writes.
bdhx cannot create, update, close or
sync issues, and it never migrates a database. Writes come with later
milestones, starting with M09. Migration comes with M12.
- The upstream
bd binary is only a test oracle: a reference that the tests
compare bdhx with. A BeadsHX release build never hands a command to it.
See it run
bdhx list --all: every issue at a glance, with epics as trees, colored
priorities and status icons.

bdhx ready: the work you can start now — issues with no open blockers.

bdhx show: one issue's details, description, acceptance criteria and
relations.

bdhx graph: an epic's dependency graph, drawn in layers.

python3 scripts/beadshx/render_screenshots.py generates these images from a
demo workspace (how).
Build and run
From the repository root, install the locked Haxe toolchain, generate the Go
source and build the binary:
npm run setup:haxe
npm run generate
npm run build
The binary is build/bin/bdhx. Run it inside a Beads workspace, for example
build/bin/bdhx ready or build/bin/bdhx list --json. bdhx does not write
to the workspace, but it is a development build: try it on a copy of a
workspace, or on a new one that upstream bd init created. See
data safety and
all build commands.
Commands
- Workspace and status:
version, where, info, ping, status
- Issues:
list, show, children, search, query, count,
ready, stale, orphans, comments, label list, label list-all,
history
- Dependencies and graphs:
dep list, dep tree, dep cycles,
blocked, graph, graph check
- Reference lists:
types, statuses
- Events journal:
events, events tail, events export
- Configuration:
config get, config list, config show,
config validate, config drift
- BeadsHX extension:
snapshot, a read-only snapshot of every issue
Read commands describes
each command in detail.
Main limits
- Write commands, such as
create, update and close, are not ported:
bdhx prints unknown command.
- On a database with an older schema and no Dolt remote,
bdhx stops with
upstream's read-only error. Upstream would migrate the database.
- In a server-mode or proxied workspace (the database runs in a Dolt
server), some commands, such as
dep tree, blocked, graph, history
and the config commands, report that they are not available yet.
- In shared-server mode, every command that reads the database reports that
it is not available yet.
- A workspace that has only a legacy
.beads/config.json is refused,
because upstream would rewrite that file.
Known limits lists every known
difference from upstream.
Documentation