Repository navigation
Build Order
Design stage. Nothing here is implemented.
What to build, in what order, and what to leave out. The ordering matters more than it looks: each phase is useful on its own, and each one makes the next cheaper.
1 — Version table, content store, resolution. The version table, the SQLite schema, the content-addressed store, and resolving a sheet row to a pinned file with a hash. No testing, no deployment.
Useful immediately: it answers "does this mod have a 26.3 build?" for 300 mods without anyone opening a browser tab. That question alone is most of the manual work today.
2 — Static analysis and the modset digest. Read neoforge.mods.toml out of each jar; catch missing dependencies, duplicate mod IDs, wrong ranges, declared incompatibilities. Assemble and hash a modset.
Now the system can say "this set cannot work, and here is which line of which mod says so" before any JVM starts.
3 — Plan and apply, without validation. Compute a diff between deployed and desired, classify each change, refuse destructive removals. Deploy by materialising a set and flipping a symlink; roll back by flipping it back.
At this point it is already a usable mod manager. Everything after this is about trust.
4 — Boot validation. The throwaway session, the readiness detection, the failure classification. Verdicts attach to digests.
5 — The conflict graph and bisection. Record proven incompatibilities; bisect the delta against the last known-good set. This is where the system starts getting cheaper to run over time instead of more expensive.
6 — The website. Version selector, deployed mod lists, server status, latency. Read-only, reading the same database everything else writes.
7 — Client packs. Generate an .mrpack per version from the deployed modset, filtered by declared side.
8 — Feedback loops. Crash-report attribution, player reports carrying the digest, canary runs.
Each phase stands alone. If the project stops after phase 3, what exists is still worth having — which is the property that matters most for something built in spare time.
Validation before bisection, because a verdict is useless until you can produce one. Bisection before the website, because bisection is the hard part and the website is the part that looks like progress. Feedback loops last, because they need somewhere to put what they learn.
Recording these so they do not creep back in.
| Not building | Why |
|---|---|
| A custom client app | v1's largest maintenance burden, replaced by a standard .mrpack any launcher imports. See Client Parity. |
| Automatic update tracking | Pinned resolution is the point. Noticing new versions can be added later; acting on them automatically never should be. |
| Malware scanning | Produces false confidence more reliably than detections. See Supply Chain. |
| A SAT-based dependency solver | Real mod dependency ranges are loose; greedy resolution with backtracking handles them. Revisit only when a real set cannot be resolved. |
| A public mod mirror | The store is a local archive. Redistribution is restricted by provider terms. |
| In-game admin UI | The CLI is reachable by anyone who should be administering the server. |
| Multi-host orchestration | One host. Designing for a fleet that does not exist buys nothing and costs everything. |
| Client-side soak testing | v1 did this with a real account. It caught real problems and made every bisection round unaffordable. |
Everything the daemon does automatically must also be runnable by hand. The reconciliation loop calls the same code paths as engine resolve, engine plan, engine validate. Nothing happens through a path an operator cannot invoke and inspect — v1's operator CLI was its best property.
No Minecraft version in source, config, units, routes or the website. Restated here because it is the rule most likely to be broken quietly under deadline. See Adding a Version.
Migrations run against a fresh database in the test suite, on every run. v1 kept numbered migrations and still shipped an entrypoint whose path did not resolve, because nothing exercised it. A migration that is never applied from scratch is a migration that does not work.
The plan is a pure function. Given a desired state and a current state it produces a diff, with no side effects and no network. That makes the most safety-critical logic in the system exhaustively testable without a Minecraft server anywhere near it.
Design stage — not implemented
Design
Validation
Trust
Interfaces
Operations
Project
Reference