interplane.Get Omega
Read in your language

mobhub

Decentralized model and agent weights distribution network

Brought by drakestapleton

Unfinished: not checked yet

There is no published receipt of a rebuild from its source yet. What a receipt is

Get this repository
Git over HTTPS
git clone --no-checkout https://interplane.io/projects/mobhub/repo.git mobhub && git -C mobhub checkout --detach ae23cc7f34f6badfd81d19e27a103bedb80c6876
Source archive of ae23cc7f34f6badfd81d19e27a103bedb80c6876
Download ZIP · tar.gz

README.md

MobHub

Ultra-high-performance native Rust and Mojo rewrite of the MobHub faction operations engine for Torn City.

Replaces the legacy Node.js/Next.js implementation with compiled native binaries, embedded SQLite persistence, and sub-millisecond execution.

Architectural Highlights

  • Pure Native Execution: Built with native Rust (Axum, Tokio, SQLite) and Modular Mojo. Zero Node.js or Python daemons required.
  • MobPay Payout Engine: Deterministic calculation engine supporting flat-rate respect-based and pool-share hit-based models. Bit-for-bit validated against GanjaWarriors ranked war #40711 ground truth data. Zero rounding drift reconciliation.
  • Disbursement & Money-Log Reconciliation: Parses Torn depositFunds money-log news entries (with automatic OC-cut exclusion) and matches them against payout register rows to record and confirm paid status.
  • MobWorth Valuation: Instant faction net worth calculations parsing spendable vault funds and armory holdings.
  • MobGym Mojo Kernel: High-speed numerical calculations implementing Vladar Training Formula V2.0 for single-train and multi-train sessions with happy decay.
  • Hardware TPM Key Vault: Dynamic in-memory credential resolution (atlas-vault get TORN_API_KEY). Zero plaintext credentials stored on disk.
  • Embedded Web Dashboard: Self-contained web UI served directly from Axum with zero external CDN or npm package dependencies.

Installation and Build

Prerequisites

  • Rust toolchain (1.80+)
  • Modular Mojo (for gym trajectory compilation)
  • SQLite3

Compilation

cargo build --release

Compiled binary will be available at target/release/mobhub.

CLI Usage

System Diagnostics

./target/release/mobhub doctor

TPM Vault Verification

./target/release/mobhub test-vault

Calculate War Payout

./target/release/mobhub payout --cache 349499999 --model flat_rate

Calculate Faction Valuation

./target/release/mobhub valuation --respect 100000 --rate 180284 --armory 50000000 --cash 25000000

Simulate Gym Training Session

./target/release/mobhub gym --stat strength --start-stat 1000000 --happy 5000 --energy 1000 --dots 7.3

Reconcile Money Log Disbursements

./target/release/mobhub reconcile --news-file news.json --register-file register.json

Run HTTP Service & Embedded Dashboard

./target/release/mobhub serve --port 3000 --db-path mobhub.db --faction-id 50645

API Endpoints

MethodPathDescription
GET/healthSystem health check
GET/statusTPM vault status and runtime telemetry
POST/api/payout/computeRun deterministic war payout calculation
POST/api/payout/export-csvExport payout register as CSV
POST/api/valuation/computeCalculate faction valuation breakdown
POST/api/gym/simulateSimulate gym session via Mojo/Rust engine
POST/api/reconcile/parseParse raw Torn news to disbursements
POST/api/reconcile/matchMatch disbursements to payout register rows
GET/api/disbursementsList stored disbursements
POST/api/disbursementsStore disbursements into SQLite
GET/api/warsList archived wars from SQLite
POST/api/warsRecord or import war
GET/api/balancesList member vault balances
GET/Embedded web management dashboard

Test Verification

Run all unit and integration tests:

cargo test --verbose

All calculations are tested against real faction ground truth data and reference gym formula values.

License

MIT OR Apache-2.0

For developers: proof and records

The full record of this project. Words that are used only here are explained once:

ID
The project's permanent id on Interplane: the SHA-256 of its first signed record. This one is git:9d980efb1fba3ad63d4e7b7bce129dd4fabc17e5ffa65d80a5679ead42e53244. Its old id, kept only so that old links still work: z3Konv8McLhn67ZBUiCE4bFR5r9tC.
Owner
The key that signs every record of the project. This forge lists the project under drakestapleton; its key is SHA256:qg3vxoE9ul3Cgk5heosQvPmO9pqIJNsdcsGJ2cHghTs.
Refs and HEAD
Refs are the names that point at versions: branches and tags. HEAD is the version a fresh copy starts from, the newest commit of the default branch.
Patch
A proposed change, reviewed before it is merged. This forge does not show proposed changes from its own store yet. The list is under Proposed changes.
Receipt
A public record that someone checked a claim, with the fingerprint of its evidence file. The state at the top of this page is read from the list at interplane.io/receipts. This project has no receipt in that list yet.

Clones and fetches over HTTPS: 0 by visitors (git smart-HTTP info/refs requests answered 200 in the front-door download log; our own addresses and bots left out; since 2026-11-08) · not measured git-upload-pack requests from all clients (the source of this count is retired)

Downloads: 1 by visitors (1 source archives, 0 release assets; forged access log; our own addresses left out; since 2026-11-07)

commit ae23cc7f34f6badfd81d19e27a103bedb80c6876 Branches Tags History
ae23cc7 docs: first person, Drake's own voice (L422) Drake Stapleton committed 2026-11-09
.github/
mojo/
src/
tests/
.crumb945
.gitignore80
AGENTS.md3973
AGENT_CODE_OF_CONDUCT.md3493
CONSTITUTION.md8401
Cargo.lock53697
Cargo.toml1002
LICENSE17335
README.md3703
agent.json577
llms.txt1355

Every record: History (commits) · Branches · Tags · Releases, with the SHA-256 of each download · Patches · Issues · This project as JSON