Fixes eight reported defects in the native tensor-parallel path:
- #278 VERIFY admits host memory in a symmetric vote before allocating
and broadcasting baseline input tensors.
- #280 require_record_consensus canonicalizes inside the poison-protected
exchange and compares canonical payloads.
- #282 EXCISE votes on fallible digest preparation before the next
collective.
- #285 preflight, model session, PROBE and EXCISE vote on rank-local
preparation failures before the next collective, including the
evidence-directory preparation that previously allocated before its
all_reduce.
- #275 postcondition and VERIFY digest sets stream the full declared
operation range (up to MAX_EXCISE_OPERATIONS) while preserving
existing identities.
- #281 preflight source identity digests stream inventory records
instead of using one 64 KiB control record.
- #286 the evidence checker requires an integer schema_version and
checkout/source inventories are bounded and streamed.
- #276 standalone operation planning uses bounded chunked finite checks.
Each fix has CPU/Gloo regression tests, including one-rank fault cases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
A rank-local preparation failure in gloo_all_gather_records,
require_consensus_digest or unanimous_vote now still joins the same
fixed-shape all_gather with a poison payload; the failing rank re-raises its
own error and every peer raises ContractError, so no rank can leave for a
different collective. The fixed-buffer/identical-bytes boundary is documented
as the process-fault limit handled by the bounded timeout and rank-loss path.
EXCISE now checks cancellation and the deadline after the final operation
before returning COMMITTED, and public rollback's ABORTING/ABORTED lifecycle
emissions are covered by quarantine handling.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every rank-local step that can raise inside distributed_project_weight
(validation, FP32 promotion, digests, reduction buffers) and the EXCISE
pre-update, prepared-update and rollback digests is now followed by a
unanimous control-group vote, so a one-rank failure cannot leave its peer
in a different data collective. Callers without a control group keep their
previous exceptions.
RankJournal.create() keeps ownership until both directory descriptors close;
every finalizer is attempted, and close failures surface as
LMS_EXCISE_STATE_UNCERTAIN instead of masking an earlier cleanup failure.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Vote after each rank-local preparation step (clone, direction copy,
finite projection result) so a local failure cannot desynchronize the
projection collectives.
- Bind directions to the stored DISTILLED summary digests instead of
re-hashing the current tensors.
- Clean up a journal whose creation failed after entries were written,
surface cleanup failures as LMS_EXCISE_STATE_UNCERTAIN, close
descriptors on rejected opens, and fsync the parent directory on
journal creation and removal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 9dcae3a30aac5c74c0eaa567d9682b1aadba3003)
Ported for #244 (part 3/6).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(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>