1678 Commits
Author SHA1 Message Date
Joseph Magly efa56de0cb Merge pull request #782 from ariannamethod/fix/impact-chart-per-result
fix(report): keep every result in impact charts
2026-12-04 21:01:35 -05:00
Joseph Magly 2dca921945 Merge pull request #784 from elder-plinius/feat/gguf-native-toolkit
feat(gguf): add native GGUF toolkit
2026-12-04 18:42:15 -05:00
Joseph Magly 0ca0d1d77e feat(gguf): add native GGUF toolkit
Add bounded GGUF v2/v3 parsing, transactional metadata and tensor edits,
split-file handling, provenance manifests, exact GGML storage typing, and
measurement-gated quantization planning. Preserve unmodified payloads
byte-for-byte and expose the toolkit through `obliteratus gguf`.

Verification:
- 57 focused tests on each of Python 3.11, 3.12, and 3.14.
- 377 combined focused, CLI, risk-map, CI-policy, package-export, and
  CLI-boundary tests on Python 3.14.
- 2,000 randomized exact-DP comparisons against brute force.
- Real single-file and three-shard GGUF metadata edits with tensor hashes
  preserved; independent GGUF reader opened every output.
- Ruff, risk-map validation, wheel/sdist build, and isolated wheel CLI smoke.

