Commit Graph
2 Commits
Author SHA1 Message Date
Joseph Magly 3c62b87410 docs: initial core abliteration run runbook
Add docs/INITIAL_CORE_RUN.md: the operator sequence that proves the
core abliteration pathway on a local 24 GB GPU first, then spends one
budget-capped H200 window on Qwen3.8-27B (#531).

- Prerequisites: licences, local pinned revisions, a frozen margins
  spec passed by digest, and extraction prompts exported disjoint from
  the verify-edit held-out set.
- Local steps L1-L6 with exact commands and pass/stop rules: GPU gates
  and campaign dry run, concept gate, obliterate --record-reference with
  verify-checkpoint, verify-edit including the matric-eval vLLM path,
  and the 8B bridge.
- The rented window: the campaign with --budget-usd, --hard-stop-hours,
  --reserve-hours and --elapsed-offset-hours, stop and teardown rules,
  and evidence copy-out.
- Linked from the campaign, verify-edit and checkpoint-verification
  docs; registered in the test-risk map.
2026-11-18 13:00:17 -05:00
Joseph Magly 811854194e feat(obliterate): verify-checkpoint reload-and-generate parity
The REBIRTH save stage only checked that files exist and parse, so a
save that dropped or mangled the edit passed silently (#525).

- `obliterate --record-reference` records greedy outputs of the
  in-memory edited model on the pinned obliteratus-verify-v1 prompt set
  (8 harmful + 8 harmless, 32 tokens) into a sidecar with digests of the
  files the reload reads.
- `obliteratus verify-checkpoint` reloads the checkpoint from local
  safetensors only, regenerates greedily and compares token ids: exact
  match, prefix agreement and harmful refusal-rate change against
  per-reload tolerances (strict for full precision, provisional for
  bitsandbytes 8/4-bit, overridable and recorded).
- Fails with named reasons for no or empty reference, files changed
  since the reference, tokenizer mismatch, divergence, invalid outputs
  and, with --stock-model, an edit that was not persisted. A
  structural-only check can never pass.
- Versioned report bound to checkpoint digests, prompt-set digest and
  runtime; exit 0 pass, 2 input error, 3 verification failed.
- CPU tests use a tiny local GPT-2 through the real REBIRTH; a CUDA and
  bitsandbytes test runs in the conditional gates.
2026-11-18 11:56:26 -05:00