The checkpoint adapter reason rendered `install_extra=obliteratus[<extras>]==<version>`,
and the refusal-recovery pilot printed `install obliteratus[recovery]`. pip
resolves both against an index, where the `obliteratus` project is
quarantined with no installable files. The reason keeps its `install_extra=`
key with bare extra names and adds `install_hint` (source checkout
`uv sync --locked --extra ...`) and `project_version`, within the schema's
2048-character limit. The pilot gives the same source-checkout guidance.
Fixes#626
qwen38_e01/e02/e03 were validated for Qwen/Qwen3.8-27B but ran on any
model. A single binding table now maps each preset to the pinned stock
identity. When run() would edit with a bound preset and the model
identity (explicit recipe_model_id/recipe_revision or a Hugging Face
snapshot path) is not the bound one, the edit is refused unless
allow_recipe_transfer is set, which records the transfer in metadata and
logs a warning. Construction and evaluation-only uses (checkpoint
evaluation) are unaffected. obliterate exposes the presets locally with
--allow-recipe-transfer; remote runs reject them. The campaign passes
its locked stock identity and sets transfer only for the small-model
rehearsal. The new options are appended to the constructor signature and
added to the refusal golden configs (tensors unchanged).
--recipe now labels a family recipe applied to a member with a passing
confirmation of the unchanged recipe confirmed-family-member instead of
family-application.
Fixes#542
`--budget-hours` only warned, so an overrunning stage kept spending a
fixed rental budget (#527).
- `--hard-stop-hours` and/or `--budget-usd` with `--usd-per-gpu-hour`
set a wall-clock deadline (the lower of the two); `--reserve-hours`
(default 2, 0 in dry runs) keeps time for evidence copy-out and
teardown; `--elapsed-offset-hours` counts rental time already used.
- A stage starts only if its allowance fits before the deadline minus
the reserve; refused stages and their dependants are skipped while
later stages that fit still run. Stages run in priority order with
optional stages (load path, pain axis, multistep) last.
- At the deadline the running stage's whole process group gets SIGTERM,
then SIGKILL after a grace; the receipt records stopped_by_budget,
outputs stay hashed and nothing is deleted. A budget stop exits 75 and
--resume continues from the last completed stage in a later window.
- Ctrl-C now stops the whole process group the same way, so an operator
stop also frees the GPU; a second Ctrl-C kills immediately.
- Without the new flags behaviour is unchanged; the script still loads
no ML stack at startup. New logic lives in
scripts/qwen38_campaign_budget.py.
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.
load_json() caught every exception and returned None, so a truncated,
empty or undecodable ship-gate report looked like missing evidence: the
candidate silently left the leaderboard, the controller recommended the
wrong leader and still exited 0 (#518).
- load_json returns None only for a missing file; read, decode, JSON
and non-object errors raise UnreadableEvidence with the path and
reason.
- collect scans every evidence directory, then raises
UnreadableEvidenceSet listing all unreadable files; corrupt
interpolation metadata is treated the same way.
- main exits 2, reports each file on stderr and writes no frontier, so a
ranking is never published from a partial evidence set. Unrelated
valid JSON in an evidence directory is still ignored.
- Outcome tests cover truncated, empty, binary and non-object reports,
multiple evidence kinds, missing files, unreadable directory entries
and corrupt interpolation metadata; the script is registered in the
test-risk map.
Reported-by: soarkit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>
Preserve the exact ordered Appendix D CLI arguments while expressing experiment choices as a list. The full-source Gitleaks scan now accepts this static configuration with its unchanged rules and zero suppressions.
Prepare only locked dependencies in owned release environments before installing the exact project. Preserve verified wheel-supplied caches outside import paths, require zero caches before compilation, and bind generated cache bytes to source and retained diagnostics.
Keep project caches forbidden, preserve the no-write startup policy, sanitize inherited compilation settings, and retain bootstrap evidence separately without changing test selection or release gates.
Refs #306
Compare the composite concept arm with an explicit CausalLM arm using the same recipe, inputs and seed. Keep checkpoint ownership, receipts, interrupted resumes and raw failed metrics separate.
Refs #383, #333
Codex r6 (P2): bound_hashes skipped paths that were not files at hashing
time, so an input that vanished while it was hashed (for example a newly
added one whose directory was briefly renamed away) was recorded but never
hashed. Every file in the identity snapshot must now be hashed. Overlay
directory links no longer add expected paths: their files are bound through
the source tree, matching the default inventory.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex r5 (P2): swapping a whole cache directory during hashing kept every
link and file identity intact, so trusted bytes could be hashed while the
recorded, altered files were what the loader later opened. In symlink mode
each file is now hashed through its open handle, and that handle's device,
inode, size and times must match the identity snapshot before and after
reading. The hashed bytes are therefore the recorded file's bytes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex r4 (P2): source and overlay entries kept only their target's identity,
so a link replaced and restored while inputs were hashed went unnoticed.
Each source link, overlay file link and snapshot-directory link now records
its own text, device, inode and times alongside the validated target.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Address review r3 of the symlinked-inputs option:
- Check --symlink-inputs component by component as given, relative or
absolute, before recording it, instead of resolving links away first.
- Bind every loader-facing overlay link in models/<label> to the identity
of the validated source file it must point at, require snapshot
subdirectories to point at their source directory, and record the
generated config.json; the source, overlay and their parent directories
must be real directories.
- Capture overlay identities before hashing at fetch and resume, and
re-check them in workers and probe children.
- Add the change time to every identity so a same-size rewrite that
restores the modification time is caught.
- Document that multistep children rely on their parent worker's check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Re-check input identities inside every loadpath and pain-axis probe
child before it imports torch or loads a model.
- Require the allowed inputs directory and every directory above it to be
real directories, so a same-device link cannot replace the root.
- Walk each input path component by component as written, applying '..'
only after the directory before it is checked, so a symlinked directory
followed by '..' cannot be collapsed away; relative Hugging Face
snapshot links still work.
- Capture identities before hashing at fetch and resume and require them
unchanged afterwards, so the stored snapshot describes the hashed bytes.
- Narrow the documentation to exactly what is checked.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Address review r1 of the symlinked-inputs option:
- Lock the allowed directory's device and require every input component
to sit on it, so a mount under the directory cannot stand in for it.
- Walk each input path with lstat and reject any symlinked directory,
even one inside the allowed directory; only the final snapshot-to-blob
link is followed.
- Record each validated input's path, device, inode, size and mtime, and
have every model-loading worker re-check them before it starts. The
window between that check and the load is documented as accepted for a
single-owner input cache.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
--symlink-inputs now takes the directory the cached inputs must live in.
Fetch refuses a cached file that resolves outside it and refuses a cache
miss rather than downloading. Fetch and every resume fail closed when an
input link is broken, leaves the allowed directory, has been replaced by a
regular file, or no longer matches its recorded hash. validate_fetch reads
the policy from the run manifest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add an opt-in --symlink-inputs option. Fetch then links each cached pinned
snapshot file into the run root with a symlink to its resolved cache path,
instead of a hard link, so the inputs can sit on a different filesystem from
the root without a full copy. Fetch still records every file's hash through
the link and each resume re-verifies them. The option is locked in the
manifest only when set, so existing roots resume unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The harness only knew the small models, so the Gitea #116 Phase B runs
at 32B/72B could not select their official S1/S2 ablation layers. Add
both from appC_ablation/02_ablation_large_models.py at the pinned
4d75cd90: Qwen_2.5_32B_instruct ("chat", 32, 38) and
Qwen_2.5_72B_instruct ("chat", 48, 60). The S2 layers match the shipped
4.2 steering references (L38, L60). The appendix-D and recovery scripts
take --name from this table, so they gain the same choices.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex r1 on #381: a lowered --min-free-disk-gb did not enforce its
cached-input premise. A cache miss still downloaded and a failed hard
link silently fell back to a full copy, so a root admitted at 70-140 GB
could pull or copy ~108 GB. Below the 250 GB default, fetch now refuses
a snapshot that is not completely cached or cannot be hard-linked; the
same guard applies when an incomplete fetch is resumed. The default and
unlowered floors keep the download and copy fallbacks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Qwen3.8 campaign refuses a new root below 250 GB free. That floor
assumes both pinned snapshots (~108 GB) are downloaded; when they are
already in the local Hugging Face cache on the root's filesystem, fetch
hard-links them and that share is not needed. An operator can now lower
the initial admission explicitly (at least the 70 GB resume reserve).
The value is locked in the manifest only when set, so existing roots
resume unchanged, and must be repeated on resume.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A non-editable install from a checkout leaves an untracked, gitignored
obliteratus.egg-info in the source root. The llama-tp gate and its TP
workers run with the checkout on sys.path, so importlib.metadata also
discovered that egg-info. installed_package_set_digest() enumerates every
visible distribution, so the stale build artifact broke the live package
identity (LMS_DEPENDENCY_DRIFT) before any hardware evidence was written.
model_identity now locates exactly one .dist-info for obliteratus under
the active prefix's purelib/platlib, requires its RECORD to own the
package that PathFinder finds there, and fails closed otherwise (no
wheel, egg-only, duplicate or disagreeing installs, ownership mismatch).
A setuptools source-tree obliteratus.egg-info outside the site dirs is
excluded from the inventory only after that wheel is found. All other
metadata/RECORD and duplicate checks are unchanged; a clean install keeps
the same digest.
run_conditional_gate.py refuses llama-tp-local-gpu up front (not_run,
exit 2, actionable message) when the checkout root holds an
obliteratus.egg-info, before any probe or GPU time; --allow-missing does
not bypass it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review r4: inherited GIT_TRACE* survived sanitization, and a trace aimed at
/dev/stdout corrupted the captured SHA and status ("local", dirty). This
was the third surviving-GIT_* finding, so close the class: drop every
inherited GIT_* variable and set only GIT_OPTIONAL_LOCKS=0,
GIT_TERMINAL_PROMPT=0 and GIT_NO_LAZY_FETCH=1.
The sanitizer test now requires exactly those three GIT_* names (including
when an unknown GIT_* control is inherited). A real-git regression test
aims each of GIT_TRACE, GIT_TRACE_SETUP, GIT_TRACE2, GIT_TRACE2_EVENT and
GIT_TRACE2_PERF at /dev/stdout and requires the checkout's clean HEAD.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review r3: GIT_REDIRECT_STDIN/STDOUT/STDERR survived sanitization. On Git
for Windows, GIT_REDIRECT_STDOUT sends output past the capture pipe, so a
dirty tree would read as clean and HEAD could fall back to "local".
Drop them, and GIT_CONFIG_NOSYSTEM, which the documented list already
claimed. Set GIT_TERMINAL_PROMPT=0 and GIT_NO_LAZY_FETCH=1 and run git
with stdin closed. The sanitizer test asserts all of these.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review r2: inherited GIT_DIR / GIT_WORK_TREE / GIT_INDEX_FILE and similar
variables override git -C, so the resolver could report another
repository's HEAD or dirty state. Drop every repository-, index-,
object-store-, namespace- and config-selecting variable before running
git, and set GIT_OPTIONAL_LOCKS=0 so status never writes the index.
The real-repository test fixture builds its git environment from the same
helper (plus stripping any other GIT_* variable) so the two cannot drift.
A new test redirects GIT_DIR/GIT_WORK_TREE/GIT_INDEX_FILE to a second
repository, with and without an invalid GITHUB_SHA, and requires the
checkout's own HEAD and dirty state.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review r1: a non-empty but invalid GITHUB_SHA short-circuited the
resolver to "local" even when the repository HEAD was valid. Validate
each source on its own and fall back to "local" only if both fail.
Move the git helpers to scripts/conditional_gate_metadata.py and use them
from conditional_gate_summary.py too, so the workflow summary records the
same git_sha and git_dirty. Add summary-producer cases and a real
temporary-repository test for clean, tracked-dirty and untracked states.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gate runs on lab hosts have no GITHUB_SHA, so every report said
git_sha "local" and the evidence could not be tied to a commit from the
summary alone. Resolve GITHUB_SHA, then git rev-parse HEAD of the
script's repository, then "local"; accept only 40/64-char lowercase hex.
Add git_dirty (tracked changes at report time; null when git is
unavailable). schema_version stays 1; the field is additive.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
torch reports device UUIDs without the "GPU-" prefix that nvidia-smi,
CUDA_VISIBLE_DEVICES and schedulers use. The driver (#356) compared raw
strings, so on real NVIDIA hardware:
- model workers were masked with the bare UUID, which CUDA does not
accept ("No CUDA GPUs are available");
- select_uuids rejected nvidia-smi-form --uuids;
- visible_device_records could not join the nvidia-smi inventory, leaving
pci_bus_id, physical_ordinal and topology empty.
Add normalize_uuid (bare or GPU- prefixed, case-insensitive, to
GPU-<lowercase>; MIG identifiers left distinct) and use it at discovery,
selection, inventory join, worker UUID checks and evidence validation.
Found on an A100 run of module-placement-gpu at 7fee696.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolves conflicts in the Pain Axis scripts between the capacity
planning entry points and the split-model placement controls from #357;
the planner now honours device maps, max_memory and offload arguments.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OPERATOR DIRECTION: strict comparability with the E03 baseline is not required (E03 was a lucky proof of concept), and A100s are hard to rent, so the single-GPU campaign must run on any GPU with at least 80 GB: A100 80GB, H100 80GB, or RTX PRO 6000 96GB (Blackwell, sm_120).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>