Skip to content

fix: correct bv (beads_viewer) installation method#324

Merged
marcusquinn merged 2 commits intomainfrom
bugfix/beads-viewer-install
Feb 5, 2026
Merged

fix: correct bv (beads_viewer) installation method#324
marcusquinn merged 2 commits intomainfrom
bugfix/beads-viewer-install

Conversation

@marcusquinn
Copy link
Copy Markdown
Owner

@marcusquinn marcusquinn commented Feb 5, 2026

Summary

  • Fix bv (beads_viewer) installation in setup.sh - was trying to install non-existent beads-viewer pip package
  • bv is a Go tool installed via Homebrew, not a Python package
  • Add fallbacks: Go install, curl script for systems without Homebrew
  • Update beads.md documentation with correct install commands and usage

Changes

File Change
setup.sh Replace pipx/pip install with Homebrew tap, Go, curl fallbacks
.agent/tools/task-management/beads.md Update viewer table and install instructions

Testing

  • ShellCheck passes on modified lines
  • brew tap dicklesworthstone/tap && brew install dicklesworthstone/tap/bv works

Summary by CodeRabbit

  • Documentation

    • Beads viewer tool renamed to bv with updated installation instructions and command examples.
  • Chores

    • Simplified Beads UI installation flow to use Homebrew as the primary method with fallback options.

- Change from non-existent pip package to Homebrew tap
- Add Go install and curl script fallbacks
- Update beads.md documentation with correct commands
- bv is a Go tool, not Python (was trying pipx install beads-viewer)
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @marcusquinn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses an incorrect installation procedure for the beads_viewer tool, which was erroneously treated as a Python package. The changes update the installation script and documentation to correctly install beads_viewer (now referred to as bv) as a Go application, ensuring users can properly set up and utilize this TUI tool.

Highlights

  • Corrected beads_viewer Installation: The installation method for beads_viewer (now referred to as bv) was corrected. It was previously mistakenly installed as a Python package via pipx/pip, but it is actually a Go tool.
  • Updated setup.sh Script: The setup.sh script now correctly installs bv using Homebrew as the primary method, with fallbacks for go install and a curl script for systems without Homebrew.
  • Documentation Updates: The beads.md documentation has been revised to reflect the correct bv installation commands and updated usage examples, including new 'robot' modes for triage and next task.
Changelog
  • .agent/tools/task-management/beads.md
    • Updated the 'Tool' table entry for beads_viewer to bv and changed its installation method from pip install beads-viewer to brew install dicklesworthstone/tap/bv.
    • Replaced the Python-based installation instructions for beads_viewer with Go-based instructions, including Homebrew, go install, and a curl script.
    • Modified usage examples for beads_viewer to use bv and introduced new bv --robot-triage and bv --robot-next commands.
  • setup.sh
    • Updated the description of beads_viewer in the setup_beads_ui function from 'Python' to 'Go' and its name from beads_viewer to bv.
    • Refactored the beads_viewer installation logic to prioritize Homebrew, then go install, and finally a curl script, removing all pipx/pip related installation attempts for this tool.
Activity
  • No specific activity (comments, reviews, or progress updates) has been recorded for this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 5, 2026

Warning

Rate limit exceeded

@marcusquinn has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 18 minutes and 53 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

Walkthrough

This PR migrates the beads_viewer tool from Python to a Go-based implementation named bv, updating installation instructions in documentation and setup scripts from pipx-based deployment to Homebrew-based installation with fallback options.

Changes

Cohort / File(s) Summary
Tool Migration Documentation
.agent/tools/task-management/beads.md
Renamed beads_viewer to bv throughout documentation; updated installation instructions to use Homebrew taps and Go-compatible paths; revised example commands and repository references to reflect the new Go-based tool name.
Installation Script Updates
setup.sh
Replaced multi-path Python beads_viewer installation (pipx, brew, manual pip) with single Homebrew-based bv installation; added fallback to curl/script or Go install when Homebrew unavailable; updated prompts and success messaging.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

From Python to Go, the beads take flight ✨
beads_viewer fades, bv shines bright
Homebrew taps and fallback flows,
Zero debt as installation grows 🎯

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change: correcting the installation method for bv (beads_viewer) from non-functional pip/pipx paths to Homebrew tap and fallbacks.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch bugfix/beads-viewer-install

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 and usage tips.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly fixes the installation method for the bv (beads_viewer) tool, changing it from a Python package to a Go tool installed via Homebrew with appropriate fallbacks. The documentation in beads.md has also been updated accordingly. I've suggested one improvement in setup.sh to make the Homebrew installation command more robust and idiomatic.

