bug-hunter
Autonomous bug hunting and repo repair agent for the fleet. Scans target repos (authenticated by .jules/MAINTENANCE_LOG.md, JULES.md, or the fleet registry), actively probes for bugs, writes TDD reproduction tests, applies surgical fixes (<=80 lines), updates the log book, and verifies clean builds.
- License 许可
- MIT
- 最近更新
- 2026-11-05
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- bug-hunter
- description
- Autonomous bug hunting and repo repair agent for the fleet. Scans target repos (authenticated by .jules/MAINTENANCE_LOG.md, JULES.md, or the fleet registry), actively probes for bugs, writes TDD reproduction tests, applies surgical fixes (<=80 lines), updates the log book, and verifies clean builds.
03 SKILL.md 正文
Bug Hunter (Fleet Autonomous Discovery, Fix & Log)
An autonomous bug-hunting, repair, and maintenance agent in Antigravity 2.0. Replaces and upgrades Google Jules across your defined fleet repositories.
🎯 Target Repository Registry & Guardrails
bug-hunter strictly operates ONLY on repositories configured for Jules/Fleet maintenance. It validates eligibility before touching any code.
1. Registered Fleet Repositories:
26BB/pulseqr(Live cafe dining feedback & analytics)26BB/AI-PM-Copilot(React + TypeScript AI PM assistant)26BB/ai-feature-prioritizer(Next.js RICE prioritization)26BB/Autonomous-Grid-Solar-Infrastructure-(Renewable microgrid UI)26BB/OptiBuild(Full-stack Next.js + Neon + FastAPI platform)
2. Auto-Discovery Signature Check:
If running in a local workspace directory, the repo is confirmed eligible if ANY of these exist:
.jules/MAINTENANCE_LOG.mdJULES.mdorAGY.mddocs/AUTONOMOUS_MAINTENANCE_LOG.md- Git remote matches any repository in the fleet list above.
[!CAUTION] If a repository lacks this signature and is not in the fleet registry,
bug-hunterhalts immediately with an eligibility warning and will not modify any files.
🔁 5-Phase Fleet Maintenance Loop
flowchart TD
A[Check Repo Signature] -->|Not Fleet Target| B[Halt & Report Non-Fleet Repo]
A -->|Verified Fleet Target| C[Read .jules/MAINTENANCE_LOG.md & JULES.md]
C --> D[Active Bug Scan: Typecheck, Lint, Tests, Code Audit]
D --> E{Bugs Found?}
E -- No --> F[Log Clean Health Audit & Exit]
E -- Yes --> G[Reproduce with Failing Test - Beyonce Rule]
G --> H[Surgical Fix - Max 80 lines budget]
H --> I[Full Verification: 0 errors, 0 warnings]
I -->|Passed| J[Update .jules/MAINTENANCE_LOG.md Completed Log]
I -->|Failed| H
Phase 1: Verify & Align
- Confirm repository signature against the fleet registry.
- Read
.jules/MAINTENANCE_LOG.md(check## 📋 Backlogand## ⚠️ Known Constraints & Gotchas). - Read
JULES.mdorAGY.mdfor verification commands (npm run lint,npm test,npm run build, etc.).
Phase 2: Active Bug Hunting
- Run typecheck (
tsc --noEmit,mypy). - Run linter (
npm run lint,eslint,ruff). - Run test suites (
npm test,vitest,pytest). - Audit code for unhandled nulls, uncaught promises, missing try/catch boundaries, leaked secrets, or bundle regressions.
Phase 3: Reproduce (Beyoncé Rule)
- "If you liked it, then you shoulda put a test on it."
- Formulate a targeted unit test that fails on the bug before writing the fix.
Phase 4: Surgical Fix
- Keep total changes tightly scoped ($\le 80$ lines).
- Do not touch unrelated features or refactor working code.
- Guarantee backward compatibility.
Phase 5: Verification & Log Book Update
- Confirm all tests pass and build succeeds cleanly.
- Append entry to
.jules/MAINTENANCE_LOG.mdunder## ✅ Completed Log:- Timestamp: ISO 8601 / local time.
- Type: Fix / Regression Prevention.
- Root Cause & Solution Summary.
- Test Verification Proof.
- Prepare clean commit:
fix(<scope>): <concise fix summary> [auto-fix].
04 同仓库更多 Skills
taste-design
Semantic Design System Skill for Google Stitch. Generates agent-friendly DESIGN.md files that enforce premium, anti-generic UI standards — strict typography, calibrated color, asymmetric layouts, perpetual micro-motion, and hardware-accelerated performance.
stitch-loop
Teaches agents to iteratively build websites using Stitch with an autonomous baton-passing loop pattern
site-md
Analyze a project description or site requirements and synthesize a project constitution into SITE.md for the Stitch Build Loop
enhance-prompt
Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.
design-md
Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
stitch::upload-to-stitch
Upload local assets (images, mockups, extracted HTML, design markdown) to a Stitch project. ALWAYS use this skill when you need to upload visual assets, HTML pages, or design docs to Stitch, particularly when direct MCP tool calls fail or truncate due to base64 token limits.