Skip to content

History / Engine

Revisions

  • Rename the project to Minecraft: runtime paths and unit names Follows the repository rename: /var/minecraftai -> /var/minecraft and minecraftai-caddy -> minecraft-caddy in the documented filesystem layout, the state database path, the mod store and the test scratch directories.

    @Pummelchen Pummelchen committed Sep 13, 2026
  • Specify SQLite WAL as the state store Adds a State Database page and cross-references it from Architecture, Engine, Home and the sidebar. WAL is the load-bearing choice, not a detail. The engine has one continuous writer (the reconciliation loop) and constant readers (every website request). In SQLite's default rollback-journal mode those block each other, so a slow reconcile would hang the site. WAL lets readers take a consistent snapshot without blocking the writer. WAL's single-writer rule maps onto the actor that already owns the write path, so the storage layer enforces what the concurrency model wanted anyway. Documents the pragmas whose defaults are wrong for this workload — busy_timeout is zero, so contention errors instead of waiting, and foreign_keys is per connection — plus the consequence that state.db-wal is part of the database and backups must use VACUUM INTO rather than a file copy. Records what the database holds and what deliberately stays out: jars live in the content store, logs stay as files, the database holds facts and pointers.

    André Borchert committed Aug 23, 2026
  • Add Swift engine, Caddy edge, and version flexibility Records the stack decisions and the flexibility requirement. New pages: Engine one Swift 6.3.3 process for all versions and the website, with the dependency stack, command surface and API Adding-a-Version a Minecraft version is a row, not code; what `version add` provisions end to end Edge-and-TLS Caddy on 8877 with HTTP/3, and the certificate problem that blocks HTTPS Structural change: one engine rather than v1's three per-version services. Adding a Minecraft version now creates no service and changes no Caddy configuration. Blocking finding: with ports 80 and 443 held by other services and the hostname under nip.io, all three ACME challenge types are unavailable — HTTP-01 needs 80, TLS-ALPN-01 needs 443, DNS-01 needs a zone we do not control. Caddy cannot obtain this certificate itself. Options ranked in Edge-and-TLS; recorded as blocking in Open-Decisions. The live role becomes a column moved by `version promote`, replacing the open question of which version is live.

    André Borchert committed Aug 23, 2026