Files
OBLITERATUS/tests/conditional
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
..