
The Problem: > Standard code linters only check syntax and miss the big picture. Standard AI code reviewers are expensive, lack custom team context, and only look at line-by-line diffs instead of understanding cross-file dependencies and microservice boundaries. The Solution: > BobGuard is a CLI tool that acts as a Virtual Lead Architect for your Pull Requests. Instead of just looking for typos, it performs deep architectural reviews to keep your codebase secure and scalable. Key Features: Local Rule Enforcement: Instantly checks code against a custom bob-rules.txt file, catching architectural violations (like raw database access) locally. Deep Context Analysis: It identifies cross-file dependency impacts and detects hidden risks like SQL injections and hardcoded secrets. Budget Tracker: Built-in token cost estimation tracks exactly how much each review costs to prevent teams from overspending on AI API calls. How we built it with IBM Bob: > We utilized IBM Bob in two critical ways to fit the hackathon theme perfectly. First, we used IBM Bob as our primary "Dev Partner" to architect and write the Python logic for the GitHub API fetcher, the rules engine, and the budget tracker. Second, IBM Bob serves as the core reasoning engine for the tool itself, analyzing the PR diffs and providing surgical, context-aware architectural feedback.
17 May 2026