Stable engines and upper-layer proof frontier

5 November 2026. Source-only assessment of factory 87b7233794da334e03f8fa0b714a9b3cd902efa6 and SDK 409a7176096c06c2dd9b7e491e8dc630951e83b4. No compiler, verifier, native application or IC run was performed; no new theorem or performance result is claimed. Product source, proofs, runners and tool installations are unchanged.

Status in one page

The next useful upper-layer work is ownership and publication composition. Stable bounds/copies already have scoped checks; they do not establish that a Hylix cache, Minima page directory or Store module owns the bytes it interprets. A source inventory of verification/proofs/ has allocator, page-pool, physical, platform, provider, regions, stable and toolchain families, with no dedicated Hylix, Minima, Store, Ashroot, Wire or workflow proof family. The absence is a proof frontier, not an assertion that those implementations lack safeguards.

Recorded lower qualifications remain separate: the f4c23a0a shared core closes 180 reports/657 goals/2,615 leaves and eleven core/seven resource controls; the final 436 verification-tool tests belong to 1ddefde2. Neither is a new execution in this audit. See the foundation map, composition rules and sixth batch.

Area Available evidence Unproved handoff
Stable provider Actual capacity/scalar lease traces and bounded native adapter I/O Construction of one exclusive physical stable domain; actual VM/ABI byte semantics
Hylix Runtime frame/loan/epoch checks, cache/arena tests and application qualification Cache coherence, dirty publication, allocation ownership and retirement as source-linked contracts
Minima Move-only capabilities, private retained authority, generations and reuse tests Unique owner/page partition, zeroed reuse and Hylix virtual-map disjointness
Nyxus/container layer Allocator ingredients and retained-region arithmetic/projections Element initialization/drop, owning edges, arbitrary container histories and loan/provenance refinement
Store One root, private keys, generation/epoch checks, guarded bind/conversion and native tests Connected module-tree ownership, exact destruction, typed binding and frame-finalization proof
Admission/upgrades Compiled physical/interpretation contracts and guarded startup; runtime/IC tests Source-linked admission-before-interpretation and complete owner-local conversion/publication theorem
Ashroot Typed schema, preflight/commit paths, model-based native tests and IC qualification Primary/index/FK preservation and one-upgrade rebuild as formal contracts
Protocol/workflows Bounded Wire/Tripwire, exact retry-byte and lifecycle code/tests Parser/window refinement, durable identities, delivery/uncertainty and logical/physical accounting proofs

The stable lease results are finite full-scalar traces, not arbitrary-history exclusivity. Their deliberately interfering two-handle examples violate unsafe acquisition's caller premise. The I/O writer uses native objects through 4 GiB minus one; reads remain capped at 255 bytes. Actual System API byte ownership is modeled. The region byte checks use real 32-byte owners; its native loan-rejection controls are compiler tests, not a formal lifetime theorem. The initialization handoff exports selected page-pool/native-byte facts, not general engine ownership.

Source findings that determine the next proof boundary

