Skip to content

feat: add beads as third backlog backend option - #6

Closed
trillium wants to merge 4 commits into
mainfrom
fm/beads-backlog-backend
Closed

feat: add beads as third backlog backend option#6
trillium wants to merge 4 commits into
mainfrom
fm/beads-backlog-backend

Conversation

@trillium

Copy link
Copy Markdown
Owner

Add beads federated task store as a third supported backlog backend alongside tasks-axi (default) and manual.

Changes

  • Added fm_beads_backend_available() check in fm-tasks-axi-lib.sh
  • Integrated beads queue discovery in session-start digest
  • Bootstrap validation for beads CLI and store reachability
  • Documentation update explaining beads backend as queue source
  • Test suite for backend selection and availability checks
  • Backend-aware backlog pointer messaging

Validation

  • Review: 0 findings
  • Test: 0 findings
  • Document: 0 findings
  • Lint: 0 findings

Beads backend reuses existing per-task beads linkage machinery (task set-state, task close) for lifecycle management while adding new queue-source discovery functionality.

trillium added 4 commits July 31, 2026 01:19
When config/backlog-backend=beads is set, firstmate uses the beads federated
'task' store as the queue source instead of data/backlog.md. Session-start's
digest lists items with status:ready label from the beads store.

- Add fm_beads_backend_available() check in fm-tasks-axi-lib.sh
- Add print_backlog_beads_compact() rendering function in fm-session-start.sh
- Update print_backlog_compact() to prioritize beads backend when configured
- Add beads backend validation to bootstrap (checks task CLI and store reachability)
- Update docs/configuration.md to document beads backend option
- Update AGENTS.md section 10 to reference beads backend in backlog contract
- Beads backend reuses existing task linkage machinery (task set-state, task close)

The beads backend is fail-open: if task CLI is missing or store is unreachable,
bootstrap reports a MISSING: diagnostic line and the home can still operate.
Tests for:
- fm_backlog_backend_value() reading beads config
- fm_beads_backend_available() checking task CLI and store
- fm_tasks_axi_backend_available() returning false when beads is set
- whitespace handling in backend config values
The install_cmd() function now recognizes 'task' and provides an install
command for the beads CLI tool.
Update print_backlog_pointer() to provide backend-specific guidance:
- beads backend: suggest 'task show <id>' for beads task store
- manual backend: suggest 'inspect data/backlog.md'
- default/tasks-axi: original message with tasks-axi and data/backlog.md
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@trillium, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 25 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 83cedc75-b6b9-4ba3-9067-7a2028f329e0

📥 Commits

Reviewing files that changed from the base of the PR and between 85ea6c0 and 5023ef9.

📒 Files selected for processing (6)
  • AGENTS.md
  • bin/fm-bootstrap.sh
  • bin/fm-session-start.sh
  • bin/fm-tasks-axi-lib.sh
  • docs/configuration.md
  • tests/fm-beads-backend.test.sh

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@trillium

Copy link
Copy Markdown
Owner Author

Closing in favor of PR created via no-mistakes pipeline

@trillium trillium closed this Jul 31, 2026
@trillium
trillium deleted the fm/beads-backlog-backend branch July 31, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant