Paper I
Transformers: Pastry, Not Pie
Why stateless attention hits a structural wall on local hardware, and the O(1) persistent state, salience working memory, and episodic recall built to replace it in pure Rust.
The SCARLET Quadrilogy
Paper I
Why stateless attention hits a structural wall on local hardware, and the O(1) persistent state, salience working memory, and episodic recall built to replace it in pure Rust.
Paper II
Hardware isomorphism and cryptographic provenance: uniting dense ternary transformers, O(1) state-space models, recurrent depth, and block diffusion on one commodity-CPU substrate with MAC-sealed state.
Paper III
The bit-exact zero-multiply POPCNT origin identity, the DualTrit memory layout, SIMD dispatch across x86_64 and ARM64, and the invariants that keep ternary inference exact.
Paper IV
Dense ternary, O(1) state-space, recurrent depth, and block diffusion running on a single zero-multiply kernel — documenting the failure modes we hit and the invariants that tamed them.
About us
Why we exist
Modern AI assumes a rented data centre, a metered API, and an opaque remote runtime. We work on the opposite premise: that meaningful inference, memory, and agent execution should run on modest local hardware, offline by default, with every state transition inspectable and reversible.
Based in New Plymouth, Aotearoa New Zealand, Scarlet Sovereign Systems operates as an independent systems lab focused on ternary arithmetic, zero-dependency Rust kernels, fail-closed agent boundaries, and human-scale software.
How we work
Verification & parity notes · Cryptographic agent policy gates
Lab tools
To build and verify the kernels above, we wrote small, self-contained Rust tools for our own ongoing research. They are kept here quietly for anyone working on local-first systems.
Patching & Sandbox
Sandboxed, state-locked surgical file patching over MCP. Enforces canonical path containment, optimistic hash locks, dry-run validation, and atomic multi-file rollback.
Code Intelligence
Single Rust binary combining hybrid BM25 + dense search, vector-graph recall, interactive offline HTML repo graphs, symbol outlines, diff impact mapping, and surgical patching.
Policy Gate
A fail-closed MCP policy gate for AI agents: deny-by-default tool boundaries, argument-bound consent, and tamper-evident local audit logs.