Qualify all four Qwen scan and convolution fallbacks and reject Hub replacements on every model submodule. Keep unbounded compiled kernels unknown in strict mode and document the remaining source and hardware qualification gaps.
Refs #384
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
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 a responsive amber control rack, signed activity chart and token map, ordered intervention cards, and measured comparison outputs. Preserve editor selection and one-sided clamp bounds across recipe changes; cover display escaping and callback flows.
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.
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>
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>
Review of 5a4835e: with no manifest global shape, a sharded head fell back
to mutable config.vocab_size, so 16-row shards with config vocab 16 passed
on both ranks. A vocab-sharded head now needs the manifest global row
extent corroborated by the live local weight shape and a complete even
shard layout (local rows x world size, per-rank start/end and rank
shards); config alone never establishes it, and anything else fails closed
with LMS_VERIFY_FORWARD_CONTRACT in baseline and post-edit revalidation.
Docs state the exact rule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review of 579125a:
- For a vocab-sharded head the observed logits width was accepted as the
vocabulary, so identical shard-width outputs passed. The width must now
match the manifest global row extent (config as fallback); without a
trusted extent VERIFY fails closed with LMS_VERIFY_FORWARD_CONTRACT.
- Refusal decisions took argmax over the full padded width, so a model-only
column could win and hide a refusal. Selection is restricted to tokenizer
ids; full-width log_softmax and finiteness checks are unchanged.
- Adds real 2-process gloo cases (padded vocab, shard-width mismatch, rank
width disagreement) asserting identical exact codes and rollback, and
tightens the gloo code-agreement test.
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>