PyPI · neurogit-gfn 1.0.6
DOI · 10.5281/zenodo.24727308
License · Apache-2.0
Lean 4.36 Verified Algebra
NeuroGit-GFN
Edit knowledge and behavior in open-weight LLMs, and track every edit like Git.
Compile targeted updates into standard .safetensors weights without retraining, rank which rule shaped an output (gfn blame), and selectively undo individual edits (gfn revert).
Privacy & Secrets (P6)
Mask memorized PII or inline credentials with placeholders (tested on synthetic fixtures).
Quotes & SPDX (P7)
Block verbatim memorized quotes (tested on literary proxies) and steer new-file SPDX license headers.
Knowledge & Cloud (P8–P10)
Sync outdated SDKs, deprecated packages, and default cloud-region or crypto command flags.
Virtual Patching (P1–P5)
Steer a shared model away from a bad package during an incident, then undo the rule with gfn revert.
Interactive Virtual-Patching Showcase (Recorded Sandbox Replay, No Download)
Step through all 6 recorded cases + 1 disclosed miss →When to Use gfn & Recommended Operator Flow
Read Architecture & Contributor Guide →
Quickstart (Python 3.11+ · Apple Silicon, CUDA, or CPU)
View on PyPI →python3 -m venv .venv && source .venv/bin/activate
python -m pip install neurogit-gfn
curl -fsSL https://raw.githubusercontent.com/pallakatos/neurogit-gfn/v1.0.6/examples/axios_quarantine.yaml -o ./policies.yaml
gfn compile --model Qwen/Qwen2.5-1.5B-Instruct --policies ./policies.yaml --out-dir ./bundle --verify
gfn chat --model Qwen/Qwen2.5-1.5B-Instruct --policies ./policies.yaml --bundle-dir ./bundle