setup.sh Outdated
print_info "Run: beads-viewer"
if command -v brew &> /dev/null; then
# Add the tap and install
if run_with_spinner "Installing bv via Homebrew" bash -c "brew tap dicklesworthstone/tap 2>/dev/null; brew install dicklesworthstone/tap/bv"; then
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The Homebrew installation command can be simplified and made more robust. The brew install user/tap/formula syntax automatically handles tapping, making the explicit brew tap command redundant. Additionally, using ; between commands is less safe than &&, as it would attempt to install even if tapping failed. The run_with_spinner function already redirects stderr, so 2>/dev/null is also unnecessary.

Using the modern, idempotent brew install command is cleaner and more reliable.

Suggested change
if run_with_spinner "Installing bv via Homebrew" bash -c "brew tap dicklesworthstone/tap 2>/dev/null; brew install dicklesworthstone/tap/bv"; then
if run_with_spinner "Installing bv via Homebrew" brew install dicklesworthstone/tap/bv; then

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 5, 2026

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 2 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Thu Feb 5 02:07:30 UTC 2026: Code review monitoring started
Thu Feb 5 02:07:31 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 2
Thu Feb 5 02:07:31 UTC 2026: Qlty - 0 issues found, auto-formatting applied
Thu Feb 5 02:07:33 UTC 2026: Codacy analysis completed with auto-fixes

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 2
  • VULNERABILITIES: 0

Generated on: Thu Feb 5 02:09:07 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@marcusquinn marcusquinn merged commit 1968ddc into main Feb 5, 2026
1 of 2 checks passed
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Feb 5, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 5, 2026

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 2 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Thu Feb 5 02:10:01 UTC 2026: Code review monitoring started
Thu Feb 5 02:10:02 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 2
Thu Feb 5 02:10:02 UTC 2026: Qlty - 0 issues found, auto-formatting applied
Thu Feb 5 02:10:04 UTC 2026: Codacy analysis completed with auto-fixes

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 2
  • VULNERABILITIES: 0

Generated on: Thu Feb 5 02:11:36 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.agent/tools/task-management/beads.md (1)

147-163: ⚠️ Potential issue | 🟡 Minor

Replace inline bv install/run commands with file:line references

These new bv install/run snippets embed commands directly in the agent doc. To keep docs progressive and authoritative, point to the actual implementation (e.g., setup.sh:2746-2847) or a dedicated subagent instead of inline commands.

📝 Suggested doc tweak (progressive disclosure)
-| `bv` | TUI | PageRank, critical path, graph analytics | `brew install dicklesworthstone/tap/bv` |
+| `bv` | TUI | PageRank, critical path, graph analytics | See setup.sh:2746-2847 |
@@
-# Advanced TUI with graph analytics (Go)
-brew tap dicklesworthstone/tap && brew install dicklesworthstone/tap/bv
-# Or: go install github.com/Dicklesworthstone/beads_viewer/cmd/bv@latest
-# Or: curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/beads_viewer/main/install.sh | bash
-# Repository: https://github.com/Dicklesworthstone/beads_viewer
+# Advanced TUI with graph analytics (Go)
+# Install flow: setup.sh:2746-2847 (setup_beads_ui → bv)
@@
-# bv - Advanced TUI (beads_viewer)
-bv                        # Interactive mode
-bv --robot-triage         # Agent mode: triage overview
-bv --robot-next           # Agent mode: next task to work on
+# bv - Advanced TUI (beads_viewer)
+# Usage reference: setup.sh:2746-2847 or a dedicated bv subagent (if available)

As per coding guidelines, Apply progressive disclosure pattern by using pointers to subagents rather than including inline content in agent documentation; Include code examples only when authoritative; use file:line references to point to actual implementation instead of inline code snippets.

Also applies to: 187-190

🧹 Nitpick comments (1)
setup.sh (1)

2791-2799: Consider preferring Homebrew for safer installation, or document the supply-chain risk

The curl | bash pattern introduces supply-chain risk. The upstream beads_viewer repository does not publish checksums or signed releases, making the suggested checksum verification impractical. Instead:

  • Preferred: Use Homebrew (brew install dicklesworthstone/tap/bv) or Scoop on Windows for signed, verified packages
  • If fallback script is necessary: Document the trade-off to end users; the upstream itself recommends this pattern in their official docs, accepting the risk in exchange for convenience

The current implementation aligns with upstream practice but lacks a user-facing security notice about this trade-off.

@marcusquinn marcusquinn deleted the bugfix/beads-viewer-install branch February 21, 2026 01:59
@marcusquinn marcusquinn added the code-reviews-actioned All review feedback has been actioned label Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-reviews-actioned All review feedback has been actioned

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant