Design direction
The current experimental alpha is a custom C++ engine with Python CRUD and explicit transactions. It is not a SQLite wrapper. SQL and the ORM are later planned work, not current capabilities.
One semantic execution core
Section titled “One semantic execution core”The hypothesis is two entry paths—direct SQL and structured ORM operations—feeding one execution core. The ORM should not generate SQL only for RefPot to parse the same operation back again. Both paths must apply the same validation, constraints, transaction semantics, and recovery behavior.
Correctness and explicit guarantees first
Section titled “Correctness and explicit guarantees first”- Engine first: establish correctness and performance before building the ORM.
- One semantic boundary: no direct path should bypass validation or constraints.
- Explicit guarantees: internal plan selection must not silently weaken durability, isolation, transaction boundaries, or result semantics.
- Bounded maintenance: include checkpointing, reclamation, and recovery debt in design and measurement.
- Simple public use: keep storage layout, encoding, and routing private unless users need an operational control.
Open decisions
Section titled “Open decisions”Language, storage format, index structure, isolation model, SQL compatibility scope, and supported values remain decisions to earn through coherent experiments. A native-language rewrite alone is not a differentiator. No SQLite SQL, file-format, or C API compatibility is promised.
Candidate mechanisms include cache-aware separated key/value layouts, occupancy-dependent routing, preallocated bounded logical redo, incremental dirty-region checkpoints, and mutation-density-aware encoding. These are hypotheses, not selected architecture. The page-image prototype lost against tuned SQLite; it does not rule out a full copy-on-write tree/root-swap design. A Rust rewrite is a permitted option, not proof of performance.
Preview and roadmap
Section titled “Preview and roadmap”The package preview implements CRUD, transactions and snapshot/WAL persistence, with row-local change sets for staging, nonallocating publication after redo synchronization, and row-local replay. Recovery qualification remains in progress. A six-cell actual-package screen exists, but three cells remain below 2× and the overall SQLite goal is unmet; its source revisions are represented by wheels labeled 0.1.1, not release artifacts built from 0.1.2 metadata. See the roadmap for open qualification gates and the performance method for evidence requirements.