Add bounded GGUF v2/v3 parsing, transactional metadata and tensor edits,
split-file handling, provenance manifests, exact GGML storage typing, and
measurement-gated quantization planning. Preserve unmodified payloads
byte-for-byte and expose the toolkit through `obliteratus gguf`.
Verification:
- 57 focused tests on each of Python 3.11, 3.12, and 3.14.
- 377 combined focused, CLI, risk-map, CI-policy, package-export, and
CLI-boundary tests on Python 3.14.
- 2,000 randomized exact-DP comparisons against brute force.
- Real single-file and three-shard GGUF metadata edits with tensor hashes
preserved; independent GGUF reader opened every output.
- Ruff, risk-map validation, wheel/sdist build, and isolated wheel CLI smoke.
No real Qwen4 conversion or inference was run; runtime and quality
qualification remain separate gates.
A touched MAP_SHARED|MAP_ANONYMOUS or read-write /dev/zero mapping shrunk
to one page kept its whole shmem object outside RLIMIT_AS. The seccomp
filter now returns EPERM for mmap with MAP_SHARED or MAP_SHARED_VALIDATE
plus MAP_ANONYMOUS, and /dev/zero is masked with a read-only /dev/null
bind. userfaultfd and io_uring return ENOSYS, and the legacy x32 range
512-547 is killed on x86-64 alongside x32-tagged calls.
The isolation probe called os.memfd_create, which uv-managed CPython
lacks, so every execute refused with a misleading network-isolation
message. Make the probe's calls through libc.syscall, require each denial
explicitly, and report a crashed probe on its own. Docs describe RLIMIT_AS
as a bound on live mappings and list the known routes only.
A memfd that was written, mapped for one page and closed kept its backing
outside every limit. Install a classic-BPF seccomp filter through bwrap
--seccomp: on x86-64 and AArch64, memfd_create and memfd_secret return
ENOSYS; x32 calls and any other architecture kill the process. The live
isolation probe now requires memfd_create to fail, hosts other than x86-64
and AArch64 are refused, and the docs drop the false memfd bound.
Under Transformers 5, apply_chat_template returns a BatchEncoding, so the
generator and paired capture took the wrong object; extract input_ids as
recover does. Paired capture records the pinned template date, and tests
cover date-aware rendering at both call sites.
Resolve ci/test-quality-policy.json by keeping both owned slow-test
budgets: the E4 Gloo agreement test from #698 and the CLI dispatch help
test from this PR.
Add a receipt with greedy_steps 3.0 and float, string and mismatched
expected workloads to the E4 admission tests. The two-host protocol and
runbook, merged in #691, still said the qualification runner admits only
the E3 reference job; point them at the E4 workload worker and keep its
EXPERIMENTAL, not_qualified status.
Resolve the vocab_surgery_discovery.py conflict with #699: keep the batched
discovery structure, render discovery prompts through the pinned-date
chat-template helper, and record chat_template_date in the generation block.
The defaults allowed 64 processes x 2 GiB of address space, above host
RAM, and SysV shared memory escaped RLIMIT_AS entirely. Default to 16 x
512 MiB and refuse any limits whose processes x memory_bytes exceeds an
aggregate cap (8 GiB by default). Inside the sandbox's private IPC
namespace set shmmni, msgmni and sem to zero before /proc is remounted
read-only, and require those values in the isolation self-check. Document
that kernel memory is still unbounded and that a per-run cgroup is the
future hard ceiling.
Generation rows must now match their plan row on task, identity, secure
instruction and sample index, and outcomes take those fields from the plan.
RWKV's forward ignores attention_mask, so left pads entered its state and
batched discovery changed results at the default batch size. The gate now
also requires an allowlisted model_type verified equivalent (gpt2, llama,
mistral, qwen2, qwen3, gemma, gemma2, phi3, mamba), transformers' own model
class, an attention_mask parameter, and static RoPE scaling; anything else
falls back to the one-prompt path. A tokenizer with neither pad nor eos
token now falls back instead of raising. Docs say batched results match up
to floating-point rounding.
The registry record binds code_digest, the adapter digest and
policy_digest, so re-selecting a later main merge as the final candidate
refused at config_review. Compute those values in the registry PR's own
head from the existing attestations and check them on the merge result;
when main moves, recompute and re-review. Only a host, device, staging
mount, capacity or rendezvous_id change needs a new observation, since the
hardware digest takes no code or policy input.
List the exact job keys the worker reads, run the checker with the
checkout on PYTHONPATH, add the fault harness to the preconditions,
describe publication outcomes by phase (including the lost-ack case),
scope the Gloo-only statement to control records beside the NCCL data
plane, and keep raw artifacts out of the #287 handoff.
Without --as-pid-1, Bubblewrap's init was PID 1 inside the sandbox and held
the host result pipe, so a generated app could write a forged result to
/proc/1/fd/1 and kill the runner. The runner is now PID 1 and non-dumpable,
and the host sends it a fresh HMAC key over a pipe the app never sees; the
host accepts only one sealed, schema-valid line from a runner that exited
cleanly. The key pipe is also the runner's lifeline at the deadline, the
runner reaps orphans, and -P keeps the writable working directory off
sys.path.
/tmp and /dev/shm were host-default writable tmpfs. /proc, /dev and /tmp
are now read-only and the size-capped /work is the only writable mount;
the per-user-namespace process limit caps all tasks together.
The real-sandbox tests ran in release and default selections. Modules that
set OPT_IN_ENV are now deselected unless the variable is 1, and the
identity-security sandbox tests require OBLITERATUS_IDENTITY_SECURITY_E2E=1.
The app log tail is read from the held descriptor, and duplicate or
missing samples make a generations file incomplete.
Ship as accepted v2 data the nine recipes that passed the protocol final
test and were accepted by the operator on 2026-11-27: Granite 4.1 8B,
Llama-3.2-1B, Llama-3.2-3B, OLMoE-1B-7B, Phi-4-mini, Qwen3.5-0.8B,
Qwen3.5-9B, Llama-3.1-8B-Instruct-abliterated and DeepSeek-R1-Distill-
Qwen-7B. Each ships a KL-advisory evaluation profile and value-only
confirmation and verify-edit evidence bound by SHA-256, following the two
recipes accepted in 134bd2c.
The Llama-3.2 results predate the chat-template date pin (#690) and are not
comparable with later measurements. Two recipes were confirmed with
analysis_device auto (resolved to cuda:0) and ship as confirmed; the shipped
CPU-extraction test now names them explicitly.
The E4 receipt accepted greedy_steps 1 to 8 and the builder used the
draft's value, but the worker always replays three greedy steps and
compares them exactly, so any other value passed admission and was
guaranteed to fail after the physical run. Share REFERENCE_GREEDY_STEPS = 3
between admission, the reference builder and the worker, and refuse any
other value before building.
Also compare the live PROBE config and tokenization digests with the job in
the E4 worker, record a workload/job mismatch in the Gloo agreement so both
ranks refuse together, chain the cause of a local admission failure, and
require a plain int workload.
The completeness guard only flagged x.apply_chat_template(...) calls, so a
getattr call, a getattr or bound-method alias, or functools.partial passed
it. It now flags any apply_chat_template attribute or getattr lookup outside
the helper unless it is passed directly to callable() or hasattr(), and the
two capability probes use that form.
When an operator passes --default-chat-template-kwargs without date_string,
merge the pinned date into that JSON object (operator keys win) instead of
leaving vLLM unpinned. Document that scripts/ stays unpinned, the vLLM
version that first has the flag, that every resolved spec digest changes,
and that older verify-checkpoint references for date templates will not
match the pinned render.
Left padding changes greedy results when the model's generation config
uses settings that see the padded width or the pad tokens (min_length,
exponential_decay_length_penalty, repetition penalties, n-gram bans), and
beam search can return several rows per prompt, so output[index] attached
a completion to the wrong prompt.
Batch only when every set generation-config field is known batch-neutral
or at its generate default; a missing config, an unknown field or any other
value sends every prompt through the original one-prompt path. Add
mixed-length min_length and beam/return-sequence regression tests that
check each response with its audit entry.