No real Qwen4 conversion or inference was run; runtime and quality
qualification remain separate gates.
2026-12-04 18:35:28 -05:00
Joseph Magly d198f8f399 Merge pull request #781 from jmagly/feat/offline-shard-editor-quant
Add FP8/MXFP4 quantized offline shard editing and requantization
2026-12-03 19:14:42 -05:00
Joseph Magly 3588e76180 Merge pull request #773 from jmagly/feat/vllm-capture
Capture normalized attention inputs from a vLLM engine
2026-12-03 19:10:12 -05:00
Joseph Magly 264571313a ci(policy): own a duration budget for test_length_confound_matches_the_candidate_and_is_flagged 2026-12-03 19:06:20 -05:00
Joseph Magly 8fc4e7ab07 Merge remote-tracking branch 'upstream/main' into HEAD 2026-12-03 19:06:19 -05:00
Joseph Magly 99158b71ac Merge pull request #775 from jmagly/feat/offline-shard-edit
Add an offline safetensors shard editor for direction projection
2026-12-03 19:02:32 -05:00
Joseph Magly 5b24cc0664 Merge pull request #774 from jmagly/feat/external-directions
Compute refusal directions from external engine captures
2026-12-03 19:02:12 -05:00
Joseph Magly 186a6b2c1d Merge pull request #780 from jmagly/recovery/hydra-identity-20261203
Invalidate import caches before scanning live package identity
2026-12-03 19:02:08 -05:00
Joseph Magly 3302dc3b29 fix(ci): map requantize.py in test-risk-map and drop unused variable 2026-12-03 18:59:33 -05:00
Joseph Magly e0407cbb39 Sync the quantized editor stack with the updated offline editor branch 2026-12-03 18:44:22 -05:00
Joseph Magly b629ad87d1 Sync current upstream main into PR #775
Bring the pull request onto current main for exact-head CI and review; no conflict resolutions were needed.
2026-12-03 18:43:50 -05:00
Joseph Magly a8ec7d6e74 Sync current upstream main into PR #774
Bring the pull request onto current main for exact-head CI and review; no conflict resolutions were needed.
2026-12-03 18:43:48 -05:00
Joseph Magly e8f4e45f48 Sync current upstream main into PR #773
Bring the pull request onto current main for exact-head CI and review; no conflict resolutions were needed.
2026-12-03 18:43:46 -05:00
Arianna Method 460dc79587 fix(report): keep every result in impact charts
Plot each measured result separately and include strategy names for repeated component labels.
2026-12-04 01:42:19 +02:00
Joseph Magly 17da7236e6 fix(distributed): invalidate importlib caches before live package identity scan 2026-12-03 18:07:12 -05:00
pliny 33f0366558 Merge pull request #778 from younger-plinius/research/control-boundary-lexotomy-paper2
research: Control-Boundary Lexotomy paper + v2 Peer-Group Sibling GGUF auditor
2026-12-02 23:49:17 -05:00
faber 26838601bb research: add 4-16B Q6_K boolean policy bypass, schema-defense failures & triple positional authority confirmation 2026-12-02 21:37:15 -05:00
Joseph Magly b61ec26a1f feat(offline-edit): add v3 mixed vocab_surgery + multi-direction subspace + norm_preserve 2026-12-02 20:18:18 -05:00
faber 65186f59a5 research: upgrade boolean policy bypass to 3 labs (0/30->30/30, p=1.86e-9) + Q8_0 MMLU-50 & weight-baked s1 boundary 2026-12-02 19:53:56 -05:00
faber 28185f8907 research: add 5-lab raw-JSON gate (p=5.8e-11), 2-row boolean policy bypass (p=1.9e-6) & positional authority/sycophancy controls 2026-12-02 19:06:11 -05:00
Joseph Magly c368100b82 test(offline-edit): verify hidden .cache and .git directories are skipped 2026-12-02 18:57:38 -05:00
Joseph Magly a170fd4807 fix(offline-edit): skip hidden .cache and .git directories when copying model metadata 2026-12-02 18:52:02 -05:00
faber 233de034f3 research: add cross-family stealth tool-hijack (Q8_0/MMLU-50), 1-row raw-JSON gate, hybrid-mode control & Fig 6 2026-12-02 18:50:52 -05:00
Joseph Magly 8ede90f74b test(kimi-k3): add analytic AttnRes + LatentMoE writer-only closure proof (OBL4-01) 2026-12-02 18:21:10 -05:00
Joseph Magly cc724b45ab feat(offline-edit): support FP8 blockwise and MXFP4 quantized shard editing with G-QUANT checks 2026-12-02 18:10:44 -05:00
Joseph Magly 993f7fd3eb feat(models): add MXFP4_CT decode and FP8/MXFP4 requantization with G-QUANT checks 2026-12-02 18:07:05 -05:00
faber 84105351f2 research: add 4-model/3-lab N=80 W_E backdoor (p=9.5e-7), 2-row zero-injection tool hijack & full-duplex W_E+W_U composition 2026-12-02 17:30:19 -05:00
faber c4128f8d4f research: add 512B sub-row W_E backdoor, Q8_0 roundtrip, RMSNorm duality, Fig 5 & W_E_SUBROW_GRAFT auditor 2026-12-02 16:55:32 -05:00
faber e7e5463c63 fix(gguf_cot_knob): restore hardened Q8_0 finiteness/overflow guards from main 2026-12-02 16:12:42 -05:00
faber 159fce6b07 research: add 3-model pooled W_E backdoor proof (p=6.1e-5) & template-armor defense 2026-12-02 16:10:06 -05:00
faber 60b8e51c10 research: add Control-Boundary Lexotomy paper & v2 Peer-Group Sibling GGUF auditor 2026-12-02 15:39:48 -05:00
Joseph Magly b8a1867637 Merge pull request #777 from jmagly/docs/764-historical-heretic-reference
Clarify the historical Heretic comparison reference
2026-12-02 13:49:06 -05:00
Joseph Magly 44f941014e Merge pull request #776 from jmagly/fix/765-bayesian-generation-failures
Fail Bayesian studies on total generation failure
2026-12-02 13:48:33 -05:00
Joseph Magly 3c4c4e2485 Clarify the historical Heretic comparison reference 2026-12-02 13:21:43 -05:00
Joseph Magly abe507c58a Fail Bayesian studies on total generation failure 2026-12-02 13:21:26 -05:00
Joseph Magly e105f0ebf5 fix(offline-edit): let the spec side select the edit
Output removes the direction from dimension 0 and input from dimension 1. This replaces the axis field and the shape and name inference.
2026-12-02 10:26:30 -05:00
Joseph Magly b6903bf131 fix(offline-edit): honor an explicit axis and refuse silent no-ops
Square tensors need an explicit axis. Unmatched patterns, non-finite results and F64 tensors are refused.
2026-12-02 09:41:02 -05:00
Joseph Magly 70c9fc041a fix(directions): require a declared norm kind and matching prompt counts
Refuses to overwrite an existing output and documents row and strength semantics.
2026-12-02 09:41:01 -05:00
Joseph Magly 1bec0496ab fix(capture): verify the input norm is weight-scaled RMSNorm
Other norms cannot be undone by dividing by the weight, so capture refuses them. The manifest now records norm kind, trust_remote_code and nested expert counts.
2026-12-02 09:40:59 -05:00
Joseph Magly 7685f6a0c6 chore(ci): place the shard editor risk entry clear of concurrent additions 2026-12-02 08:37:02 -05:00
Joseph Magly 59c30599ee fix(offline-edit): copy untouched shards instead of hard-linking
Keeps published candidates independent from the source checkpoint.
2026-12-02 08:37:00 -05:00
Joseph Magly bb389f5830 feat(offline-edit): streaming safetensors shard editor for refusal-direction projection
Shard-at-a-time output-side projection W <- W - s r (r^T W) (row-space for embeddings) in float32,
cast back to the source dtype; orientation verified from shapes; quantized (U8/MXFP4) tensors refused.
Writes a new checkpoint: edited shards rewritten in original tensor order and metadata, untouched shards
hard-linked (copy fallback), non-shard files copied, edit_manifest.json with per-key norms and projection
norms before/after, resumable progress bound to source and directions hashes. Dry-run lists matches.
Entry point: python -m obliteratus.offline_edit.
2026-12-02 08:36:58 -05:00
Joseph Magly 2f8116da2f fix(directions): mask near-zero norm weights in normalized captures
Channels below 1e-6 cannot be recovered by division, so their component is zero. The directions manifest records the masked rows and channels.
2026-12-02 08:36:55 -05:00
Joseph Magly af52ebf547 feat(directions): refusal directions from external engine capture artifacts
Validates the obliteratus.engine_capture.v1 artifact (schema, digest, shapes, finite values, positive
counts), computes per-row difference-in-means directions in float64 without loading a model, selects
rows (explicit, top-k, min strength; layer 0 excluded by default) and writes obliteratus.directions.v1
with manifest-bound provenance. Normalized captures (representation attn_input_normalized, e.g. the
RMSNorm-ed attention input of AttnRes models such as Kimi-K3.1) carry norm_weight and are mapped back
to residual space by dividing by it. Entry point: python -m obliteratus.external_directions.
2026-12-02 08:36:54 -05:00
Joseph Magly 03b70f01e4 feat(capture): capture normalized attention inputs from a vLLM engine
Adds a vLLM worker extension and driver that record the last-token attention input per layer. Tensors cross the engine RPC as explicit dtype, shape and bytes, because vLLM's untyped msgpack decode does not restore them.
2026-12-02 08:36:52 -05:00
Joseph Magly b680081481 Merge pull request #772 from jmagly/release/v0.9.0-signed
release: v0.9.0
v0.9.0
2026-12-01 20:10:56 -05:00
Joseph Magly 18c279a38b Correct the 0.9.0 highlight pull-request references 2026-12-01 20:06:54 -05:00
Joseph Magly 1f7882e834 Add upgrade notes and correct the batching default in the 0.9.0 changelog 2026-12-01 19:56:47 -05:00