Issue tracker: Beads

Issues and specs for this repo live in Beads, tracked with the bd CLI in .beads/. Use bd for all operations. Issue IDs are prefixed datahub-next- (e.g. datahub-next-060).

Conventions

  • Create an issue: bd create --title "..." --description "..." [--type task|bug|feature|epic] [--priority 0-3]. bd create <file.md> creates one or more issues from a markdown file; bd q "..." quick-captures and prints only the new ID.
  • Read an issue: bd show <id> (add --json for structured output). Comments: bd comments <id>.
  • List issues: bd list --status open --json. Filter by label with -l/--label <name> (AND) or --label-any (OR). bd list --ready shows only ready (unblocked, un-hooked) work; bd ready is the shortcut.
  • Search: bd search "<query>", or bd query "<expr>" for the query language.
  • Comment on an issue: bd comments add <id> "...".
  • Apply / remove labels: bd label add <id> <label> / bd label remove <id> <label>. bd label list-all lists every label in use.
  • Update fields / status: bd update <id> --status in_progress (statuses: open, in_progress, blocked, deferred, closed), --priority, --assignee, etc.
  • Close: bd close <id> [--reason "..."]. Reopen with bd reopen <id>.
  • Dependencies: bd dep add <id> --blocked-by <other-id> (first-class dependency support; bd ready respects open blockers).

Issues are stored in Dolt: an embedded database in .beads/embeddeddolt/ (gitignored), found automatically inside the clone. They sync through the refs/dolt/data ref on GitHub, which code branches and PRs never include: bd dolt pull / bd dolt push, or bd sync for both. A fresh clone gets them with bd bootstrap. .beads/issues.jsonl is not committed; run bd export -o .beads/issues.jsonl when a viewer such as bv needs it.

Pull requests as a triage surface

PRs as a request surface: no. (Set to yes if this repo treats external PRs as feature requests; /triage reads this flag. Beads has no native PR concept — if enabled, mirror the relevant PR into a Beads issue manually.)

When a skill says "publish to the issue tracker"

Create a Beads issue with bd create.

When a skill says "fetch the relevant ticket"

Run bd show <id> (the user will normally pass the datahub-next-<id> reference directly).

Wayfinding operations

Used by /wayfinder. The map is an epic; child issues are the tickets.

  • Map: an issue of type epic (bd create --type epic --title "..."), labelled wayfinder:map, holding the Notes / Decisions-so-far / Fog body in its description.
  • Child ticket: an issue linked to the epic as a child (bd create --type task ... then attach via bd dep/parent, or bd children <epic-id> to list). Label with wayfinder:<type> (research/prototype/grilling/task). Once claimed, set --assignee.
  • Blocking: Beads native dependencies — bd dep add <child> --blocked-by <blocker>. A ticket is unblocked when every blocker is closed; bd ready surfaces only unblocked work.
  • Frontier query: bd ready --label wayfinder:map (or list the epic's open children via bd children <epic-id> and drop any blocked or assigned); first in map order wins.
  • Claim: bd update <id> --status in_progress --assignee @me before any work.
  • Resolve: bd comments add <id> "<answer>", then bd close <id>, then append a context pointer to the map's Decisions-so-far.