Skip to content

Build Order

André Borchert edited this page Sep 11, 2026 · 3 revisions

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.

The phases

The canonical phase list, with deliverables and exit criteria, is PLAN.md in the repository. It lives with the code so a phase is marked done in the same commit that finishes it. This page keeps the reasoning; that file holds the checklist.

In short:

Phase Builds Status
0 Master edge Live
1 Version table, content store, resolution —
2 Static analysis, modset digest, sheet write-back —
3 Plan and apply, deploy, rollback, version provisioning —
4 Boot validation, including the canary —
5 Conflict graph and bisection —
6 Website —
7 Client packs —
8 Feedback loops —

The canary moved from the feedback loops into boot validation. A validator should be checked from its first run, not after months of being trusted.

Why this order

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.

Deliberately not built

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.

The discipline that keeps it stable

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.

Clone this wiki locally