Files
OBLITERATUS/docs/QWEN38_A100_CAMPAIGN.md
Joseph Magly 11cbddb2df fix(recipes): bind Qwen3.8 presets to the pinned 27B revision
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
2026-11-19 13:40:11 -05:00

34 KiB
Raw Permalink Blame History

Qwen3.8 single-GPU campaign

For a budget-capped first run that proves the core abliteration pathway locally before renting one GPU window, follow INITIAL_CORE_RUN.md.

Run this campaign on the rented or borrowed GPU host. The runner compares stock Qwen3.8, published E03, and three current-code E03 reruns, followed by the composite-load-path, Pain Axis, and edit-order experiments. Every stage runs in a separate process; a failed process stops the campaign and retains its evidence.

Host and time allocation

Choose an available GPU with at least 80 GB total VRAM. E03 was a proof of concept; the question is whether its recipe is reproducible across seeds. Strict hardware comparability is not required, and waiting for an A100 is not necessary.

Hardware How to choose
A100 80 GB, SXM or PCIe Closest to E03; use it when availability and price suit the schedule.
H100 80 GB Suitable alternative; measure actual stage times before assuming a speedup.
RTX PRO 6000 96 GB Blackwell (sm_120) More VRAM; requires the Blackwell setup and smoke below.
Another GPU with >=80 GB Admitted by capacity; qualify its kernels and small-model execution first.

The runner checks total device capacity, in decimal GB (1 GB = 10^9 bytes), without a GPU-family allowlist. --min-vram-gb 80 is the default; operators can raise or lower it explicitly on the first invocation. A lower threshold changes admission, not the model's memory demand. The selected GPU name, UUID, total memory, compute capability, driver and Torch CUDA runtime are locked in the manifest. Comparability is labelled A100 for an A100 and different hardware otherwise. These labels do not certify kernel compatibility or free memory.

Use Ubuntu 24.04, Python 3.12, a recent NVIDIA driver, the CUDA toolkit matching the selected PyTorch CUDA build, at least 128 GB host RAM, and at least 300 GB free NVMe storage. Initial preflight requires 250 GB free. On resume, downloaded inputs are reverified and the runner requires a 70 GB working reserve. When both pinned snapshots are already in the local Hugging Face cache on the root's filesystem, fetch hard-links them instead of downloading, so the download share of that floor is not needed. --min-free-disk-gb N (at least 70) lowers the initial admission explicitly; the value is locked in the manifest and must be repeated on resume. Below 250, fetch refuses a snapshot that is not completely cached, or that cannot be hard-linked, instead of downloading or copying it. When the cache is on a different filesystem from --root, --symlink-inputs DIR links each cached file into the root with a symlink to its resolved cache path instead of a hard link. DIR and its device are locked in the manifest and must be repeated on resume.

  • DIR itself: the path is checked as given, before anything resolves it. DIR and every directory above it must be real directories, not links, both when the option is recorded and at every later check.
  • Each input: the path is walked one component at a time as written, so a .. is applied only after the directory before it has been checked. No directory on the way may be a symlink, even one that stays inside DIR. Every component inside DIR must be on the locked device, and the input must end as a regular file inside DIR. The only link followed is the Hugging Face snapshot-to-blob link itself, including its relative ../../blobs/ form.
  • When it stops: fetch and every resume stop on a broken link, a link that leaves DIR or its device, a symlinked directory, a non-link file in the root, or a hash mismatch.
  • What the loaders read: each link in the model overlay that the loaders open (models/<label>) must point at the same validated cache file as its source link. A snapshot subdirectory must point at its source directory. The generated config.json must be a regular file. The source, the overlay and the directories holding them must be real directories.
  • Identities: fetch and resume capture, before hashing, the path, device, inode, size, modification time and change time of every cache file the inputs and overlay point at, and of the generated config.json. They also capture each source and overlay link itself, including snapshot directory links: its text, device, inode, modification time and change time. All of these must be unchanged after hashing, so a link replaced and then restored during hashing is refused. Each file is hashed through its open handle, and that handle's device, inode, size and times must match the snapshot before and after reading. Every file in the snapshot must be hashed, and a file outside it is refused. The hashed bytes therefore come from exactly the recorded files, even if a file, link or whole directory is swapped or briefly removed during hashing. That snapshot is stored as input-identities.json in the root.
  • Before loading: each campaign worker started for a model-loading stage re-checks that snapshot before it starts, and so does each loadpath and pain-axis probe child. The multistep stage's own child processes do not re-check; they rely on the check made by their parent multistep worker.
  • Accepted gap: a change made between that re-check and the model load is not detected. The campaign accepts that window for an input cache with a single owner.

