Replace the empty flat docs with the Media Farm shelf layout: vision, philosophy, language, architecture (including packages, RecipeProvider, and Create Goal), player day, and prototype freezes. The NeoForge example code is still not the architecture.
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# 🎯 Success Metrics
|
||||
|
||||
---
|
||||
|
||||
## Success is NOT
|
||||
|
||||
- ❌ Auto-crafting
|
||||
- ❌ Replacing EMI / JEI / REI
|
||||
- ❌ AE2 job submission
|
||||
- ❌ How many goals exist
|
||||
- ❌ How busy the UI looks
|
||||
- ❌ Automating gathering, routing, storage, or production
|
||||
|
||||
---
|
||||
|
||||
## Success IS
|
||||
|
||||
- ✅ The player can answer: *what am I trying to build, and what materials do I still need?*
|
||||
- ✅ Play overlay shows [[🎯 Goal|goals]] (upper) and [[📉 Missing Material|missing materials]] (lower)
|
||||
- ✅ A goal can be named by pointing at an item (hover → add), not by opening a Satistaskory menu
|
||||
- ✅ The player still does the work (Philosophy Rule #4)
|
||||
- ✅ If EMI, JEI, or REI disappears, only an adapter changes
|
||||
- ✅ The domain model survives infrastructure changes
|
||||
- ✅ Future Me can navigate the vault after six months (Philosophy Rule #7)
|
||||
|
||||
---
|
||||
|
||||
## Related Documents
|
||||
|
||||
[[🌟 Project Vision]]
|
||||
|
||||
[[🧠 Philosophy]]
|
||||
|
||||
[[🏛️ Architecture]]
|
||||
|
||||
[[🗺️ Roadmap]]
|
||||
|
||||
[[🚶 Day in the Life]]
|
||||
|
||||
[[🖥️ Experience]]
|
||||
|
||||
[[🖼️ Wireframes]]
|
||||
|
||||
[[▶️ Create Goal]]
|
||||
@@ -0,0 +1,76 @@
|
||||
# 🗺️ Roadmap
|
||||
|
||||
What exists, and what is next. Implementation detail will live in an Implementation Plan when code starts — that file does not exist yet.
|
||||
|
||||
---
|
||||
|
||||
## ✅ Now (docs)
|
||||
|
||||
- Philosophy Rules #1–#10; ADRs **001–014**
|
||||
- Vision, ubiquitous language, bounded context (one: Goal Planning)
|
||||
- Goal invariants: one per ItemId, quantity ≥ 1, create at 1 / +1, `[-]` at 1 removes
|
||||
- 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.
|
||||
|
||||
---
|
||||
|
||||
## 🔲 Next
|
||||
|
||||
The first slice is settled. **Write the code** for that slice. Do not start EMI.
|
||||
|
||||
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)
|
||||
|
||||
`🌾 Implementation Plan` opens when that code starts — not before.
|
||||
|
||||
---
|
||||
|
||||
## ⏸ Not opened
|
||||
|
||||
- `🌾 Implementation Plan` — nothing is shipped to map
|
||||
|
||||
---
|
||||
|
||||
## 🔲 Parked
|
||||
|
||||
Not a queue. See [[🚧 Future Ideas]].
|
||||
|
||||
- EMI / JEI / REI recipe adapters
|
||||
- Vanilla recipe provider (beyond the stub table)
|
||||
- Persistence (world / server / cloud)
|
||||
- Projects packaged
|
||||
- Completion
|
||||
- Full-screen planner
|
||||
- Overlay pixel metrics
|
||||
- Integrations that are out of scope for the domain (AE2 jobs, auto-craft, storage)
|
||||
|
||||
---
|
||||
|
||||
## Related Documents
|
||||
|
||||
[[🧭 Notes for the Wayfinder]]
|
||||
|
||||
[[📝 Decisions]]
|
||||
|
||||
[[🧠 Philosophy]]
|
||||
|
||||
[[🎯 Success Metrics]]
|
||||
|
||||
[[🌟 Project Vision]]
|
||||
|
||||
[[🖥️ Experience]]
|
||||
|
||||
[[🚶 Day in the Life]]
|
||||
|
||||
[[🖼️ Wireframes]]
|
||||
|
||||
[[▶️ Create Goal]]
|
||||
|
||||
[[📦 Packages]]
|
||||
|
||||
[[🔌 Recipe Provider]]
|
||||
@@ -0,0 +1,294 @@
|
||||
# 🧭 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”
|
||||
|
||||
---
|
||||
|
||||
## Related Documents
|
||||
|
||||
[[🌟 Project Vision]]
|
||||
|
||||
[[🧠 Philosophy]]
|
||||
|
||||
[[🗺️ Roadmap]]
|
||||
|
||||
[[🖥️ Experience]]
|
||||
|
||||
[[🚶 Day in the Life]]
|
||||
|
||||
[[🖼️ Wireframes]]
|
||||
|
||||
[[➕ Material Aggregation]]
|
||||
|
||||
[[▶️ Create Goal]]
|
||||
|
||||
[[🔌 Recipe Provider]]
|
||||
|
||||
[[📦 Packages]]
|
||||
Reference in New Issue
Block a user