Keep the plan on the player in this world's save.
Build / build (push) Failing after 35s

Goals persist as a player attachment: load on join, write after each change, unload on leave so worlds do not leak. Dying does not wipe the list. Remote dedicated servers stay RAM-only.
This commit is contained in:
Stephen Fasciani
2026-09-08 05:42:05 -04:00
parent f807a9e603
commit 4e57760de6
20 changed files with 402 additions and 24 deletions
+21
View File
@@ -282,6 +282,27 @@ The port remains. The **order** was wrong.
---
### ADR-017 — First persistence is the player in this world
**Date:** 2026-09-08
**Decision:** Active goals persist as a NeoForge player attachment in the current world's save.
- Per player, not one list for the whole world
- Copy on death: dying does not wipe the plan
- Load on join, write after each change, unload RAM on leave so worlds do not leak
- Singleplayer and LAN host. A remote dedicated server has no integrated world save on the client; that session stays RAM-only until a server adapter exists
**Reason:**
The first slice is a prosthetic the player can quit and resume. ADR-004 named world save, server save, and cloud. World save is the one they play.
**Status:** ✅ Accepted
**Refines:** ADR-004. **Supersedes** ADR-013’s “Persistence: in-memory” freeze for this slice.
---
## Related Documents
[[🏛️ Architecture]]