The option admits no download and no copy, and the cache must stay in place for the whole campaign.

Use a persistent data volume for --root so an instance shutdown does not destroy receipts or checkpoints. Avoid competing GPU jobs and automatic CPU offload. On a two-, three- or four-card rental, expose exactly one allocated GPU with CUDA_VISIBLE_DEVICES=GPU-... before setup and every campaign invocation. The runner queries that visible GPU by UUID, including receipt memory samples; excluded cards do not contribute to campaign memory peaks. Other processes on the selected GPU still contribute. An NVLink or PCIe pair is not needed for this campaign. A lease broker is optional; use the provider's allocation and visibility controls without requiring a particular scheduler or host.

These are planning allowances for one 80 GB GPU, not measured guarantees. First-use kernel compilation, Hub bandwidth, generation lengths, and repair training can dominate the schedule. Setup and the mandatory new-SKU smoke need a separate 30-minute allowance; extend that qualification window if compilation is slow.

Stage Name Planning allowance
0 preflight 0.08 h
1 fetch 1 h for about 108 GB plus hash verification
2 eval-stock 1.5 h
3 eval-e03 1.5 h
4 rerun-e03 6 h: about 2 h per seed, including saved-checkpoint evaluation
5 loadpath-333 2 h
6 pain-axis 6 h including trained repair and compilation headroom
7 multistep 3.8 h for six arms
8 report 0.12 h, including evidence hashing

Budget approximately 22 GPU-hours for the full single-GPU campaign with seeds 0,1,2, plus 2–3 GPU-hours if adding the optional Qwen2.5-7B arms below. Each extra E03 seed adds about two hours on an 80 GB card; a one-seed campaign projects 18 hours. Prioritize the baseline and rerun comparison if the session has a hard cutoff; retain the same data volume and continue on the same locked device and runtime in another session. --budget-hours 22 (the default) prints a projected schedule and warns before a stage would overrun it. It is an advisory budget, not a process timeout or a rental shutdown mechanism. For a fixed rental budget, add the enforced hard stop below.

Enforced hard stop

--hard-stop-hours H, or --budget-usd USD --usd-per-gpu-hour RATE (H = USD / RATE for the single rented GPU; when both forms are given the lower wins), turns the budget into an enforced stop. Without either flag nothing below applies and --budget-hours keeps its warning-only behaviour.

  • Deadline. H is wall-clock time from the start of this invocation. --reserve-hours R (default 2, or 0 with --dry-run) is kept at the end for evidence copy-out and teardown, so stage work must end by H − R.
  • Time already used. --elapsed-offset-hours X (default 0; at least 0 and below H) declares rental time consumed before this invocation, such as setup, environment installation or earlier windows. It counts against H for both admission and the deadline: stages must end once X plus the time since this invocation started reaches H − R. If the cap is meant to span windows, pass the cumulative time already used on every resumed window; otherwise each window gets a fresh H. The offset is recorded in the budget ledger and in each stage receipt's budget summary.
  • Priority order. Stages run as preflight, fetch, eval-stock, eval-e03, rerun-e03, report, then loadpath-333, pain-axis and multistep. The report is produced as soon as the core comparison exists and refreshed after optional stages; each optional stage is admitted only with the report's allowance reserved for that refresh.
  • Admission. Before a stage starts, its planning allowance (table above) must fit in the time left before H − R. A stage whose last receipt already succeeded with the same inputs is charged nothing, and rerun-e03 is charged two hours only per seed whose units are not all complete. A stage that does not fit is refused and its dependents are skipped; later stages that fit still run.
  • Stop. A stage still running at H − R is sent SIGTERM as a whole process group (nested units and model processes included), then SIGKILL after --stop-grace-seconds (default 60) if any member remains. Its receipt records status: stopped_by_budget with the outputs present at that moment; nothing is deleted. The report labels such a stage stopped_by_budget rather than failed.
  • Operator stop. Ctrl-C (or SIGTERM to the runner) stops the running stage the same way, as a whole process group with a 10-second grace (the --stop-grace-seconds value under a hard stop) before SIGKILL, so the GPU is freed. The receipt keeps the existing interrupted semantics (nonzero exit, no stopped_by_budget status), the ledger records interrupted, and no evidence is deleted.
  • Ledger and exit. Every admission, refusal, completion and stop is written to budget/session-N.json under the root as it happens. A refused or stopped run exits with status 75; repeat the command with --resume (and a new hard stop for the new window) to continue from the last completed stage or unit. The hard-stop flags are not locked inputs, so they may change between windows.
  • Dry run. --dry-run applies the same deadline, admission arithmetic and production allowances.

