feat(backends): add Beads (bd) storage backend - #53
Open
RooseveltAdvisors wants to merge 27 commits into
Open
Conversation
|
Please check PR #52 - it looks like we worked on the same feature |
Author
|
I checked PR #52. It is a second, overlapping Beads backend implementation (with a different config shape plus mirror, prune, and real-bd conformance work), not an unrelated change. Both PRs cannot be applied independently without overlap. Since #52 is still open and there is no explicit supersession or rejection signal, I’m leaving #53 open pending your direction on which implementation to keep. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Implements the existing pluggable
Storeseam (src/store.ts) for the Beads issue tracker: a second backend alongside markdown, selected via.tasks.tomlbackend = "beads".Why
We run agent fleets where the dispatch pipeline (fm-spawn, session-start, backlog handoff) calls tasks-axi, while task truth lives in a Beads graph (Dolt-backed, dependency edges,
bd ready). The adapter removes double bookkeeping: one CLI surface (tasks-axi), pluggable storage (markdown or beads). Our fleet has been running it in production across ~25 agent homes for the last day.Design notes
bd create --id(bd rejects ids outside its prefix; we validate before invoking). No sidecar mapping needed.tasks-axi-heldlabel;hold.untilmirrors native--defer; clearing uses bd's documented clear operation.tasks-axi:beads/v1) in the issue description; same header carries kind/repo and archived-body bookkeeping.deriveLinkswas extracted to sharedsrc/links.ts(net negative lines); markdown behavior and tests unchanged.Testing
353 lines of fixture-mocked tests: CRUD round-trip, transitions with post-call verification, dependency add/remove with reason encoding, prefix rejection, bd's structured missing-issue shapes, hold persistence and dated-hold clearing, config resolution. Full suite green.
Config