DCoop Master Constellation

The authoritative Tri-Lingual Architecture Runbook. Explore the publishing pipelines, native Rust optimizations, and isolated Python registries live at cooperlux.com.

WalkthroughsRunbooksQuestionnaires
NPM + PyPI

Orchestrator Gates

All orchestrators (Node.js CLIs) are routed through strictly enforced user-side security gates before pushing to the `devforge` GitHub Actions environment.

$ ./user-side-gates.sh ✅ Node dependencies built ✅ Virtual environment isolated ✅ PyPI modules verified
Rust / FFI

Native PyO3 Kernels

For CPU-bound data pipelines (like `sportsinvest` and `CADAM`), Rust kernels completely bypass the Python GIL to evaluate matrices natively via PyO3.

import rust_core # Executes at C-like speeds profit = rust_core.calculate_arbitrage(2.0, 2.1)
Rust / N-API

N-API Embedded

For high-throughput I/O pipelines (like `data-ingest` and `robot`), NAPI-RS binds Rust binary telemetry and parsers directly into the Node.js event loop.

const { parseCsv } = require('./parser'); // Deserializes gigabytes natively const data = parseCsv(payload);

Architecture Pipeline

The unified architecture is built upon a hybrid execution boundary that segregates orchestrators, libraries, and hardware interfaces.

1. Node.js (NPM)

Handles all networking, HTTP polling, orchestrating execution flows, and UI boundaries.

2. Python (PyPI)

Confined to strictly sandboxed `.venv` directories to handle data science and ML integrations exclusively.

3. Rust (Cargo)

Powers the most computationally intensive leaf nodes via memory-safe native FFI wrappers.