Files
satistaskory/docs/04-Planning/🧭 Notes for the Wayfinder.md
T
Stephen Fasciani ee0e9a365a
Build / build (push) Failing after 36s
Key remote plans by server list name and MOTD.
Remote files are satistaskory/remote/<name-and-motd>.dat. Not IP, not world seed. Singleplayer is still the world folder.
2026-09-08 06:00:27 -04:00

429 lines
12 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 🧭 Notes for the Wayfinder
> Append-only journal for the future maintainer.
> Do not rewrite history — add a new dated entry.
---
## 📜 2026-09-07
Greetings, Wayfinder.
Today the foundations were laid.
The project is now documented as a domain-driven goal-tracking and material-planning system rather than a crafting helper.
A home exists for:
- Vision
- Philosophy
- Language
- Architecture
- Planning
The kingdom has borders.
Its inhabitants do not yet exist.
Next destination:
Define the core domain entities.
Begin with Goal.
Avoid:
Implementation details.
The dragons of EMI, JEI, REI, and NeoForge GUIs remain beyond the mountains.
---
## 📜 2026-09-07 (architecture scaffold)
Greetings, Wayfinder.
An architecture scaffold was recorded. It is allowed to change as we iterate.
### Guiding principle
Goals are the domain. Recipes are implementation details.
### Layers
UI → Application → Domain. Infrastructure implements ports and depends inward.
The first diagram had Domain pointing at Infrastructure. That contradicted the golden rule. The map was corrected.
### Ports named, not designed
- `RecipeProvider` (EMI / JEI / REI; later vanilla)
- Persistence (world save / server save / future cloud)
- Inventory (available quantities only)
### Domain services (three, not one)
- Recipe Resolution
- Material Aggregation
- Progress Calculation
A combined “RecipeAggregationService” was rejected. Those are different questions.
### Remember
- Ready To Craft is not completion
- Projects are organizational; aggregation is across active goals
- Inventory is a quantity; scanning is infrastructure
- UI is replaceable and must not contain domain logic
### Next destination
Still not code.
Deepen Goal until it is boring. Then package layout, then the RecipeProvider port shape, then Create Goal.
---
## 📜 2026-09-07 (the vault)
Greetings, Wayfinder.
Design documentation now follows the Media Farm vault.
Template: `C:\Users\Stephen\OneDrive\Documents\Media-Pipeline\docs`
```text
docs/
00-Vision/
01-Philosophy/
02-Domain/
03-Architecture/
04-Planning/
05-Experience/ # not opened
99-backlog/
```
The old flat files `docs/domain.md` and `docs/architecture.md` were the first draft. Their content lives on the shelves now.
### Today's lesson
The goal is not to remember where things are.
The goal is to build a world where their location is obvious.
### Avoid
- Opening the Experience shelf before the domain can describe a player day without mentioning EMI
- Writing an Implementation Plan for code that does not exist
- Inventing bounded contexts because other projects have several
- Treating the NeoForge example block as architecture
The map exists.
The territory is still empty — but the borders match the discovery.
---
## 📜 2026-09-07 (a player day)
Greetings, Wayfinder.
The domain can describe a player day without naming a recipe mod. The Experience shelf is open.
### The walk
Golden day: the player is **in the world**. A play overlay shows missing materials. They gather. The list shrinks. Ready is not complete. They still do the work.
Interrupt: they are already looking at an item in inventory, the crafting bench craft pane, or the craft book. Hover. `+ Add to Crafting Goals`. That is Create Goal. Then back to play.
There is no daily menu. Capture is in-place. We do not own those host views.
ADR-010 records this. Player copy "Crafting Goals" means Goal.
### What we did not invent
- Target Quantity at capture
- Overlay pixel placement
- A full-screen planner
- Confirmations (no such rule here)
- Fake screens beyond those two
### Next destination
Still not code.
Quantity at capture is now a live Goal question. Deepen Goal until it is boring. Then package layout, RecipeProvider, Create Goal.
Avoid:
- Treating inventory / bench / craft book as Satistaskory screens
- Opening an Implementation Plan
- Drawing a planner pane because other mods have one
---
## 📜 2026-09-07 (concept art → Screen 2)
Greetings, Wayfinder.
The player had already drawn the living overlay. We merged it with the domain instead of treating it as a second product.
### The drawing
Title `SATISTASKORY`. Upper list: Furnace 3, Crafting Bench 5, Chest 8, each with `[+]` `[-]`. Lower list: Wooden Planks. Footer: `X Clear Items`.
### The merge
| Art | Domain |
|-----|--------|
| Upper rows | [[🎯 Goal]] + Target Quantity |
| `[+]` / `[-]` | Quantity on the living surface |
| Lower region | [[📉 Missing Material]], aggregated |
| Clear Items | Drop the tracked goals |
ADR-011 records this. It refines ADR-010: the overlay is not missing-materials-only. Both vision questions live on one play-screen panel.
Capture is unchanged: hover → add → new row in the upper list.
### What we did not invent
- Initial quantity at hover-add
- Quantity reaching 0
- Row selection (lower list is not a per-goal recipe pane)
- Confirm-before-clear
- Pixel placement
- A third screen
Rule #3 still holds: the lower region is missing materials, not a recipe tree.
### Next destination
Still not code.
Initial quantity at capture, and what `[+]` / `[-]` means at 0, are live Goal questions.
---
## 📜 2026-09-07 (the lower list was unfinished)
Greetings, Wayfinder.
The concept art’s lower region was a stub: “Wooden Planks,” no counts, empty space.
The player’s intent: **aggregate** the materials, and show **how many of each** are needed.
That is already in the domain. Screen 2 is now finished:
- One row per material
- Count = still needed (`Missing = Required - Available`)
- Same material from two goals is one row (benches and chests both need planks → one Wooden Planks line)
- Counts shrink as the player gathers
- `[+]` / `[-]` on a goal recalculates the list
The numbers in the wireframe (Planks 84, Cobblestone 24) are an illustration of aggregation, not a recipe table. No “8 cobble per furnace” on this panel.
ADR-011 updated to match. Rule #3 still holds.
---
## 📜 2026-09-08 (the short sit)
Greetings, Wayfinder.
The first slice is settled in the vault. Not an Implementation Plan. Not code.
### Goal
- `ItemId` = `namespace:path`
- One Goal per ItemId
- Quantity ≥ 1
- Create = 1, or +1 if present
- `[-]` at 1 removes
### Packages
`domain` / `application` / `infrastructure.recipe` / `infrastructure.inventory` / `infrastructure.client`
No Project, EMI, or persistence packages yet. Stub first.
### Port
`RecipeProvider.resolve(ItemId, quantity) → list of MaterialRequirement`
One level. No recipe → gather (the item itself). First impl: `StubRecipeProvider`.
Progress: remaining = qty − owned(target), then resolve, then missing = required − available.
### Create Goal
Application use case. Capture is a caller, not the use case. Overlay on the right.
ADRs **012–014**.
### Next destination
Write the Java for that slice. Remove the example block when domain types land.
Avoid:
- Starting EMI because the port exists
- Opening Implementation Plan as a fiction before a line of domain code
- Packaging Project “while we’re here”
---
## 📜 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.”
---
## 📜 2026-09-08 (prose caught up)
Greetings, Wayfinder.
The walk is real. The vault had drifted.
What the code actually does:
- Capture: tooltip + rebindable Add key (`=`). Inventory, craft pane, craft book. Not a click-off-the-slot chip.
- Overlay: HUD, not a `Screen`. Vanilla `widget/button` sprites + `UI_BUTTON_CLICK`. Cursor via chat.
- Application: one `Planner`, not five use-case classes.
- Stub: three recipes. Oak planks as a goal is gather, not logs.
- Command add is debug. Unknown ids fail.
ADR-015 records capture-as-key and HUD-not-Screen.
Next: world save, then vanilla RecipeProvider. Not EMI. Not a Screen rewrite.
---
## 📜 2026-09-08 (no recipe-viewer dependency)
Greetings, Wayfinder.
EMI / JEI / REI were never in Gradle. They were named as RecipeProvider implementations without a domain reason.
ADR-016: lookup is `RecipeManager`. Modded recipes that register a `RecipeType` / serializer / JSON land there. Viewers only display them.
Next recipe impl: `VanillaRecipeProvider`. A viewer adapter only if a recipe exists solely in EMI and never in `RecipeManager`.
---
## 📜 2026-09-08 (CC turtle and AE2)
Greetings, Wayfinder.
`VanillaRecipeProvider` must scan **all** `RecipeType`s by output item, not only `minecraft:crafting`.
- CC:Tweaked turtle: in `RecipeManager` as a custom CC type (not always shaped crafting). One level: computer + chest + ingots, not the computer’s recipe.
- AE2: crafting items are `minecraft:crafting`; processors are `ae2:inscriber`, still in `RecipeManager`. Presses as catalysts are not modelled yet.
Those two are the acceptance tests for “modded items work.”
---
## 📜 2026-09-08 (the player walks the tree)
Greetings, Wayfinder.
One recipe level is not a limitation. It is the prosthetic.
Turtle → computer + chest + ingots. Want the computer’s stone? Hover the computer, press Add. The player discloses the next layer. We do not recurse.
EMI may be where they *see* the computer. Capture still does not depend on EMI; it depends on hovering an item Minecraft (or a viewer) already showed them.
---
## 📜 2026-09-08 (VanillaRecipeProvider)
Greetings, Wayfinder.
`PlannerSession` now asks `VanillaRecipeProvider`. It scans every `RecipeType` in `RecipeManager` by output, one level, crafting-table preferred. Empty ingredients still gather.
`StubRecipeProvider` is tests only. Oak planks as a goal should now be logs (or the first tag member), not more planks.
Play on the gaming PC: furnace, crafting table, chest, oak planks, then a CC turtle and an AE2 processor if those mods are loaded.
Next is still world save. Not EMI. Not a Screen rewrite.
---
## 📜 2026-09-08 (player world save)
Greetings, Wayfinder.
Recipes worked in play: spruce fence gate → sticks + spruce planks. The first slice's last freeze was persistence.
ADR-017: the plan lives on the player in this world's save. Copy on death. Unload RAM when leaving so World B does not inherit World A. Remote dedicated server is still RAM-only.
The frozen slice is now: name a goal, see missing materials, quit, come back, still see them.
Do not open Project because that feels like "what's next." Listen.
---
## 📜 2026-09-08 (client-only)
Greetings, Wayfinder.
The player attachment was the wrong save. It made Satistaskory a host mod.
ADR-018: client-only. Overlay, capture, recipes, inventory were already client. Persistence is a file this client owns. Singleplayer writes `satistaskory.dat` next to the world. Remote writes `satistaskory/remote/<address>.dat`. `displayTest=IGNORE_ALL_VERSION`. No packet. No server jar.
If they playtested the attachment build, those goals will not come back. Re-add once.
The prosthetic travels with the player, not with the pack.
---
## 📜 2026-09-08 (remote keyed by name)
Greetings, Wayfinder.
Forget IP. Forget world-wipe fingerprints. A remote plan is this client's file for the **server list name and MOTD**. Rename the entry, new plan. Same name after a map reset, same plan.
Singleplayer is still `<world>/satistaskory.dat`.
---
## Related Documents
[[🌟 Project Vision]]
[[🧠 Philosophy]]
[[🗺️ Roadmap]]
[[🖥️ Experience]]
[[🚶 Day in the Life]]
[[🖼️ Wireframes]]
[[➕ Material Aggregation]]
[[▶️ Create Goal]]
[[🔌 Recipe Provider]]
[[📦 Packages]]