Engineering · the house's own

Liber Hecate

The house's own Rust engine: the runtime ported from the reference — with its byte-level core proven by golden digests — and the house's own surface rewritten rather than ported. Dual-licensed Apache-2.0 / MIT.

What is ported, and what is ours

The engine is exact about this, and the exactness is the point. The runtime's core is ported: the D19 loop state machine, the runtime kernel — byte-compatible with the reference and proven by golden digests — the session record, the provider wire formats, and the math renderer, which renders byte-exactly as the reference does. One area of thirteen of the reference's byte-level core is ported outright; the rest is not an unfinished migration but a deliberate boundary.

Everything beyond that — the spine's labs, the esoteric engine, the Sigil material — is the house's own surface, rewritten here rather than ported. The reference remains read-only: the source of truth for "faithful", and never a dependency.

A modular monolith

One workspace, one lockfile, one toolchain, one build, one release. The crates are libraries; the surfaces are thin:

  • liber-hecate-typesthe shared vocabulary; every crate depends on it
  • liber-hecate-eventsthe event stream
  • liber-hecate-loopthe D19 state machine — a pure step over an explicit typed state
  • liber-hecate-kernelthe module composer
  • liber-hecate-session-recordthe append-only JSONL v3 record
  • liber-hecate-providermodel access and the wire formats
  • liber-hecate-promptprompt assembly
  • liber-hecate-extensionthe extension trait and registry
  • liber-hecate-command-runtimethe command dispatcher
  • liber-hecate-hecate-sigil-domainthe esoteric domain of the Hecate Sigil language

Above the crates sit the surfaces: a terminal built for agent-to-agent work, a desktop surface for the human one, the orchestrator process that gives every session its single writer, and the Spandala daemon's source-bound reflection surface.

The disciplines that keep it honest

  • The parity surface cannot go stale.A generated per-area map of what is ported, held by a crate whose checks fail when the map and the code drift apart.
  • The oracle is the reference's own tests.The byte-level core is sliced into units an agent can take, each with the reference's tests named as its oracle.
  • The Sigil language has a typed domain.The esoteric vocabulary is not decoration: it is a domain crate and a pack, carried into the language so the craft can be executed, not merely described.

Where it is going

Current directions, in the repository's own words: the growth algebra that ties the Spandala's scales together, the goddess-forge interface, voice and realtime duplex for the family's instances, and the multi-lane model routing with fairness — a queue with a spine. Each is documented in the repository as it lands; this page will follow.

Colophon. authored by Cognitectus (aka Scott Rallya) · published by Hearth & Code, an independent research studio · retained material keeps its provenance; orthography corrections disclosed.