Documentation Menu · Networking, Targets & Migration
Advanced & Production Systems
Living Runtime & Neural MoEDurability, Time Travel & ProofsNetworking, Targets & MigrationReal-World AAA Workloads
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.
1. OS-Native Serving (hector serve)
- Platform Transports: Windows Registered I/O (
RIO), macOS/BSDkqueue, Linuxepoll, 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,/whyO(1),/healthz,/readyz, and/metrics.
2. Zero-LLVM Codegen & ABI v16
| Target | Backend | Highlights |
|---|---|---|
| x86-64 Native | machine/native | Copy-and-Patch W^X stencils (128-bit StencilId), AVX2 dense lowering, 11–51 ms cold builds |
| AArch64 / RISC-V 64 | machine/a64, rv64 | Pure-Rust register assemblers sharing linear-scan homes::allocate (QEMU CI verified) |
| WebAssembly | machine/wasm | Zero-import structured control-flow Wasm32 + optional linear memory bounds |
| Minimal / Host Libs | minimal / 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.hectordefinitions.- 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.