Independent foundation review — Astra, 4 November 2026
Reviewed factory a4548fc13f84ffecc8c75446d3dd89b211802659 and SDK
409a7176096c06c2dd9b7e491e8dc630951e83b4 in the isolated review-astra
worktree. This is a source and acceptance-code audit, not a fresh solver run.
The previous 148 Creusot reports / 25 Pool methods and 20 native harnesses /
58 covers / seven negatives retain their recorded identities in
parallel verification. The findings below do not establish
that those actual runs omitted obligations or used changed tools.
Findings
Medium: report membership stops before the claimed obligation inventory
Kani validation, lines 196–244, checks exact harness names,
completion and the status of each supplied check. It does not require the
presence or identity of a cover. Removing all seven covers from a synthetic
stable-direct report is accepted if each of its two named harnesses retains
one unrelated successful assertion. Removing the substantive assertions while
leaving an unrelated assertion also satisfies this gate. Thus “every mandatory
cover” currently means every cover present in the report, not every cover
required by the source contract. The common checker is used by the physical,
stable, platform, allocator and comparison suites.
Creusot report validation, lines 181–199,
requires the main goal but accepts any remaining vc_* membership. Deleting an
imported goal is accepted. Exact membership of the 148 report files at lines
211–226 does not establish exact membership of the goals inside them. The
existing tests reject a null imported goal but do not test an absent one.
The solver-free diagnostic
uses authored synthetic fixtures, including the imported-goal shape already
used by the checker tests. At the reviewed baseline this command exits 1
with exactly two INCOMPLETE_REPORT_ACCEPTED messages:
PYTHONDONTWRITEBYTECODE=1 python3 verification/proofs/toolchain/report_inventory_diagnostic.py
Repair the gate before exporting broader contracts. Bind each report to an independently obtained obligation inventory, not to the subset the report contains or a historical total. For Kani, require per-harness named covers and reviewed semantic assertion sites, including instantiated helper assertions; retain generated safety and unwind checks too. For Creusot, enumerate qualified goals from the freshly translated task/import closure and compare exact report membership. A narrow parser must reject an unrecognized translation format. The inventory and reports must share the source, target and tool identity. Deletion, replacement and duplicate controls must reject one missing cover, one missing semantic assertion and one missing imported goal even when totals are adjusted. Source changes that intentionally remove a contract still require review; translation-derived inventory alone cannot detect that specification weakening. No generated inventory needs to be committed.
High priority next proof: full-page permission does not yet compose with a root loan
This refines the acknowledged open provider constructor; it is not a new SDK
aliasing counterexample. PhysicalState,
lines 11–14 and 34–46, borrows one Perm<*const [u64]>.
Control, lines 32–44 and 138–156,
interprets it as all 8,192 words and mutably borrows it for writes. That includes
the Store-root prefix [0,512), although ordinary provider writes touch other
words. The frame postcondition preserves root values; it does not itself split
ownership or authorize simultaneous references into the root.
The actual Wasm provider (source unavailable)
admits root windows in RetainedBounds::contains (181–198), lends a mutable root
slice through with_retained_bytes_mut (333–343), and allows ordinary Rust work
inside that callback. Such work may reach RuntimeAllocator::alloc (515–535)
and RuntimePages::allocate_pages (477–483), which change Pool metadata in the
same page while the root reference remains live. The product
Pool contract
explicitly avoids a reference spanning Store roots. The present full-page proof
resource must not silently become that broad runtime reference.
A useful constructor pilot must therefore export separable permissions for root bytes, provider metadata and live payload runs. Prove a client that keeps a root loan live, claims/releases a disjoint Runtime run and then uses the root again. Reject an overlapping metadata/root loan and duplicated payload token. If the chosen permission library cannot express this split, retain a restricted quiescent whole-page theorem and state the unproved refinement explicitly. Owning a fixed array and proving one raw write is useful, but cannot discharge this client merely through equal root contents.
Medium: Kani run provenance authenticates versions, not the installed tool closure
Kani setup, lines 176–192, checks the downloaded release archive hash. The ordinary run at 247–344 checks executable existence and reported Kani/rustc/CBMC version strings, but does not authenticate or record the installed driver, compiler, CBMC/goto tools and model/sysroot contents. A replacement retaining the same version strings is not rejected by this gate. No installed tool was modified during this review, and no replacement was found.
Equality qualification, lines 184–231,
additionally hashes the three rustc files during derive comparison, but that
does not authenticate the entire Kani execution/model closure. Creusot's
validate_binaries and Verus's validate_install already apply stronger
installation checks. Extend the read-only Kani admission similarly: authenticate
installed inputs against the pinned distribution, record their identity with
each run, and reject changed tools before execution and at consumption. Keep
the installation owner separate from proof worktrees. Also centralize the
qualified-run diagnostic policy: only the stable runner currently rejects the
known missing-argument backend warning programmatically. This is additional
gate hardening, not a claim that other direct runs emitted that warning.
Checked boundary and evidence
The inspected initializer and validator do not assume saved validity in order
to prove it: initialization derives packed invariants from formatting;
validation assumes well-formed configuration, owned readable control words and
an independent physical count, then checks arbitrary saved words.
claim_positive_witness constructs a full-length mathematical image satisfying
the no-growth client predicates. It does not construct PhysicalState; the
documentation correctly distinguishes these two kinds of nonvacuity.
The physical suite executes the selected original raw access bodies under a
different, explicitly owned 24-byte receiver. Its endian oracle and pointwise
frames are useful within that scope. It is not connected to the Creusot
full-page Perm by an implemented producer/consumer bridge. The stable direct
checks execute actual constructor/growth bodies against independent u128
arithmetic; the adapter's scalar VM model and stale-lease witness correctly
separate cached length from physical rollback. The reviewed buddy/small-slab
fixtures keep their fragment, class, null-neighbor and liveness restrictions
explicit. No unchecked whole-allocator contract is imported by those checks.
The source audits preserve the reviewed eight physical trust leaves, six
comparison leaves, two arithmetic leaves and the narrow is_none_or stdlib
contract. Fresh comparison producers, matching targets, derive-body checking
and ordinary-oracle/model correspondence provide a useful explicit bridge;
they do not form a shared proof kernel. Installed verifier/compiler/specification
correctness and supported native memory semantics remain trusted. Full-page
admission, payload permissions/initialization, native relocation and real
Wasm/IC semantics remain separate producers. The known experimental Kani
contract-clause warning is already classified as unqualified; it is not counted
again as a new finding here.
Executed without installing or mutating tools:
- All 123 existing verification-runner unit tests pass.
creusot.audit_proof()andequality_bridge.audit_source()pass on the reviewed bodies and producer/model pins; neither executes a solver.- The two omission diagnostics above reproduce the report-gate defects.
- Documentation checks pass: 1,302 local links across 202 Markdown files and
current research indexes;
git diff --checkis clean.
Next foundation contracts, in order
- Provider authority and loans. Construct actual byte ownership, independently observe exposed length, connect byte/word interpretation, split the root and metadata capabilities, and transfer one exclusive payload token per run. Check the root-loan client above. Give empty provisioning and relocatable Vec growth separate contracts; neither fits the current pinned, exposed-page premise by fiat. Use the established source-preserving deductive path where supported; keep any genuinely external memory primitive narrow and explicit.
- Complete buddy transition invariant. Define the reserved two 256-byte
header cells, disjoint live spans and free forest as a total partition; relate
live_spansto live-span cardinality and each page to exactly its largest-order bin. ProveINITIAL_FREE, splitting, each coalescing step, rebinning and the last-live-span page return against actual bodies. The existing pointwise free conservation premise is not a live-span ownership set. A deductive induction over eight orders should precede another full-arena history unroll. - Slab lifetime and facade. Consume an owned span; partition issued live,
issued free and never-issued slots; prove the initialized u16 free chain is
acyclic and its cardinality agrees with
bump-live. Generalize both policies, then prove exact live-token release, final-span return, zeroed allocation and resize prefix/failure preservation. Retain small native direct checks as independent controls, without treating them as modular summaries. - Retained windows and stable byte I/O. Connect
RetainedBoundsacceptance to live range permissions before constructing slices. Separately connect stable capacity to checked read/write bounds, actual import operands, exact byte frames and one physical stable owner shared by Minima/Hylix. Then compose the owning-container and Store contracts. Count arithmetic cannot supply these permissions. - Target refinement. Keep native source, both Wasm layouts, compiled load/store/grow behavior and IC transaction/KEEP semantics distinct. Start with a minimal actual compiled access/growth client, pin its artifact and primitive contract, and add concrete matching-target lifecycle controls. Compilation or source research alone does not close that semantic boundary.
SDK source, shared runners and tool installations were not edited. No new runtime correctness, performance or whole-foundation proof is claimed.