Parent-process work between stages (such as resume hash verification) counts toward elapsed time but is not interrupted; only stage processes are stopped. Extra rerun seeds stay inside rerun-e03; they are not a separately ordered optional stage, because the report requires every locked seed.

For example, a $250 budget on one H200 at $5.40 per GPU-hour, capped at 34 hours:

.venv/bin/python scripts/qwen38_a100_campaign.py \
  --root /mnt/qwen38-campaign --stages all \
  --pain-pin /mnt/pain-axis-pin \
  --budget-usd 250 --usd-per-gpu-hour 5.40 --hard-stop-hours 34 --reserve-hours 2

The USD form alone gives 46.30 hours; the explicit 34-hour cap is lower and wins, leaving 32 hours for stages after the 2-hour reserve.

Set up the rental host

Use a CUDA development image with nvcc, not a runtime-only image. The default setup selects the same locked PyTorch base version with official cu130 wheels, so /usr/local/cuda must point to a CUDA 13 toolkit and the driver must support that runtime. A different official backend and matching toolkit can be selected explicitly. Do not change the environment after preflight has locked the run.

The Torch backend and nvcc must have the same CUDA major version; minor versions can differ. CUDA 12.4 nvcc cannot build against the default cu130 Torch. The toolkit also limits the host compiler: GCC 15 exceeds CUDA 12.4's supported maximum and fails the causal-conv1d build. With GCC 13 installed, this combination worked on the local CUDA 12.4 host:

CC=gcc-13 CXX=g++-13 CUDAHOSTCXX=g++-13 NVCC_CCBIN=g++-13 \
  bash scripts/qwen38_campaign_setup.sh --venv "$PWD/.venv-qwen38" \
  --torch-backend cu126 --cuda-home /usr

Here /usr/bin/nvcc is CUDA 12.4 and Torch uses CUDA 12.6. Check nvcc --version and the selected compiler's --version before setup; install a host compiler supported by that toolkit rather than bypassing its version check. The driver must support the Torch runtime. This CUDA 12.4 example does not qualify Blackwell.

Blackwell requires Torch built for CUDA >=12.8 and an nvcc toolkit >=12.8 whose CUDA major matches Torch. cu130 with CUDA 13 meets that requirement; --torch-backend cu128 with CUDA 12.8 is another option when an official wheel exists for the locked Torch version and selected Python. The driver must support the chosen runtime. Setup checks the detected compute capability and refuses an older Blackwell runtime/toolkit before compiling the extension. See NVIDIA's Blackwell compatibility guide.

sudo apt-get update
sudo apt-get install -y build-essential python3-venv python3-dev git tmux
cd /path/to/OBLITERATUS
bash scripts/qwen38_campaign_setup.sh --cuda-home /usr/local/cuda

The checkout must contain the campaign files and scripts/multistep_edit_order.py from its sibling work. The latter is an external CLI contract; an absent script fails the selected campaign at preflight, before paid model work, and is checked again at the multistep stage. Copy the Pain Axis reference checkout pinned at 4d75cd90 to the rental host as well; examples below assume /mnt/pain-axis-pin.

