← case studyLocalForgewalkthrough · sample data
demo.app — LocalForgedemo datafull screen ↗

A Rust-native security gateway that reviews your code before git does, entirely on-device. Sample findings.

The commit pipeline

Three layers with very different budgets, because a pre-commit hook that takes five seconds gets uninstalled.

LayerRuns onBudgetVerdict
1 — Rust regexCPUunder 1msblocks
2 — CoreMLApple Neural Engine~200msblocks
3 — Qwen2.5-Coder via MLXlocal model~8-20sadvises
3.5 — static analysislocal toolsparallel with 3advises
  1. 1git commit
  2. 2staged diff, added lines only
  3. 3strip .localforgeignore paths
  4. 4layers 1 and 2 gate
  5. 5layer 3 writes a report

Layer 1 catches the obvious with no model at all. Layer 2 catches what a pattern cannot. Layer 3 is an opinion, not a gate — it never blocks a commit, it informs. Only added lines are scanned, so a commit that removes a secret is not punished for touching it.