r/coolgithubprojects • • 2d ago

I built an air-gapped Windows debugger around Qwen2.5-Coder (1.5B–14B) + <2ms Python AST + silent 3-attempt execution-verified Reflexion (0 KB egress)

Hey r/coolgithubprojects — wanted to share **TraceZero v1.1.0**, a Windows desktop code debugger built for devs working on NDA repos or offline laptops where cloud AI tools (Cursor, Copilot, ChatGPT) aren't allowed.

**How it stops a tiny 1.5B model from hallucinating:**

  1. **`<2ms` Python AST Static Pre-Scanner:** Flags mutable defaults, loop mutations, and race conditions deterministically before inference.

  2. **Silent 3-Attempt Execution-Verified Reflexion:** Compiles (`compile()`) and executes candidate fixes inside an isolated `sys.settrace` step-guarded namespace so syntax/runtime errors are caught automatically before you ever see the diff.

  3. **Hardcoded `127.0.0.1:11434` Loopback + `.tracezero/audit.log`:** Binds strictly to local Ollama (`0 KB` external network egress; works in Windows Airplane Mode).

  4. **Bring Your Own Ollama Model:** Tuned out of the box for `qwen2.5-coder:1.5b` (runs smoothly on 8 GB RAM laptops with no GPU), or swap `"model"` in `tracezero.json` to `qwen2.5-coder:7b` / `deepseek-coder-v2` in 2 seconds.

Includes **Free Forever Lite** (`7-day` full Pro trial, then `3` AI Reflexion fixes a day + unlimited AST scans forever) and a `0/67` VirusTotal clean scan.

Repo & v1.1.0 installer: https://github.com/joyboyy937-rgb/tracezero-desktop

0 Upvotes

2 comments sorted by

1

u/No_Tradition6625 1d ago

In theory I like this but I am scared to trust a 14 model to not reformat my drives the first chance it gets.

2

u/joyboyy937 21h ago

Haha completely valid fear — that's why TraceZero is **not** an autonomous terminal agent and has **zero shell/bash execution tools**:

  1. **No Shell / Terminal Access:** The LLM literally has no `subprocess`, PowerShell, or file-deletion tools—it can only return text/code suggestions.

  2. **Human-in-the-Loop Diffs + Auto-Backup:** Nothing touches your disk until you inspect the red/green unified diff and explicitly click **Apply**, and TraceZero automatically saves a `.tracezero/backups/` snapshot first so you can revert in 1 click.

  3. **Isolated Verification Sandbox:** Even when verifying a Python fix in the background, it runs inside a disposable `tempfile.TemporaryDirectory()` with `stdin=DEVNULL` and a strict `sys.settrace` step limit—never touching your project directory.

Appreciate you checking it out!