Skip to content

Design notes

These are the engineering records behind the native engines and the maintainability work. They are kept as written, in their original language, because other documents, tests and the changelog cite them; read them as the reasoning at the time a decision was made, and the API and support matrix as the current contract.

Two numbering schemes

P0–P3 means two different things in this repository. Always check which scheme a document is using.

Maintainability refactor Native-core notes
P0 C ABI contract, cross-language manifest, engine.cu split pure-Python baseline
P1 Python backend capability contract Rust CPU engine
P2 Rust module split CUDA whole-batch engine

Native core

Dispatch and maintainability

Repository-level working rules, including the invariants that break silently, are in AGENTS.md.