FaultLine
AI-powered debugger and fault explainer for VS Code, Cursor, Windsurf, Antigravity IDE & VSCodium.
Understand terminal and task failures first. Optional sounds and notifications second.
What FaultLine is
First: a debugger and fault explainer. When a terminal command or task fails, FaultLine keeps the failure context and helps you understand it (including optional model-backed explanation when you ask).
Second: an error notifier. Optional sounds, status bar, toasts, webhooks, and Jira so you notice failures without staring at the panel.
Built by Anurag Mishra (4nur4gmishr4) for developers who ship.
Primary job: catch the fault and explain it
- Detects failing terminals, tasks, and optionally diagnostics
- Stores a sanitized copy of the last failure (command + output when available)
- Opens Analyze Last Failure when you want a clear explanation and follow-up chat
- Supports GitHub Copilot (no key) or other providers you configure
- Redacts common secrets before any outbound explanation request
Secondary job: notify you
- Optional failure and success sounds
- Status bar + daily fail count
- Snooze, quiet hours, cooldowns
- Optional HTTPS webhooks and opt-in Jira
Auto-open of the analysis panel stays off by default. You choose when to open it.
Watch a failure get caught
How it works (3 steps)
What you get
| You want… |
FaultLine does… |
| Understand a failed command |
Keeps last failure and opens analysis on demand |
| Debug without copy-paste |
Passes command + output (redacted) into the explainer |
| Pick your model backend |
Copilot, OpenRouter, Groq, Gemini, OpenAI, Anthropic, and more |
| Notice fails while coding |
Optional sounds, status bar, notifications |
| Stay careful with data |
Auto analysis off; keys in SecretStorage; HTTPS webhooks only |
Install
Marketplace
- Open VS Code
- Extensions, search FaultLine
- Install
You will see FaultLine as the title. Under the hood the extension id is 4nur4gmishr4.fahh (kept stable so updates and download history stay on the same listing).
Marketplace page: FaultLine on Visual Studio Marketplace
Note: install from the GitHub Release VSIX below if the Marketplace page is not live yet in your region. The old “retired” badge was a shields.io false positive when the listing is empty — not the product status.
GitHub Release (VSIX)
- Download
fahh-3.5.2.vsix or faultline.vsix from Releases
- Extensions view, menu, Install from VSIX…
Compatible IDEs
FaultLine uses standard VS Code Extension APIs and works natively on:
| IDE |
Install Method |
| VS Code |
Marketplace or VSIX |
| Cursor |
Marketplace (Extensions tab) or VSIX |
| Windsurf |
Marketplace (Extensions tab) or VSIX |
| VSCodium |
Open VSX Registry (npx ovsx publish) or VSIX |
| Antigravity IDE |
VSIX install via Extensions panel |
FaultLine uses extensionKind: ["workspace"] and standard APIs only, so it runs identically on any VS Code fork with engine ^1.93.0.
First install
On first install you see a short typed greeting from Anurag Mishra, then the welcome screen.
Press Skip anytime under the text to jump to the welcome screen.
Reopen later with FaultLine: Show Welcome Screen (no typing intro).
First setup
- Command Palette
- FaultLine: Open Configuration
- Keep Copilot or pick a provider and save a key
- Test a sound if you want notifications
- Run a failing command, then FaultLine: Analyze Last Failure
Commands
| Command |
What it does |
| FaultLine: Analyze Last Failure |
Open the fault explainer for the last error |
| FaultLine: Open Configuration |
Settings (providers, sounds, basics) |
| FaultLine: Toggle Enable / Disable |
Master on/off |
| FaultLine: Toggle Sounds |
Sounds only |
| FaultLine: Snooze |
Quiet notifications for a while |
| FaultLine: Show Output Log |
Extension log channel |
| FaultLine: Factory Reset |
Clear settings, history, and stored keys |
| FaultLine: Show Welcome Screen |
Welcome UI without typing intro |
Settings you will use most
Open FaultLine: Open Configuration, or search settings:
@ext:4nur4gmishr4.fahh
| Setting |
Meaning |
Default |
faultline.enabled |
Master switch |
on |
faultline.errorExplanation.enabled |
Allow fault explanation panel |
on |
faultline.errorExplanation.autoShow |
Open explainer automatically on fail |
off |
faultline.aiProvider |
Explanation backend |
copilot |
faultline.ai.model |
Model id when not using Copilot |
free OpenRouter default |
faultline.aiSummary.enabled |
Short summary line in the log |
off |
faultline.soundsEnabled |
Play sounds |
on |
faultline.volume |
Volume 0 to 100 |
100 |
faultline.soundPack |
Failure sound file |
built-in pack |
faultline.successEnabled |
Success sound |
configurable |
faultline.cooldownMs |
Min gap between sounds |
2000 |
faultline.ignorePatterns |
Skip matching failures (regex) |
empty |
faultline.webhookUrl |
Outbound notify URL |
empty (https only) |
faultline.jiraEnabled |
Create Jira issues on fail |
off |
More options (quiet hours, sources, branch filters, allowlists) are in VS Code Settings via Open all FaultLine settings.
Privacy and safety
- Explanation auto-open is off. You open analysis when you want.
- API keys use VS Code SecretStorage.
- Common secrets are redacted before outbound explanation calls (best effort).
- Webhooks require
https://. Private hosts need an allowlist.
- Jira is off until you enable it; Atlassian hosts only.
- Factory Reset deletes stored keys.
Details: SECURITY.md
What is new in 3.5.2
- Cross-IDE compatibility: Verified on VS Code, Cursor, Windsurf, Antigravity IDE, and VSCodium
- What's New popup: Clean update changelog shown on version upgrade
- 17 zero-bug fixes: AI provider mismatch, race conditions, audio fallbacks, ANSI stripping
- Open VSX ready: Publish to VSCodium/alternative registries with
npm run publish:openvsx
- SEO hardened: Searchable across all VS Code-compatible IDE marketplaces
Full notes: CHANGELOG.md · Releases
For developers and contributors
Build, review, or extend FaultLine.
Architecture at a glance
Terminal / Task / Diagnostics
|
v
FaultLineRuntime.handleFailure
|
+-------+--------+----------+----------+
v v v v v
Mute? PII History Sound Webhook
Branch sanitize (capped) (optional) / Jira
Ignore
|
v
Explainer panel (on demand, or auto if enabled)
| Layer |
Folder |
Role |
| Entry |
src/extension.ts |
Activate, config reload, migrations |
| Runtime |
src/application/runtime/ |
Failure and success handling |
| Detectors |
src/infrastructure/detectors/ |
Terminal, task, diagnostics |
| Services |
src/infrastructure/services/ |
Explainer backends, webhooks, Jira |
| Security |
src/infrastructure/security/ |
Redaction helpers |
| UI |
src/presentation/ |
Commands, webviews, status bar |
| Shared |
src/shared/ |
Config, secrets, scheduler, i18n |
More detail: ARCHITECTURE.md
Local development
git clone https://github.com/4nur4gmishr4/vscode-FaultLine-Extension.git
cd vscode-FaultLine-Extension
npm ci
npm run vendor:sync
npm run lint
npm test -- --coverage
npm run compile
Press F5 for the Extension Development Host, or:
npm run package:prod
| Script |
Purpose |
vendor:sync |
Copy webview assets into resources/vendor |
lint |
Typecheck and ESLint |
test |
Jest tests |
test:integration |
Activate smoke tests |
compile |
Bundle to out/extension.js |
package:prod |
Clean, vendor, compile, package VSIX |
docs:gifs |
Regenerate docs media GIFs |
Contributing: CONTRIBUTING.md
Security notes for engineers
| Control |
Behavior |
| Secrets |
SecretStorage |
| Webhooks |
HTTPS only, private host block, DNS re-check, connect IP pin and SNI |
| Jira |
Opt-in, HTTPS, Atlassian hosts, origin-only URL |
| Explainer egress |
Redaction plus payload size caps |
| Settings webview |
Allowlisted keys, key format checks |
| Pack sound test |
Basename only under resources/packs |
Report issues privately: SECURITY.md
Tests and CI
- Jest unit and integration smoke tests
- GitHub Actions on Windows, Linux, macOS
- Release workflow on
v* tags packages the Marketplace VSIX (fahh-*.vsix)
- CodeQL and pinned TruffleHog
Project links
Three animations in docs/media/:
| File |
Where used |
logo-pulse.gif |
Header (project logo) |
terminal-fail.gif |
Failure demo |
how-it-works.gif |
Three-step flow |
Regenerate: npm run docs:gifs
FaultLine 3.5.2
AI-powered debugger and fault explainer first. Notifier second.
Works on VS Code, Cursor, Windsurf, Antigravity IDE & VSCodium.
Made by Anurag Mishra for developers everywhere · MIT