mars

Rust Core Full Conversion Boundary

This note records the current Phase 0 inventory for the Rust core full conversion track. It is the working boundary map for the remaining Python-owned core behavior.

Current Python-Owned Core Behavior

Python still owns these core-adjacent responsibilities:

Rust Ownership Boundary

Rust is already the authoritative owner for:

Python remains an adapter layer for:

Transitional Fallback Points

The deliberate fallback points that remain documented in code are:

These fallbacks are narrow and explicit. The removal condition for each one is fixture-backed parity from the Rust-owned path.

Host-Language Bridge Dependencies

The current R, Julia, Go, C#, and TypeScript bindings depend on the shared portable ModelSpec contract and the Rust CLI bridge, not on Python core execution. Their remaining Python dependency is mostly indirect: the portable spec schema and docs must stay stable while Rust becomes the authoritative core.

Evidence

The inventory above is supported by the current repository state in:

How This Track Uses the Boundary

Phase 1 should migrate remaining behavior only where the Rust boundary above is already proven or can be proved by fixtures. Phase 2 should remove any Python core behavior that is no longer needed once the Rust path is authoritative.