The setup uses uv.lock for exact repository dependency versions; requirements.txt alone contains version ranges. It includes qwen-hybrid (FLA and causal-conv1d) and recovery (PEFT for #346). Because the portable lock uses CPU Torch, setup replaces only its base-version-matched CUDA build, then rebuilds causal-conv1d from the lock's hash-pinned source archive against that build, preserving the existing install path on A100/H100. This also works when no matching binary wheel exists. TORCH_CUDA_ARCH_LIST comes from the detected compute capability (12.0 on RTX PRO 6000); the pinned causal-conv1d source also emits native sm_120 code with a sufficiently new nvcc. See the pinned build configuration. Setup checks native kernel imports and dependency consistency, then runs tiny BF16 GPU forwards of causal-conv1d (with a Torch convolution reference) and the FLA gated-delta-rule op. It synchronizes each op and checks output shape and finite values. An import, unsupported kernel image, compilation or forward failure exits setup with the failing check named; resolve it before model work. It prints Python, package, driver, toolkit, and GPU versions. No Hub login or other secret is needed. Use .venv/bin/python directly afterward: an ordinary uv sync or uv run can restore CPU Torch.

To select an existing interpreter or another environment:

bash scripts/qwen38_campaign_setup.sh \
  --python /usr/bin/python3.12 --venv /mnt/qwen38-venv \
  --cuda-home /usr/local/cuda --torch-backend cu130

Use that environment's interpreter in all subsequent commands. If kernel imports fail, resolve the Python/PyTorch/CUDA/C++ ABI mismatch before paying for a model load; see conditional-testing.md.

Mandatory 30-minute smoke on every new GPU SKU

Before a full run on any new SKU, allocate at least 30 minutes for setup plus a real --dry-run on Qwen/Qwen3.5-0.8B. Run setup above on that GPU, retain its version output and successful kernel self-tests, then execute:

.venv/bin/python scripts/qwen38_a100_campaign.py \
  --root /mnt/qwen38-sku-smoke --stages report --dry-run \
  --model-override Qwen/Qwen3.5-0.8B \
  --e03-override Qwen/Qwen3.5-0.8B \
  --rerun-seeds 0 --max-prompts 2 \
  --pain-pin /mnt/pain-axis-pin --budget-hours 0.5

report expands to preflight, fetch, both baseline evaluations, an edit and fresh saved-checkpoint evaluation, and report generation. The one smoke seed keeps the rehearsal short; production defaults remain three seeds. Inspect the successful receipts, finite metrics and DRY RUN report before proceeding. --budget-hours only warns and uses production allowances, even in a dry run; it does not time out setup or the rehearsal (add --hard-stop-hours to rehearse the enforced stop). If compilation or downloads exceed 30 minutes, continue qualification or choose another image/SKU before starting the full campaign. Retain failures as evidence. Use a new root for production.

Lock and run

Keep --root outside the checkout. The checkout must be clean at preflight; --allow-dirty is an explicit, recorded exception for an operator-reviewed working tree. Do not edit the runner, source, prompt corpus, reference checkout, or locked settings while a campaign is in progress.

cd /path/to/OBLITERATUS
mkdir -p /mnt/qwen38-campaign
tmux new -s qwen38
.venv/bin/python scripts/qwen38_a100_campaign.py \
  --root /mnt/qwen38-campaign --stages all \
  --pain-pin /mnt/pain-axis-pin --budget-hours 22

Detach with Ctrl-B D; reattach with tmux attach -t qwen38. Do not pipe the runner through a command that hides its exit status. The runner owns stage logs and receipts under the campaign root. If using tee for an additional console log, enable set -o pipefail first.

The initial immutable run manifest binds code and dirty-tree state, runtime, model revisions, split, seeds, evaluator settings, and preregistered gates before intervention. Preflight asserts the full builtin split before GPU work:

manifest_sha256: ba65938b24eeaefd51e9780d2915a82bc5bdfa6ebeee541e9157ccfc3dccf692
direction train: 500; optimizer tune: 142; final test: 200

The full campaign pins these public revisions:

Role Repository Revision
Stock Qwen/Qwen3.8-27B 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0
Published E03 manitcor/Qwen3.8-27B-Obliterated-E03 56bbc4a80c17353254c0ed0f31828e3980970495

HF_TOKEN is optional and read from the process environment only. Do not place it in a command argument, shell transcript, manifest, or run directory, and do not use huggingface-cli login to persist it. Public snapshots work without it. E03 shards are verified against its published artifact-inventory.json before use. E03's published config incorrectly declares one MTP layer despite lacking MTP tensors; the loader correction derives the effective count from tensors and sets it to zero. Preserve the original artifact inventory and correction record.

For the highest-priority comparison within a short session:

.venv/bin/python scripts/qwen38_a100_campaign.py \
  --root /mnt/qwen38-campaign --pain-pin /mnt/pain-axis-pin \
  --stages preflight,fetch,eval-stock,eval-e03,rerun-e03,report \
  --budget-hours 10

Stage lists use the names in the table; the runner adds required dependencies and executes them in campaign order. rerun-e03 includes the stock and E03 evaluations; report includes the baseline and rerun comparison. The report states which optional experiments were not selected or not completed. Rerun seeds default to --rerun-seeds 0,1,2; choose a different list at the start if needed. Each seed executes a complete edit and saved-checkpoint evaluation; each additional seed adds about two hours to both budget projections. Defaults keep at most one large edited checkpoint at a time. --keep-checkpoints retains edited checkpoints and requires substantially more disk. Stock and published E03 snapshots, evaluation files, inventories, and receipts are separate from that edited-checkpoint retention policy.

Small-model execution rehearsal

After the mandatory smoke, this longer rehearsal executes every stage using the same hybrid model family and tiny prompt counts. --dry-run is a real small-model rehearsal, not a print-only plan. A cached snapshot avoids download time, but does not bypass kernel or stage checks.

.venv/bin/python scripts/qwen38_a100_campaign.py \
  --root /mnt/qwen38-rehearsal --stages all --dry-run \
  --model-override Qwen/Qwen3.5-0.8B \
  --e03-override Qwen/Qwen3.5-0.8B \
  --rerun-seeds 0 --max-prompts 2 --pain-pin /mnt/pain-axis-pin --budget-hours 2

The stand-in E03 comparison and every rehearsal result must say dry-run. The rehearsal explicitly allows transfer when rerunning qwen38_e03 on the stand-in. The published rerun uses the stock Qwen3.8-27B revision locked in the campaign manifest. Stand-in results serve as software checks. Training uses at least ten pairs to satisfy the preset's KL capture contract; saved evaluation uses the requested prompt cap and a fixed sixteen-prompt KL reference. Multistep forwards --max-prompts to cap each of the sibling's evaluation sets; its extraction corpus stays fixed. During rehearsal, every multistep refusal extraction uses the same architecture-contract exemption as the E03 rerun. The multistep summary records dry_run: true and labels the 27B architecture contract as not applicable; production retains its validation. Tiny-count confidence intervals and quality outcomes cannot qualify the 27B campaign. Do not use --max-prompts for the production comparison; truncated evaluations cannot reproduce E03's published full partitions. Production and rehearsal need different roots because model identities and prompt limits lock. Dry runs retain the small-model admission floor of 20,000 MiB, so this longer rehearsal can also run on an authorized 24 GB GPU.

Resume and failure handling

After interruption, repeat the same command with --resume and the same root:

.venv/bin/python scripts/qwen38_a100_campaign.py \
  --root /mnt/qwen38-campaign --stages all --resume \
  --pain-pin /mnt/pain-axis-pin --budget-hours 22

Include the original VRAM and free-disk thresholds, seed list, prompt limit, overrides, dirty-tree exception, or retention options when applicable. Successfully completed stages are reused only with matching locked inputs and intact output digests. A failed or interrupted stage reruns in a fresh process. Inspect its receipt and log before retrying; a persistent error will stop again. Fix infrastructure availability without silently changing experimental inputs. If code, packages, models, corpus, reference data, or other locked inputs change, start a new root and keep the earlier root as evidence. Never edit a manifest or receipt to force resume.

Use Ctrl-C for an operator stop and retain the entire root. It stops the running stage's whole process group, including model processes that ignore SIGTERM (SIGKILL after a 10-second grace). A hard process or host kill can leave incomplete outputs; they are not successful evidence and must be regenerated. Ensure the old process has exited before resuming. An OOM is a failed stage, not permission to switch dtype, reduce evaluation, offload layers, or suppress an arm inside the existing run.

To add remaining experiments after the shorter comparison, use the same locked inputs and resume with the expanded list:

.venv/bin/python scripts/qwen38_a100_campaign.py \
  --root /mnt/qwen38-campaign --stages all --resume \
  --pain-pin /mnt/pain-axis-pin --budget-hours 22

Optional Qwen2.5-7B refusal-dependent edit-order arms

These arms exceeded a 24 GB card's memory during refusal extraction. On the qualified >=80 GB device, allow another 2–3 GPU-hours and run the existing edit-order harness separately. Set QWEN25_REVISION to a reviewed 40-character Hub commit for Qwen/Qwen2.5-7B-Instruct before running this command:

: "${QWEN25_REVISION:?Set the reviewed Qwen2.5-7B-Instruct revision}"
.venv/bin/python scripts/multistep_edit_order.py \
  --model Qwen/Qwen2.5-7B-Instruct --revision "$QWEN25_REVISION" \
  --out /mnt/qwen25-7b-multistep --pain-pin /mnt/pain-axis-pin \
  --arms pristine,refusal,pain,refusal_then_pain,pain_then_refusal \
  --stale-directions --refusal-method advanced \
  --dtype bfloat16 --device cuda --seed 0

This includes the refusal, refusal_then_pain and pain_then_refusal arms, plus pristine/pain references and the refusal_then_pain_stale and pain_then_refusal_stale controls. Stale controls reuse the second direction from pristine; ordinary sequential arms re-extract after the first edit. advanced is the dense-model refusal recipe; the Qwen3.8-only qwen38_e03 architecture contract does not apply here. Omit --max-prompts for complete evaluation. Repeat the identical command to resume; completed arms are reused only when the harness manifest and evidence match.

Retain manifest.json, every arm's result.json, direction artifacts and summary.json/summary.md alongside the main campaign. This separate command has its own manifest and is not included in the main runner's --budget-hours or compare.json; record its wall time and runtime/GPU identity with the main campaign evidence. The combined allocation is approximately 24–25 GPU-hours, plus setup/smoke. Quality gates report outcomes and preserve operator control.

Read and retain the evidence

Each stage receipt records UTC start/end, exit status, peak GPU memory, and input/output SHA-256 digests. Retain receipts for failures as well as successes. Check report/compare.json and report/compare.md together with the individual evaluations. The comparison covers refusal with Wilson confidence intervals, coherence, capability, perplexity and its stock-relative ratio, KL, and degeneracy. Read sample counts and metric definitions alongside the numbers; a prefix refusal detector is not a validated harmful-compliance judge.

For each partition, rerun_seed_spread in JSON and the adjacent Markdown table show each metric's mean, minimum, maximum and every seed beside published E03 values. Published source JSON hashes are retained. Unavailable published metrics are None; a missing/nonfinite seed metric leaves that metric's spread incomplete with unavailable aggregates. Refusal Wilson intervals describe prompt sampling within one evaluation; the seed spread describes variation between recipe reruns. Read both when assessing reproducibility.

Published E03's final-test anchors are refusal 0.010, coherence 1.0, capability 0.833, perplexity 3.2099, and harmful degeneracy 0.03. Its optimizer-tune refusal and degeneracy are 0.0141 and 0.0070. The report compares the fresh E03 evaluation with the published final-test JSON field by field. E03 was produced by OBLITERATUS 0.1.3 on 2026-08-29, A100 80 GB, Transformers 5.8.1, and PyTorch 2.10.0. Its seed, exact code commit, and launcher were not recorded. Differences against current code support a claim of same settings, inputs and splits, not attribution to the toolkit version alone. Hardware/runtime changes and MTP correction remain explicit caveats.

Default quality gates record refusal below 0.30, coherence at least 0.80, stock-relative perplexity at most 1.25, and harmful degeneracy at most 0.05. Pristine load-path parity uses absolute and relative logit tolerances of 0.02; concept collateral uses margin 0.03 and projection protection threshold 0.1. Read the locked manifest for the exact preregistered settings. A measured quality gate failure is a reported experimental outcome; an execution or integrity error stops the runner. Missing KL or another measurement cannot become a pass.

The #333 evidence must distinguish pristine text-backbone logit parity between the CausalLM and ImageTextToText paths, memory admission including vision weights, refusal and concept edits on the composite path with quality gates, fresh output reloads through both auto classes, and GSQ text-backbone resolution. Its verdict informs whether to keep --text-only; a successful load alone does not establish parity or edit quality.

For the #383 matched-recipe control, select --loadpath-causal-control on the first invocation with a fresh campaign root, and repeat it on every resume:

.venv/bin/python scripts/qwen38_a100_campaign.py \
  --root /mnt/qwen38-matched-control --stages loadpath-333 \
  --pain-pin /mnt/pain-axis-pin --loadpath-causal-control

The default still edits refusal and concept through ImageTextToText. This option adds concept-causal, using CausalLM with the same pinned S2 prompts, controls, seed 0, basic pipeline method and diff_means recipe with layer_select: {strategy: preset, preset: all}. It does not switch to cv_auc or change quality thresholds. The extra edit and reload require additional GPU work beyond the default stage allowance; this control has no measured runtime allowance yet.

The matched concept arms keep independent execution and evidence paths:

flowchart LR
    I[Same pinned concept inputs, recipe and seed] -->|concept arm| C[ImageTextToText edit]
    I -->|optional concept-causal arm| T[CausalLM edit]
    C -->|own checkpoint and receipts| CR[CausalLM and ImageTextToText reloads]
    T -->|own checkpoint and receipts| TR[CausalLM reload]
    CR -->|retain raw quality outcomes| E[Matched-control report]
    TR -->|retain raw quality outcomes| E

Each edit result, step receipt and checkpoint provenance carries additive edit_provenance schema version 1: arm, edit loader, pipeline method, seed, concept id, full recipe and concept-input SHA-256. The digest covers the recipe, positive prompts, named controls and neighbours. Older receipts without this field remain resumable under their original locked inputs; they provide no matched-control evidence. Omitting the flag adds no option to the manifest. Adding or removing it from a locked run is rejected; never relabel an old run.

The control owns loadpath-concept-causal checkpoint metadata and separate concept-causal-edit.json and steps/loadpath-*-concept-causal* evidence. With --keep-checkpoints, its checkpoint is retained as checkpoints/loadpath-concept-causal. Its native text-only export reloads only through CausalLM; both composite edits still reload through both auto classes. Resume verifies each arm's receipts and hashes before reusing it, and cleanup preserves checkpoints owned by another arm.

result.json records concept_control.mode as not_requested or matched_recipe_causal. A control quality failure still retains raw metrics, validation and battery results, runs its reload, and contributes FAIL to the stage verdict without vetoing the edit. Execution errors stop with failed receipts and the completed arms' evidence retained. Matching recipes or matching quality failures do not establish edited-logit parity, path independence, or 27B qualification. #333 still requires real 27B acceptance evidence and an operator decision on the text-only option; CPU tests and small-model runs cannot supply that evidence.

Pain Axis extracts fresh S2, S1, and control vectors, runs separate S1, S2, and random-sentence control batteries, tests D4 refusal-projection protection, and evaluates the #346 trained repair. There are no shipped Qwen3.8 reference pain vectors: the replication comparison is not applicable, never a pass. Preserve extraction and training settings, control outcomes, collateral measurements, and quality gate outcomes. Operator control over concept tooling is complete; gates report outcomes honestly and do not limit which concepts an operator may edit.

To preregister different quality thresholds, pass --gates /path/to/gates.json on the first invocation and every resume. The JSON object may override known gate keys; values become part of the immutable manifest. For a licensed repair dataset of the operator's choice, supply --pain-prompts prompts.jsonl and --pain-license license.json, optionally --pain-response-license responses.json. The default is a small, balanced authored pilot whose prompt and licence files are created before locking; it is not a general benchmark.

Multistep evidence comes only from scripts/multistep_edit_order.py, using the qwen38_e03 refusal method and all six arms: pristine, refusal, pain, refusal_then_pain, pain_then_refusal, and joint. Retain its manifest.json, each arm's result.json, and summary.json/summary.md. Missing arms or a missing sibling script are failures, not omitted successes.

Before releasing the rental, copy the entire campaign root to durable storage. It includes the immutable run manifest, stage receipts/logs, split and gate records, all evaluation JSON and generated responses, E03 reproduction fields, load-path evidence, concept vectors/repair evidence, multistep outputs, report/compare.json/report/compare.md, checkpoint provenance, and artifact inventories. If storage is limited, keep all evidence and the retained edited checkpoint; the pinned public snapshots can be downloaded again. An edited checkpoint deleted by the default retention policy can only be recreated by rerunning its recorded intervention. Copy setup/version output and the exact source checkout as well. Verify the copied file digests before terminating the instance.

The principal paths under --root are:

Path Contents
run-manifest.json, run-manifest.sha256 Immutable locked inputs and preregistration
receipts/<stage>.attempt-N.json Per-attempt receipts, including failures
logs/<stage>.attempt-N.log Per-attempt subprocess output
hub/ Pinned public snapshots
eval-stock/, eval-e03/ Both evaluation partitions and stock KL reference tensors; E03 reproduction comparison
rerun-e03/seed-N/ Saved-checkpoint evaluations, provenance, and checkpoint inventory
loadpath-333/result.json, pain-axis/result.json Probe summaries and links to their evidence
multistep/ Sibling script's manifest, arm results, and summaries
report/compare.json, report/compare.md Consolidated comparison
checkpoints/active/ Current scratch edited checkpoint, normally pruned after measurement