Whole-parameter and snapshot finite checks on VERIFY paths now walk the
same bounded C-order chunks as tensor_digest, staying within the reserved
8 MiB working term. VERIFY's combined admission also counts EXCISE's CPU
projection storage when tensors live on the host. Standalone EXCISE
planning is unchanged. Digest regressions now cover rank-3/4 permuted
views, stepped slices and non-contiguous leading singleton and zero
dimensions, checked against the previous whole-tensor algorithm.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- tensor_digest streams the canonical bytes through 4 MiB CPU chunks in
C order. Digests are byte-identical to the previous whole-tensor
serialization for every dtype (BF16 included), shape and stride, and
numerical._tensor_digest reuses it. VERIFY reserves the bounded 8 MiB
digest working set explicitly.
- The live VERIFY wrapper performs one unanimous combined host admission
before EXCISE starts: retained baseline + EXCISE's own journal and
restoration working set + VERIFY's peak + margin, against a single
memory observation. It denies with LMS_EXCISE_RESOURCE_DENIED before
any mutation. Rollback releases post-edit snapshots before loading the
journal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit f9a289e267889c297cefcdc67eea92c4b8eb8d4d)
Ported for #244 (part 2/6). Internal-only content from the archived
commit was dropped: .aiwg records and the internal security-docs test.
Marked experimental in user docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>