Repository navigation
Home
A mod release and conflict-validation system for three NeoForge Minecraft servers, built as one Swift engine behind Caddy.
Status: design stage. Nothing described in this wiki is implemented. These pages record the intended architecture and the reasoning behind it, so the decisions are reviewable before any code is written. Where a decision is still open it is marked as such rather than presented as settled.
Three Minecraft versions — 26.1, 26.2 and 26.3 — each run NeoForge with roughly 300 mods, and each carries a different collection because mods do not all support every version.
That much is bookkeeping. The real difficulty is that mods individually compatible with a server version are frequently incompatible with each other. A pair boots fine until a third mod joins them; a mixin collides; two mods claim the same registry ID. Mod metadata predicts only a fraction of this, so the only trustworthy verdict comes from booting a server with that exact set of files.
No mod set reaches a live server until a throwaway session has proven it boots clean.
The mod set is the unit, not the mod. A mod is never validated alone — it is validated as part of a set. The exact file list is hashed into a modset digest that behaves like a lockfile, and verdicts, deployments and rollbacks all attach to that digest. See Modset Model.
Localize failures by bisecting the change. The last validated set is proven good and you typically change six mods, not three hundred. Delta-debugging the change finds the culprit in two or three parallel rounds. See Bisection.
Conflicts are remembered. Every proven incompatibility becomes a permanent edge in a conflict graph and never costs another boot. See Conflict Testing.
A Minecraft version is data, never code. No version string appears in source, configuration, a systemd unit, a Caddy route or the website. Adding 26.4 is one command and a row, not an engineering project. See Adding a Version.
| Page | Contents |
|---|---|
| Architecture | Shape, components, filesystem layout |
| Engine | The Swift process, dependencies, command surface, API |
| Adding a Version | How a new Minecraft version arrives |
| Modset Model | Digests, content store, conflict graph, state machine |
| Conflict Testing | Detection tiers and session lifecycle |
| Bisection | Fault localization and its cost model |
| Sheet Contract | Google Sheets column ownership |
| Edge and TLS | Caddy on 8877, HTTP/3, and the certificate problem |
| Website | Pages, API, honest latency measurement |
| Deployment and Rollback | The live gate and recovery |
| Open Decisions | What is still undecided |
| v1 Archive | The retired implementation and what to keep from it |
| Decision | Choice |
|---|---|
| Language | Swift 6.3.3, one engine process for all versions and the website |
| Web server | Latest Caddy on port 8877, HTTP/3 and QUIC enabled |
| Public address |
pummelchen.91.99.176.243.nip.io — port and certificate source still open |
| Concurrency | All three servers run continuously; tests are additional short-lived servers |
| Conflict test depth | Boot plus idle soak — reach Done (…)!, clean logs, hold several minutes |
| Mod version resolution | Pin exact files; update only on explicit request |
| Deploy authorization | Staging deploys itself; the live version waits for approval |
| Live role | A column in the version table, moved by version promote
|
| Unit of validation | The modset, not the individual mod |
| State store | SQLite via GRDB — not DuckDB |
Caddy on 8877 cannot obtain a Let's Encrypt certificate for a nip.io hostname when ports 80 and 443 are both in use. All three ACME challenge types are closed. See Edge and TLS for the options and the recommendation.
Design stage — not implemented
Design
Validation
Trust
Interfaces
Operations
Project
Reference