Installation issues
GGA not found after installation
GGA not found after installation
If Then verify:
gga is not recognized after running the installer, the install directory is not in your PATH.Cause: The installer places the binary in ~/.local/bin (Linux/macOS) or ~/bin (Windows Git Bash). These directories may not be in your shell’s PATH by default.The installer prints the exact export PATH=... line to add. If you missed it:- Linux / macOS (bash)
- macOS (zsh)
- Windows Git Bash
Provider issues
"Provider not found"
"Provider not found"
GGA cannot locate the CLI for your chosen provider.Cause: The provider’s CLI is not installed, or it is installed but not in your If the command is found but the test fails, check the provider’s own documentation for authentication or startup requirements.
PATH.Fix: Verify the CLI is installed and accessible:GitHub Models setup
GitHub Models setup
Using
PROVIDER="github:<model>" requires the GitHub CLI and an active authenticated session.Fix: Install and authenticate the GitHub CLI, then configure GGA:See the GitHub Marketplace Models for a full list of available model names you can use with
github:<model>.LM Studio connection issues
LM Studio connection issues
GGA reports “Failed to connect to LM Studio” when trying to run a review.Cause: LM Studio is not running, the API server is disabled, or the port differs from the default.Fix:
- Open LM Studio and ensure the local API server is enabled.
- Check the port in LM Studio settings (default:
1234). - Set the correct host in
.gga:
- Test the connection directly:
Hook issues
GGA not running from VS Code Source Control panel
GGA not running from VS Code Source Control panel
GGA does not trigger when you commit from VS Code’s Source Control UI, but works fine from the terminal.Cause: VS Code may use a different shell profile than your terminal, so
gga may not be in its PATH.Fix:- Confirm the hook is installed:
- Check that
ggais in the PATH VS Code uses. On Windows, check both PowerShell and Git Bash inside VS Code: - If PATH differs, hardcode the full path in the hook:
- On Windows, hardcode the executable path if needed:
- Check the Git output channel in VS Code (View → Output → Git) for error messages.
Configuration issues
"Rules file not found"
"Rules file not found"
GGA exits with an error saying it cannot find the rules file.Cause: No If you use a custom name, make sure
AGENTS.md (or the file named in RULES_FILE) exists in the project root.Fix: Create your rules file:RULES_FILE in .gga matches:Slow reviews on large files
Slow reviews on large files
Reviews take a long time or feel sluggish when many files are staged.Cause: GGA sends full file contents to the provider. Large or auto-generated files add significant token overhead.Fix: Add large and generated files to
EXCLUDE_PATTERNS in .gga:Review issues
"Ambiguous response" in strict mode
"Ambiguous response" in strict mode
GGA reports an ambiguous response and blocks the commit even though the code looks fine.Cause: The AI provider did not include
STATUS: PASSED or STATUS: FAILED in the first 15 lines of its response. With STRICT_MODE="true", GGA treats any non-conforming response as a failure.Fix:- Switch to Claude — it is the most reliable provider for following structured response instructions.
- Simplify your
AGENTS.md— overly complex or contradictory rules can confuse the AI. - Temporarily disable strict mode to unblock yourself while you investigate:
Timeout errors (exit code 124)
Timeout errors (exit code 124)
Reviews fail with exit code You can also reduce the amount of content sent per review:
124, indicating a timeout.Cause: The AI provider took longer than the configured timeout (default: 300 seconds) to respond. This is more likely with large files, slow local models, or network latency.Fix: Increase the timeout in .gga, or pass it as an environment variable: