Commit Graph
1101 Commits
Author SHA1 Message Date
Joseph Magly 2ed499f7e2 Merge pull request #732 from elder-plinius/fix/checkpoint-startup-audit
fix(cli): streamline checkpoint inspection and qualify discovery help
2026-11-28 16:06:25 -05:00
Joseph Magly 5c59647e45 Merge pull request #731 from elder-plinius/fix/identity-newcombe-method10
fix(stats): apply Newcombe method 10 to identity-security paired intervals
2026-11-28 15:52:13 -05:00
Joseph Magly a1d842a857 Merge pull request #727 from elder-plinius/fix/684-unused-package-exports
perf(imports): defer unused research package exports
2026-11-28 15:35:18 -05:00
Joseph Magly ecd10979c5 perf(cli): keep checkpoint inspection free of model imports 2026-11-28 15:24:40 -05:00
Joseph Magly 9efdd719ac Merge pull request #716 from elder-plinius/fix/287-observation-helper
feat(distributed): collect observation-only rank-local review inputs
2026-11-28 15:23:01 -05:00
Joseph Magly e3b73d77b9 Merge pull request #726 from elder-plinius/test/725-probe-oracle-regressions
test(distributed): cover malformed oracles and per-site projection
2026-11-28 15:13:05 -05:00
Joseph Magly 9ac6fef1f6 fix(stats): apply paired Newcombe method 10 correlation correction 2026-11-28 15:09:28 -05:00
Joseph Magly 9f45f7f6aa Merge pull request #724 from elder-plinius/fix/722-review-followups
fix: harden discovery filters and CLI regression guards
2026-11-28 15:03:44 -05:00
Joseph Magly fc28f9f9c0 test(imports): isolate research CLI package boundaries 2026-11-28 14:55:25 -05:00
Joseph Magly ac070ef991 fix: preserve private evidence mode under restrictive umask 2026-11-28 14:43:49 -05:00
Joseph Magly 2dc0369380 perf(imports): defer unused research package exports 2026-11-28 14:43:12 -05:00
Joseph Magly 3b535c0b73 fix: bind observation to signed source and handle publication failures 2026-11-28 14:32:52 -05:00
Joseph Magly 5148cbc090 test(distributed): cover oracle metadata and every selected tensor 2026-11-28 14:29:19 -05:00
Joseph Magly 13b6a5b64d test(distributed): reject malformed oracles and verify per-site projection 2026-11-28 14:27:47 -05:00
Joseph Magly 88b1f801d0 Merge main into fix/287-observation-helper 2026-11-28 14:26:30 -05:00
Joseph Magly 0a7d186290 Merge pull request #715 from elder-plinius/fix/698-site-oracle
fix(distributed): verify E4 probe oracles for every selected site
2026-11-28 14:24:08 -05:00
Joseph Magly 6bc227130f fix: harden discovery filters and CLI regression guards 2026-11-28 14:23:03 -05:00
Joseph Magly 7801542fe3 Merge pull request #712 from elder-plinius/fix/discovery-filter-audit
fix: record discovery filters and validate inputs before generation
2026-11-28 14:13:42 -05:00
Joseph Magly 253369c6b4 perf(cli): avoid model imports for numeric GPU estimates
Register and dispatch gpu-calc before unrelated command parsers while sharing its argument definition with root help. Preserve pre-parse secret and distributed-command guards. Verify the real command in a fresh interpreter without heavyweight execution imports. Refs #684 and #705.
2026-11-28 13:07:34 -05:00
Joseph Magly 2b0a53e0b6 feat(distributed): collect observation-only rank-local review inputs 2026-11-28 13:07:24 -05:00
Joseph Magly 065a60b880 test(distributed): harden oracle site identity validation 2026-11-28 13:04:53 -05:00
Joseph Magly a7c2d508db fix(distributed): bind qualification probes to each selected oracle site 2026-11-28 13:03:13 -05:00
Joseph Magly 447456693e Merge main 3900419 into discovery filter audit
# Conflicts:
#	tests/test_vocab_surgery.py
2026-11-28 13:02:00 -05:00
Joseph Magly 70c9ef2d7b fix(discovery): retain filter provenance and validate before model work 2026-11-28 13:01:43 -05:00
faber a8723d1084 feat(vocab-surgery): add --min-token-length and --exclude-short-fragments discovery filters 2026-11-28 12:24:38 -05:00
pliny 3900419437 Merge pull request #704 from younger-plinius/fix/head-pruning-explicit-head-dim
fix(head-pruning): support explicit head_dim (Qwen3, Gemma-2/3/4)
2026-11-28 12:22:24 -05:00
faber 117398e054 fix(vocab-surgery): fall back to model.config EOS in batched discovery and fail closed on conflicting tied-edit dedup 2026-11-28 12:18:03 -05:00
faber 5fca644fbb fix(head-pruning): resolve explicit head_dim for Qwen3 and Gemma-2/3/4 2026-11-28 11:24:14 -05:00
faber f5263b8c83 fix(vocab-surgery): exclude numeric tokens from discovery by default 2026-11-28 10:58:22 -05:00
Joseph Magly daf073d3b7 fix(identity-security): block shared anonymous shmem and probe without os.memfd_create
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.
2026-11-27 18:40:50 -05:00
Joseph Magly 834a33a692 fix(identity-security): deny memfd in the sandbox and fix chat-template id extraction
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.
2026-11-27 17:48:50 -05:00
Joseph Magly 7a7bc94086 Merge main 0168897 into feat/427-identity-security-eval
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.
2026-11-27 16:57:31 -05:00
Joseph Magly 03964fe0ca Merge main cd7ae6c into feat/287-e4-workload-and-probe-ram
# Conflicts:
#	CHANGELOG.md
2026-11-27 16:18:20 -05:00
Joseph Magly e9f81ea8e2 Merge main cd7ae6c into feat/427-identity-security-eval 2026-11-27 16:04:15 -05:00
Joseph Magly cd7ae6ca9f Merge pull request #700 from elder-plinius/feat/accept-nov21-recipes
feat(recipes): accept nine recipes confirmed in the 2026-11-21 validation run
2026-11-27 16:02:48 -05:00
Joseph Magly f9c0c72fc4 Merge main 56cfa4e into feat/accept-nov21-recipes
# Conflicts:
#	CHANGELOG.md
2026-11-27 15:39:48 -05:00
Joseph Magly 76e20f2aba test(distributed): cover float E4 receipt and workload values; align two-host docs
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.
2026-11-27 15:39:21 -05:00
Joseph Magly 26a7b45b08 Merge main 56cfa4e into feat/287-e4-workload-and-probe-ram
# Conflicts:
#	CHANGELOG.md
2026-11-27 15:37:56 -05:00
Joseph Magly 34cff6c1a5 Merge main 56cfa4e into fix/689-batched-vocab-discovery
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.
2026-11-27 15:33:56 -05:00
Joseph Magly 09a6737efe Merge main 03cd1f2 into feat/427-identity-security-eval 2026-11-27 15:12:56 -05:00
Joseph Magly 93a8baf198 fix(identity-security): cap aggregate sandbox memory and block SysV IPC
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.
2026-11-27 15:12:53 -05:00
Joseph Magly 9138ca83cf Merge main 03cd1f2 into feat/accept-nov21-recipes
# Conflicts:
#	CHANGELOG.md
2026-11-27 15:00:00 -05:00
Joseph Magly ee756af22c Merge main 03cd1f2 into fix/689-batched-vocab-discovery
# Conflicts:
#	CHANGELOG.md
2026-11-27 14:46:25 -05:00
Joseph Magly fd541d9220 fix(vocab-discovery): batch only architectures verified to honour left padding
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.
2026-11-27 14:46:23 -05:00
Joseph Magly def9b3a9cb Merge main 03cd1f2 into fix/690-pin-chat-template-date
# Conflicts:
#	CHANGELOG.md
2026-11-27 14:41:01 -05:00
Joseph Magly e0131f770b Merge main 03cd1f2 into feat/287-e4-workload-and-probe-ram
# Conflicts:
#	CHANGELOG.md
2026-11-27 14:39:41 -05:00
Joseph Magly 03cd1f25dd Merge pull request #694 from elder-plinius/fix/684-gc-and-slow-tests
perf(device): skip per-batch gc.collect in activation collection on CPU-only hosts
2026-11-27 14:32:24 -05:00
Joseph Magly 587fca3e1d Merge pull request #692 from elder-plinius/fix/383-qwen38-concept-arm-variant
feat(qwen38): add a cv_auc concept-arm variant and record the loadpath-333 concept variant
2026-11-27 14:28:47 -05:00
Joseph Magly c1878b6cf6 Merge main d0ceadd into feat/427-identity-security-eval 2026-11-27 14:06:57 -05:00
Joseph Magly 4b65e85269 fix(identity-security): authenticate sandbox results, bound writable storage, require opt-in
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.
2026-11-27 14:06:55 -05:00