Commit Graph
34 Commits
Author SHA1 Message Date
Joseph Magly e9f81ea8e2 Merge main cd7ae6c into feat/427-identity-security-eval 2026-11-27 16:04:15 -05:00
Joseph Magly 85a57cac7e docs(distributed): survive main moves in the two-host bootstrap and fix publication phases
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.
2026-11-27 14:42:07 -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
Joseph Magly 08a33ff9df feat(research): add an opt-in identity-conditioned code-security evaluation
Adds 'obliteratus identity-security', an opt-in research evaluation excluded from every default gate: identity-only paired prompts with commit-pinned generation settings, generated apps run only in a fail-closed, no-network Bubblewrap sandbox with resource limits, functional checks and executable exploits scored separately, and denominators, exclusions, intervals, Fisher/McNemar tests and Holm adjustment reported. Paired activation capture reuses capture_activations. Real-sandbox tests live in tests/conditional/; third-party results are documented as unverified claims. The weight-intervention arm is a follow-up.

Refs #427
2026-11-27 11:23:41 -05:00
Joseph Magly 7a96fa0d69 docs(distributed): document the two-host TP2 cross-host protocol and E3/E4 runbook
Documents the existing rank-local cross-host TP2 protocol (#365/#402): Gloo summary and chunk formats, vote order, coordinator-only durable publication and how each failure fails closed, in a new note so the policy digest of distributed-rank-local.md is unchanged. Adds a rented-hardware E3/E4 qualification runbook and fixes the stale two-host refusal text in conditional-testing.md. No runtime change; the reviewed rank_storage registry stays empty and status stays not_qualified.

Refs #287
2026-11-26 17:27:45 -05:00
Joseph Magly eef8007f53 feat(models): generalize the Qwen3.5 hybrid surgery contract to dense sizes
The hybrid surgery contract accepted only the Qwen3.8-27B text backbone
(48/16 layers, hidden 5120). It now validates any dense qwen3_5_text
backbone, deriving the expected residual-writer shapes from the model's
own text_config (linear_attn.out_proj, self_attn.o_proj, mlp.down_proj)
and keeping every fail-closed check: no MoE config or modules, a
repeating linear/full pattern consistent with full_attention_interval,
a layer count matching layer_types, no writer biases, and Linear writers
whose shapes match the config. The CUDA fast-path and pristine-logit
requirements are unchanged, tied embeddings follow the existing
tied-head rules, and the validated topology is recorded in metadata.
The old 27B entry point remains as a compatible wrapper.

Fixes #583
2026-11-21 04:29:24 -05:00
Joseph MaglyandClaude Opus 5.5 101cfa7c88 feat(analysis): opt-in numeric geometry preservation evaluation
Add a bounded evaluation of whether shifting a known predictive mean
preserves a known non-target spread (#511), producing reproducible
evidence and negative results rather than a universal steering claim.

- Whole sequences are split into fit, calibration and held-out
  partitions per seed block before any activation is collected.
  Geometry is fitted on fit rows only, matched-mean scales are found on
  calibration rows only, and the preregistration (tolerances, arm
  choices, scales) is frozen by digest before any held-out pass.
- Seven arms with exposed choices and reversible, restoration-checked
  hooks; matched-displacement and matched-mean comparisons are reported
  separately, and PCA-plane proximity can never establish preservation.
- Paired intervals over seed blocks, separate AdamW and L-BFGS probe
  fits (optimizer-dependent outcomes flagged conditional), explicit
  zero handling, separate costs, and exploratory labels for
  extrapolated cells. Curvature stays null.
- Golden synthetic arc fixtures with known answers: a spread-preserving
  variant and a radius-dependent variant the chord arm distorts.
- Every attempted cell, arm and comparison is logged; synthetic runs are
  rated hypothesis and never claim pretrained reproduction. The opt-in
  pretrained campaign refuses until both model revisions are pinned and
  runs only behind an explicit environment flag.
- `obliteratus experiments numeric-geometry`, catalog rows and a new
  documentation section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 22:09:11 -05:00
Joseph MaglyandClaude Opus 5.5 3153af08a3 ci: renew the five no-support environment waivers to 2026-11-30
The cuda-runtime, bitsandbytes-runtime, mps-runtime, mlx-runtime and
remote-execution waivers expired on 2026-11-16. Renew them from
2026-11-16 through 2026-11-30, within the 30-day maximum, with reasons
and blocked claims unchanged. No GitHub self-hosted lane is registered
yet; issue #110 stays open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 13:05:38 -05:00
Joseph Magly ccd1cd73f0 docs: synchronize release rehearsal and runtime guidance 2026-10-29 09:50:28 -04:00
Joseph Magly 002e6e56e1 feat: complete local readiness across UI, MCP and memory admission
Integrate bounded admission, UI ownership and controls, opt-in durable MCP execution, rank-local TP2 groundwork, regression hardening and operator guides. Physical larger-memory and two-host qualification remain separate.
2026-10-20 17:58:20 -04:00
Joseph MaglyandClaude Opus 5.5 85ffaf40fd feat(gpu): multi-GPU qualification driver and per-device admission
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 14:48:34 -04:00
Joseph MaglyandClaude Opus 5.5 dd663c4173 fix: post-merge audit findings (scripts)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 21:52:38 -04:00
Joseph MaglyandClaude Opus 5.5 c117eaa0ad ci: renew conditional no-support waivers through 2026-11-16 (#110)
Renew the five CUDA, bitsandbytes, MPS, MLX and remote-execution
waivers from 2026-10-17 for the 30-day maximum before the current
waivers lapse on 2026-10-20. Reasons and blocked claims are unchanged;
no gate, coverage or freshness rule is relaxed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 12:50:30 -04:00
Joseph MaglyandClaude Opus 5.5 1e3ffb7fc6 ci(supply-chain): keep qwen-hybrid installed and license-checked on hosted runners
Excluding the qwen-hybrid extra would have dropped causal-conv1d,
flash-linear-attention and fla-core from the release license inventory
without any failure. Instead, install causal-conv1d without CUDA kernels via
its own CAUSAL_CONV1D_SKIP_CUDA_BUILD switch in the operator-UI gate and the
supply-chain job.

The full inventory then needs two permissive SPDX expressions (MIT-0 for
cffi, Apache-2.0 OR BSD-3-Clause for cryptography, both via the mcp extra)
and a strict mechanism for packages whose metadata carries verbatim license
text: a text override binds one package version and the SHA-256 of the
exact text to an already allowed expression, and fails when unused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 11:51:06 -04:00
Joseph MaglyandClaude Opus 5.5 d0f14f77d9 fix(ci): restore the hosted model and operator-UI conditional gates
Scheduled Conditional tests have failed since late August on two hosted
gates, which also blocks release certification:

- model-download-runtime: the operator-only Qwen3.8-27B BF16 regression
  lived in the gate file and always skips on hosted runners; the gate
  runner rejects any skip. Move it to tests/conditional/test_qwen38_runtime.py,
  outside every hosted gate.
- operator-ui: `uv sync --all-extras` now pulls the qwen-hybrid extra,
  whose causal-conv1d sdist builds only against a CUDA toolkit. Exclude
  qwen-hybrid there and in the tag-only supply-chain job, which runs the
  same sync and would fail the next release.

Policy tests pin both invariants.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 11:39:27 -04:00
Joseph MaglyandClaude Opus 5.5 a258c16cd1 fix(distributed): keep failed layout admission storage-free
If the layout gather or record comparison raised, the exception skipped
AgreedTopologyRefusal, and execute_preflight then ran filesystem recovery.
Every layout-admission exception now becomes the terminal
AgreedTopologyRefusal. A local construction failure enters the gather with
an invalid record, so its peer is poisoned in the same exchange. Ordinary
failure evidence still runs only after successful admission. The docs now
place layout admission before lifecycle identity consensus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 20:14:25 -04:00
Joseph MaglyandClaude Opus 5.5 4eb1a4cd4b fix(distributed): refuse live two-host stages that need shared storage
The archived topology commits predate the merged EXCISE, VERIFY and
EXPORT stages. A cross-stage audit for the one-GPU-per-host layout found:
- Live preflight and LOADED evidence use attempt storage shared by the
  ranks (rank-0 directory, nonce file, file receipts). They now refuse the
  two-host GPU layout after configuration consensus and before any
  staging access (LMS_TOPOLOGY_UNSUPPORTED; the model session reports
  LMS_TP_PLAN_UNSUPPORTED).
- Canonical EXPORT assumes one shared destination tree across writer
  ranks. It now refuses the layout with a voted
  LMS_EXPORT_TOPOLOGY_UNSUPPORTED before any resource or filesystem work.
- PROBE admitted host memory only on rank 0. Each rank now admits its own
  working set through the existing unanimous vote.
- The evidence checker reconstructs each attempt's topology from
  fixed-size redacted records. EXPORT's attempt hash binds the VERIFY
  binding set, and part 5's per-attempt hardware and mount checks are kept.
EXCISE, rank journals, VERIFY and the launcher are code-level compatible
and are covered by new mocked tests. Docs describe the refusals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 18:51:24 -04:00
Joseph MaglyandClaude Opus 5.5 0492ebaa35 feat(distributed): admit closed two-host TP2 topology
(cherry picked from commit 37f407850916ebe76575d73112c4d26fe08bf421)

Ported for #244 (part 6/6). Internal-only content from the archived
commit was dropped: .aiwg records and the internal security-docs test.
Doc and test conflicts keep upstream wording and add only the topology
references; internal tracker numbers were replaced with upstream framing.
Marked experimental in user docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 18:22:31 -04:00
Joseph MaglyandClaude Opus 5.5 4c6a5c46f6 feat(distributed): add bounded distributed canonical export
(cherry picked from commit de990f633e151f329ef5e844ed55f60a9a0b247c)

Ported for #244 (part 5/6). Internal-only content from the archived
commit was dropped: .aiwg records and the internal security-docs test.
Doc and policy conflicts keep upstream wording and add only the export
references. The new Gloo test file carries the gloo marker and a
duration entry. Marked experimental in user docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 16:28:40 -04:00
Joseph MaglyandClaude Opus 5.5 2ef2a76792 feat(distributed): verify collective edits fail closed
(cherry picked from commit 2fbc38cd512f1130b4931ba5a7ffaf2e666d3008)

Ported for #244 (part 4/6). Internal-only content from the archived
commit was dropped: .aiwg records and the internal security-docs test.
Doc conflicts keep upstream wording and add only the VERIFY references.
The new Gloo test file carries the gloo marker and a duration entry.
Marked experimental in user docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 11:53:55 -04:00
Joseph MaglyandClaude Opus 5.5 52e42cc181 feat(distributed): add transactional excise rollback
(cherry picked from commit ba6e1bb45a964dd0980b2e1440debd93cf94da45)

Ported for #244 (part 3/6). Internal-only content from the archived
commit was dropped: .aiwg records and the internal security-docs test.
The new Gloo test file carries the gloo marker and a duration entry.
Marked experimental in user docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 17:35:33 -04:00
Joseph MaglyandClaude Opus 5.5 8066e59c73 feat(distributed): add exact Llama native TP loader
(cherry picked from commit 4caf45b04a8faa55f191b22c069f58714236689b)

Ported for #244 (part 1/6). Internal-only content from the archived
commit was dropped: .aiwg records, internal runner-policy routing, and the
internal security-docs test. Marked experimental in user docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 11:23:27 -04:00
Joseph Magly d34be80688 Fix offline test isolation and restore mature CPU coverage 2026-09-20 18:40:30 -04:00
Joseph Magly 827ba8e106 fix: validate Qwen hybrid runtime placement 2026-08-27 01:12:20 -04:00
Joseph Magly 8e998fc842 docs: define PR acceptance and release process 2026-08-23 13:45:56 -04:00
Joseph Magly ad883cef0b feat: harden local runtime and verification 2026-08-23 11:16:10 -04:00
Joseph Magly 06e80af7b6 feat: add Jetson contributor validation path 2026-08-21 20:12:35 -04:00
Joseph Magly 8814dbe359 docs: specify Jetson support path 2026-08-21 19:35:21 -04:00
Joseph Magly b340cc025e docs: define Jetson support acceptance plan 2026-08-21 19:31:58 -04:00
Joseph Magly 42b30f7e5b docs: record Gate 3 conditional evidence 2026-08-16 09:34:24 -04:00
Joseph Magly fa233fd8c9 ci: make CUDA conditional lane GPU-capable 2026-08-16 09:23:22 -04:00
Joseph Magly baf5331730 docs: align conditional claim boundary 2026-08-16 09:12:37 -04:00
Joseph Magly c90240f1e9 test: govern unavailable conditional environments 2026-08-16 09:05:41 -04:00
Joseph Magly c1a1275291 ci: add conditional environment test gates 2026-08-14 14:29:14 -04:00