cd /news/artificial-intelligence/show-hn-neurogit-gfn-edit-llm-knowle… · home › topics › artificial-intelligence › article
[ARTICLE · art-182135] src=pallakatos.github.io ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Show HN: NeuroGit-GFN – Edit LLM knowledge and behavior, tracked like Git

A developer released NeuroGit-GFN, a tool that compiles declarative YAML behavioral rules into standard bfloat16 PEFT LoRA weights with zero optimizer steps, using a closed-form SVD plus KKT solve that took 73.33 seconds to compile. The tool splits output into a 945.9 KB adapter_model.safetensors that runs in stock vLLM or Transformers and an offline 2.18 MB gfn_ledger.npz that lets gfn revert a single rule on CPU in 1.301 ms, with 100% (12/12) CleanBuild parity on Qwen2.5-1.5B. The author reports failures too: Hermes-3-8B emitted --release in direct chat but --artifact inside run_cli tool JSON, scoring 0/1, and a 200-token security system prompt also scored 0/1, while the author notes weight edits complement and never replace sandboxes, lockfiles, IAM and registry allowlists.

key takeaway

NeuroGit-GFN compiles YAML before/after rules into a 945.9 KB bfloat16 PEFT LoRA adapter with zero optimizer steps and keeps a 2.18 MB offline ledger that reverts a single rule in 1.301 ms on CPU.

read2 min views1 publishedDec 4, 2026

Compile behavioral rules into standard PEFT weights with zero training steps, and undo any single rule in milliseconds without touching the rest.

axios → got) Registry mirror active

From declarative YAML to stock PEFT weights + offline ledger

1. Declarative rule input (or interactive /pinch)

Each rule specifies a before/after span and lifecycle without gradient fine-tuning:

2. Closed-form SVD + KKT solve → dual artifact fork

Orthogonalized keys and margin gradients feed a constrained KKT quadratic program (73.33 s compile, 0 optimizer steps) producing low-rank factors A = Wᵀ, B = F·diag(α) that split into two files:

Serve → adapter_model.safetensors (945.9 KB) Standard bfloat16 PEFT LoRA. Runs in stock vLLM or Transformers with zero gfn code or runtime router.

Retain → gfn_ledger.npz (2.18 MB compressed) Stays offline (2.44 MB raw float64 bases + 5.95 KB reduced QP). Lets gfn revert re-solve retained rules on CPU in 1.301 ms.

1-pass 28-layer mlp.down_proj norm profile

Scale-invariant S_inv(l) scans all 28 layers in 2,013 ms, locking onto anchor L* = 20 (amber), wave + cascade layers L23..26 (cyan), and cascade layers L22, L27. Click or hover any bar:

Counterfactual gfn blame & selective rollback speed

Which rule caused got? (recorded M4 session)

Leave-one-commit-out KKT attribution isolates the temporary quarantine rule:

Retiring rule #1 on Qwen2.5-1.5B

1.301 ms cold CPU KKT solve (209.2 ms full cold load + GPU install) with 100.0% (12/12) CleanBuild parity:

Generalization, waivers, & read-only truthfulness

Unseen package install (commander)

Never appeared in YAML calibration, yet inherits the corporate mirror:

Waivers & read-only package.json audit

Explicitly waived prompts and repository dependency audits stay untouched:

Same task. Same agent. A different tool call. #

Unchanged LangGraph agent calling stock vLLM on NVIDIA A40 before and after a .safetensors adapter.

.safetensors adapter gfn revert of temporary rule

Inspect server wire, operator /pinch & step-by-step replay #

Operator policy

Server registration & sandbox receipt

Where it failed #

Every recorded miss and scope boundary is kept in plain sight.

#

gh attestation verify missed --signer-workflow 0 / 1

Hermes-3-8B emitted --release in direct chat but --artifact inside run_cli tool JSON, so a single-surface /pinch anchor did not align. A 200-token security system prompt also scored 0/1 on the same task.

#

Chained tarfile.open(...).extractall(...) omitted filter="data" 1 / 2 unseen

tar.extractall(path=dest, filter="data") blocked path traversal, whereas the chained one-liner omitted the filter and a read-only PR audit answered yes instead of no.

Short deterministic spans & compensating control scope Operating boundary #

DeepSeek-R1-1.5B prose scored 0%). Model-weight edits complement, and never replace, sandboxes, lockfiles, IAM, and registry allowlists. ### Help us test it on bigger models & share feedback

We evaluated 1B to 14B checkpoints so far. Running a 24B, 32B, 70B, or MoE model on your rig? Try compiling a rule and tell us what worked or broke.

Join 24B-70B+ Benchmark Board →

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @neurogit-gfn 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-neurogit-gfn…] indexed:0 read:2min 2026-12-04 · —