Assurance and verifier frontier — next-batch research
Research date: 5 November 2026. Inspected factory
87b7233794da334e03f8fa0b714a9b3cd902efa6, SDK
409a7176096c06c2dd9b7e491e8dc630951e83b4. This is source research and two
pure Python admission probes, with no compiler, verifier, SMT solver, installation
or shared-cache change. Only this authored report changes the checkout.
Status
The recorded core result remains 180 reports / 657 goals / 2,615 closed
leaves at f4c23a0a, with eleven core and seven resource controls. The latest
recorded tool suite is 436 tests at 1ddefde2. These are historical executed
qualifications, not results rerun by this research. Later diagnostic-only
replays do not refresh old solver or sealed-receipt identities.
The strongest new actionable finding is inconsistent provenance admission in
older runners. A mocked-backend probe of the actual physical.run function
accepts a replaced inputs.json. It does not falsify an allocator theorem or
establish that historical outputs were changed. A second probe illustrates the
already-documented manual helper-selection obligation; no current omitted
helper assertion was found in this audit.
| Boundary | What exists | Remaining trust or proof gap |
|---|---|---|
| Creusot source correspondence | Strict erasure, eight pinned frontend patches, native effect-order witnesses, source/body audits | Rust/THIR/frontend/Why3 correctness; trusted primitives bypass erasure; supported syntax needs explicit qualification |
| Kani direct checks | Actual staged source, complete registered assertions/covers, pinned tool tree and native target, exact negative outcomes | Rust-to-GOTO/CBMC memory-model correctness; backend safety-property generation; admitted harness premises |
| Deductive contracts | Actual page-pool and allocator shadows, ownership-aware clients, fixed-snapshot universal lifting | Concrete physical resources and valid initial embeddings; partial-correctness and target limits |
| Verus models | Separate word/authority, partition and global-bin models | A model transition is not an actual allocator transition; no implicit cross-verifier theorem import |
| Producer/consumer bridge | Fresh Kani results, compiler-derived comparison checks, source/report/staging/tool tickets | Six comparison plus numeric/primitive imports remain explicit trust leaves, not a shared proof kernel |
| Host admission | New sealed receipts and exact diagnostic guards | Some old cohorts lack the same receipt/checkout protection; checks do not prove a hostile host or every possible diagnostic format safe |
Config anchors: Creusot:1–6,
Kani:1–7 and
Verus:1–8. The normal proof target is native
x86_64-unknown-linux-gnu. Target compilation and isolated actual Wasm witnesses
do not prove native-to-Wasm memory, provenance or System API refinement.
Concrete remaining admission gap
These older runners check source/staged content but do not authenticate the original receipt bytes or recheck both checkout identities/statuses:
| Runner | Actual scope | Relevant source |
|---|---|---|
| physical.py | Raw read/write bodies in native owned windows | metadata 75–81; admission 93–101 |
| platform_providers.py | Native provider bodies with two scalar profile contexts | metadata 95–100; admission 112–120 |
| stable_capacity.py | Qualified direct/adapter capacity suites; contract experiments remain unqualified | metadata 75–85; admission 101–119 |
| stable_bytes.py | Earlier finite native adapter-byte suite | metadata 70–78; admission 89–95 |
| platform_targets.py | Explicitly compilation-only target check | metadata 59–65; admission 77–82 |
The first four retain manifest, tool and complete-report checks; those do not
read inputs.json back. Their staged-content hashes also permit an identical-byte
symlink replacement. The target compiler's initial binary hash is recorded but
not rechecked after compilation. These are provenance consistency gaps, not
evidence of a different executed algorithm.
There is a smaller adjacent inconsistency: buddy_induction.py:66–91 seals metadata, checks regular staging and HEADs, and requires a clean SDK, but not a clean factory. global_bins.py:148–155 likewise checks source, HEADs and SDK cleanliness without the newer clean-factory policy. The separate buddy partition model:107–155 authenticates source-step outputs but not its own original model receipt or factory HEAD after proof search. Keep this separate model classified separately.
Minimal pure witness
The successful probe ran physical.run('physical', 1) using the real source
extractor, source hashes, staging and report validator. The verifier and installed
tool/environment access were replaced with test doubles. The backend changed
only the metadata and returned a complete source-derived synthetic report:
def simulated(argv, **kwargs):
if Path(argv[0]).name != 'kani':
return original_subprocess_run(argv, **kwargs) # preserve real Git reads
output = Path(argv[1]).parent
(output / 'inputs.json').write_text('{"factory":"changed-after-capture"}\n')
(output / 'result.json').write_text(json.dumps(test_kani.report('physical')))
return SimpleNamespace(returncode=0)
The fixture registers physical.EXPECTED, patches kani.TEMP to a temporary
directory, kani.environment to {}, kani_install.capture/verify to test
doubles, and subprocess.run to the function above. physical.run returns
normally and the changed receipt remains. No proof qualification follows from
this test double. Initial fixture attempts were corrected to forward Git calls
and avoid requiring an installation; their two misplaced synthetic files were
identified by their contents and removed. All successful-probe outputs were
temporary and removed. No actual historical receipt was inspected or changed.
Historical source/tool/staging/report checks and recorded manual source reviews still stand. This audit cannot retrospectively establish every manual receipt check, nor invalidate a past theorem merely because an old runner lacks one.
Manual helper selection remains a bounded authoring obligation
kani_obligations.py:179–203 derives
obligations only from each manifest's harness/helper selectors.
Lines 221–239 require those assertions and all covers, but allow unrelated
compiler safety properties. kani.py:301–313 permits
Unreachable for nonrequired noncover checks.
A pure fixture with a correctly pinned file containing
harness() { helper(); assert!(true); } and
helper() { assert!(false); }, but only the harness selector, admits synthetic
Success for the harness and Unreachable for the helper. This illustrates a
bad future manifest; it is not a counterexample to a current checked proof.
The completed batch-six audit separately found no unregistered authored macro
assertions in its 465 emitted instances/23 retained populations.
The smallest improvement is to recognize authored macro locations throughout pinned proof files and reject emitted authored assertion properties omitted from the manifest, preserving explicit constant-specialization exclusions. This can catch missed helper selectors without pretending to reconstruct the whole Rust call graph. It cannot detect a backend that emits no property for a missing call; that remains a distinct compiler/reachability obligation.
The 20 original files / 25 unproved goals are not one priority
creusot.py:49–62 and creusot_report.py:386–447 classify these files explicitly, outside the checked goal set:
| Original generated group | Files / goals | Actual downstream significance |
|---|---|---|
Clone for Config/Owner/PoolError/Run |
4 / 4 | Original derived bodies; checked page-pool/provider proof sources contain no .clone() call |
Debug formatting for those types |
4 / 8 | Formatting and imported formatting helpers; no allocator ownership theorem depends on proving these |
Eq::assert_fields_are_eq |
4 / 4 | Derived marker helpers; not an admitted allocator algorithm |
PartialEq::eq |
4 / 5 | Includes the Config→Option<Run> imported goal; current equality consumers use a separately authenticated bridge |
PartialEq::eq__refines |
4 / 4 | Generated refinement goals, not silently counted as closed |
The checked-Coma audit rejects unapproved owned-type program helpers and dynamic derived constructors (creusot_report.py:345–359). Checked Owner/Run/Option comparisons instead use explicit trusted wrappers plus fresh native proofs and compiler/model correspondence: equality.rs:5–33 and equality_bridge.py:232–300. Thus expanding to a new actual derived consumer needs a narrow checked contract; proving Debug merely to reduce the unproved-goal count is low leverage.
Primary-source tool research
Retrieved 5 November 2026; these are upstream statements, not newly qualified features of our binaries or custom frontend patches.
- The Kani 0.68 release and Creusot 0.14 release match the locally pinned release versions. The Kani release records an OffsetModel pointer-encoding fix; no exact relationship to our mixed-owner LINK discrepancy or an applicable fix was established by this research.
- Kani contract documentation
still labels function contracts experimental, warns that harness assumptions
can invalidate contract coverage, and identifies panicking
modifiesexpressions as an unsoundness risk. These reinforce keeping our existing warning-producing contract experiments unqualified. - Kani loop contracts document unchecked specification side effects, alias-based modifies inference, and limitations/bugs in decreases expressions and tuple measures. A source loop-contract feature is not an automatic replacement for the already checked Creusot split/coalesce induction.
- Creusot erasure documentation describes syntactic body correspondence, trusted-function bypass and the default warning behavior for some cross-crate checks. Our strict error flag, existing source audits and bad-body/native-effect controls remain necessary.
No tool upgrade or publishing of the local discrepancy was performed. An upstream issue/release with similar words is not evidence that our exact native source, representation or model has been repaired.
Ranked next-batch tasks
Localize the known Kani representation failure before broader raw-memory imports. Preserve the six-client true/false and two-native-compiler matrix in slab_release_representation.py:16–65,128–175. Compare the same unchanged minimal Rust body at MIR/GOTO/CBMC lowering boundaries; vary one owner representation at a time. Keep normal safety/reachability checks, exact counterexample identities and explicit unqualified status. Acceptance is a reviewed root cause and a separately qualified repair or demonstrably unaffected operation fragment, not merely another passing layout.
Bring the old cohort to the existing receipt policy. Reuse run_receipt.py:14–72; avoid a new framework. Start with the four source-proof runners above, then the compilation-only profile and the partial factory-clean checks. Positive tests preserve current results; negatives replace/delete/symlink metadata/staging, move clean HEADs, dirty unrelated source and change compiler identity. Commit source before exact scoped positive/control replays; no need to rerun unrelated SMT goals.
Reject emitted authored assertions missing from helper selectors. Add a file-wide macro-location inventory and explicit reviewed exclusions on top of the current lexer. Test the omitted-helper witness, unknown emitted property, wrong location, unreachable required assertion and each constant-pruned case. Retain separate treatment for compiler overflow/index checks and no-call panic sentinels. Advertise emitted-property completeness only, not a Rust call graph.
Qualify only frontend/contract features required by the next ownership consumer. Derive its concrete source syntax and primitive imports first; add a source-preserving erasure fixture, noncommuting native effect witness, changed-body rejection and exact report inventory for that feature. Reuse current Creusot permissions/induction where feasible. Restore Kani contracts only after reproducing and resolving their instrumentation warning and all contract purity/frame/coverage obligations, not as a shortcut around them.
Make composition obligations reviewable before adding more imports. Add a small maintained producer→consumer checklist beside existing scope notes: target/compiler/model, real owner construction, preconditions, postconditions, assumed primitive, source identity and explicit negative. Use existing runner commands and receipts; do not create a second proof registry or equate 436 Python tests with a full SMT portfolio. Treat native→Wasm/IC and Verus-model→actual-source links as independent research/qualification jobs.
Tasks 1–3 can run in separate worktrees with one owner per mutable tool/cache; tasks 4–5 follow the concrete ownership frontier chosen by the other audits. All proposed machinery is verification/build-time only. It adds no product metadata, runtime ownership table, rollback journal or per-allocation check.