This guide walks you through setting up and running NOVA V2 (The Compute Ranch) on your local development machine with zero external databases or third-party cloud credentials.
- Rust: Version
>= 1.80(stable) - Git
- Optional:
curlandjqfor testing HTTP endpoints
git clone git@github.com:CardSorting/NOVAV2.git nova-v2
cd nova-v2
cargo buildVerify your local environment by running the comprehensive test suite:
cargo testAll 56 unit, integration, and regression tests should pass in under 300ms.
cargo run --bin nova-v2NOVA V2 will start up on http://127.0.0.1:3001. On launch, it will:
- Automatically scan for existing persistent shards in
~/.nova/shards.json. - Discover candidate desktop credentials from
~/.codex/auth.jsonor local environments. - Serve the interactive dashboard cockpit at
http://localhost:3001/dashboard(or/).
NOVA V2 includes the nova-ctl operator utility for frictionless shard management:
# Auto-detects local ~/.codex/auth.json, probes models, and enrolls into fleet
./target/debug/nova_ctl onboard --id shard_primary_0./target/debug/nova_ctl auth login --interactive# View active shards, plan tiers, TTLs, and quarantine status
./target/debug/nova_ctl auth status
# Deeply decode JWT claims, plan tier, and SHA-256 fingerprint
./target/debug/nova_ctl auth inspect# Synchronous completion
./target/debug/nova_ctl test -m gpt-5.6-terra -p "Why is Rust ideal for high-throughput inference relays?"
# Real-time streamed completion with TTFT benchmarking
./target/debug/nova_ctl test -m gpt-5.6-terra -p "Name three prominent stars in Orion." --stream
# Image generation
./target/debug/nova_ctl image -m dall-e-3 -p "A cybernetic laboratory in Tokyo at night"curl -X POST http://localhost:3001/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.6-terra",
"messages": [{"role": "user", "content": "Explain quantum tunneling."}],
"stream": true
}'# Run with debug logging
RUST_LOG=debug cargo run --bin nova-v2
# Run native documentation freshness gate
./scripts/lint-docs.sh
# Prune dead or quarantined shards from sovereign storage
./target/debug/nova_ctl auth prune
# Run performance benchmark harness
cargo run --bin benchmark