Weights edited in place under the same model id and revision were not
detected, expired captures still loaded, and run stores could not be
pruned because reused steps reference earlier attempts.
- Fingerprint: a deterministic fingerprint of every parameter and
buffer (names, shapes, dtypes and a fixed strided sample of each
tensor, with an optional full digest) joins the capture identity and
the runner's model identity. Captures and steps from before the
fingerprint are refused or recomputed with a recorded reason. The
pipeline's entry-point cache identity is unchanged.
- Retention: load_capture refuses captures past expires_at unless
inspection is requested; comparison inspects stored captures
regardless of expiry.
- Pruning: `obliteratus experiments prune` (dry run by default) keeps
the latest complete attempt, the newest N, active attempts and every
attempt a kept one reuses, records a pruned event before deleting,
and finishes interrupted removals on the next applied prune.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a shared observation spec, runner, run store and comparison so one
baseline observation can be specified once, run from the CLI or Python,
resumed after interruption and compared across runs.
- Spec: versioned JSON with a single schema file as authority. It
references a pack, dataset revision and role (locked test only with
acknowledgement), model id/revision/dtype, greedy decoding, registered
scorer tasks, optional activation capture and profiling, and a seed.
The canonical digest of the defaulted spec is the run identity.
- Runner: baseline only. It refuses models with forward/backward hooks,
global module hooks, an interrupted-surgery marker or active adapters
before any generation, then scores generation per task (single-arm,
descriptive scorecards with Wilson intervals) and optionally captures
activations and profile counters.
- Store: one directory per run identity, append-only attempt events,
pending/running/complete/failed/cancelled transitions under a lock.
Abandoned attempts are recorded as failed. A new attempt reuses a step
only when it is complete, identity-matched and its files still verify.
- Compare: exact equality for identities, counts and per-example
outcomes; explicit tolerances for rates and activations, reported per
field.
- CLI: `obliteratus experiments run|compare|history`, sharing one
Python code path a UI can call.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>