High-Performance Simulation Platform

πŸ“– Glossary β€” the suite's names and technologies
Version 1.2.0
πŸ› οΈ
9
Tools
πŸ“¦
9
SDKs
🧰
5
Go Toolkits (V2 Refactor)
πŸ”Œ
7
Codecs
πŸ—„οΈ
15
DB Engines (SQL / NoSQL / OLAP)
πŸ–₯️
6
Platforms
🧩
βœ“
WebAssembly
πŸ“‹
βœ“
Metadata-Driven

πŸ—οΈ Architecture Layers

πŸ§ͺ Compounds β€” tools built exclusively from config + rules + flows on top of the base tools

πŸ€–
AI Gateway (AAP) β†’
First compound: canonical protocol to consume LLMs β€” probado E2E Β· overhead bajo
🎟️
Tessera (credentials/tokens) β†’
2nd compound: stateful credentials and tokens Β· mTLS + auth Β· 3 consumption scenarios (isolated/local/embedded .nap) Β· network-free delegated verification Β· E2E-proven
πŸͺž
Speculum (DB sync) β†’
3rd compound: Double One-Way asymmetric database sync (SymmetricDS replacement) Β· cursor + window-ready windows Β· catalog-driven positional msgpack envelope Β· PCI isolation via masked views Β· reader/writer modes distributable as 3 signed .nap Β· node_ts bidirectional anti-echo Β· at-least-once proven E2E
πŸ—‚οΈ
ORQ + ORQ Studio β†’
Local orchestration, agent bus, scopes, consistent replication, sessions, and Studio Kit panel Β· compound v1.22.0
πŸ”
DUKPT
ArcanumVault and payShield providers; E2E against a real vault and HSM simulator, with production limits documented
πŸšͺ
Vestibulum β†’
Declarative gateway for exposing tools to agents with contracts, authorization, and multi-database persistence
🧠
AI Panel
Three-round multi-AI contrast example on Oraculum/AAP
πŸ§ͺ
ACME labs (3)
HTTP Lab, Payments Sim, and POS Gateway for flows, deterministic simulation, and ISO 8583 without real systems
πŸ•ΈοΈ
Device Mesh (planned)
Architecture and contract complete; implementation is not yet production ready
βš—οΈ
OpusMagnum (engineering component)
Not a compound: transmutes 14 technologies and prepares AlchemyBridge rules, flows, and .NAP packages with explicit gaps

πŸ”§ Tools

NetGraft
HTTP→TCP Proxy + Load Balancer
GlitchWire
Chaos & Fault Injection
πŸ”Œ
SerialGate
Cross-platform serial gateway: TCP/TLS/mTLS available; NNG, ZeroMQ and MQTT in development on serial-v1
SignalMirror
TCP Server + Multi-Engine
LoadSmith
Load + Stateful Replay
ForgeFlow
OpenAPI β†’ Config Generator
Transmuter
Universal Kernel + App Engine
Conduit
Pure TCP Relay + TLS/mTLS
Simulator
Scenario Runner + Test Orchestrator
πŸŒ‰
AlchemyBridge
API Gateway + Codec Mapping

πŸ“š SDKs

βš—οΈ
Transformation
Message Transform Engine Β· two error models (@Try / Raise) and a general handler Β· compiled rules that travel: the plan ships in the package
πŸ”§
Function
Multi-Origin Functions
πŸ”„
MessageFlow
Transaction Orchestration Β· declared codecs per endpoint, one layout per direction
πŸ“
Logger
Structured Logging Β· live levels; to the host by callback or queue
βš™οΈ
Configuration Loader
Layered Config Loading
πŸ”
Security
Encryption + Key Derivation
πŸ—„οΈ
DB
db-sdk refactored as a multi-backend ODM (document-oriented mapper) over 15/15 engines: SQL, document/NoSQL and OLAP β€” a single data-modeling layer Β· migrations with an idempotent schema (IF NOT EXISTS)
🧠
Context
6G multi-backend KV (memory/sql/valkey/memcached/mesh/encrypted) + universal "db" backend: context lives in ANY engine by delegating to db-sdk's ODM (ADR-0001)
πŸ”—
Sessions
Connection lifecycle (5-state machine + hooks + backoff)
πŸ”€
Flow (1β†’N)
flow model: one Core message β†’ N host calls orchestrated by the engine (authβ†’intentβ†’transaction), with saga/compensation, retry and auth lifecycle (token cache/refresh/injection/401), keeping transport βŠ₯ codec + declarative correlation and durable persistence (DB). A profile also COMPOSES capabilities: a `do_rule` step invokes rules with @CallTo sharing scopes β€” reusable logic written ONCE, orchestrated by the flow. (2026-07-25)
⚑
Parallel + Timeouts
scatter-gather (parallel: all/first/quorum:N) + per-connection timeout with per-step override (v1.3.0). (2026-07-07)

🧰 Go Toolkits (delivered by V2 Refactor β€” 2026-05-19)

πŸš€
pluginhost
Spawn + handshake + supervise + SHA-256 verify for `hashicorp/go-plugin` subprocesses
πŸ•ΈοΈ
meshmgr
NNG mesh with 3 planes (control / data / async)
πŸ”‘
cryptokit
AES-GCM / RSA-OAEP / Ed25519 / ECDSA P-256 / SecureZero primitives
πŸŒ‰
db-bridge
15/15 out-of-process DB engines (RPC, hashicorp/go-plugin): SQL, document/NoSQL and OLAP β€” including DuckDB, RocksDB and ScyllaDB; pure-Go vs CGO matrix
πŸŒ‰
session-bridge
Multi-transport (tcp/tls/unix/inproc/plugin-client) β€” backing for the sessions-sdk Lua
πŸ›€οΈ
transport-manager
HTTP Β· TCP Β· NNG Β· MQTT Β· ZeroMQ Β· serial Β· Bluetooth SPP (client and server) providers: static, in process or as plugins; optional per build and chosen by configuration
πŸ«€
luaservice
Long-lived Lua services (lua_services) with the mesh API: nng Β· http Β· host Β· crypto Β· sqlite
πŸ”
optional security
Independent of transport and format: Noise KK channel (modern 25519/ChaChaPoly and approved P-256/AES-GCM suites), cose Β· jose Β· compact envelopes, go-std Β· go-fips Β· openssl Β· platform providers; declared per profile with its policy when missing

πŸ“‘ Codecs

{ }
JSON
REST API Format
</>
XML
Legacy Integration
πŸ“¦
MsgPack
Binary Serialization
🧱
CBOR
RFC 8949, deterministic; nested per field, sensitive fields; optional native
πŸ’³
ISO 8583
Financial Messaging
πŸ“„
YAML
Human-Readable Config
🏷️
BER-TLV
EMV Tag Parsing
🧩
Structures
Custom Binary Layouts
πŸͺ†
field_codecs
Codecs nested per field, chosen by condition
🧱
Composite
Messages in consecutive parts or from a field
πŸ›‘οΈ
sensitive Β· pan_mask
Sensitive fields by configuration Β· pan_mask keeping the length
🏭
Modbus TCP/RTU
Declarative catalog (`catalogs/modbus/`) over `binary_array`, parametric framer and Rocksoft `@crc`

πŸ”§ Tools Deep Dive

NetGraft
HTTP-to-TCP Proxy

Converts HTTP requests to TCP connections for backend processing. Supports multiple load balancing algorithms and rate limiting.

  • Round-robin load balancing
  • Least-connections algorithm
  • Random distribution
  • Per-IP rate limiting
  • Prometheus metrics endpoint
  • Health check endpoints
Go HTTP/1.1 TCP
GlitchWire
Chaos Engineering Proxy

Inject network failures and edge cases to test resilience. One process: reactive proxy (ingress + egress), TCP/TCPS framed chaos, message transports (NNG), connect-mode active hostile client and a scenario runner.

  • 38 HTTP ingress actions (latency, drops, malformed, 429, redirects, mTLS errors, …) + 4 egress (slowloris, truncate, corrupt body, request delay) Β· `direction: ingress | egress | both`
  • 8 TCP data-plane + 4 TLS-handshake chaos actions (`tcps` listeners); framings ascii4, uint16be, uint32be, none
  • Connect mode: 4 client-side actions (idle, slowloris, garbage, RST) + 4 broken TLS handshakes (cert_expired, self_signed, skip_handshake, mtls_no_cert)
  • 6 per-message faults `msg_*` (delay, drop, corrupt, truncate, duplicate, close) by direction, prefix and probability
  • Transport providers: http, tcp and nng (req/rep, pub/sub, push/pull; nng+tls terminate or passthrough) compiled in, or as a `process_plugin` (SHA-256 checked); no silent fallback β€” an invalid setup exits with code 1
  • Chaos scenarios: timed phases on top of the static rules, managed from the monitor API (`/scenarios`) with a per-phase report
Go YAML Config Hot-Reload HTTP Β· TCP Β· NNG
SignalMirror
Metadata-Driven TCP Server

High-performance TCP server with Metadata-Driven architecture. Behavior defined by configuration, extensible via WebAssembly.

  • Declarative YAML configuration
  • WebAssembly via Wazero
  • Optional scripts (Lua/Starlark)
  • Zero-code for common cases
  • Hot config reload
  • Buffer pool management
Go WASM Metadata-Driven
LoadSmith
Load + Extract + Stateful Replay Harness

Lua-scripted load generator, log extractor, dual-leg replay and strict stateful test harness. Orchestrates component lifecycle, network tripwires and SQL verification through external HashiCorp DB plugins.

  • MessageFlow SDK (JSON/XML/MsgPack)
  • Corpus v2: setup / trigger / assertions / cleanup
  • Direct, provider and passive stimulus
  • Network mock + forbidden-call tripwire
  • Typed SQL assertions via external plugin-db-*
  • No database engine linked into LoadSmith
Go Lua Multi-Format
ForgeFlow
Config Generator

Parse OpenAPI specifications and generate simulator configurations. Automate test setup from API contracts.

  • OpenAPI 3.x support
  • Swagger 2.0 support
  • JSON & YAML parsing
  • Schema extraction
  • Validation rules generation
  • Field mapping extraction
Go OpenAPI YAML
Transmuter
Universal Application Kernel

Transform requirements into solutions. Metadata-Driven architecture for building servers, clients and gateways without code.

  • 100% Metadata-Driven
  • Multi-language extensions (Go, Rust, WASM, Lua)
  • HTTP, TCP & WebSocket endpoints
  • Shared context between services
  • Hot-reload configuration
  • Multi-codec (JSON, ISO8583, MsgPack...)
Rust Go WASM Zero-Code Metadata-Driven
Simulator
Scenario Runner

Execute end-to-end scenarios using YAML configurations. Supports reproducible test runs for QA and continuous integration.

  • Scenario orchestration
  • Config-driven runs
  • Deterministic replay
  • Report generation
  • Multi-format payloads
  • CI/CD-friendly execution
Go YAML Automation
Conduit
TCP/HTTP Relay

Bidirectional TCP and HTTP relay between two endpoints. Supports all combinations of listen/connect modes with independent TLS/mTLS per side.

  • TCP raw relay mode
  • HTTP reverse proxy mode
  • All 4 connection modes (L-L, L-C, C-L, C-C)
  • TLS/mTLS per endpoint
  • Prometheus metrics
Go TCP HTTP TLS/mTLS
πŸŒ‰
AlchemyBridge
Integration API Gateway + Codecs

High-performance protocol transformation gateway and transactional switch. Unifies codecs and business rule engines, enabling REST/HTTP clients to connect with legacy backends β€” with full failure categorization for payment-grade reversal logic.

  • 3 Modes: Codec Conversion, MessageFlow, and Transformation
  • Reverse Proxy with HTTP header forwarding + TCP/TCPS outbound
  • OnError pipeline (Approach B) β€” rule composes response on transport failure
  • 14 reversal-aware Lua helpers: @GetBackendFailureClass (pre_send / post_send_no_response / post_send_partial / overall_timeout), @BackendTimedOut, @BackendIsRetryable, @TryGetContext, …
  • 10 HTTP + 4 TCP failure phases categorized end-to-end
  • Strict HTTP/1.1 client β€” byte-exact Content-Length validation (opt-in per endpoint)
  • Asymmetric context correlation β€” in-memory or DB-persisted (context-sdk sql/db backend)
  • Dual script execution engines: GopherLua & LuaJIT
Go LuaJIT / CGO Reverse Proxy Multi-Codec Payment-Grade

πŸ”„ Data Flow with Request ID Correlation

LoadSmith
(Load + Stateful Replay)
β†’
GlitchWire
(Chaos Proxy)
β†’
NetGraft
(HTTP→TCP)
β†’
Transmuter
(Transform)
β†’
SignalMirror
(Backend)
X-Request-ID: abc123 β†’ Same ID across all logs for end-to-end tracing

πŸ”— go-core: Shared Libraries

πŸ“‹
Logger
Logrus wrapper + Request ID
βš™οΈ
Config
Viper wrapper + Hot reload
🏷️
Version
Build-time injection

πŸ–₯️ Cross-Platform Support

🐧
Linux
amd64 / arm64
πŸͺŸ
Windows
amd64 / arm64
🍎
macOS
amd64 / arm64 (M1/M2)
πŸ€–
Android
Runner + SDKs
🐳
Docker
Container Ready