Documentation Menu · Networking, Targets & Migration

Networking, Targets & Migration

Native TLS 1.3 serving over RIO/epoll/kqueue, zero-LLVM codegen, SQL/OpenAPI absorption, shadow cutover, and 31 MCP tools.

Hector ships directly into real production environments—as a standalone TLS 1.3 microservice, a zero-import WebAssembly core, an ABI v16 host library, or a governed multi-agent room.

SINGLE SOURCE .hector + Absorb ZERO-LLVM W^X x64·A64·RV64·Wasm DELIVERY TLS 1.3 · ABI v16 ROOM v2 31 MCP Tools RIO / epoll / kqueue · SHA-256 Treaty Shadow Gate · 7 host languages + Ed25519 .orp bundles

1. OS-Native Serving (hector serve)

  • Platform Transports: Windows Registered I/O (RIO), macOS/BSD kqueue, Linux epoll, and portable fallback over TCP/IPv4/IPv6/UDS.
  • Fail-Closed Security: TLS 1.3 + mTLS (ClientCertPolicy), mandatory auth on non-loopback binds, Bearer auth, OriginPolicy, Idempotency-Key, SSE streaming, /why O(1), /healthz, /readyz, and /metrics.

2. Zero-LLVM Codegen & ABI v16

TargetBackendHighlights
x86-64 Nativemachine/nativeCopy-and-Patch W^X stencils (128-bit StencilId), AVX2 dense lowering, 11–51 ms cold builds
AArch64 / RISC-V 64machine/a64, rv64Pure-Rust register assemblers sharing linear-scan homes::allocate (QEMU CI verified)
WebAssemblymachine/wasmZero-import structured control-flow Wasm32 + optional linear memory bounds
Minimal / Host Libsminimal / interop~160 KB #![no_std] static loaders; 7 host dialects with generational hx_lease handles

3. Legacy Absorption, Treaties & Shadow Cutover

  • hector absorb: Converts PostgreSQL/SQL DDL, OpenAPI 3.x JSON, NDJSON, and CSV traces into clean .hector definitions.
  • Semantic Treaties & Shadow Gate: Hashes types, authority, and freshness windows (treaty.rs), then replays legacy HTTP/event streams dual-run against compiled Hector before production switch-over.

4. Crash-Safe Multi-Agent Engineering (31 MCP Tools)

Agents edit through semantic lenses in locked room format v2 (File::try_lock) using 29 tools (workspace, propose, whynot, whatif, treaty, absorb, shadow, etc.), while the human author keeps exclusive admit and reject gating.