V-Sekai Fire — Multiplayer Fabric
Documentation for the multiplayer fabric stack: a WebTransport-based game server platform built on Godot, Elixir, and CockroachDB, deployed on Fly.io.
Quick start
git clone --recurse-submodules https://github.com/V-Sekai-fire/multiplayer-fabric
cd multiplayer-fabric
git submodule update --init --recursive
On Windows use WSL2 (Ubuntu); the local workflow is bash-first (POSIX shebangs, /tmp paths, symlinks, lsof, UNIX docker socket).
Engine builds via gscons (macOS arm64), gmscons (Windows x86_64 cross-compile), or gescons (web wasm32) from merge after checking out the multiplayer-fabric-base branch. Maglev cycle smoke tests live in cycle-tests . See the AGENTS.md “Maglev cycle workflow” section for details.
Repositories
Runtime services (Fly.io)
gateway
Elixir WebTransport gateway on UDP 443 — entry point for all clients
zone
Headless Godot zone server (template_release, double precision)
multiplayer-fabric-zone-backend
Phoenix backend (uro): shard registry, asset API. Submodule path: uro
zone-console
Operator console for zone server health and shard rotations
multiplayer-fabric-crdb
CockroachDB with mTLS, role-separated access (gateway_writer / gateway_reader / gateway_admin / root)
baker
On-demand Fly Machine that validates and exports Godot assets via aria-storage
observability
VictoriaMetrics (8428) + VictoriaLogs (9428) + VictoriaTraces (10428) + OTEL Collector (4317/4318) on supervisord
Engine
godot
V-Sekai fork of the Godot engine — feature branches per topic, assembled output lives on multiplayer-fabric-base
multiplayer-fabric-godot-maglev
Canonical assembled engine snapshot used as git subrepo source by build
merge
gitassembly recipe + update_godot_v_sekai.exs driver that composes the engine from its feature branches
build
Engine build orchestrator (Justfile + per-platform CI matrix); vendors engine source under godot/ via git-subrepo
opentelemetry-godot
OTLP/HTTP exporter module for the Godot engine — compiled into the assembly via feat/open-telemetry-base
opentelemetry-godot-project
Godot project demonstrating + testing the OTel module in isolation
webtransport
Elixir bindings for the Rust wtransport WebTransport library
interaction-system
XR controller / 6-DOF IK helper addon
interaction-system-project
Godot project that exercises the interaction-system addon
Game systems
taskweft
Re-entrant temporal HTN planner + ReBAC engine (Elixir/C++20 NIFs)
predictive-bvh
Predictive BVH adapter for spatial queries — used by the zone server’s broadphase
predictive-bvh-research
Lean 4 formalization + correctness proofs for the predictive BVH
aria-storage
casync/desync chunked content-addressable storage (Elixir wrapper around vendored Go binary)
humanoid-project
Humanoid avatars + animations (mire.vrm is the canonical Maglev test avatar)
elixir-turboquant-llm
Quantized LLM inference NIF (Elixir / llama.cpp). Submodule path: llm
Testing & verification
cycle-tests
Maglev cycle smoke tests — minimal headless Godot scripts, one per cycle
Skills & docs
manuals
This site (Quarto). Submodule path: manuals
skills
Reusable Claude Code skills shared across the fabric repos