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.
Extend backend qualification so precision-induced changes in reasoning
outcomes are separated from intervention effects (#512).
- Precision declarations record weight, activation and KV-cache
precision, quantizer and calibration identity; incomplete or
inconsistent declarations are refused.
- A bounded, preregistered pilot protocol fixes candidate, dataset,
decoding, output budget, seed blocks, final-answer parser, margins,
drift limit, resource objective and disjoint splits.
- The pilot loads four fresh cells on the same rows: the unedited parent
and the saved candidate at the CPU float32 reference and at the
declared precision.
- Per-row outcomes separate final-answer correctness from reasoning and
total tokens and termination; truncated or unparsable outputs count
as wrong.
- Paired bootstraps give precision effects within each artifact,
intervention effects within each precision and their interaction.
Gates apply per task and pooled, and expose harm hidden by a pooled
pass. Shared-prefix KL is reported apart from free-running
disagreement.
- Token cost never gates; an efficiency claim needs every gate to pass
and the preregistered resource to improve.
- Support matrix schema 2 carries precision fields and pilot attempts;
pilots never add qualified pairs, and schema 1 records still load.
- `obliteratus experiments qualify reasoning`; CUDA path in the
conditional gate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Start milestone 5 (F20): qualify each saved artifact on an explicit
backend against the CPU float32 reference of the same artifact, and
record exactly which pairs qualify.
- Only fully verified persistent candidates are accepted; each run
loads the saved artifact fresh from disk on the reference and on the
declared backend after checking digests.
- Backend descriptors make device, dtype, quantization, attention,
tokenizer and cache mode explicit; their digest is the backend id, so
native and quantized results are separate rows.
- Paired evaluation on independent rows checks realized settings,
target rate, completion agreement, logit and site-activation drift and
collateral endpoints. Latency and memory stay outside the digest.
- Unsupported combinations are recorded unsupported without loading or
falling back; unavailable hardware is refused and leaves the pair
untested. Failures are permanent and block broader claims.
- A versioned support matrix lists exactly the qualified pairs. CUDA
tests run in the cuda-runtime conditional gate.
- `obliteratus experiments qualify run|matrix`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The cuda-runtime, bitsandbytes-runtime, mps-runtime, mlx-runtime and
remote-execution waivers expired on 2026-11-16. Renew them from
2026-11-16 through 2026-11-30, within the 30-day maximum, with reasons
and blocked claims unchanged. No GitHub self-hosted lane is registered
yet; issue #110 stays open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add two-estimate interaction experiments (F14): measure whether two
ready dossier estimates interact when applied together, in which order,
and under which conversation history, without treating orthogonality as
independence.
- Arms: baseline, A, B, each declared order, matched random controls
for each, optional protected arms (one component restricted to the
complement of the other's span) and a baseline replay; restoration is
checked after every arm and a failure stops the attempt.
- Orders and history mode (single turn, matched context, diverged) are
part of the spec digest. Components pass the harness's model and
independence checks; confirmation-locked rows are refused.
- Interaction is the per-example difference-in-differences of task
success with a seeded paired bootstrap interval and an exact sign
test, compared against the random-control sequence; order sensitivity
is reported. "Independent" is never an outcome, and geometry never
feeds one.
- Protection reports projection preservation and behaviour preservation
separately.
- Results link to dossiers by reference as descriptive evidence only,
re-verified on read, never granting labels. `obliteratus experiments
interact` and an Explorer interaction view.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the confirmation registry (F15): freeze what decides a confirmation
before its results are unlocked, track exposure of confirmation data,
and compute maturity from referenced evidence.
- Append-only registry under <run>/registry with a schema file as
authority. A registration freezes, by digest, the dossier binding,
the full intervention spec, scorers, threshold, direction, margins,
decision dose, target task, seeds and the confirmation row set (text
digests only). Edited registrations fail their id; changes need an
amendment, counted as a new comparison.
- Unlocking requires a matching frozen registration: the result must
come from the frozen spec after registration, on the frozen rows, with
an unchanged dossier, and its verdict is recomputed from its records.
- Every evaluation and unlock is logged as an exposure. Exposed rows are
refused as inputs to discovery, example selection and causal maps,
and for any later confirmation of any target. Runs without a registry
are unchanged; an optional registry_dir covers outputs outside the
run.
- Replications must reuse the recipe with different seeds and disjoint
rows. Non-supported verdicts are negative entries that mark the target
for re-investigation and require fresh data.
- Maturity per (target, method, model revision, task, backend) is
computed: hypothesis, candidate, causal, replicated, persistent-pilot
eligible (which also needs a current dossier). Fixture results never
count by default; claims above the computed level are refused.
- The pain pack's declared protocol registers as the first candidate
after reference and prompt-digest verification; with no answer keys it
stays at hypothesis, marked descriptive only.
- `obliteratus experiments registry register|unlock|replicate|status`,
a Python API and an Explorer section.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the causal targeting map (F13): measure a dossier estimate's
controlled-intervention effects across a declared grid and show benefit,
side effects, uncertainty and restoration together.
- Versioned map spec (sites x token scopes x doses, operation, decision
dose, cell budget). Each (site, token scope) row runs through the
existing harness with the grid's doses as its ladder, so every cell
has its own matched control, restoration check and replay. Results are
stored by path and sha256 and cells are rebuilt (and verdicts
recomputed) on every read.
- Only the estimate's own site runs; other sites are recorded as
untested "exploratory (transferred coordinate)" cells that can never
attach to a dossier.
- Holm correction across tested decision-dose cells. A cell reads
supported only when the recomputed harness verdict is supported and
its adjusted p < 0.05; other doses are descriptive; untested cells
carry a reason and no number.
- Cells report difference, interval, rates, collateral and invalid-output
status, restoration, a link to the comparison and failure example ids.
- Resumable: completed rows are reused only on matching row and result
digests; a different spec is refused.
- Candidate re-ranking across a dossier's maps, scoped to tested
conditions; an Explorer heatmap per token scope.
- `obliteratus experiments map run|show|attach|rank` and a Python API.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add an Explorer sub-tab under Concept Lab (F06) that reads a finished
observation run without loading a model. Pure handlers (no Gradio
import) cover loading, scorecards, filters, example records, text,
activations, saved views, export and comparison; the layout only wires
them.
- Start from the scorecard; every aggregate and group drills down to
exactly the examples it counts. Filter by outcome (failed, excluded,
abstained, invalid), task, group and evidence status.
- Drill into an example's record and its captured activations as a
per-site table and an HTML heatmap, labelled descriptive. Anything not
measured reads "unavailable: <reason>"; a measured zero reads 0.
- Text is hidden by default, verified against the recorded digest when
shown, and refused for locked test data and on public deployments
(Hugging Face Space or a share link, which now sets a flag at launch).
- Saved views are versioned JSON next to the run, validated on load.
- Export writes the run's exact spec (same run identity, checked) with
the view in a sidecar, and shows the matching CLI command.
- The runner now records the ordered example ids in the capture summary
so activations map to examples without reconstructing the order;
older results fall back to the runner's order.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bring in chat templates, sampling, batching, CUDA and the weight
fingerprint (#451, #453), and give the Observations form controls for
them: device, decoding strategy with temperature/top-p/top-k, batch
size, chat template with an optional system message, and fingerprint
mode. Options at their defaults stay out of the spec JSON, so a
default form leaves the run identity unchanged; greedy decoding never
carries sampling settings; and a system message without the chat
template is refused. The schema still validates everything through the
same load_spec path as the CLI.
Resolve the OBSERVATION_RUNS.md conflict by keeping the updated limits
and the tab section, now listing the execution options.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Remove the observation runner's execution limits.
- Chat templates: an optional prompt section renders each prompt
through the tokenizer's chat template (optional system message,
generation prompt), tokenized without extra special tokens. The
rendered-prompt digest joins the generation step identity and each
record; capture uses the same rendered prompts.
- Decoding: seeded sampling (temperature, top-p, top-k) alongside
greedy, with a per-example seed derived from the spec seed and example
id. Comparison treats sampled outcomes as exact only when strategy,
device, dtype and seed match, and says why otherwise.
- Batching: optional left-padded greedy batches with an explicit,
recorded pad token; rows are cut at their first eos so batched and
unbatched outcomes agree. Sampling with batches is refused because
per-example seeds cannot hold.
- Devices: dense CUDA for the runner and capture, with shards written
from CPU copies and device/dtype recorded. Quantized, offloaded,
dispatched, meta, split-device and MPS models are refused with
explicit reasons.
The schema stays additive within version 1; options at their defaults
are dropped from the filled spec, so existing spec digests are
unchanged (pinned in tests).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add an Observations sub-tab under Concept Lab for baseline observation
runs. Handlers live in ui_observation_runs.py with no Gradio import;
the layout only reformats their output. Every action calls the same
functions as `obliteratus experiments run|compare|history`: the editor
text is validated through load_spec, runs go through run_observation,
and history, scorecards and comparisons read the same store.
The JSON editor is what runs; the form overwrites only its own fields,
so new spec fields pass through unchanged. Locked test is offered only
after explicit acknowledgement, scorecard views show no prompt or
completion text, and Cancel (or closing the stream) cancels the attempt
cooperatively. Runs take the app's exclusive model-operation claim, so
they cannot overlap other model jobs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add browser-local spatial activation replay with orbit, zoom, token travel, paused/reduced motion, and model-layer destinations. Render measured signed values faithfully with illustrative depth, and clean up retained-node listeners and detached scenes. Add runtime lifecycle, navigation, payload, and real Gradio regression coverage.
Add scoped native MLP channel controls, strict versioned recipes, and isolated Neuron Lab sessions with inspection, ordered editing, comparison, cancellation, and immutable exports. Cover arithmetic, lifecycle, real offline model forwards and Gradio callbacks; document the CPU reference boundary.
Renew the five CUDA, bitsandbytes, MPS, MLX and remote-execution
waivers from 2026-10-17 for the 30-day maximum before the current
waivers lapse on 2026-10-20. Reasons and blocked claims are unchanged;
no gate, coverage or freshness rule is relaxed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The archived topology commits predate the merged EXCISE, VERIFY and
EXPORT stages. A cross-stage audit for the one-GPU-per-host layout found:
- Live preflight and LOADED evidence use attempt storage shared by the
ranks (rank-0 directory, nonce file, file receipts). They now refuse the
two-host GPU layout after configuration consensus and before any
staging access (LMS_TOPOLOGY_UNSUPPORTED; the model session reports
LMS_TP_PLAN_UNSUPPORTED).
- Canonical EXPORT assumes one shared destination tree across writer
ranks. It now refuses the layout with a voted
LMS_EXPORT_TOPOLOGY_UNSUPPORTED before any resource or filesystem work.
- PROBE admitted host memory only on rank 0. Each rank now admits its own
working set through the existing unanimous vote.
- The evidence checker reconstructs each attempt's topology from
fixed-size redacted records. EXPORT's attempt hash binds the VERIFY
binding set, and part 5's per-attempt hardware and mount checks are kept.
EXCISE, rank journals, VERIFY and the launcher are code-level compatible
and are covered by new mocked tests. Docs describe the refusals.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 37f407850916ebe76575d73112c4d26fe08bf421)
Ported for #244 (part 6/6). Internal-only content from the archived
commit was dropped: .aiwg records and the internal security-docs test.
Doc and test conflicts keep upstream wording and add only the topology
references; internal tracker numbers were replaced with upstream framing.
Marked experimental in user docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings the ported canonical export up to the rules from parts 3 and 4:
- Every rank-local step that can raise is followed by a unanimous control
vote before the next collective. This covers reconstruction, file I/O,
safetensors write and reload, digests, validation, fault hooks and record
construction. EXPORT votes use [17_000_000, 24_000_000).
- Tensor, file and index aggregates use streamed, domain-separated,
length-prefixed digests (streamed_contract_digest), so every advertised
limit works. Oversized HF indexes are refused before any write.
- One combined, voted host admission covers reconstructed tensors, gather
buffers, serialization and reload copies, chunked digest and finite
checks, metadata and the still-live VERIFY state.
- VERIFIED revalidation uses the guarded #274 helpers and logical roots, and
requires the released journal.
- Cancellation and the deadline are rechecked before promotion and before
return. Files are rehashed at the final gate. Cleanup or confirmation
failure quarantines as LMS_EXPORT_STATE_UNCERTAIN, and strict backup
cleanup never restores a partially deleted backup.
- Single-tensor output uses indexed naming. The HF index payload helper
is shared with checkpoint_writer, with identical output.
- Docs use the upstream #244 framing and are marked EXPERIMENTAL.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit de990f633e151f329ef5e844ed55f60a9a0b247c)
Ported for #244 (part 5/6). Internal-only content from the archived
commit was dropped: .aiwg records and the internal security-docs test.
Doc and policy conflicts keep upstream wording and add only the export
references. The new Gloo test file carries the gloo marker and a
duration entry. Marked experimental in user docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 2fbc38cd512f1130b4931ba5a7ffaf2e666d3008)
Ported for #244 (part 4/6). Internal-only content from the archived
commit was dropped: .aiwg records and the internal security-docs test.
Doc conflicts keep upstream wording and add only the VERIFY references.
The new Gloo test file carries the gloo marker and a duration entry.
Marked experimental in user docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit ba6e1bb45a964dd0980b2e1440debd93cf94da45)
Ported for #244 (part 3/6). Internal-only content from the archived
commit was dropped: .aiwg records and the internal security-docs test.
The new Gloo test file carries the gloo marker and a duration entry.
Marked experimental in user docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit f9a289e267889c297cefcdc67eea92c4b8eb8d4d)
Ported for #244 (part 2/6). Internal-only content from the archived
commit was dropped: .aiwg records and the internal security-docs test.
Marked experimental in user docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a reusable phase-admission module that estimates per-device demand
(resident weights, activations/KV, staging, logits, edit workspace) for
each pipeline phase and checks it against freshly observed free memory,
utilization ceilings and lifecycle broker grants before the phase starts.
Over-budget phases fail with the device and shortfall. Load admission is
exposed as admit_model_load for reuse by UI reloads.
Refs #245
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 4caf45b04a8faa55f191b22c069f58714236689b)
Ported for #244 (part 1/6). Internal-only content from the archived
commit was dropped: .aiwg records, internal runner-policy routing, and the
internal security-docs test. Marked experimental in user docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new Concept Lab tab (obliteratus/ui_concept_lab.py) drives the merged
concept APIs in six steps:
1. select a concept or pack;
2. extract with the pack recipe;
3. validate through the gate (an override needs a non-empty, recorded
reason);
4. intervene (orthogonalize, project, steer, lora), with pristine and
modified previews;
5. evaluate with the collateral battery, and run the repair ladder for
every intervention mode;
6. export through the #231 guards.
Under those guards, research-tier packs never push modified weights, a
collateral FAIL blocks only the publish card, and incomplete repairs need
an explicit acknowledgement. The UI never fetches pack data implicitly.
Selecting a concept pack disables or rejects the custom-prompt and dataset
controls, with a clear message.
The Obliterate tab still defaults to refusal and is unchanged. Legacy
refusal runs also expose their extraction as a ConceptDirection artifact,
best effort: a layout the artifact cannot represent is logged and never
aborts the run. Operator-UI coverage follows the existing conditional
policy pattern.
Closes#234
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>