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
+7 -3
View File
@@ -100,7 +100,7 @@ First use case: [[▶️ Create Goal]]. In code this slice is one `Planner` faca
Mark Goal Complete is named. It is not in the first slice.
The application layer calls infrastructure through ports (`RecipeProvider`, inventory snapshot). It does not contain domain rules. It loads what the use case needs, asks the domain to decide, and presents the result. Persistence is in-memory for this slice.
The application layer calls infrastructure through ports (`RecipeProvider`, inventory snapshot, `GoalStore`). It does not contain domain rules. It loads what the use case needs, asks the domain to decide, and presents the result. Persistence is the player in this world's save (ADR-017).
Packages: [[📦 Packages]].
@@ -119,7 +119,7 @@ Examples:
- Save data storage
- Inventory scanning
Shipped this slice: `VanillaRecipeProvider` (`RecipeManager`, all types, one level), player-inventory snapshot, HUD overlay, tooltip+key capture. `StubRecipeProvider` is unit tests only. No save adapter yet. EMI/JEI/REI are not dependencies.
Shipped this slice: `VanillaRecipeProvider` (`RecipeManager`, all types, one level), player-inventory snapshot, HUD overlay, tooltip+key capture, player world save. `StubRecipeProvider` is unit tests only. EMI/JEI/REI are not dependencies.
Infrastructure is never the source of domain truth.
@@ -147,7 +147,7 @@ Possible implementations:
- Server Save
- Future Cloud Sync
First slice: in-memory. No save adapter yet.
Shipped: player attachment in this world's save. Survives quit and death. Remote multiplayer stays RAM-only until a server adapter exists. See [[💾 Persistence]] and ADR-017.
---
@@ -215,6 +215,10 @@ See [[🎯 Success Metrics]].
[[🧾 Recipe Resolution]]
[[💾 Persistence]]
[[🔌 Recipe Provider]]
[[🖥️ Experience]]
[[🚶 Day in the Life]]