Add first-slice planner: domain, stub recipes, overlay.
Build / build (push) Failing after 29s

Strip the template example block. Create Goal lives in memory, recipes are a stub, the play overlay sits on the right, and /satistaskory add is the first capture path. Restarting the world forgets the plan.
This commit is contained in:
Stephen Fasciani
2026-09-08 01:52:50 -04:00
parent a045281f76
commit 8b2194386d
28 changed files with 964 additions and 192 deletions
+8 -9
View File
@@ -12,27 +12,26 @@ What exists, and what is next. Implementation detail will live in an Implementat
- Packages named; [[🔌 Recipe Provider]] sketched; [[▶️ Create Goal]] written
- Experience: capture in place; overlay on the right (goals + aggregated needed counts)
Domain code does not exist. The NeoForge template example block/item is not the architecture.
First slice **code exists**: domain, stub `RecipeProvider`, in-memory Create Goal, player inventory, play overlay. Capture is `/satistaskory add <item>`. Plan does not survive restart.
---
## 🔲 Next
The first slice is settled. **Write the code** for that slice. Do not start EMI.
Play the slice. Then, only if the walk is real:
1. Packages + domain types (`ItemId`, `Goal`, `MaterialRequirement`, `InventoryState`)
2. `RecipeProvider` + `StubRecipeProvider`
3. **Create Goal** (and Adjust / Remove / Clear / Refresh Progress)
4. Player-inventory snapshot
5. Play overlay (right side)
1. Hover-add on one inventory host (the other two later)
2. World-save persistence
3. Real recipe adapter (still not required to start with EMI)
`🌾 Implementation Plan` opens when that code starts — not before.
Do not start EMI because the port exists.
---
## ⏸ Not opened
- `🌾 Implementation Plan` — nothing is shipped to map
- Hover-add on inventory / bench / craft book
- World save
---
@@ -271,6 +271,31 @@ Avoid:
---
## 📜 2026-09-08 (the first slice)
Greetings, Wayfinder.
The example block is gone. Domain types live under `com.sufficient.satistaskory.domain`. They do not import NeoForge.
What shipped:
- `ItemId`, `Goal`, requirements, inventory snapshot, progress
- `StubRecipeProvider` (furnace / crafting table / chest + gather fallback)
- In-memory `Planner` (create / + / − / clear)
- Player inventory adapter
- Play overlay on the right
- `/satistaskory add <item>` and `/satistaskory clear`
Restarting the world forgets the plan. That is the freeze, not a bug.
Hover-add is still the experience target. The command is the first caller of Create Goal.
Unit tests cover increment, remove-at-1, plank aggregation (84 / 24), owned furnaces reducing cobble, gather diamonds.
Avoid: EMI next “because we can.”
---
## Related Documents
[[🌟 Project Vision]]