sparkle status or the Sparkle: Diagnose command.
CLI login fails
sparkle login opens your browser for OAuth. If login fails or hangs:
- Check that the browser window opened. If not, copy the URL printed in the terminal and open it manually.
- Complete sign-in with the same account you use at app.thesparkle.ai.
- Verify the session was stored:
Workspace not found
Sparkle resolves guardrails from your connected workspace. If you see a workspace-not-found error:- Confirm your account belongs to a Sparkle workspace at app.thesparkle.ai.
- If you signed in with a personal account but your team’s workspace is under a different account, sign out and back in with the right one:
- If you were recently added to a workspace, sign out and back in to refresh your session.
Guardrails not syncing
Guardrails are fetched based on the prompt and if no guardrails are loading:- Check setup state:
- If a tool shows as unconfigured, re-run setup:
- In the extension, run Sparkle: Show MCP Status from the Command Palette. The MCP server should show as connected. If not, run Sparkle: Diagnose.
- If rules changed in your workspace but agents still get old rules, start a new agent session — some agents cache context for the length of a conversation.
Extension not connected
If the Sparkle sidebar shows a disconnected state or MCP calls never happen:- Confirm Sparkle Guardrails appears under Installed in the Extensions panel and is enabled.
- Run Sparkle: Sign In from the Command Palette. If authentication expired, the sidebar shows a sign-in prompt.
- Run Sparkle: Show MCP Status to check the MCP server connection.
- Run Sparkle: Diagnose to collect diagnostics. Enable
sparkle-guardrails.debugin settings if you need logs to share with support. - As a last resort, run Sparkle: Reset All Data, reload the window, and sign in again.
AI assistant ignores guardrails
If your agent writes code without calling the Sparkle MCPget_guardrails tool, force the call with one of the two options below.
Ask the agent directly
Paste this into your agent chat before your coding request:MCP permission prompts keep appearing
If your agent asks you to approve Sparkle MCP on every task, add the Sparkle MCP server to the allow list or choose Always allow for best experience.Contact support
For anything not covered here, email team@sparkle.security. Include:- The output of
sparkle status(CLI) or Sparkle: Diagnose (extension) - Your IDE or agent and its version
- What you expected and what happened instead

