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>
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>