Claude Fable 5.1 foundation review

Independent read-only review completed 5 November 2026. Requested and observed model: claude-fable-5-1; CLI effort: max. Factory source: a4548fc13f84ffecc8c75446d3dd89b211802659; SDK source: 409a7176096c06c2dd9b7e491e8dc630951e83b4. Tools were restricted to Read/Glob/Grep. No solver or implementation test was run by this reviewer. The text below is the reviewer's source analysis, not additional solver evidence.

Integration decisions

  • The missing exported Store-initialization/zero-request theorem is a new proof gap. Current zeroing leaves bound/frame the call but do not export an event or initialized-byte predicate. Track that handoff explicitly before allocator consumers claim initialized payloads.
  • A trusted admit_wasm_control_page would add a physical entry assumption; it would not itself verify provider construction or enforce a unique global capability. Keep the actual native byte-admission work and the root/control split identified by the Astra review. A future Wasm boundary needs explicit linear authority and split/transport contracts.
  • The wasm32 high-word acceptance example is a source-derived target divergence, not an executed target test or a demonstrated memory-safety failure. Native64 results must retain their target restriction. Qualify a real target reproducer before treating it as a repaired implementation defect.
  • Source inspection supports conditional satisfiability; it does not establish resource construction or checked whole-allocator refinement. Do not promote the reviewer's informal earliest-fit reasoning into an exported formal result.

Independent review text

I've finished reading. Nothing was executed; everything below comes from reading the source, proofs, runners and notes. Here is the review.

Executive assessment

Inventory and scope claims check out. The 148-file manifest in creusot_report.py sums to exactly 148 reports and 25 checked methods, and the 20 positive harnesses, 58 covers and 7 negatives in parallel.md match the harness files one for one. Every scoped claim in the notes I compared against its proof text is stated at or below what the contract actually says. The TCB inventory audited by creusot.py is the real one: 8 physical/raw leaves, 6 comparison leaves, 2 numeric leaves, one opaque identity, one stdlib declaration, plus the verifier stack.

I found no unsound, vacuous or source-disconnected proof. The physical leaves are jointly satisfiable by the obvious model, a pair of control-page words and a page count. I checked the delicate chains by hand: the validate scan is equivalent to the partition predicate in both directions; recovery's mid-loop error paths are genuinely unreachable from saved_valid; claim's loop variant and the earliest-fit argument hold.

Two medium findings, both about what consumers can actually use. First, claim_proof does not export which bytes it asks the provider to zero, so the "Store bytes are initialized" fact that Nyxus relies on is backed only by tests. Second, no term of type PhysicalState exists anywhere, so every page-pool theorem, including the "checked clients", is currently uninstantiable by any consumer. The second is documented as "constructor open"; its consequence should be stated more plainly and it should be the first thing closed.

No implementation bug found in the lowest layer. I read page_pool.rs, transient.rs, wasm.rs, memory.rs, region.rs and stable_capacity.rs critically, including alignment, overflow, truncation, growth, zeroing, coalescing and resize paths. The open gaps are honest proof limits. One concrete native64/wasm32 divergence is given below as a worked example; it is benign.

Prioritized findings

F1. Medium, new. The claim contract does not export the zero request, so the initialized-Store-bytes handoff has no theorem. Evidence: the only payload clause is the zero_payload leaf at verification/proofs/page-pool/creusot/provider.rs:139-154, whose postconditions are pure frames. The call at claim.rs:409-421 passes its precondition, but the Ok postcondition at claim.rs:260-276 says nothing about zeroing, growth-fresh pages, or the owner == Store && p < committed condition in page_pool.rs:342-348. Downstream, allocator.rs:377-384 and the Memory doc at memory.rs:71-73 treat successful Store claims as initialized, and runtime-memory.md:93-96 states it as a guarantee. The only mechanized check of the exact range is recycled_store_zero_request_is_exactly_the_previously_committed_prefix in the page-pool Kani crate, which its own README at lines 46-52 declares unverified, plus the native unit test at page_pool.rs:650. The wording "the zeroing bridge checks the requested payload range" at page-authority.md:80 and "the proof establishes which range the allocator requests" at claim.md:46-48 overstates this: the range is checked against a precondition, not exported. Repair, proof-only: add a ghost clean: Seq<bool> over pages to PhysicalState; have grow_pages set it for newly exposed pages, zero_payload set it for its exact range, and a Runtime claim clear it for its run. Then ensure in claim_proof: Ok(run) && owner == Store ==> all pages of run are clean. The remaining trust, "clean pages read as zero bytes", becomes one named leaf instead of an unstated assumption.

F2. Medium, documented in effect but not in consequence. PhysicalState has no inhabitant, so no consumer can instantiate any page-pool theorem. Evidence: private fields and no constructor at provider.rs:11-14, acknowledged at physical.md:93-97. The "checked clients" claim_without_growth at claim.rs:449-457, initialize_without_growth at initialize.rs:288-296, release_exact_client at release.rs:151-164 and validated_count_client at counting.rs:223-230 all take the same ghost state, so they inherit the condition. The logical witnesses show the word predicates are satisfiable, not that a state exists. This is sound, but the production entry ensure_pool at wasm.rs:103-131 is the single place a real resource is born, and nothing connects it. Repair: see plan item 2.