Paths below are relative to the stated factory; SDK line numbers refer to the stated SDK revision. These are inspected source observations, not fresh proofs.

  • cdk-rsx/ver1/crates/cdk-rsx-engine-hylix/src/context.rs:175 lends a single synchronous provider. using finalizes ordinary returned errors as well as success (:186–194); using_read only discards (:196–207). A proof must distinguish normal return from trapping, rather than promising rollback on Err.
  • .../cdk-rsx-engine-hylix/src/working_set.rs:351–410 owns begin/discard/finish; finish writes tracked dirty spans and may retain only clean cached segments. :445–455 can flush a dirty eviction before final frame publication. Consequently discard is invalidation, not an undo operation. Partial-provider failures abort; native hosts must restore/discard their complete failed image.
  • .../cdk-rsx-store/src/scope.rs:186–196 rejects outstanding loans, drains orphan destruction, then flushes decoded records. hylix.rs:140–150 flushes those records before dropping their transient snapshots. .../cdk-rsx-engine-hylix/src/arena.rs:1007–1019 publishes slab descriptors, allocator metadata, then buffered bytes, and invalidates decoded caches on discard. These stages need one connected frame contract.
  • .../cdk-rsx-engine-hylix/src/context.rs:61–85,119–154 guards frame epochs, stale collection edits and forgotten loans. An epoch is not an allocation pin; record access also retains the native module loan (store/src/hylix.rs:263–295).
  • .../cdk-rsx-engine-minima/src/storage.rs:96–108 stores allocator authority in Nyxus Rc/Vec metadata. :124–214 allocates/retires owner generations; :237–288,531–575,739–752 defines move-only Block/Collection ownership and Drop. Unlike ordinary Hylix value handles, Minima Block/Collection Drop actively releases its own authority; a single generic Drop rule would be wrong.
  • Minima storage.rs:755–867 has one transient physical provider per retained Root, and one Hylix linear adapter lease. :893–973 obtains linear and collection pages through the same claim_pages; :1122–1188 translates Hylix ranges through private physical pages. Neither provider_live nor a logical domain ID constructs the IC-wide exclusivity required by unsafe StableMemory.
  • .../cdk-rsx-store/src/backend.rs:282–320 checks namespace, generation, non-vacancy, conversion state, pointer and binding epoch before bound access. :406–433 checks semantic/physical contracts and the actual Nyxus range before returning a typed ModuleRef. This compact scalar/binding frontier can be proved before tackling arbitrary user destructors.
  • Store scope.rs:117–213 implements detach/attach/root ownership; the attach walk checks ancestry and a slot-count budget. :215–307 excludes loans, advances binding epoch, marks CONVERTING, converts data and children, retires unadopted children and restores the final state. It consumes actual typed allocations; directory metadata alone is not a proof of those allocations.
  • .../cdk-rsx-macros/src/root.rs:208–232,253–265 admits current or declared predecessor catalogs before initialization/restoration and publishes the target digest after an installed app exists. store/src/backend.rs:169–175 separately requires the canonical startup guard before unsafe reopen. Catalog capture's completeness remains an explicit source/configuration author obligation.
  • ashroot/src/database.rs:777–869 validates rows/references and prepares exact deltas under a root gate before mutation. :971–991 relies on the enclosing IC execution for atomic-or-trap behavior; it is no local journal. :1162–1229 connects deletion planning to commit under that same gate.
  • ashroot/src/planner.rs:50–172 is a small engine-independent graph algorithm: immediate Restrict, deduplicated Cascade, grouped SetNull intents, row/edge/ logical-byte budgets, and filtering edits to deleted rows. Immediate Restrict is intentional; do not substitute a different database's deletion semantics. ashroot/src/migration.rs:829–855,894 onward builds target owners, validates the target and only then retires unselected sources, in one synchronous upgrade.

No concrete SDK implementation defect was established in this inspection. Missing ownership proofs, interface premises and author obligations are not reported as implementation bugs. The known Kani LINK representation discrepancy remains quarantined; proposed native fixtures must avoid promoting it or the passing UNLINK controls into general memory-model correctness.

Ranked next-batch assignments

U1 — Minima owner/page capability and virtual-map seed

First useful milestone: check actual owner creation/validation/retirement, page reuse and HylixMemory translation on a small real native authority. Prove stale/foreign owners reject, exhausted generations never wrap, move-out disarms Block Drop, and linear pages remain disjoint from live collection pages. Start with two owners and a few blocks, then specify the induction invariant needed to lift to arbitrary histories; do not label the bounded pilot inductive.

Contract edge: exclusive Memory + valid Nyxus-owned metadata → Root owner/page partition → Minima collections and the Hylix provider adapter. Requires exact page bounds, one provider per Root, nonduplicable owning capabilities and live metadata allocations; bytes outside the addressed block must be framed.

Method/acceptance: existing direct-source Kani style is a plausible bounded pilot, with actual typed owners and explicit Memory effects; its feasibility is not yet qualified. Pair every reuse/disjointness result with an independent false claim (stale generation accepted, double-owned page, linear page reused by a collection), and cover reuse, fresh growth, exhaustion and cross-block access. Reuse tests at storage.rs:1563–1646 as scenario inputs, not proofs. Keep all partition/generation reasoning proof-only and preserve current per-node lookup elision; never replace retained Nyxus metadata with heap-only substitutes and claim retention. Full physical-domain authority and owning Vec/Rc laws remain predecessors to an unconditional engine theorem.

U2 — Hylix frame publication and query non-publication

Milestone: directly stage WorkingSet/context/Arena frame paths with a tiny real byte provider and at least two segments; verify dirty eviction, read-your- writes, byte frames, successful/ordinary-Err finalization and query no-write. Prove normal completion rejects outstanding loans, and expose final record/ metadata flush order in the same trace without pretending dirty eviction waits for frame end.

Contract edge: coherent exclusive stable Memory + live cache loans → normal frame byte/owner publication → Store/Hylix records. IC trap rollback and native whole-image recovery remain explicit premises. Do not assert discard restores physical bytes already written by dirty eviction.

Method/acceptance: bounded actual-source Kani first; check whether the pinned models can handle Rc/RefCell/cache owners before enlarging the scope. A later Creusot invariant needs separately checked container/byte contracts, not an assumed complete WorkingSet algorithm. Positives cover dirty/clean collision, retained clean cache, zero-length/cross-segment edits and outstanding views; negative controls must reject dirty query flush, stale-epoch publication and wrong untouched-byte frames. Source-specific native compile rejection remains a complementary lifetime check. No runtime journal, epoch table or extra scan.

