Skip to content
Guided Review
Documentation

Troubleshooting

Straight fixes for the problems that show up most often. If something fails, read the message in Options, the overlay, or the CLI terminal first — provider and GitHub errors are often already specific enough to act on.

Concept overviews: How a review plan works · FAQ · Privacy & data.

No Start Guided Review button

  1. Confirm the tab is a pull request URL on github.com (Conversation, Files changed, or Commits) — same as Your first review. Hosts other than github.com are not supported by the extension (FAQ); use the CLI for local git instead.
  2. Avoid PR sub-pages that aren’t review surfaces — for example conflict resolution (…/pull/N/conflicts). The extension intentionally does not inject there; open Conversation, Files changed, or Commits instead. The toolbar popup says so when the active tab is one of those paths.
  3. Reload the page. SPA navigations from the PR list should still inject the button; a full reload clears stuck DOM.
  4. Check the extension is enabled and allowed on GitHub in chrome://extensions. Reload the extension from that page, then refresh the PR tab.

If the on-page button is missing but the PR URL is valid, try the toolbar icon while that tab is active (Chrome Extension → After install).

Provider and API key

SymptomWhat to try
Prompted to connect a providerExtension: Options → configure a provider → paste a valid key → Save. CLI: Settings (⌘/Ctrl + ,) or env / --provider. You can still walk file by file without a key
Test Connection failsWrong key or model, expired key, or network/VPN blocking the provider. Fix the key, pick a model your account can use, retry
Auth / invalid key from the providerRegenerate the key in the provider console; don’t paste org-restricted keys your seat can’t use
CLI “Use My Subscription” failsAgent not logged in, or the unofficial key path broke. Prefer a console API key in Settings or env

Extension keys live in chrome.storage.local. CLI keys live in env, flags, or ~/.config/guided-review/config.json. Both leave the machine toward your provider when annotating — not toward Guided Review servers (Privacy & data).

Plan generation fails

  • Mid-stream error — Check the overlay or CLI message. Common causes: rate limits, insufficient quota, model unavailable, or a network blip. Wait and retry, or switch model/provider.
  • Empty or thin plan — Very large or mostly binary diffs produce less useful structure. Chunking still runs by file; binary/elided files won’t get textual units.
  • Lost connection to the worker (extension) — Reload the extension and the PR tab, then start again (first review).
  • Structure With AI does nothing (CLI) — Confirm a key is available (Configure AI provider → CLI), then retry. Check the terminal log below the banner for the error.

The model only supplies order and commentary (How a review plan works). If hunks don’t match the real diff, those refs are dropped rather than shown as broken code.

GitHub connect and submit

Extension-only. The CLI does not submit to GitHub.

SymptomWhat to try
Device flow never completesFinish the code at GitHub’s verification URL before it expires; don’t close Options mid-flow — device flow steps
Org blocks the OAuth appAn org admin must approve the app, or complete the review on github.com
Submit returns 401 / reconnectDisconnect and connect again in Options so a fresh token is stored
Submit returns 403Your user can’t review that PR, or the token lacks access (scopes)
Submit returns 404PR gone or inaccessible; for private org repos also check SSO
Submit returns 422Line comments no longer match the current diff — re-draft on the latest plan

See Connect GitHub for scopes and disconnect, and Submit a review for the happy path.

Private repos and SSO

  • Diff fetch and submit use your browser session / token as appropriate. Private PR access follows whatever GitHub already allows for your account.
  • Many orgs require SSO authorization on third-party tokens. If submit fails with not-found or access errors on a private org repo:
    1. Open GitHub → Settings → Applications (or the org’s SSO prompt).
    2. Authorize the Guided Review / OAuth token for that organization.
    3. Retry submit, or reconnect GitHub in Options if needed.

Narrative version: Connect GitHub → Private repos and org SSO.

Session and resume

  • Extension: Active plans live in chrome.storage.session, keyed by owner/repo#number. Switching Conversation ↔ Files changed should resume the same step (Your first review → Resume later). Closing the browser (or ending the session) clears the plan. Settings and API keys in local storage remain (Privacy & data).
  • CLI: The session lives with the running local server. Stopping the process (Ctrl+C) ends it. Restarting npx @guided-review/cli starts a fresh walk for the current scope.
  • Starting Guided Review again after a clear rebuilds a new plan for the current diff (How a review plan works).

Draft comments (extension) and notes (CLI) are part of that session until you submit, Generate Prompt, discard them, or stop the host.

CLI

SymptomWhat to try
npx guided-review does the wrong thingUse the scoped package: npx @guided-review/cli. The hyphenated unscoped name is a different tool
Port already in usePass --port (or --port 0 for any free port), or stop the other process on 7182
Nothing to review against <base>.Empty scopes — commit, stage, or pass --base / pick another scope in the UI (CLI)
Not a git repositoryRun from inside a git repo, or pass a repo path as the first argument
Browser doesn’t openOpen the URL printed in the banner, or drop --no-open
Structure / Settings can’t find a keyConfigure AI provider → CLI; check env vars and ~/.config/guided-review/config.json

Full local workflow: CLI.

Note

Still stuck? Open an issue on GitHub with the exact error text (redact keys and private URLs). Concept questions: FAQ.