[ABI][LD][Proofs][Docs] M1 groundwork: arena-safety proof + .vbundle contract; embedder lane (M1.5) accepted
- proofs/arena_plan.lean: memory.vplan arena safety (8 theorems + 4 computational examples, 0 sorryAx): no overlap, checked index bounds, no use-before-write, overlap-rejection completeness. - abi::arena: validator mirroring the proof, checked offset arithmetic (invariant #2), explicit error per violation class; 8 tests. - abi::bundle: .vbundle manifest (ABI_VERSION=1, source+packer fingerprints, backend target; incompatible ABI rejected explicitly), checked memory.vplan/graph.vplan parsing, arena-validated compile(); 7 tests. - ld::bundle: read-only load_bundle_plans(dir) over manifest + plan/*.vplan; 3 tests (good bundle, missing file, ABI mismatch). - abi::vplan: encoder-lane opcodes (layer_norm, flash_full_attn, gelu_erf, mean_pool_l2norm) + wire name mapping for all 22 opcodes, roundtrip test. - Docs: utility-encoder scope carve-out (dense decoder LMs out, small fully-resident encoders in), embedder-lane wire proposal + characteristic parity vs vetta-semantics (cosine vs oracle, internal bit-exact goldens), 16-primitive kernel set, M1.5 milestone; README/AGENTS aligned (65 tests, 42 theorems across 4 proof files). - review/: tandem exchange with the strata-ctl coder (their request + observations, our formal reply: embedder accepted, M0 dir cleanup done). Verified live: RUSTFLAGS="-D warnings" cargo test --workspace = 65/65 PASS; lean proofs/{slab_ring_dma,bus_lifecycle,serve_session,arena_plan}.lean green, standard axioms only.
This commit is contained in:
1 parent
7b50f1c07c
commit
fb92662106
13 files changed
+1235
-16
No files matched your search
@@ -8,6 +8,8 @@
|
||||
//! Eliminates audit-05 F-02 (shard bounds, u64 slice overflow, missing
|
||||
//! index.json) and F-05 (PID-isolated atomic commit) by construction.
|
||||
|
||||
pub mod bundle;
|
||||
|
||||
use std::collections::{BTreeSet, HashMap};
|
||||
use std::fs::{self, File, OpenOptions};
|
||||
use std::os::unix::fs::FileExt;
|
||||
|
||||
Reference in new issue
Block a user