Epic: Buddy Bot next-gen — feature parity with Pullfrog & CodeRabbit (and beyond)
Buddy Bot is today a fast, Bun-native dependency-update bot (Renovate/Dependabot alternative). This epic tracks the roadmap to evolve it into an AI-native dependency & PR automation platform that reaches feature parity with — and surpasses — the two strongest products in the adjacent space:
- Pullfrog (docs) — open-source, model-agnostic AI coding-agent bot that runs inside your own GitHub Actions. Strengths: BYOK model-agnosticism, secure agent runtime (prompt-injection defense, sandboxing, OIDC tokens), CI auto-fix, issue enrichment, persistent repo/PR learnings, purpose-built GitHub toolbelt.
- CodeRabbit (docs) — AI code-review platform. Strengths: PR summaries/walkthroughs/line comments, ~60 auto-orchestrated linters/SAST tools, finishing touches (docstrings, unit tests, autofix, fix-ci), pre-merge checks & post-merge actions, learnings with governance, scheduled reports, multi-platform (GitHub/GitLab/Azure DevOps/Bitbucket).
Neither product does dependency updates. That is our moat: Buddy Bot keeps its best-in-class dependency engine and adds the AI review/agent layer both competitors sell — open-source, Bun-fast, runs in your own Actions, model-agnostic.
Strategy
- Pay down foundation debt first — several shipped features are placeholders (auto-merge, dashboard checkboxes, dead config). AI features built on a fragile base will amplify the fragility.
- Build the AI foundation once — a provider-agnostic LLM layer and a secure agent runtime, then every AI feature (review, fix-ci, planning, major upgrades) composes on top.
- Differentiate, don't just chase — AI-assisted major version upgrades (changelog-driven breaking-change analysis + codemods + CI-verified fix loops) is something neither Pullfrog nor CodeRabbit offers and is the natural fusion of our dependency engine with an agent runtime.
Phase 0 — Foundation & debt (milestone: v1.0 Foundation)
These unblock everything else and fix promises the README already makes.
- #1368 Structured PR metadata manifest (kill regex body round-tripping)
- #1369 Implement functional auto-merge
- #1370 Make dashboard interactive controls & pinning actually work
- #1371 Honor dead config options (
packages.pin, PR templates,releaseNotes.*) - #1372 Finish half-built ecosystems: Zig updates,
pantry.lock, resolution-drift
Phase 1 — AI foundation (milestone: AI Foundation)
- #1373 Model-agnostic AI provider layer (BYOK: Anthropic, OpenAI, Google, OpenRouter, custom endpoints)
- #1374 Secure agent runtime in GitHub Actions (sandbox, prompt-injection defense, permission tiers, toolbelt)
Phase 2 — AI review parity (milestone: AI Review Parity)
- #1375 AI PR review engine (summaries, walkthroughs, line comments, incremental re-review, profiles)
- #1376
@buddy-botcomment commands & conversational chat - #1377 Custom review instructions: path filters, path instructions, code-guidelines ingestion
- #1378 Static-analysis orchestration (generalize
src/security/into a multi-tool engine) - #1379 Learnings & memory system (repo-, PR-, and org-level)
- #1380 Finishing touches: docstring gen, unit-test gen, autofix, simplify
- #1381 CI failure analysis & auto-fix (fix-ci)
- #1382 Pre-merge checks & post-merge actions
- #1383 Issue enrichment: planning, auto-labeling, duplicate detection
Phase 3 — Dependency-engine excellence (milestone: Dependency Engine v2)
- #1384
packageRulesengine (Renovate-class matchers with per-rule overrides) - #1385 New ecosystems: Python, Rust, Go, Ruby
- #1386 Docker registry expansion (GHCR/ECR/GCR/private) + OSV coverage for Actions & Docker
- #1387 Runtime plugin & notification system (Slack/Discord/Jira/webhooks on real events)
- #1388 AI-assisted major upgrades (the differentiator) — supersedes/implements #132, relates #108 #107
- #1389 Reporting & metrics: scheduled and on-demand natural-language reports
Phase 4 — Platform reach (milestone: Platform Reach)
- #1390 Extract a real
GitProviderabstraction (unblocks #115 GitLab, #116 Bitbucket) - #1391 Local CLI review mode + headless action with structured output
Existing issues folded into this plan
- #132 Automated major upgrades → #1388
- #108 Sniff deprecated deps → largely shipped (
src/services/deprecated-dependencies-checker.ts); dashboard surfacing tracked in #1370 - #107 Bump engines → #1384 (rule engine makes
enginesa managed dep type) and #1385 - #117 pnpm catalogs → #1385 scope
- #115 GitLab / #116 Bitbucket → unblocked by #1390
Dependency graph (build order)
Phase 0: I01 ──▶ I02, I03 I04, I05 independent
Phase 1: I06 ──▶ I07
Phase 2: I07 ──▶ I08 ──▶ I09, I10, I12, I15
I07 ──▶ I13, I14, I16 I11 independent (feeds I08)
Phase 3: I17, I18, I19, I20 independent
I06+I07+I14 ──▶ I21 I06 ──▶ I22
Phase 4: I23 independent I06 ──▶ I24Parallelizable: within each phase, issues without an arrow between them can be implemented concurrently by separate agents.
Guiding principles for implementers
- Bun-native: use
Bun.file,Bun.YAML,bun:test,fetch— no Node-only APIs (seeCLAUDE.md). - Config-first: every feature gets typed options in
BuddyBotConfig(src/types.ts), defaults insrc/config.ts, validation insrc/config-validation.ts, and docs indocs/. - No dead config: an option merged without a consumer is a bug (this epic exists partly because of that).
- Graceful degradation: AI features must no-op cleanly when no API key is configured; the dependency bot must keep working with zero AI setup.
- Security posture: follow Pullfrog's architecture — untrusted content (issue/PR bodies) reaches the model only as marked tool output, never inlined into prompts; secrets are allowlisted, never blanket-exposed (reference).
- Tests: every issue lists acceptance criteria; each needs
bun:testcoverage for success, failure, and edge cases (seetest/conventions). - Lint with pickier (
bunx --bun pickier . --fix), never eslint directly.
Competitor reference index
| Capability | Pullfrog | CodeRabbit | Buddy Bot target |
|---|---|---|---|
| Dependency update PRs | ✗ | ✗ | ✅ shipped (keep lead) |
| AI PR review | ✅ | ✅ | I08–I12 |
| Model-agnostic BYOK | ✅ | ✗ (managed) | I06 |
| Runs in your own CI | ✅ | ✗ (SaaS) | I07 (native — we already do) |
| Static-analysis orchestration | ✗ | ✅ (~60 tools) | I11 |
| Finishing touches (tests/docstrings/autofix) | partial | ✅ | I13 |
| CI auto-fix | ✅ | ✅ | I14 |
| Pre/post-merge gates | ✗ | ✅ | I15 |
| Issue planning/enrichment | ✅ | ✅ | I16 |
| Learnings/memory | ✅ | ✅ | I12 |
| Reports/dashboards | partial | ✅ | I22 |
| Multi-platform (GitLab etc.) | ✗ | ✅ | I23 |
| Local CLI review | ✗ | ✅ | I24 |
| AI major-upgrade automation | ✗ | ✗ | I21 🏆 |
Research sources: Pullfrog docs index, CodeRabbit docs, CodeRabbit config reference, Pullfrog security, Pullfrog tools.