Skip to content
Back to home

Everything your reef needs.

From install to autonomous care. Full documentation is in the GitHub repo. This page has the quick reference.

Install

Clone and bootstrap

$ git clone <repo-url> ~/.bluei
$ cd ~/.bluei && ./scripts/bootstrap.sh

Bootstraps the Python environment, verifies core tools, creates workspace directories.

Interactive setup

$ bluei init

First-run wizard walks you through configuration. Then register your first repo with bluei onboard --repo /path/to/project.

CLI Commands

19 commands covering the full repository health lifecycle. Most run once and forget.

bluei init

Interactive first-run setup wizard.

bluei onboard --repo <path>

Headless onboarding for a new repository.

bluei scan <name>

Run discovery scan for issues across all detectors.

bluei duster <name>

Dry-run preview. Shows specks without creating anything.

bluei clean <name>

Fix issues and open pull requests.

bluei health <name>

Show vitality score (0–100) and trend.

bluei status

Show agent or repo status.

bluei report <name>

Generate HTML or PDF QA report.

bluei secrets <path>

Scan for hardcoded secrets and API keys.

bluei doctor

Run operational checks and diagnostics.

bluei patterns <sub>

Manage learned fix patterns. List, show, deactivate, reactivate.

bluei campaign <sub>

Plan and execute multi-finding refactor campaigns.

bluei emergent <sub>

Propose, shadow-test, and activate learned detector rules.

bluei dashboard

Generate a static observability dashboard.

bluei ci

Generate a GitHub Actions CI workflow.

bluei install-cron --repo <name>

Schedule recurring runs via host cron.

Detectors

8 language categories covered by 7 built-in tools plus optional LLM backends. Missing tools are skipped gracefully.

Python ruff

Lint errors, style issues, security bugs, comprehension misuse.

TypeScript / JS ESLint, xo

Code quality, style violations, complexity analysis.

TypeScript tsc --noEmit --strict

Type safety: missing types, explicit any, untyped imports.

Go staticcheck

Bugs, style issues, dead code, simplification opportunities.

Shell / Bash shellcheck

Quoting issues, deprecated syntax, injection vectors.

Dockerfile hadolint

Unversioned images, apt cleanup, layer consolidation.

Markdown markdownlint

Header spacing, bare URLs, hard tabs, line length.

All languages gitleaks

Secrets: AWS keys, GitHub tokens, API keys, private keys, high-entropy strings.

Care Levels

Graduated autonomy model. Start in observe. When you trust the fixes, move up. Nothing happens by surprise.

Observe

Scan only. Reports what it finds. No issues, no PRs, no code changes. Pure visibility.

Issue

Creates GitHub issues from findings. Categorized, labeled, linked to source. No code changes.

PR

Opens fix pull requests. Grouped by category. You review and merge. The routine was handled.

Auto-merge

Fixes and merges. For repos you trust bluei with. High-confidence fixes only. Full audit trail.

Architecture

Standalone-first design. No platform dependency. The deterministic cascade tries 8 stages before falling back to LLM — saving ~65% of LLM calls.

host cron / CLI

bin/bluei — bash wrapper

RunEngine — orchestrated QA cycle

sandbox_local_runner — execution engine

repo worktrees · GitHub API · vitality snapshots

Fix Cascade

8 deterministic stages tried in order before LLM fallback. Faster, cheaper, and more reliable than pure AI fixes.

1. ruff --fix · 2. ruff format · 3. pyupgrade · 4. autoflake

5. isort · 6. recipe engine · 7. pattern replay · 8. AST transforms

↳ LLM fallback (claude / opencode)

Full Documentation

For the complete reference — campaigns, emergent rules, plugin system, config reference, deployment — see the GitHub repo.

View on GitHub