Engineering Documentation
Deterministic release intelligence, mathematical risk models, automated OWASP AST vulnerability scanners, and production deployment specifications grounded in verified pull request diffs.
Purpose-built for release confidence.
Engineered from first principles with deterministic AST scanners, orthogonal Shannon entropy tensors, and sub-second diff verification.
Deterministic-first triage
Zero-overhead regex scanners and AST verification execute in-process before invoking LLMs, ensuring zero hallucination on critical file coordinates.
Mathematical risk synthesis
Combines 8 orthogonal signals—churn volume, Shannon diffusion entropy, test ratios, and author unfamiliarity—into a calibrated score between 0 and 100.
Designed for high velocity
Engineered with Nitro SSR, Vinxi, and Supabase RLS for sub-second page transitions, instant diff caching, and zero developer review fatigue.
Build, review, and ship
Streamline code reviews with clear diffs, whole-repo defect churn context, and fewer noisy back-and-forth comments. Keep PRs moving without sacrificing quality.
Explore triage architectureDirect equality operator === leaks execution time through early byte mismatch termination. Constant-time comparison via timingSafeEqual prevents side-channel token recovery.
AI and automations
Build and deploy multi-provider fallback chains that triage diffs alongside deterministic scanners. Inspect AST changes together or delegate routine syntax fixes end-to-end.
View pipeline specificationsEvaluates diff patches in 140ms with zero token cost before any LLM API is invoked.
Generates verified replacement diff hunks with exact line mappings and rationale.
Automatically triggered if primary AI rate-limits or times out after 4 seconds.
Zero-downtime queue worker fallback handling large mono-repo diff bursts.
Deterministic risk scoring
Calculate multi-dimensional risk scores (0–100) before merging. Align your team with saturating churn curves, historical fault lines, and regression probability.
Explore quality gate integrationAdditive Normalized Formulation
Computed deterministically without hallucinated priors:
- • saturate(n, mid) = n / (n + mid): Smooth non-linear asymptote
- • insufficient_data: Automatically dropped from denominator
- • confidence: Proportion of observed weights × file coverage
Observable Signal Weights Matrix
| Signal ID | Weight | Midpoint / Parameter |
|---|---|---|
| change_size | 0.18 | 400 lines |
| file_churn | 0.2 | 15 commits (90-day window) |
| defect_history | 0.2 | 2.0x multiplier on fix/revert commits |
| change_spread | 0.08 | 12 files |
| test_changes | 0.09 | 0.33 code-to-test ratio |
| dependency_changes | 0.05 | 0.60 manifest modification penalty |
Policy enforcement & merge gates
Enforce declarative repository security policies via instant GitHub commit status checks, custom branch protection rules, and real-time team alerts.
Inspect pre-execution scannersDeclarative Configuration File (.buggers.yml)
# .buggers.yml - Declarative Repository Quality Gate Policy
version: "1.0"
rules:
# Maximum allowable composite risk score (0-100)
max_risk_score: 50
# Block pull requests if any plaintext credentials are discovered
block_on_secrets: true
# Block on critical static analysis findings (Command/SQL injection)
block_on_critical_sast: true
# Minimum required test-to-code change ratio
required_test_ratio: 0.20
# Files requiring strict review when modified
critical_files:
- "src/auth/**"
- "src/server/**"
- "supabase/migrations/**"
status_checks:
context: "buggers/quality-gate"
post_summary_comment: true
auto_apply_safe_fixes: falsePre-execution security & SAST
Zero-overhead, in-process scanners inspect every diff hunk before any LLM inference occurs. Plaintext credentials and OWASP Top 10 vulnerabilities are caught deterministically.
Inspect worker execution pipelineStore AWS credentials in AWS Secrets Manager or environment variables (AWS_ACCESS_KEY_ID).
Plaintext Secret Patterns (8 Rules)
In-Process RegexAWS Access Key ID exposed directly in source code.
GitHub Access Token exposed in source code.
OpenAI Secret API Key exposed in source code.
Slack API Token or Incoming Webhook URL exposed in plaintext.
Stripe Production Secret Key detected in repository.
Google Cloud / Maps API Key detected in code.
Cryptographic Private Key header discovered in commit diff.
Database connection string containing plaintext password credentials.
OWASP Top 10 SAST Scanners (7 Rules)
Zero Token InferenceUser input or variable concatenation detected inside a shell execution command.
Direct string interpolation detected in a SQL statement.
File system access constructed directly from HTTP request parameters without sanitization.
HTTP client requests a URL supplied directly by user input without domain validation.
CORS configuration pairs wildcard origin ('*') with credentials: true.
Legacy hash algorithm (MD5 or SHA-1) used for cryptographic operations.
Math.random() used to generate security-sensitive tokens.
Worker runtime & 9-stage pipeline
Background analysis runs in isolated 9-stage passes governed by 5-minute heartbeat leases and exponential backoff reapers.
Explore dual-auth architecture9-Stage Deterministic Analysis Pipeline
Select any stage in the sequence to inspect its internal logic, latency profile, and persisted outputs.
Inspects the last 90 days of commit history for modified files on the base branch to evaluate past defect density.
Architecture & API reference
Strict separation of authentication boundaries: User authentication via Supabase JWT with Row-Level Security, and GitHub repository tokens encrypted via AES-256-GCM.
View production deployment runbookMaintains Supabase JWT session in local storage. Never touches GitHub OAuth tokens or database service role keys directly.
Verifies caller JWT on every RPC function. Decrypts AES-256-GCM tokens on demand in memory, never logging or leaking them.
Strict Row-Level Security ensures users can only read their own repositories, pull requests, analyses, and findings.
Nitro REST Webhooks & Internal Endpoints
HTTP / JSON| Endpoint | Method | Authentication | Action |
|---|---|---|---|
| /api/webhooks/github | POST | HMAC SHA-256 (X-Hub-Signature-256) | |
| /api/cron/worker | GET | Bearer Token (CRON_SECRET) | |
| /api/health | GET | Public |
Production deployment & runbook
Step-by-step verified guide for provisioning Supabase PostgreSQL schemas, GitHub OAuth credentials, cryptographic secrets, and Vercel edge deployment.
Open your Supabase SQL editor and execute the complete schema definition located in supabase-setup.sql at the root of the repository. This provisions the 8 core tables:
Shift left to your editor with Buggers IDE
Catch security vulnerabilities, hardcoded tokens, and logical defects before you git commit. AST diagnostics, Webview Flaw Inspector, side-by-side diff previews, and pre-commit Git hooks.
Direct VSIX Packagev1.2.0
Production binary packaged with native assets, 21 OWASP rules, 7 secret scanners, and offline AST engine. Compatible with VS Code, Cursor, Antigravity IDE, and VSCodium.
Offline AST engine · Zero telemetry tracking
Command Line Install
Install with standard VS Code CLI flags across macOS, Linux, or Windows PowerShell without touching a web browser.
Or drag & drop the .vsix into your VS Code Extensions tab
Pre-Commit Git Guard
Prevent accidental git commits containing AWS secrets, private RSA keys, or SQL injection vectors right at your terminal prompt.
Writes to .git/hooks/pre-commit with zero external dependencies
Timing Attack in Signature Check
if (userProvidedToken === serverSecret) {Fails deterministic AST check. Identified as non-constant comparison.
if (crypto.timingSafeEqual(userBuf, secretBuf)) {Deterministic constant-time validation. Prevents byte timing side-channel leakage.
Flaw Inspector Webview
Dedicated webview panel displaying CWE risk taxonomy, severity calibration, and side-by-side patch remediation with one-click disk edits.
Side-by-Side Diff Preview
Inspect modified code blocks side-by-side using native VS Code diff documents before committing changes to disk.
1-Click Batch Remediation
Apply pinpoint AST remedies individually or trigger workspace batch execution to resolve all detected vulnerabilities across your codebase simultaneously.
AI Assistant with Consent Gate
Opt-in AI debugging commands (buggers.explainFinding, buggers.debugSelection) with explicit user consent gates and reviewable diffs.
Zero Cloud Leakage
All 21 OWASP security scanners and logical bug rules execute strictly in-process inside your local editor instance. Confidential code never leaves your computer.
Universal IDE Ecosystem
Engineered with pure VS Code Extension APIs for seamless operation in Visual Studio Code, Cursor, Antigravity IDE, Windsurf, and VSCodium.
Command Palette Actions & Keybindings
Ctrl+Shift+P / Cmd+Shift+P| Command | Shortcut / Trigger | Description |
|---|---|---|
| Buggers: Scan Workspace for Vulnerabilities | Ctrl+Shift+B / Cmd+Shift+B | Scans active workspace files and populates diagnostic problems. |
| Buggers: Inspect Flaw in Webview | Editor Context Menu | Opens the rich Webview panel with side-by-side diff remediation. |
| Buggers: Explain Finding (AI) | Sidebar Action | Deep dive into underlying threat mechanics with consent-gated AI. |
| Buggers: Generate Regression Test | Command Palette | Creates runnable test suite asserting that the vulnerability stays fixed. |
| Buggers: Install Pre-Commit Git Hook | Command Palette | Installs .git/hooks/pre-commit to prevent committing critical defects. |
| Buggers: Apply All Auto-Fixes (Batch) | Command Palette | Automatically resolves every detected vulnerability across workspace. |
Manual Installation in 3 Simple Steps
Click the Download .VSIX (v1.2.0) button above to save the package to your machine.
Open VS Code, press Ctrl+Shift+P, select Extensions: Install from VSIX... and pick the downloaded file.
Press Ctrl+Shift+B in any project to scan your files and preview instant inline remedies.