F3. Low, new concrete example of the documented native64 target gap. On wasm32 the validator accepts images the native64 "iff" rejects. Evidence: committed_pages() truncates with as usize at page_pool.rs:181, and the complement check at page_pool.rs:479 compares against the truncated value. The model at queries.rs:6-8 and the iff at validation.rs:102 are lossless on 64 bits. With the Wasm32 profile at profile.rs:56-61, header word 0 equal to 225 | (1 << 32) and word 1 equal to !225 validates on wasm32 when physical pages are 225, and is Corrupt on native64. Behavior is otherwise identical because every reader truncates, and a later growth rewrites the word, so this is a precision divergence, not a safety issue. Suggested test: a target_pointer_width = "32" unit test asserting Corrupt for that image; it would fail today. If you want parity, compare the raw u64 against max_pages inside validate only, one startup-time comparison, no allocation-path cost. Your call.

F4. Low, new. The validator's config precondition is not part of the production safety contract. Evidence: validate_proof requires config_well_formed at validation.rs:99, but the attach doc at page_pool.rs:155-159 only mentions saved-format checking. Both production configs are constants, wasm.rs:20-28 and memory.rs:274-281, and are well formed, so no bug. Suggested hygiene: a const assertion of well-formedness on POOL_CONFIG and the native config, zero runtime cost.

F5. Low, gate hygiene. Three small points. The Kani gate at kani.py:221-233 allows any non-cover check to be Unreachable, so a harness with one reachable assertion and other unreachable ones passes; physical.md:73-75 shows this already happens. Per-harness allow-lists would make unreachable assertions explicit. The runner prints PASS for research suites such as buddy-coalesce-research if they ever finish; only contracts gets the EXPERIMENTAL_UNQUALIFIED label at kani.py:340-342. The original-method call audit at creusot.py:209-212 is regex-based and would not see a call spelled through a reborrow; it is defensive against accidents, not adversaries, which is fine, but worth knowing.

F6. Informational, already documented. The Verus authority proofs are not connected to any source proof and do not need to be. The page-pool Kani history crate and the function-contract demos are correctly excluded from qualified claims.

Trusted leaves, next-proof plan, and what I could not establish

Trusted dependency assessment. The physical leaves are minimal in the sense that each names exactly one production primitive and nothing else: pages, grow_to, control_ptr, pointer add, write_bytes, zero, and the two raw word accessors whose bodies are audited byte-for-byte against production. They are jointly satisfiable; the natural model assigns the control-page word sequence plus a count, and every clause is a frame or an update on that pair. Three caveats remain real: grow_pages promises key preservation, which is false for a relocating Vec and true for Wasm, so the native VecMemory path is outside the model as documented; the Perm<*const [u64]> requires alignment that Vec<u8> does not promise; and the opaque backing_key makes every Pool<WasmBacking> share one resource, which matches reality only because WasmBacking is zero-sized and growth is the pool's alone. I checked the last point: nothing else in the platform crate grows linear memory, including page_reservation.rs.

Next producers, ranked, with how each exports a usable fact.

  1. Export Store initialization from claim as in F1. Days of work, proof-only, Creusot. The exported fact is exactly the premise Nyxus's Pages::allocate_pages needs.
  2. Redirect worker 1 to a single named constructor at ensure_pool. Do not try to model Wasm memory globally. Add one trusted admit_wasm_control_page producing a PhysicalState bound to WasmBacking, with page_count == memory.size - 256, callable once. Then prove ensure_pool as the first real client: the fresh branch composes initialize_proof, the lifecycle lemma and install_store_proof; the KEEP branch composes installed_proof and recover_runtime_proof. Staging wasm.rs for Creusot requires the same intrinsic substitution the platform Kani runner already uses, documented as a model bridge whose qualification is the existing platform suite. The exported theorem, "after ensure_pool returns Ok the image is saved_valid and no Runtime run is live", is what RuntimePages and Nyxus consume. For the native path, add a second constructor and a relocation-tolerant grow_pages that returns a fresh permission with equal words, which is how the production body already behaves by re-reading control_ptr.
  3. Adapter arithmetic for RuntimePages at wasm.rs:476-506 and Nyxus Pages at allocator.rs:374-400. Kani, cheap. Derive the PageSource obligations from claim's exported alignment clause plus CONTROL_BASE == origin * WASM_PAGE, and prove release maps back to the exact run.
  4. Redirect worker 2 away from closing general coalescing in Kani. The split fragment already has an exact-effect theorem in buddy_split.rs:33-65. Prove the forest invariant, "each cell has at most one free ancestor and the reserved cells have none", as pure lemmas over [u64; 8] in Creusot with bitvectors, one for the split effect and one for the seven-step coalesce loop, and bridge to the Kani exact-effect result with the same explicit gate pattern as the equality bridge. Then shadow set_free, clear_free, acquire_span and release_span with Perm<*mut PageHeader> and a PageSource TCB in the style of provider.rs. The live-span set must be ghost state at that level; the bitmap alone cannot carry it.
  5. Claim exhaustion iff. The argument is short: if an aligned free run of the requested count exists within committed pages at or after the cursor, the cursor never passes it and growth is not needed. This closes a documented gap and strengthens the failure-preservation story.
  6. Verus authority: either prove saved_valid refines a run sequence, or leave it shelved. It costs nothing today.

What I could not establish. I did not run any solver, so I cannot confirm the 148 reports, the Kani results, or that the frontend patches are sound; the patch fixtures are plausible and fail-closed in design. I could not find an inconsistency in the TCB, and I could not find a bug in the five lowest product files by reading. The stated gaps on native relocation, empty provisioning, payload semantics, global span and slot ownership, arbitrary histories and Wasm/IC correspondence are accurate as written.