U3 — Store binding and ownership metadata transition seed

Milestone: actual slot/resolve_bound/bind checks plus a small directory sequence create→detach→attach→retire/reuse. Show at most one root, unique parent ownership, rejection of cycles/foreign scopes, stale service rejection after reuse or conversion, and frame ownership of forgotten Detached tickets.

Contract edge: admitted directory + owned physical module cells + checked allocator range/layout → typed ModuleRef access and owner transitions. Begin with scalar rejection/metadata preservation; keep unsafe typed destruction and arbitrary child Drop conditional until its owning-container contract exists.

Method/acceptance: source-linked finite native fixtures, then deductive invariants for the ancestry walk and orphan list if the pilot is tractable. Require nonvacuous attach/root/conversion witnesses, independent wrong-epoch, wrong-contract and duplicate-parent negatives, exact compile-fail key/loan controls, and a destructor-call recorder explicitly labeled observation-only. Record dynamic runtime defenses separately from formal ownership theorems. No new runtime registry or scope spanning await is needed.

U4 — Catalog admission and synchronous upgrade publication

Milestone: prove the actual generated admission predicate and its dominance over typed root opening, then one concrete owner-local V1→V2 conversion with a moved child and an unadopted child retired once. Establish target publication only after successful construction, with changed binding epoch and no live loans.

Contract edge: admitted platform/allocator/compiler + complete frozen semantic and physical closure + U3 → safe source interpretation/conversion → restored services/Ashroot. Digest equality does not prove arbitrary user helpers truthful or a missing interpretation dependency complete; those remain author obligations.

Method/acceptance: exact generated-source staging and erasure/source checks, scalar predicate checking, then a small real macro-generated native/target fixture. Negative controls reorder/remove admission, publish before app install, reuse the old epoch, duplicate child adoption or omit retirement. Actual compiled startup/IC rollback needs separate matching-target execution; a predicate theorem alone is insufficient. Keep one synchronous upgrade, possibly spanning DTS rounds; no continuation messages, background migration or denial flags. Budget whole teardown/startup/conversion/reindex/validation/retirement, not just row maps.

U5 — Ashroot planner and exact delta pilot in parallel

Milestone: check actual planner::plan for a small two-table graph with Cascade cycles/diamonds, immediate Restrict and multiple SetNull edges. Success must yield unique deleted rows, unique nullifications disjoint from deletions, a cascade-closed reachable set and exact refusal/budget precedence. Then target one ordinary ordered-index prepare/commit replace path against a primary oracle.

Contract edge: complete immutable reverse-edge enumeration, deterministic keys/projections and a held database gate → exact plan/delta → commit. Treat collection operations and engine ownership as explicit predecessors; the pure planner pilot does not establish durable database integrity across all engines.

Method/acceptance: bounded direct-source Kani is a plausible first pilot; keep any independent graph oracle separate from the actual planner. Reject missed cascades, duplicate deletions, nullifying a deleted row, swapped old/new index deltas and mutation before refusal. Follow with grouped-nullification, bulk-clear equivalence and migration target-validation before source retirement. Existing model-based tests (ashroot/tests/tables.rs:340–664) provide scenarios, not theorems. Preserve source-known macro checks and custom-index/purity author obligations; add no runtime revalidation scan, external schema generator or arbitrary table-count cap.

Parallel branches and deferrals

U1 and the bounded U2/U3 pilots can begin with explicit lower contracts, while pure U5 planning can proceed independently. Their full ownership conclusions must wait for physical provider/allocator/container producers. U4 is downstream of typed binding and retirement; do not schedule an end-to-end Ashroot migration proof before those edges exist.

A useful additional independent leaf is actual Tripwire SourceWindow::{new,slice,absolute,copy_range,borrow_range} at cdk-rsx/ver1/crates/cdk-rsx-tripwire/src/window/mod.rs:27–93: full-width checked range arithmetic, no provider call on rejection, and exact child-window framing. Its Source byte/lifetime contract remains a premise. cdk-rsx-wire/src/lib.rs:8 reexports the external ic_wire codec, so proving only this facade is not proving its parser. Audit that pinned dependency before claiming bounded decoding.

Reactor/Rechain/Takt need separate delivery/replay/uncertainty/accounting proofs (rrt/crates/cdk-rsx-reactor/src/transport.rs:383,772, cdk-rsx-takt/src/engine.rs:618,1943); memory proofs cannot supply those laws. Exact retry bytes and saved identities must survive every model transition. Their generator's static checks remain distinct from scheduler fairness or runtime effect guarantees. No proof or performance qualification for those branches was added by this report.