RegEngine Code Assist
Publisher: RageTank.ai (ID: ragetank-ai) · Extension ID: ragetank-ai.regengine-code-assist
Real-time regulatory compliance checking for FDA 21 CFR Part 11, CSV, HIPAA, and GxP. This VS Code/Cursor extension provides guaranteed, real-time compliance checking with inline diagnostics, status bar integration, and automatic fixes.
🚀 Features
- ✅ Guaranteed Execution - Checks code on every save (100% reliable)
- ✅ Inline Diagnostics - Red squiggles for violations in your code
- ✅ Status Bar - Shows compliance status at a glance
- ✅ Auto-Check on Save - Automatically validates code
- ✅ Quick Fixes - One-click application of compliant code
- ✅ Workspace Analysis - Check entire workspace at once
- ✅ Configurable - Customize API URL, domain, regulators
📦 Installation
Option 1: Install from VSIX (Development)
Build the extension:
cd cursor-plugin
npm install
npm run compile
npm run package
Install in Cursor/VS Code:
- Open Command Palette (
Cmd+Shift+P)
- Run: "Extensions: Install from VSIX..."
- Select the generated
.vsix file
Option 2: Install from Source
- Clone this repository
- Open in VS Code/Cursor
- Press
F5 to run extension in development mode
⚙️ Configuration
Open Settings (Cmd+,) and search for RegEngine Code Assist (or "RegEngine"):
- RegEngine Code Assist: Api Url — API base URL (default:
http://regopscodeassist-production.up.railway.app). Use the base only — the extension appends /v1/analyze.
- RegEngine Code Assist: Domain — Application domain (healthcare, pharma, etc.)
- RegEngine Code Assist: Regulators — Which regulations to check
- RegEngine Code Assist: Auto Check — Automatically check on save
- RegEngine Code Assist: Show Status Bar — Show compliance status
- RegEngine Code Assist: Check For Updates — Check for updates on startup (when installed via VSIX)
Using the Railway API
- Set RegEngine Code Assist: Api Url to your Railway base URL with no path and no trailing slash, e.g.:
https://regopscodeassist-production.up.railway.app
- Reload the window after changing:
Cmd+Shift+P → "Developer: Reload Window".
- If you still see 405, rebuild and reinstall the plugin (the plugin must append
/v1/analyze; older builds did not).
🔄 Auto-updates
- Installed from Marketplace: Updates are delivered automatically when you publish new versions.
- Installed from VSIX: The extension checks GitHub Releases on startup. If a newer version exists, it shows "RegEngine Code Assist: Update available" with a Download button that opens the release page. You can also run RegEngine Code Assist: Check for Updates anytime, or disable checks in settings: RegEngine Code Assist: Check For Updates =
false.
See AUTO_UPDATE.md for details and how to publish releases.
🎯 Usage
Automatic Checking
The extension automatically checks files when:
- You save a file (if
regengine.autoCheck is enabled)
- You switch to a different file
- Extension activates
Manual Commands
Open Command Palette (Cmd+Shift+P):
- RegEngine Code Assist: Check Current File — Analyze active file
- RegEngine Code Assist: Check Workspace — Analyze all files in workspace
- RegEngine Code Assist: Open Settings — Configure extension
- RegEngine Code Assist: Check for Updates — Check for a new version (when installed via VSIX)
Quick Fixes
- Hover over a violation (red squiggle)
- Click the lightbulb 💡
- Select "RegEngine Code Assist: Apply fix"
- Compliant code is automatically applied
Status Bar
Look at the bottom-right status bar:
- ✅ RegEngine Code Assist: COMPLIANT — Code is compliant
- ❌ RegEngine Code Assist: NON-COMPLIANT (3) — 3 violations found
- 🔄 RegEngine Code Assist: Checking... — Analysis in progress
- ⚠️ RegEngine Code Assist: Error — API connection issue
🔧 Prerequisites
RegEngine Code Assist API (RegEngine Intelligence) must be running
cd /path/to/regops-intelligence
python run.py
API accessible at configured URL (default: http://regopscodeassist-production.up.railway.app)
🐛 Troubleshooting
"Cannot connect to RegEngine Code Assist API"
- Make sure API is running:
curl https://regopscodeassist-production.up.railway.app
- Check API URL in settings
- Verify firewall/network settings
No diagnostics showing
- Check file is a supported language (TypeScript, Python, etc.)
- Verify
regengine.autoCheck is enabled
- Try manual check: "RegEngine Code Assist: Check Current File"
Status bar not showing
- Enable in settings:
regengine.showStatusBar = true
- Restart Cursor/VS Code
📊 How It Works
- File Save → Extension detects change
- API Call → Sends code to RegEngine Code Assist API
- Analysis → API returns compliance results
- Diagnostics → Shows violations as red squiggles
- Status Bar → Updates compliance status
- Quick Fix → Apply compliant code with one click
🎨 Screenshots
Inline Diagnostics
Violations appear as red squiggles with hover details.
Status Bar
Compliance status always visible in bottom-right.
Quick Fixes
Click lightbulb to apply compliant code automatically.
🔮 Future Enhancements
- [ ] Multi-file violation tracking
- [ ] Compliance dashboard
- [ ] Historical compliance reports
- [ ] Custom rule creation
- [ ] Integration with CI/CD
📝 License
Proprietary - All Rights Reserved
🤝 Support
For issues or questions, contact RageTank.ai (RegEngine Code Assist).
Version: 0.1.0
Status: Production Ready ✅