Stage 1 · Semantic Symbol Search
Sample PR diff loaded. Click Download & Audit PR (~559.3 MB) to run all 3 local CPU WASM models.
Safe Patch & OWASP Audit Exports
Local AI Engine
Three Apache-2.0 ONNX models (~559.3 MB combined) execute strictly off the main thread in isolated FIFO Web Workers over shared Transformers.js 3.7.5 CPU WebAssembly — universal zero-egress execution on both WebGPU and CPU-only laptops without a single local version override.
Stage 1 · Jina Code Embeddings (162 MB q8 · Apache-2.0)
jinaai/jina-embeddings-v2-base-code · JinaBERT 768-d ALiBi (built models/code-embeddings/worker.js reuse) · shared Transformers.js 3.7.5
Stage 2 · BERT-Small 49-Label PII (28.75 MB q8 · Apache-2.0)
onnx-community/bert-small-pii-detection-ONNX (built models/bert-small-pii-detection/worker.js reuse) + deterministic Stripe/GitHub/AWS/JWT/PEM secret rules
Stage 3 · MNN-Pocket 0.3B Reviewer (368.5 MB int8 · Apache-2.0)
onnx-community/MNN-Pocket-0.3B-ONNX · Qwen3 28L edge transformer (~57–60 tok/s CPU WASM int8) · shared Transformers.js 3.7.5
How the Local Code Architect & Secret Scanner Works
Private repositories and unreleased pull requests cannot safely leave a developer's laptop. This signature showcase chains semantic code retrieval, neural PII + deterministic secret redaction, and an edge Qwen3 reviewer locally in CPU WebAssembly so secrets are scrubbed before the local reviewer even reads the diff.
1. Semantic Code Indexing (Jina Code v2)
Jina Code Embeddings (jinaai/jina-embeddings-v2-base-code, Apache-2.0, rev
516f4ba, 161.9 MB q8 ONNX + 2.56 MB tokenizer, reusing built
models/code-embeddings/worker.js) embeds every parsed function, class, and module config into
L2-normalized 768-d vectors so natural-language queries rank the exact security or performance hunk by
cosine similarity.
2. Chunked Neural PII + Secret Guard
BERT-Small 49-Label PII (onnx-community/bert-small-pii-detection-ONNX,
Apache-2.0, rev 6cb4e77, 28.75 MB q8, reusing built
models/bert-small-pii-detection/worker.js) scans line-aligned chunks within its 512-token
window for maintainer names, emails, and phones, fused non-overlapping with explicit deterministic rules
for Stripe (sk-live-/whsec_), GitHub (ghp_), AWS
(AKIA), JWTs, PEM keys, and database URIs.
3. Local Grounded PR Review (MNN-Pocket 0.3B)
Alibaba MNN-Pocket 0.3B (onnx-community/MNN-Pocket-0.3B-ONNX, Apache-2.0,
rev e16a91d, 363.75 MB int8 ONNX + 4.77 MB tokenizer = 368.5 MB) streams concise Risk / Bug /
Fix bullets at ~57–60 tok/s on CPU WASM over shared Transformers.js 3.7.5, reading only Stage 1 retrieved
symbol locations and the Stage 2 redacted patch.