Remove one rule. Keep the other.
Compile behavioral rules into standard PEFT weights with zero training steps, and undo any single rule in milliseconds without touching the rest.
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:
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: