|
| 1 | +--- |
| 2 | +name: QuanuX Topology Core |
| 3 | +description: Absolute domain topology of the QuanuX ecosystem defining Habitats, Nests, and the 5 Tier System. |
| 4 | +--- |
| 5 | +# QuanuX Topology Core Mandate |
| 6 | + |
| 7 | +> **IMMORTAL GUIDANCE**: You must check which Tier a Nest belongs to before writing a single line of code. |
| 8 | +
|
| 9 | +## Absolute Nomenclature |
| 10 | +- **Habitat**: The physical or virtual OS boundary (e.g., your local desktop, an Ubuntu VM, a bare-metal server). It is the conditioned soil. |
| 11 | +- **Nest**: The sovereign logic process deployed into the Habitat (e.g., trading engines, AI models, observation layers). "Payload" is deprecated. A Habitat can host one massive Nest or countless microscopic Nests. |
| 12 | + |
| 13 | +## The QuanuX Tier System (The Topological Law) |
| 14 | + |
| 15 | +### Tier 1: The Server (Command Center) |
| 16 | +- **Identity:** The orchestrator and heart of the system. |
| 17 | +- **Environment:** Remote cloud server, local workstation, or desktop. |
| 18 | +- **Tech Stack:** Hosts web servers, APIs, strategy repositories, broker APIs. Runs the `quanuxctl` CLI (Python). Communicates to the cluster via Python NATS clients (`nats-py`). |
| 19 | +- **Rule:** It does not execute kinetic trades. It deploys Nests to Habitats. |
| 20 | + |
| 21 | +### Tier 2: The Polyglot Nests (Flexibility & Intelligence) |
| 22 | +- **Identity:** AI strategy labs, observation layers, and standard API execution (TopstepX, IBKR TWS). |
| 23 | +- **Environment:** Extremely flexible. Can be deployed remotely or run locally on the Tier 1 desktop without strict OS conditioning. |
| 24 | +- **Tech Stack:** C++, Python, Cython, Golang. Heavily integrated with Anaconda. |
| 25 | +- **Networking Protocol:** Uses CNATS (`libnats-c`) if compiled in C++ for cluster communication. Uses ZMQ (ZeroMQ) strictly as a lightweight, zero-overhead replacement for CNATS *only* for pure local, single-machine installations. |
| 26 | + |
| 27 | +### Tier 3: Bare-Metal Nests (The 59ns Compute Engine) |
| 28 | +- **Identity:** Unforgiving speed. High-speed statistics, order book building. |
| 29 | +- **Environment:** Bare-metal Linux, likely exchange colocation. Strictly conditioned Habitats (isolated cores, NUMA tuning). |
| 30 | +- **Tech Stack:** Pure, hyper-optimized C++. |
| 31 | +- **Networking Protocol:** Strictly CNATS (`libnats-c`) for telemetry and signaling. Uses standard Linux kernel networking (`epoll`, `io_uring`) for market data/execution. It does not cross the threshold into the physical NIC hardware. |
| 32 | +- **RESTRICTION:** You are EXPLICITLY FORBIDDEN from attempting to install Python/Anaconda on Tier 3 Habitats. |
| 33 | + |
| 34 | +### Tier 4: The Fiber Nests (The Kinetic Edge) |
| 35 | +- **Identity:** Pure hardware warfare. Full HFT. |
| 36 | +- **Environment:** Exchange colocation only. Bare-metal Linux. |
| 37 | +- **Tech Stack:** Pure C++. |
| 38 | +- **Networking Protocol:** CNATS for telemetry. For execution, it completely abandons the Linux OS networking stack. It uses Solarflare network cards and requires kernel bypass technologies specifically `ef_vi` (raw DMA) or `onload`. |
| 39 | +- **RESTRICTION:** You are EXPLICITLY FORBIDDEN from attempting to install Python/Anaconda on Tier 4 Habitats. |
| 40 | + |
| 41 | +### Tier 5: The Global Swarm (Future Horizon) |
| 42 | +- **Identity:** Interconnected arbitrage across global data centers. |
| 43 | +- **Networking Protocol:** Microwave or millimeter-wave networks. |
0 commit comments