ai newsDi., 20. Okt.
EilmeldungThe End of Boilerplate: How AI Coding Assistants Are Redefining Software Engineering

The Sloth That Never Sleeps: Building NirvanaPilot, the Ambient Architectural Subconscious for GitHub Copilot

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady What I Built I built NirvanaPilot , an ambient, non-intrusive VS Code Extension integrated with GitHub Copilot Chat that acts as the "subconscious mind" of your codebase. Honoring the essence of Internationa

dev.toDienstag 03:16 · 20.10.2 Min. Lesezeit
Bild: dev.to

Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady Submission 🦥

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady

I built NirvanaPilot, an ambient, non-intrusive VS Code Extension integrated with GitHub Copilot Chat that acts as the "subconscious mind" of your codebase. Honoring the essence of International Sloth Day, NirvanaPilot consumes 0% CPU while you are actively coding. However, the exact millisecond you take a break (15 seconds of complete typing inactivity), it wakes up in the background to scan your local repository for uncommitted drifts ( git diff ).

Instead of running superficial linting, it passes this context to a local open-weight model to perform Counterfactual Simulations —projecting how your system's structural complexity and entropy (Δ Entropy) will degrade over a 6-month high-scale horizon, generating localized, protective refactoring recommendations.

Our system architecture functions seamlessly inside the IDE:

Active Typing State (Developer building) │ ▼ [NirvanaPilot Sleeps — 0% Resource Overhead] │ (15 Seconds of Complete Inactivity) │ ▼ [Sloth Heartbeat Wakes Up] ──► Reads local `git diff HEAD` │ ▼ [Local Inference Isolation] ──► Pipes context to local Gemma 2 (Ollama) │ ▼ (If developer types again, process immediately aborts!) │ [Strict JSON Parsing Pipeline] ──► Caches Counterfactual Risk Metrics │ ▼ [GitHub Copilot Chat Interface] ──► Query via `/incubate` or `/simulate` Renders immediate defensive patches Enter fullscreen mode Exit fullscreen mode Code The entire production-grade, compile-ready repository bundle is public and accessible here:

Slow code review for the future. NirvanaPilot is a VS Code extension that waits until you stop editing, inspects the current Git changes, and asks a local Gemma 2 model to reason about architectural risks that may emerge as the codebase grows.

The sloth stays quiet while you work. After 15 seconds without an edit, it scans the working tree and a small amount of context from visible editors. If there are changes to consider, it sends that bounded context to Ollama on your machine and caches a counterfactual report. Resume typing at any point and the active scan or model request is cancelled. Nothing is sent to a cloud model.

When you return, use NirvanaPilot in Copilot Chat:

Quelle: dev.to (dev.to). Original öffnen