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,47 @@
|
|||||||
|
# Satistaskory
|
||||||
|
|
||||||
|
Minecraft NeoForge 1.21.1 mod. Domain-driven design.
|
||||||
|
|
||||||
|
## Design documentation
|
||||||
|
|
||||||
|
All design documentation lives in `docs/` and follows the **Media Farm vault** template:
|
||||||
|
|
||||||
|
`C:\Users\Stephen\OneDrive\Documents\Media-Pipeline\docs`
|
||||||
|
|
||||||
|
When adding or changing design docs, match that vault. Do not go back to flat `docs/*.md` files.
|
||||||
|
|
||||||
|
### Shelves
|
||||||
|
|
||||||
|
```text
|
||||||
|
docs/
|
||||||
|
00-Vision/
|
||||||
|
01-Philosophy/
|
||||||
|
02-Domain/
|
||||||
|
03-Architecture/
|
||||||
|
04-Planning/
|
||||||
|
05-Experience/ # open: capture in place, play overlay. Do not invent screens.
|
||||||
|
99-backlog/
|
||||||
|
```
|
||||||
|
|
||||||
|
### Conventions
|
||||||
|
|
||||||
|
- Numbered shelves, same names as Media Farm
|
||||||
|
- Filenames: emoji + space + Title (e.g. `🎯 Goal.md`)
|
||||||
|
- Heading matches the filename (`# 🎯 Goal`)
|
||||||
|
- One concept per file (Bookshelf Principle)
|
||||||
|
- Wiki links: `[[🎯 Goal]]` — no paths, no `.md`
|
||||||
|
- End every file with a **Related Documents** list of wiki links
|
||||||
|
- Language in `02-Domain`. Structure in `03-Architecture`. Do not mix.
|
||||||
|
- [[🧭 Notes for the Wayfinder]] is append-only. Do not rewrite history; add a dated entry.
|
||||||
|
- Do not invent content for shelves that have not been discovered (no fake wireframes, no implementation plan before code).
|
||||||
|
- ADRs go in `docs/03-Architecture/📝 Decisions.md`
|
||||||
|
|
||||||
|
Read [[🧠 Philosophy]] before changing the vault. The Bookshelf Principle, Preverbal Architecture Principle, and Wayfinder are in force.
|
||||||
|
|
||||||
|
## Code
|
||||||
|
|
||||||
|
The first slice is settled (ADRs 012–014): [[▶️ Create Goal]], stub [[🔌 Recipe Provider]], player inventory, play overlay.
|
||||||
|
|
||||||
|
Domain code for that slice may start. Do not start EMI, persistence, or Project until those are settled in the vault.
|
||||||
|
|
||||||
|
The NeoForge template example block/item is not the architecture. Remove it when domain types land.
|
||||||
@@ -1 +1,76 @@
|
|||||||
|
# Satistaskory
|
||||||
|
|
||||||
|
> What am I trying to build and what materials do I still need?
|
||||||
|
|
||||||
|
Satistaskory is a goal-tracking and material-planning system for Minecraft.
|
||||||
|
|
||||||
|
It is a cognitive prosthetic. The player makes decisions. The mod remembers them.
|
||||||
|
|
||||||
|
It does not craft. It does not gather. It does not replace a recipe viewer.
|
||||||
|
|
||||||
|
Minecraft 1.21.1 / NeoForge. Designed with Domain-Driven Design.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## What it is
|
||||||
|
|
||||||
|
Name a goal. See what is still missing.
|
||||||
|
|
||||||
|
```text
|
||||||
|
Goal
|
||||||
|
→ Recipe Resolution
|
||||||
|
→ Material Requirements
|
||||||
|
→ Material Aggregation
|
||||||
|
→ Inventory State
|
||||||
|
→ Missing Materials / Ready To Craft
|
||||||
|
→ Completed Goal
|
||||||
|
```
|
||||||
|
|
||||||
|
Projects group goals for organization. They do not change material math.
|
||||||
|
|
||||||
|
Ready To Craft means the materials are available. It does not mean the goal is finished.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## What it is not
|
||||||
|
|
||||||
|
- An auto-crafter
|
||||||
|
- A recipe viewer
|
||||||
|
- An AE2 job submitter
|
||||||
|
- Storage, routing, or factory automation
|
||||||
|
- A quest manager
|
||||||
|
- An inventory sorter
|
||||||
|
|
||||||
|
Those may be integrated with later. They are not owned by Satistaskory.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Status
|
||||||
|
|
||||||
|
The domain, architecture, player day, packages, RecipeProvider port, and **Create Goal** use case are documented. Domain code is not written.
|
||||||
|
|
||||||
|
The NeoForge template example block and item in `src/` are not the architecture.
|
||||||
|
|
||||||
|
Next: write the first slice — domain types, stub RecipeProvider, Create Goal, player inventory, play overlay. Not EMI.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Docs
|
||||||
|
|
||||||
|
Design documentation lives in `docs/`. Start at `docs/00-Vision/🌟 Project Vision.md`.
|
||||||
|
|
||||||
|
| Shelf | What |
|
||||||
|
|-------|------|
|
||||||
|
| `00-Vision` | Why this exists |
|
||||||
|
| `01-Philosophy` | Rules the code must obey |
|
||||||
|
| `02-Domain` | Language and concepts |
|
||||||
|
| `03-Architecture` | Layers, ports, ADRs |
|
||||||
|
| `04-Planning` | Roadmap, success, Wayfinder journal |
|
||||||
|
| `05-Experience` | Player day, capture, play overlay |
|
||||||
|
| `99-backlog` | Ideas that are not a queue |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
All Rights Reserved. See `LICENSE`.
|
||||||
|
|||||||
@@ -0,0 +1,112 @@
|
|||||||
|
# 🌟 Satistaskory Vision
|
||||||
|
|
||||||
|
> What am I trying to build and what materials do I still need?
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Origin
|
||||||
|
|
||||||
|
Satistaskory is a goal-tracking and material-planning system for Minecraft.
|
||||||
|
|
||||||
|
The purpose is to reduce cognitive load by allowing players to externalize project planning and resource tracking into the game.
|
||||||
|
|
||||||
|
A more important realization:
|
||||||
|
|
||||||
|
**Satistaskory is not a crafting mod.**
|
||||||
|
**Satistaskory is a cognitive prosthetic for planning and remembering.**
|
||||||
|
|
||||||
|
EMI, JEI, REI, NeoForge, and inventory APIs are infrastructure.
|
||||||
|
**The domain is goals.**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## ❌ What this is NOT
|
||||||
|
|
||||||
|
- An auto-crafter
|
||||||
|
- A recipe viewer
|
||||||
|
- An AE2 job submitter
|
||||||
|
- A storage or routing system
|
||||||
|
- A quest manager
|
||||||
|
- A factory automation layer
|
||||||
|
- An inventory sorter
|
||||||
|
|
||||||
|
These may be integrated with. They are not owned by Satistaskory.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## ✅ What this IS
|
||||||
|
|
||||||
|
Satistaskory helps the player remember decisions and see what is still missing.
|
||||||
|
|
||||||
|
| Capability | Purpose |
|
||||||
|
|------------|---------|
|
||||||
|
| 🎯 Goal | Name a thing to obtain, and how many |
|
||||||
|
| 📁 Project | Optional grouping for organization |
|
||||||
|
| 🧱 Require | Resolve a goal into material requirements |
|
||||||
|
| ➕ Aggregate | Combine requirements across active goals |
|
||||||
|
| 📉 Missing | Required minus available |
|
||||||
|
| 🛠️ Ready | All materials for a goal are available |
|
||||||
|
| ✅ Complete | The player considers the goal finished |
|
||||||
|
|
||||||
|
### Core domain chain
|
||||||
|
|
||||||
|
```text
|
||||||
|
Goal
|
||||||
|
↓
|
||||||
|
Recipe Resolution
|
||||||
|
↓
|
||||||
|
Material Requirements
|
||||||
|
↓
|
||||||
|
Material Aggregation
|
||||||
|
↓
|
||||||
|
Inventory State (available quantities)
|
||||||
|
↓
|
||||||
|
Missing Materials / Ready To Craft
|
||||||
|
↓
|
||||||
|
Completed Goal
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Today
|
||||||
|
|
||||||
|
The kingdom has borders.
|
||||||
|
|
||||||
|
Vision, philosophy, language, and an architecture scaffold exist.
|
||||||
|
|
||||||
|
A player day exists: name a goal by pointing at an item; walk with missing materials on the play screen. See [[🚶 Day in the Life]].
|
||||||
|
|
||||||
|
The first slice is settled in the vault: [[▶️ Create Goal]], stub [[🔌 Recipe Provider]], play overlay. Domain code is not written yet.
|
||||||
|
|
||||||
|
See [[🗺️ Roadmap]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🎯 Long-Term Goal
|
||||||
|
|
||||||
|
The player should not have to hold a factory plan in working memory.
|
||||||
|
|
||||||
|
Satistaskory remembers the plan.
|
||||||
|
The player still does the work.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🧠 Philosophy]]
|
||||||
|
|
||||||
|
[[🗣️ Ubiquitous Language]]
|
||||||
|
|
||||||
|
[[📦 Bounded Contexts]]
|
||||||
|
|
||||||
|
[[🏛️ Architecture]]
|
||||||
|
|
||||||
|
[[🗺️ Roadmap]]
|
||||||
|
|
||||||
|
[[🎯 Success Metrics]]
|
||||||
|
|
||||||
|
[[🚶 Day in the Life]]
|
||||||
|
|
||||||
|
[[🖥️ Experience]]
|
||||||
|
|
||||||
|
[[▶️ Create Goal]]
|
||||||
@@ -0,0 +1,175 @@
|
|||||||
|
# 🧠 Philosophy
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Rule #1 — Domain First
|
||||||
|
|
||||||
|
Domain first. Infrastructure second.
|
||||||
|
|
||||||
|
The domain must not know about EMI, JEI, REI, NeoForge APIs, UI frameworks, or save formats.
|
||||||
|
|
||||||
|
Infrastructure serves the domain. Not the other way around.
|
||||||
|
|
||||||
|
Goals are the domain. Recipes are implementation details.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Rule #2 — Cognitive Prosthetic
|
||||||
|
|
||||||
|
The player makes decisions.
|
||||||
|
|
||||||
|
Satistaskory remembers those decisions.
|
||||||
|
|
||||||
|
The mod should reduce the amount of information players need to carry in working memory.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Rule #3 — Progressive Disclosure
|
||||||
|
|
||||||
|
Show only the information required to make the next decision.
|
||||||
|
|
||||||
|
Default:
|
||||||
|
|
||||||
|
Missing Materials
|
||||||
|
|
||||||
|
- Diamond x12
|
||||||
|
- Redstone x82
|
||||||
|
- Gold Ingot x34
|
||||||
|
|
||||||
|
Expanded views:
|
||||||
|
|
||||||
|
- Which goals require a material
|
||||||
|
- Recipe breakdowns
|
||||||
|
- Dependency chains
|
||||||
|
|
||||||
|
The detailed information exists but should not be forced on the player.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Rule #4 — Player Agency
|
||||||
|
|
||||||
|
The mod tracks.
|
||||||
|
|
||||||
|
The player acts.
|
||||||
|
|
||||||
|
Satistaskory should never automate crafting, gathering, routing, storage management, or production.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Rule #5 — Ready Is Not Complete
|
||||||
|
|
||||||
|
[[🛠️ Ready To Craft]] means the materials are available.
|
||||||
|
|
||||||
|
It does not mean the [[🎯 Goal]] is finished.
|
||||||
|
|
||||||
|
Completion is a separate, configurable decision. See [[✅ Completed Goal]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Rule #6 — Inventory Is a Quantity
|
||||||
|
|
||||||
|
[[🎒 Inventory State]] is available quantities.
|
||||||
|
|
||||||
|
How those quantities are gathered is infrastructure.
|
||||||
|
|
||||||
|
The domain does not scan inventories.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Rule #7 — Future Me Is a User
|
||||||
|
|
||||||
|
> Will Future Me understand this after ignoring the project for 6 months?
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Rule #8 — Externalize Memory
|
||||||
|
|
||||||
|
Documentation is not paperwork. Documentation is assistive technology.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Rule #9 — Abstractions on Demand
|
||||||
|
|
||||||
|
> Never create an abstraction because you think you'll need it.
|
||||||
|
> Create it when the domain demands it.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Rule #10 — Infrastructure Adapters Are Real Contracts
|
||||||
|
|
||||||
|
Recipe, inventory, and persistence adapters are allowed. They can be **production-grade**.
|
||||||
|
|
||||||
|
Hate **sloppy wrappers**, not process boundaries.
|
||||||
|
|
||||||
|
The domain never imports EMI, JEI, REI, or NeoForge.
|
||||||
|
|
||||||
|
If a recipe mod disappears tomorrow, Satistaskory should require only an adapter replacement — not a domain rewrite.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📚 The Bookshelf Principle
|
||||||
|
|
||||||
|
Pick up each concept, identify it, place it where it belongs immediately.
|
||||||
|
|
||||||
|
> Good architecture helps people know where things belong.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🧭 The Preverbal Architecture Principle
|
||||||
|
|
||||||
|
Architecture should be **navigated**, not memorized. Reduce cognitive overhead.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🧭 The Wayfinder
|
||||||
|
|
||||||
|
The future maintainer. Append-only journal: [[🧭 Notes for the Wayfinder]]
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📚 Documentation Vault
|
||||||
|
|
||||||
|
Design documentation 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/ # opened: capture in place, play overlay. Do not invent screens.
|
||||||
|
99-backlog/
|
||||||
|
```
|
||||||
|
|
||||||
|
Conventions:
|
||||||
|
|
||||||
|
- Numbered shelves
|
||||||
|
- Emoji + title filenames
|
||||||
|
- One concept per file
|
||||||
|
- Wiki links: `[[🌟 Project Vision]]`
|
||||||
|
- Related Documents at the end of each file
|
||||||
|
- The Wayfinder is append-only — do not rewrite history
|
||||||
|
- Do not invent content for shelves that have not been discovered
|
||||||
|
|
||||||
|
Language lives in `02-Domain`. Structure lives in `03-Architecture`. Do not mix.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🌟 Project Vision]]
|
||||||
|
|
||||||
|
[[🗣️ Ubiquitous Language]]
|
||||||
|
|
||||||
|
[[🏛️ Architecture]]
|
||||||
|
|
||||||
|
[[📝 Decisions]]
|
||||||
|
|
||||||
|
[[🧭 Notes for the Wayfinder]]
|
||||||
|
|
||||||
|
[[🖥️ Experience]]
|
||||||
|
|
||||||
|
[[🚶 Day in the Life]]
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# ✅ Completed Goal
|
||||||
|
|
||||||
|
A [[🎯 Goal]] that the player considers finished.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Completion strategy
|
||||||
|
|
||||||
|
Must be configurable.
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
|
||||||
|
- Manual completion
|
||||||
|
- Inventory detection
|
||||||
|
- Future implementations
|
||||||
|
|
||||||
|
Ready To Craft is not completion. See [[🛠️ Ready To Craft]] and Philosophy Rule #5.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[🛠️ Ready To Craft]]
|
||||||
|
|
||||||
|
[[📈 Progress Calculation]]
|
||||||
|
|
||||||
|
[[📝 Decisions]]
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
# ➕ Material Aggregation
|
||||||
|
|
||||||
|
Combines requirements from multiple [[🎯 Goal|goals]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Input
|
||||||
|
|
||||||
|
- Active Goals
|
||||||
|
|
||||||
|
## Output
|
||||||
|
|
||||||
|
- Aggregated Material List — one entry per material, with how many are needed
|
||||||
|
|
||||||
|
Same material from two goals is one entry. Goal A needs Diamond x4. Goal B needs Diamond x8. Aggregated: Diamond x12.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Rule
|
||||||
|
|
||||||
|
Aggregation is across **active goals**.
|
||||||
|
|
||||||
|
[[📁 Project|Projects]] do not form a calculation boundary.
|
||||||
|
|
||||||
|
[[📈 Progress Calculation]] turns each aggregated count into still-needed (`Missing = Required - Available`).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[📁 Project]]
|
||||||
|
|
||||||
|
[[🧱 Material Requirement]]
|
||||||
|
|
||||||
|
[[📈 Progress Calculation]]
|
||||||
|
|
||||||
|
[[📉 Missing Material]]
|
||||||
|
|
||||||
|
[[🖼️ Wireframes]]
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
# 🎒 Inventory State
|
||||||
|
|
||||||
|
A snapshot of materials currently available to the player.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Domain view
|
||||||
|
|
||||||
|
The domain only cares about **available quantities**.
|
||||||
|
|
||||||
|
Inventory data is infrastructure.
|
||||||
|
|
||||||
|
How those quantities are gathered (player inventory, ender chest, later storage integrations) may change without a domain rewrite.
|
||||||
|
|
||||||
|
First slice: **player inventory only**. Keys are ItemId. Values are available counts.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Used by
|
||||||
|
|
||||||
|
[[📈 Progress Calculation]] compares requirements to this snapshot.
|
||||||
|
|
||||||
|
```text
|
||||||
|
Missing = Required - Available
|
||||||
|
```
|
||||||
|
|
||||||
|
See [[📉 Missing Material]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[📉 Missing Material]]
|
||||||
|
|
||||||
|
[[📈 Progress Calculation]]
|
||||||
|
|
||||||
|
[[🏛️ Architecture]]
|
||||||
|
|
||||||
|
[[🧠 Philosophy]]
|
||||||
@@ -0,0 +1,101 @@
|
|||||||
|
# 🎯 Goal
|
||||||
|
|
||||||
|
A **Goal** is a thing the player wishes to obtain.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Contains
|
||||||
|
|
||||||
|
- Target Item — an **ItemId** (`namespace:path`, e.g. `minecraft:furnace`). Not a Minecraft `Item` class.
|
||||||
|
- Target Quantity — integer **≥ 1**
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
|
||||||
|
- 4 Ender Chests
|
||||||
|
- 1 AE2 Controller
|
||||||
|
- 64 Export Buses
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Identity
|
||||||
|
|
||||||
|
One Goal per Target Item in the plan.
|
||||||
|
|
||||||
|
Adding an item that is already a goal **increments** that goal’s quantity. It does not create a second row.
|
||||||
|
|
||||||
|
[[📁 Project|Projects]] are not in the first slice. This identity is for the single plan.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Quantity
|
||||||
|
|
||||||
|
Target Quantity is required and is never 0.
|
||||||
|
|
||||||
|
| Action | Result |
|
||||||
|
|--------|--------|
|
||||||
|
| [[▶️ Create Goal]] | Quantity **1** if new; **+1** if that ItemId already exists |
|
||||||
|
| `[+]` on the overlay | Quantity + 1 |
|
||||||
|
| `[-]` when quantity > 1 | Quantity − 1 |
|
||||||
|
| `[-]` when quantity is 1 | Goal is **removed** |
|
||||||
|
| `X Clear Items` | All goals removed |
|
||||||
|
|
||||||
|
There is no quantity picker on capture. See [[🖥️ Experience]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## How a goal starts
|
||||||
|
|
||||||
|
A goal starts when the player names a target item.
|
||||||
|
|
||||||
|
How they point at the item is experience. See [[🚶 Day in the Life]] and [[▶️ Create Goal]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Lifecycle
|
||||||
|
|
||||||
|
```text
|
||||||
|
Created
|
||||||
|
↓
|
||||||
|
Requirements Calculated
|
||||||
|
↓
|
||||||
|
Missing Materials
|
||||||
|
↓
|
||||||
|
Ready To Craft
|
||||||
|
↓
|
||||||
|
Completed
|
||||||
|
```
|
||||||
|
|
||||||
|
A goal is created with a target item and quantity. [[🧾 Recipe Resolution]] produces its [[🧱 Material Requirement|material requirements]] for **how many are still to obtain** (target quantity minus how many of that item are already available). [[📈 Progress Calculation]] compares those requirements to [[🎒 Inventory State]], yielding [[📉 Missing Material|missing materials]] and eventually [[🛠️ Ready To Craft]].
|
||||||
|
|
||||||
|
[[✅ Completed Goal|Completion]] is a separate decision from readiness. It is **not in the first slice**.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Relationships
|
||||||
|
|
||||||
|
- May belong to a [[📁 Project]] (optional). Projects are not packaged in the first slice.
|
||||||
|
- Material calculations ignore project boundaries and aggregate across active goals
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[▶️ Create Goal]]
|
||||||
|
|
||||||
|
[[🚶 Day in the Life]]
|
||||||
|
|
||||||
|
[[🖥️ Experience]]
|
||||||
|
|
||||||
|
[[📁 Project]]
|
||||||
|
|
||||||
|
[[🧱 Material Requirement]]
|
||||||
|
|
||||||
|
[[🛠️ Ready To Craft]]
|
||||||
|
|
||||||
|
[[✅ Completed Goal]]
|
||||||
|
|
||||||
|
[[🗣️ Ubiquitous Language]]
|
||||||
|
|
||||||
|
[[🖼️ Wireframes]]
|
||||||
|
|
||||||
|
[[📝 Decisions]]
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
# 📁 Project
|
||||||
|
|
||||||
|
An optional grouping of [[🎯 Goal|goals]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
- AE2 Setup
|
||||||
|
- Reactor Project
|
||||||
|
- Factory Expansion
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Role
|
||||||
|
|
||||||
|
Projects exist purely for organization.
|
||||||
|
|
||||||
|
They are not a calculation boundary.
|
||||||
|
|
||||||
|
Material calculations aggregate across projects.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[➕ Material Aggregation]]
|
||||||
|
|
||||||
|
[[🗣️ Ubiquitous Language]]
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
# 📈 Progress Calculation
|
||||||
|
|
||||||
|
Calculates progress from goals, requirements, and inventory.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Calculates
|
||||||
|
|
||||||
|
- [[📉 Missing Material|Missing Materials]]
|
||||||
|
- [[🛠️ Ready To Craft|Ready-To-Craft Status]]
|
||||||
|
|
||||||
|
[[✅ Completed Goal|Completion]] is named. It is not in the first slice.
|
||||||
|
|
||||||
|
## Using
|
||||||
|
|
||||||
|
- [[🎯 Goal|Goals]]
|
||||||
|
- [[🧱 Material Requirement|Material Requirements]]
|
||||||
|
- [[🎒 Inventory State]]
|
||||||
|
- [[🔌 Recipe Provider]] (via [[🧾 Recipe Resolution]])
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Formula (first slice)
|
||||||
|
|
||||||
|
```text
|
||||||
|
for each active goal:
|
||||||
|
remaining = max(0, target quantity − available(target item))
|
||||||
|
requirements += resolve(target item, remaining)
|
||||||
|
|
||||||
|
aggregate requirements
|
||||||
|
(same material → one row)
|
||||||
|
|
||||||
|
for each material:
|
||||||
|
missing = max(0, required − available)
|
||||||
|
```
|
||||||
|
|
||||||
|
Owned finished goods reduce **how many to resolve**. They are not subtracted again from ingredients.
|
||||||
|
|
||||||
|
A goal is [[🛠️ Ready To Craft]] when its remaining-to-obtain is 0, or every material required for that remaining is available.
|
||||||
|
|
||||||
|
`resolve` is one crafting level. No recipe → the remaining target items *are* the requirements (gather).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🧾 Recipe Resolution]]
|
||||||
|
|
||||||
|
[[🔌 Recipe Provider]]
|
||||||
|
|
||||||
|
[[➕ Material Aggregation]]
|
||||||
|
|
||||||
|
[[🛠️ Ready To Craft]]
|
||||||
|
|
||||||
|
[[✅ Completed Goal]]
|
||||||
|
|
||||||
|
[[▶️ Create Goal]]
|
||||||
|
|
||||||
|
[[🎒 Inventory State]]
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
# 📉 Missing Material
|
||||||
|
|
||||||
|
A [[🧱 Material Requirement]] that has not yet been fulfilled.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Formula
|
||||||
|
|
||||||
|
```text
|
||||||
|
Missing = Required - Available
|
||||||
|
```
|
||||||
|
|
||||||
|
Required comes from goals (after resolution and aggregation).
|
||||||
|
Available comes from [[🎒 Inventory State]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Progressive disclosure
|
||||||
|
|
||||||
|
Missing materials are the **default** materials view. On the golden day they live in the **lower region** of the play overlay, under the goal list. See [[🚶 Day in the Life]] and [[🖼️ Wireframes]].
|
||||||
|
|
||||||
|
The player should see this first — one row per material, with how many are still needed:
|
||||||
|
|
||||||
|
- Diamond x12
|
||||||
|
- Redstone x82
|
||||||
|
- Gold Ingot x34
|
||||||
|
|
||||||
|
Same material from two goals is one row. See [[➕ Material Aggregation]].
|
||||||
|
|
||||||
|
Which goals require a material, recipe breakdowns, and dependency chains are expanded views. They exist. They are not forced.
|
||||||
|
|
||||||
|
See Philosophy Rule #3.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🧱 Material Requirement]]
|
||||||
|
|
||||||
|
[[🎒 Inventory State]]
|
||||||
|
|
||||||
|
[[📈 Progress Calculation]]
|
||||||
|
|
||||||
|
[[🧠 Philosophy]]
|
||||||
|
|
||||||
|
[[🚶 Day in the Life]]
|
||||||
|
|
||||||
|
[[🖼️ Wireframes]]
|
||||||
|
|
||||||
|
[[➕ Material Aggregation]]
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
# 📦 Bounded Contexts
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Today Satistaskory is **one** bounded context.
|
||||||
|
|
||||||
|
Do not split until the domain demands it. See Philosophy Rule #9.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🎯 Goal Planning Context
|
||||||
|
|
||||||
|
The player names goals. The system remembers them, resolves materials, and reports what is still missing.
|
||||||
|
|
||||||
|
Key concepts:
|
||||||
|
|
||||||
|
- [[🎯 Goal]]
|
||||||
|
- [[📁 Project]]
|
||||||
|
- [[🧱 Material Requirement]]
|
||||||
|
- [[🎒 Inventory State]]
|
||||||
|
- [[📉 Missing Material]]
|
||||||
|
- [[🛠️ Ready To Craft]]
|
||||||
|
- [[✅ Completed Goal]]
|
||||||
|
|
||||||
|
Services:
|
||||||
|
|
||||||
|
- [[🧾 Recipe Resolution]]
|
||||||
|
- [[➕ Material Aggregation]]
|
||||||
|
- [[📈 Progress Calculation]]
|
||||||
|
|
||||||
|
Recipe mods, inventory scanning, persistence, and UI are **infrastructure**. They are not contexts.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🗣️ Ubiquitous Language]]
|
||||||
|
|
||||||
|
[[🏛️ Architecture]]
|
||||||
|
|
||||||
|
[[🌟 Project Vision]]
|
||||||
@@ -0,0 +1,133 @@
|
|||||||
|
# 🗣️ Ubiquitous Language
|
||||||
|
|
||||||
|
> These terms have **ONE** meaning across the entire project.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Core chain
|
||||||
|
|
||||||
|
```text
|
||||||
|
Goal → Recipe Resolution → Material Requirements
|
||||||
|
→ Material Aggregation → Inventory State
|
||||||
|
→ Missing Materials / Ready To Craft
|
||||||
|
→ Completed Goal
|
||||||
|
```
|
||||||
|
|
||||||
|
[[📁 Project]] is optional grouping. It is not a step in the chain.
|
||||||
|
|
||||||
|
Material calculations aggregate across projects.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## [[🎯 Goal]]
|
||||||
|
|
||||||
|
A thing the player wishes to obtain.
|
||||||
|
|
||||||
|
Contains: Target Item (**ItemId**, `namespace:path`), Target Quantity (≥ 1).
|
||||||
|
|
||||||
|
One Goal per ItemId in the plan. Create at 1, or +1 if that item is already a goal. `[-]` at 1 removes it.
|
||||||
|
|
||||||
|
Examples: 4 Ender Chests. 1 AE2 Controller. 64 Export Buses.
|
||||||
|
|
||||||
|
Player copy **Crafting Goals** means this. Code and docs say Goal. See [[🖥️ Experience]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## [[📁 Project]]
|
||||||
|
|
||||||
|
An optional grouping of goals.
|
||||||
|
|
||||||
|
Examples: AE2 Setup. Reactor Project. Factory Expansion.
|
||||||
|
|
||||||
|
Projects exist purely for organization.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## [[🧱 Material Requirement]]
|
||||||
|
|
||||||
|
A quantity of a material required to complete a goal.
|
||||||
|
|
||||||
|
Example: Diamond x12
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Aggregated Material Requirement
|
||||||
|
|
||||||
|
The combined [[🧱 Material Requirement|material requirements]] of all active goals.
|
||||||
|
|
||||||
|
Goal A needs Diamond x4. Goal B needs Diamond x8. Aggregated: Diamond x12.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## [[🎒 Inventory State]]
|
||||||
|
|
||||||
|
A snapshot of materials currently available to the player.
|
||||||
|
|
||||||
|
The domain only cares about available quantities.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## [[📉 Missing Material]]
|
||||||
|
|
||||||
|
A material requirement that has not yet been fulfilled.
|
||||||
|
|
||||||
|
```text
|
||||||
|
Missing = Required - Available
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## [[🛠️ Ready To Craft]]
|
||||||
|
|
||||||
|
All materials required for a goal are available.
|
||||||
|
|
||||||
|
Ready To Craft does not imply completion.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## [[✅ Completed Goal]]
|
||||||
|
|
||||||
|
A goal the player considers finished.
|
||||||
|
|
||||||
|
Completion strategy is configurable (manual, inventory detection, future implementations).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Domain services
|
||||||
|
|
||||||
|
| Service | Meaning |
|
||||||
|
|---------|---------|
|
||||||
|
| [[🧾 Recipe Resolution]] | Goal → material requirements |
|
||||||
|
| [[➕ Material Aggregation]] | Active goals → aggregated material list |
|
||||||
|
| [[📈 Progress Calculation]] | Missing, ready-to-craft, completion status |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Rejected (not in the language)
|
||||||
|
|
||||||
|
Not owned by this domain. May be integrated with later.
|
||||||
|
|
||||||
|
- Auto Crafting
|
||||||
|
- AE2 Job Submission
|
||||||
|
- Storage Automation
|
||||||
|
- Item Routing
|
||||||
|
- Quest Management
|
||||||
|
- Factory Automation
|
||||||
|
- Inventory Sorting
|
||||||
|
- Recipe Viewing
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[📦 Bounded Contexts]]
|
||||||
|
|
||||||
|
[[🌟 Project Vision]]
|
||||||
|
|
||||||
|
[[🧭 Notes for the Wayfinder]]
|
||||||
|
|
||||||
|
[[🖥️ Experience]]
|
||||||
|
|
||||||
|
[[▶️ Create Goal]]
|
||||||
|
|
||||||
|
[[🔌 Recipe Provider]]
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
# 🛠️ Ready To Craft
|
||||||
|
|
||||||
|
A state indicating that all materials required for a [[🎯 Goal]] are available.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Meaning
|
||||||
|
|
||||||
|
Ready To Craft does **not** imply completion.
|
||||||
|
|
||||||
|
Materials being present is not the same as the player considering the work finished.
|
||||||
|
|
||||||
|
See Philosophy Rule #5 and [[✅ Completed Goal]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[📉 Missing Material]]
|
||||||
|
|
||||||
|
[[✅ Completed Goal]]
|
||||||
|
|
||||||
|
[[📈 Progress Calculation]]
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
# 🧱 Material Requirement
|
||||||
|
|
||||||
|
A quantity of a material required to complete a [[🎯 Goal]].
|
||||||
|
|
||||||
|
Identified by the same **ItemId** as Target Item (`namespace:path`). Quantity ≥ 1.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
Diamond x12
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Aggregation
|
||||||
|
|
||||||
|
The combined material requirements of all **active** goals.
|
||||||
|
|
||||||
|
Goal A requires:
|
||||||
|
|
||||||
|
Diamond x4
|
||||||
|
|
||||||
|
Goal B requires:
|
||||||
|
|
||||||
|
Diamond x8
|
||||||
|
|
||||||
|
Aggregated requirement:
|
||||||
|
|
||||||
|
Diamond x12
|
||||||
|
|
||||||
|
Projects do not change this. See [[📁 Project]] and [[➕ Material Aggregation]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[➕ Material Aggregation]]
|
||||||
|
|
||||||
|
[[📉 Missing Material]]
|
||||||
|
|
||||||
|
[[🧾 Recipe Resolution]]
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
# 🧾 Recipe Resolution
|
||||||
|
|
||||||
|
Converts a [[🎯 Goal]] into [[🧱 Material Requirement|material requirements]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Input
|
||||||
|
|
||||||
|
- Target Item
|
||||||
|
- Quantity
|
||||||
|
|
||||||
|
## Output
|
||||||
|
|
||||||
|
- Material Requirements
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Boundary
|
||||||
|
|
||||||
|
This is a **domain service**.
|
||||||
|
|
||||||
|
Looking up recipes is **infrastructure**.
|
||||||
|
|
||||||
|
The domain calls a `RecipeProvider` port. It does not call EMI, JEI, or REI.
|
||||||
|
|
||||||
|
**One crafting level.** Not a tree. No recipe → the target item is the requirement. See [[🔌 Recipe Provider]].
|
||||||
|
|
||||||
|
Recipe **viewing** is out of scope. This service exists so the domain can resolve requirements, not so Satistaskory can become a recipe browser.
|
||||||
|
|
||||||
|
See [[🏛️ Architecture]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[🧱 Material Requirement]]
|
||||||
|
|
||||||
|
[[➕ Material Aggregation]]
|
||||||
|
|
||||||
|
[[🏛️ Architecture]]
|
||||||
|
|
||||||
|
[[🔌 Recipe Provider]]
|
||||||
|
|
||||||
|
[[📈 Progress Calculation]]
|
||||||
@@ -0,0 +1,85 @@
|
|||||||
|
# ▶️ Create Goal
|
||||||
|
|
||||||
|
First use case. Application layer. It does not contain domain rules; it uses [[🎯 Goal]] invariants.
|
||||||
|
|
||||||
|
Capture (hover → `+ Add to Crafting Goals`) is one caller. The use case does not know about inventory screens.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Input
|
||||||
|
|
||||||
|
- `ItemId` (the item the player pointed at)
|
||||||
|
|
||||||
|
## Output
|
||||||
|
|
||||||
|
- The plan’s goals
|
||||||
|
- Refresh of missing materials (via [[📈 Progress Calculation]])
|
||||||
|
|
||||||
|
## Quantity
|
||||||
|
|
||||||
|
Always **1** on this path. New goal: quantity 1. Existing goal: quantity + 1.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Flow
|
||||||
|
|
||||||
|
```text
|
||||||
|
CreateGoal(item)
|
||||||
|
↓
|
||||||
|
Goal exists for this ItemId?
|
||||||
|
yes → quantity += 1
|
||||||
|
no → add Goal(item, 1)
|
||||||
|
↓
|
||||||
|
RefreshProgress
|
||||||
|
remaining per goal = qty − available(item)
|
||||||
|
resolve remaining through RecipeProvider
|
||||||
|
aggregate
|
||||||
|
missing = required − available
|
||||||
|
```
|
||||||
|
|
||||||
|
Persistence: none in this slice. The list lives in memory.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Sibling use cases (same slice)
|
||||||
|
|
||||||
|
Needed so Screen 2’s `[+]`, `[-]`, and Clear are not invented in the UI.
|
||||||
|
|
||||||
|
| Use case | Input | Result |
|
||||||
|
|----------|-------|--------|
|
||||||
|
| **Adjust Goal Quantity** | ItemId, delta +1 | Quantity + 1, then RefreshProgress |
|
||||||
|
| **Remove Goal** | ItemId | Goal gone, then RefreshProgress |
|
||||||
|
| **Clear Goals** | — | All goals gone, then RefreshProgress |
|
||||||
|
| **Refresh Progress** | — | Recompute missing list from current goals + inventory |
|
||||||
|
|
||||||
|
`[-]` on the overlay: if quantity > 1, Adjust −1; if quantity is 1, Remove Goal. The overlay does not keep a 0.
|
||||||
|
|
||||||
|
No confirm on Clear.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## First wiring
|
||||||
|
|
||||||
|
The three capture hosts are the experience target. The first adapter that can call `CreateGoal(ItemId)` is enough to prove the use case. Overlay on the **right** of the play screen.
|
||||||
|
|
||||||
|
Do not start EMI. Do not start a planner menu.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[📦 Packages]]
|
||||||
|
|
||||||
|
[[🔌 Recipe Provider]]
|
||||||
|
|
||||||
|
[[📈 Progress Calculation]]
|
||||||
|
|
||||||
|
[[🖥️ Experience]]
|
||||||
|
|
||||||
|
[[🖼️ Wireframes]]
|
||||||
|
|
||||||
|
[[📝 Decisions]]
|
||||||
|
|
||||||
|
[[🏛️ Architecture]]
|
||||||
@@ -0,0 +1,232 @@
|
|||||||
|
# 🏛️ Architecture
|
||||||
|
|
||||||
|
This is a living scaffold. It will change as we iterate.
|
||||||
|
|
||||||
|
Language lives in [[🗣️ Ubiquitous Language]]. This document describes how that domain is structured in code.
|
||||||
|
|
||||||
|
Satistaskory is designed with Domain-Driven Design.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📜 Golden Rule
|
||||||
|
|
||||||
|
The Domain Layer must not know about EMI, JEI, REI, NeoForge APIs, UI frameworks, or save formats.
|
||||||
|
|
||||||
|
Infrastructure serves the domain. Never the other way around.
|
||||||
|
|
||||||
|
Goals are the domain. Recipes are implementation details.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Core domain chain
|
||||||
|
|
||||||
|
```text
|
||||||
|
Goal
|
||||||
|
↓
|
||||||
|
Recipe Resolution
|
||||||
|
↓
|
||||||
|
Material Requirements
|
||||||
|
↓
|
||||||
|
Material Aggregation
|
||||||
|
↓
|
||||||
|
Inventory State (available quantities)
|
||||||
|
↓
|
||||||
|
Missing Materials / Ready To Craft
|
||||||
|
↓
|
||||||
|
Completed Goal
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Layers
|
||||||
|
|
||||||
|
Dependencies point inward. The domain does not depend on infrastructure.
|
||||||
|
|
||||||
|
```text
|
||||||
|
+--------------------------+
|
||||||
|
| UI Layer |
|
||||||
|
+--------------------------+
|
||||||
|
|
|
||||||
|
v
|
||||||
|
+--------------------------+
|
||||||
|
| Application Layer |
|
||||||
|
+--------------------------+
|
||||||
|
|
|
||||||
|
v
|
||||||
|
+--------------------------+
|
||||||
|
| Domain Layer | <-----+
|
||||||
|
+--------------------------+ |
|
||||||
|
|
|
||||||
|
+--------------------------+
|
||||||
|
| Infrastructure Layer |
|
||||||
|
+--------------------------+
|
||||||
|
```
|
||||||
|
|
||||||
|
The UI and application layers call the domain.
|
||||||
|
|
||||||
|
Infrastructure implements interfaces defined by the domain (and used by the application). It is not below the domain in a dependency sense; it sits outside and plugs in.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Domain
|
||||||
|
|
||||||
|
This layer contains the actual business logic.
|
||||||
|
|
||||||
|
Primary objects:
|
||||||
|
|
||||||
|
- `Goal` — [[🎯 Goal]]
|
||||||
|
- `MaterialRequirement` — [[🧱 Material Requirement]]
|
||||||
|
- `ProgressState` — [[📉 Missing Material]], [[🛠️ Ready To Craft]]
|
||||||
|
|
||||||
|
`Project` and [[✅ Completed Goal]] exist in the language. They are not packaged in the first slice. See [[📦 Packages]].
|
||||||
|
|
||||||
|
`InventoryState` is a value the domain consumes (available quantities). How that snapshot is collected is infrastructure. See [[🎒 Inventory State]].
|
||||||
|
|
||||||
|
Domain services:
|
||||||
|
|
||||||
|
- [[🧾 Recipe Resolution]] — goal → material requirements
|
||||||
|
- [[➕ Material Aggregation]] — active goals → aggregated list
|
||||||
|
- [[📈 Progress Calculation]] — missing, ready-to-craft, completion
|
||||||
|
|
||||||
|
Recipe resolution uses a `RecipeProvider` port. It does not call a recipe mod.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Application
|
||||||
|
|
||||||
|
Coordinates use cases.
|
||||||
|
|
||||||
|
First use case: [[▶️ Create Goal]].
|
||||||
|
|
||||||
|
Same slice: Adjust Goal Quantity, Remove Goal, Clear Goals, Refresh Progress.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Packages: [[📦 Packages]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Infrastructure
|
||||||
|
|
||||||
|
Infrastructure exists to satisfy domain requirements.
|
||||||
|
|
||||||
|
Infrastructure may be replaced.
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
|
||||||
|
- NeoForge
|
||||||
|
- EMI
|
||||||
|
- JEI
|
||||||
|
- REI
|
||||||
|
- Save data storage
|
||||||
|
- Inventory scanning
|
||||||
|
|
||||||
|
Infrastructure is never the source of domain truth.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Recipe abstraction
|
||||||
|
|
||||||
|
The domain should never directly depend on a recipe mod.
|
||||||
|
|
||||||
|
Port: [[🔌 Recipe Provider]] — `resolve(ItemId, quantity) → list of MaterialRequirement`.
|
||||||
|
|
||||||
|
First implementation: `StubRecipeProvider`. Later: EMI, JEI, REI, vanilla.
|
||||||
|
|
||||||
|
The rest of the system should not care which provider is active.
|
||||||
|
|
||||||
|
Recipe viewing is out of scope. This port exists so the domain can resolve requirements, not so Satistaskory can become a recipe browser.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Persistence abstraction
|
||||||
|
|
||||||
|
The domain should not know where data is stored.
|
||||||
|
|
||||||
|
Possible implementations:
|
||||||
|
|
||||||
|
- World Save
|
||||||
|
- Server Save
|
||||||
|
- Future Cloud Sync
|
||||||
|
|
||||||
|
First slice: in-memory. No save adapter yet.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Inventory abstraction
|
||||||
|
|
||||||
|
The domain should not know how inventory is read.
|
||||||
|
|
||||||
|
It receives available quantities (`InventoryState`).
|
||||||
|
|
||||||
|
How those quantities are gathered (player inventory, ender chest, later storage integrations) is infrastructure and may change without a domain rewrite.
|
||||||
|
|
||||||
|
First slice: player inventory only.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## UI philosophy
|
||||||
|
|
||||||
|
The UI should be replaceable. It renders domain information. It does not contain domain logic.
|
||||||
|
|
||||||
|
Discovered consumers (see [[🖥️ Experience]]):
|
||||||
|
|
||||||
|
- **Capture** — in-place on inventory, crafting bench craft pane, and craft book. Hover → `+ Add to Crafting Goals`. We do not own those views.
|
||||||
|
- **Living** — play overlay panel on the **right** of the play screen (not a pause menu). Two regions: [[🎯 Goal|goals]] with quantity `[+]` / `[-]`, then aggregated materials still needed (one row per material, with a count). `X Clear Items` clears the goal list. See [[🖼️ Wireframes]] Screen 2.
|
||||||
|
|
||||||
|
Not discovered:
|
||||||
|
|
||||||
|
- Full-screen planner
|
||||||
|
- Row selection / per-goal filter of the missing list
|
||||||
|
|
||||||
|
Progressive disclosure is a UI concern guided by the domain: the materials region defaults to missing materials; expand into per-goal breakdowns, recipe trees, and dependency chains only on demand. Those expansions are not this panel’s first drawing.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Architectural rules
|
||||||
|
|
||||||
|
1. Goals are the domain.
|
||||||
|
2. Recipes are infrastructure.
|
||||||
|
3. UI is infrastructure.
|
||||||
|
4. Storage is infrastructure.
|
||||||
|
5. Integrations are infrastructure.
|
||||||
|
6. The domain layer must not depend on infrastructure.
|
||||||
|
7. Infrastructure may depend on the domain.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Success criteria
|
||||||
|
|
||||||
|
If EMI, JEI, REI, or another recipe mod disappears tomorrow, Satistaskory should require only an adapter replacement and not a domain rewrite.
|
||||||
|
|
||||||
|
The domain model should survive infrastructure changes.
|
||||||
|
|
||||||
|
See [[🎯 Success Metrics]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🧠 Philosophy]]
|
||||||
|
|
||||||
|
[[📦 Bounded Contexts]]
|
||||||
|
|
||||||
|
[[📝 Decisions]]
|
||||||
|
|
||||||
|
[[🗣️ Ubiquitous Language]]
|
||||||
|
|
||||||
|
[[🧾 Recipe Resolution]]
|
||||||
|
|
||||||
|
[[🖥️ Experience]]
|
||||||
|
|
||||||
|
[[🚶 Day in the Life]]
|
||||||
|
|
||||||
|
[[🖼️ Wireframes]]
|
||||||
|
|
||||||
|
[[📦 Packages]]
|
||||||
|
|
||||||
|
[[🔌 Recipe Provider]]
|
||||||
|
|
||||||
|
[[▶️ Create Goal]]
|
||||||
@@ -0,0 +1,265 @@
|
|||||||
|
# 📝 Architectural Decision Log
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-001 — Domain first; recipes, UI, storage, and integrations are infrastructure
|
||||||
|
|
||||||
|
**Date:** 2026-09-07
|
||||||
|
|
||||||
|
**Decision:** Goals are the domain. EMI, JEI, REI, NeoForge, UI, and save formats are infrastructure.
|
||||||
|
|
||||||
|
**Reason:**
|
||||||
|
|
||||||
|
Satistaskory exists to remember what the player is building and what is still missing. Centering a recipe mod or a GUI would make the tool the domain.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-002 — Layered DDD; domain does not depend on infrastructure
|
||||||
|
|
||||||
|
**Date:** 2026-09-07
|
||||||
|
|
||||||
|
**Decision:** UI and Application depend on Domain. Infrastructure implements domain ports and depends inward.
|
||||||
|
|
||||||
|
**Reason:**
|
||||||
|
|
||||||
|
The domain model must survive infrastructure changes. A downward Domain → Infrastructure dependency would make adapters the source of truth.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-003 — RecipeProvider port
|
||||||
|
|
||||||
|
**Date:** 2026-09-07
|
||||||
|
|
||||||
|
**Decision:** Recipe lookup goes through a `RecipeProvider` interface.
|
||||||
|
|
||||||
|
Implementations: EMI, JEI, REI. Future: vanilla.
|
||||||
|
|
||||||
|
The rest of the system does not care which provider is active.
|
||||||
|
|
||||||
|
**Reason:**
|
||||||
|
|
||||||
|
If a recipe mod disappears, only an adapter should change.
|
||||||
|
|
||||||
|
Recipe viewing is out of scope. The port exists for [[🧾 Recipe Resolution]], not for browsing recipes.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-004 — Persistence is replaceable
|
||||||
|
|
||||||
|
**Date:** 2026-09-07
|
||||||
|
|
||||||
|
**Decision:** The domain does not know where data is stored.
|
||||||
|
|
||||||
|
Possible implementations: world save, server save, future cloud sync.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-005 — Inventory is infrastructure; domain consumes quantities
|
||||||
|
|
||||||
|
**Date:** 2026-09-07
|
||||||
|
|
||||||
|
**Decision:** [[🎒 Inventory State]] is available quantities. Scanning inventories is infrastructure.
|
||||||
|
|
||||||
|
**Reason:**
|
||||||
|
|
||||||
|
Player inventory, ender chest, and later storage integrations are collection strategies. The domain formula is `Missing = Required - Available`.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-006 — UI is replaceable infrastructure
|
||||||
|
|
||||||
|
**Date:** 2026-09-07
|
||||||
|
|
||||||
|
**Decision:** Sidebar, full-screen planner, HUD, and future integrations are consumers of domain information. They do not contain domain logic.
|
||||||
|
|
||||||
|
**Reason:**
|
||||||
|
|
||||||
|
Progressive disclosure is a UI concern guided by the domain. Default: missing materials.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-007 — Three domain services, not one recipe-aggregation blob
|
||||||
|
|
||||||
|
**Date:** 2026-09-07
|
||||||
|
|
||||||
|
**Decision:** Domain services are [[🧾 Recipe Resolution]], [[➕ Material Aggregation]], and [[📈 Progress Calculation]].
|
||||||
|
|
||||||
|
**Reason:**
|
||||||
|
|
||||||
|
Resolution converts one goal into requirements. Aggregation combines active goals. Progress compares requirements to inventory. Those are different questions.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-008 — Ready To Craft is not completion
|
||||||
|
|
||||||
|
**Date:** 2026-09-07
|
||||||
|
|
||||||
|
**Decision:** [[🛠️ Ready To Craft]] means materials are available. [[✅ Completed Goal]] follows a configurable completion strategy (manual, inventory detection, future implementations).
|
||||||
|
|
||||||
|
**Reason:**
|
||||||
|
|
||||||
|
Having the diamonds is not the same as considering the work finished.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-009 — Projects are organizational only
|
||||||
|
|
||||||
|
**Date:** 2026-09-07
|
||||||
|
|
||||||
|
**Decision:** [[📁 Project]] groups [[🎯 Goal|goals]] for the player. Material calculations aggregate across projects, from active goals.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-010 — Play overlay is the living surface; capture is in-place
|
||||||
|
|
||||||
|
**Date:** 2026-09-07
|
||||||
|
|
||||||
|
**Decision:** The daily consumer is a play overlay (HUD / sidebar family) showing [[📉 Missing Material|missing materials]] while the player walks.
|
||||||
|
|
||||||
|
A [[🎯 Goal]] is named in place: hover an item in inventory, the crafting bench craft pane, or the craft book, then `+ Add to Crafting Goals`.
|
||||||
|
|
||||||
|
Satistaskory does not own those host views. It does not use a pause menu or planner pane as the daily desk.
|
||||||
|
|
||||||
|
**Reason:**
|
||||||
|
|
||||||
|
The product is a cognitive prosthetic during play. A dedicated menu would make the tool the desk. Capture should happen where the player already noticed the item.
|
||||||
|
|
||||||
|
Player copy "Crafting Goals" means [[🎯 Goal]]. Code and docs say Goal.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-011 — Play overlay has two regions: Goals and Missing Materials
|
||||||
|
|
||||||
|
**Date:** 2026-09-07
|
||||||
|
|
||||||
|
**Decision:** The living overlay (player concept art, [[🖼️ Wireframes]] Screen 2) has two regions:
|
||||||
|
|
||||||
|
1. Active [[🎯 Goal|goals]] with Target Quantity, adjusted by `[+]` / `[-]`
|
||||||
|
2. Aggregated materials still needed — one row per material, with a count (`Missing = Required - Available`)
|
||||||
|
|
||||||
|
The concept art’s lower region was unfinished (a material name, no counts). The finished drawing is [[➕ Material Aggregation]] plus [[📈 Progress Calculation]], not a recipe tree.
|
||||||
|
|
||||||
|
`X Clear Items` is on this overlay.
|
||||||
|
|
||||||
|
The overlay remains on the play screen. It is not a pause menu. No row selection is drawn: aggregation stays across active goals. Same material from two goals is one row.
|
||||||
|
|
||||||
|
Initial quantity at capture is not decided.
|
||||||
|
|
||||||
|
**Reason:**
|
||||||
|
|
||||||
|
The vision asks two questions. The concept art is the chrome. Philosophy Rule #3 still forbids recipe breakdowns as the first drawing of the materials region.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
**Refines:** ADR-010 (the overlay is not missing-materials-only)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-012 — Goal identity and quantity
|
||||||
|
|
||||||
|
**Date:** 2026-09-08
|
||||||
|
|
||||||
|
**Decision:**
|
||||||
|
|
||||||
|
- One [[🎯 Goal]] per Target Item (`ItemId`) in the plan
|
||||||
|
- Target Quantity ≥ 1 always
|
||||||
|
- [[▶️ Create Goal]] uses quantity **1** (new) or **+1** (already present)
|
||||||
|
- `[-]` at quantity 1 **removes** the goal
|
||||||
|
- `ItemId` is `namespace:path`, not a Minecraft `Item` class
|
||||||
|
|
||||||
|
**Reason:**
|
||||||
|
|
||||||
|
Hover-add has no picker. Two rows for the same furnace would split aggregation for no gain. Quantity 0 is not a goal.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
**Settles:** the open quantity questions left by ADR-011
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-013 — First slice freezes
|
||||||
|
|
||||||
|
**Date:** 2026-09-08
|
||||||
|
|
||||||
|
**Decision:** The first code slice is Create Goal → stub recipes → player inventory → play overlay. Frozen for that slice only:
|
||||||
|
|
||||||
|
| Topic | Freeze |
|
||||||
|
|-------|--------|
|
||||||
|
| Persistence | In-memory. ADR-004 still holds |
|
||||||
|
| Inventory | Player inventory only |
|
||||||
|
| Recipes | `StubRecipeProvider`. Not EMI/JEI/REI |
|
||||||
|
| Overlay placement | Right side of the play screen |
|
||||||
|
| Clear | No confirm |
|
||||||
|
| Projects | Not packaged |
|
||||||
|
| Completion | Not in the slice |
|
||||||
|
| Capture hosts | Experience still names three; first wiring may be one caller of Create Goal |
|
||||||
|
|
||||||
|
**Reason:**
|
||||||
|
|
||||||
|
A prototype that starts with EMI or a save format is an adapter project. This slice proves the domain chain.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### ADR-014 — RecipeProvider shape; stub first
|
||||||
|
|
||||||
|
**Date:** 2026-09-08
|
||||||
|
|
||||||
|
**Decision:** See [[🔌 Recipe Provider]].
|
||||||
|
|
||||||
|
`resolve(ItemId, quantity) → list of MaterialRequirement`
|
||||||
|
|
||||||
|
One crafting level. No recipe → `(target, quantity)` (gather). `quantity < 1` → empty. Provider picks one recipe and returns concrete items.
|
||||||
|
|
||||||
|
First impl: `StubRecipeProvider`. Production EMI/JEI/REI adapters come after the port is proven.
|
||||||
|
|
||||||
|
**Status:** ✅ Accepted
|
||||||
|
|
||||||
|
**Refines:** ADR-003 (named the port; this is the shape and the first impl)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🏛️ Architecture]]
|
||||||
|
|
||||||
|
[[🌟 Project Vision]]
|
||||||
|
|
||||||
|
[[🧠 Philosophy]]
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[🖥️ Experience]]
|
||||||
|
|
||||||
|
[[🚶 Day in the Life]]
|
||||||
|
|
||||||
|
[[🖼️ Wireframes]]
|
||||||
|
|
||||||
|
[[▶️ Create Goal]]
|
||||||
|
|
||||||
|
[[🔌 Recipe Provider]]
|
||||||
|
|
||||||
|
[[📦 Packages]]
|
||||||
|
|
||||||
|
[[➕ Material Aggregation]]
|
||||||
@@ -0,0 +1,73 @@
|
|||||||
|
# 📦 Packages
|
||||||
|
|
||||||
|
Java packages for the first slice. Root: `com.sufficient.satistaskory`.
|
||||||
|
|
||||||
|
Rule #9: do not add a package until the slice needs it. No `project`, `emi`, or `persistence` until those are in the slice.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
```text
|
||||||
|
com.sufficient.satistaskory
|
||||||
|
Satistaskory.java # NeoForge entry. Wiring only. Not the domain.
|
||||||
|
|
||||||
|
domain/
|
||||||
|
ItemId
|
||||||
|
Goal
|
||||||
|
MaterialRequirement
|
||||||
|
InventoryState
|
||||||
|
MissingMaterial
|
||||||
|
RecipeProvider # port (interface)
|
||||||
|
RecipeResolution # domain service
|
||||||
|
MaterialAggregation # domain service
|
||||||
|
ProgressCalculation # domain service
|
||||||
|
|
||||||
|
application/
|
||||||
|
CreateGoal
|
||||||
|
AdjustGoalQuantity
|
||||||
|
RemoveGoal
|
||||||
|
ClearGoals
|
||||||
|
RefreshProgress
|
||||||
|
|
||||||
|
infrastructure/
|
||||||
|
recipe/
|
||||||
|
StubRecipeProvider # first impl. Not EMI/JEI/REI.
|
||||||
|
inventory/
|
||||||
|
PlayerInventoryAdapter # player inventory → InventoryState
|
||||||
|
client/
|
||||||
|
PlayOverlay # Screen 2
|
||||||
|
CaptureHook # Screen 1 — one host is enough to start
|
||||||
|
```
|
||||||
|
|
||||||
|
Dependencies point inward: `infrastructure` and `application` may import `domain`. `domain` imports nothing from NeoForge, EMI, JEI, REI, or `infrastructure`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## What is not packaged yet
|
||||||
|
|
||||||
|
| Omitted | Why |
|
||||||
|
|---------|-----|
|
||||||
|
| `Project` | Organizational only; not in the slice |
|
||||||
|
| Completion strategy | Ready ≠ complete; complete is not in the slice |
|
||||||
|
| `EmiRecipeProvider` / JEI / REI | Adapters after the stub proves the port |
|
||||||
|
| Persistence | In-memory goals. ADR-004 still holds; no save adapter yet |
|
||||||
|
| Full-screen planner | Not discovered |
|
||||||
|
|
||||||
|
The example block/item in the NeoForge template is not a package. Remove it when domain types land; do not put Goal next to it as if they were peers.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🏛️ Architecture]]
|
||||||
|
|
||||||
|
[[▶️ Create Goal]]
|
||||||
|
|
||||||
|
[[🔌 Recipe Provider]]
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[📝 Decisions]]
|
||||||
|
|
||||||
|
[[🧠 Philosophy]]
|
||||||
@@ -0,0 +1,79 @@
|
|||||||
|
# 🔌 Recipe Provider
|
||||||
|
|
||||||
|
Port used by [[🧾 Recipe Resolution]].
|
||||||
|
|
||||||
|
The domain asks: *what materials produce this many of this item?*
|
||||||
|
Infrastructure answers. The domain never imports a recipe mod.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Shape
|
||||||
|
|
||||||
|
```text
|
||||||
|
RecipeProvider
|
||||||
|
resolve(ItemId target, int quantity)
|
||||||
|
→ list of MaterialRequirement
|
||||||
|
```
|
||||||
|
|
||||||
|
`ItemId` is `namespace:path` (e.g. `minecraft:furnace`). Not `net.minecraft.world.item.Item`.
|
||||||
|
|
||||||
|
`MaterialRequirement` is `(ItemId, quantity)`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Contract
|
||||||
|
|
||||||
|
| Case | Result |
|
||||||
|
|------|--------|
|
||||||
|
| `quantity < 1` | Empty list |
|
||||||
|
| Item has a recipe | **One crafting level** of ingredients, already scaled for `quantity` (including recipe output count) |
|
||||||
|
| Item has no recipe | One requirement: `(target, quantity)` — a gather |
|
||||||
|
| Several recipes exist | Provider picks **one**. Recipe choice is not in the slice |
|
||||||
|
| Ingredient is a tag | Provider returns **concrete** ItemIds. Tags are not a domain type yet |
|
||||||
|
|
||||||
|
Not a recipe tree. Not a recipe browser. Dependency chains are an expanded view, not this port.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## First implementation: stub
|
||||||
|
|
||||||
|
`StubRecipeProvider` in `infrastructure.recipe`.
|
||||||
|
|
||||||
|
In-memory table of a few shaped recipes plus the identity fallback. Enough to drive Furnace / Crafting Bench / Chest in the overlay. Not vanilla-complete. Not EMI.
|
||||||
|
|
||||||
|
Later implementations (not this slice): `EmiRecipeProvider`, `JeiRecipeProvider`, `ReiRecipeProvider`, `VanillaRecipeProvider`.
|
||||||
|
|
||||||
|
If a recipe mod disappears, only the adapter changes. See ADR-003, ADR-014.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Who calls it
|
||||||
|
|
||||||
|
[[📈 Progress Calculation]] (via [[🧾 Recipe Resolution]]):
|
||||||
|
|
||||||
|
```text
|
||||||
|
remaining = max(0, goal.quantity − available(goal.item))
|
||||||
|
requirements = RecipeProvider.resolve(goal.item, remaining)
|
||||||
|
```
|
||||||
|
|
||||||
|
Then aggregate. Then `Missing = Required − Available`.
|
||||||
|
|
||||||
|
Owned finished goods reduce **how many to resolve**. They are not subtracted again from ingredients.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🧾 Recipe Resolution]]
|
||||||
|
|
||||||
|
[[🧱 Material Requirement]]
|
||||||
|
|
||||||
|
[[📈 Progress Calculation]]
|
||||||
|
|
||||||
|
[[🏛️ Architecture]]
|
||||||
|
|
||||||
|
[[📦 Packages]]
|
||||||
|
|
||||||
|
[[📝 Decisions]]
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
@@ -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]]
|
||||||
@@ -0,0 +1,99 @@
|
|||||||
|
# 📖 User Stories
|
||||||
|
|
||||||
|
Derived from [[🚶 Day in the Life]]. Not a second backlog.
|
||||||
|
|
||||||
|
Player is the only actor. Do not write recipe-browser stories. Do not write auto-craft stories.
|
||||||
|
|
||||||
|
The golden-day stories are the product. Capture stories are how a [[🎯 Goal]] enters.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Golden day — play with the plan in view
|
||||||
|
|
||||||
|
### US-1 — Missing materials while walking
|
||||||
|
|
||||||
|
As a player
|
||||||
|
I want each needed material on the play overlay, with how many I still need
|
||||||
|
so I do not hold the plan in working memory.
|
||||||
|
|
||||||
|
Screen 2, lower region. One row per material. Counts are aggregated across goals.
|
||||||
|
*What materials do I still need?*
|
||||||
|
|
||||||
|
### US-2 — Goals while walking
|
||||||
|
|
||||||
|
As a player
|
||||||
|
I want the goals I named on the same overlay
|
||||||
|
so I can see what I am trying to build without a menu.
|
||||||
|
|
||||||
|
Screen 2, upper region.
|
||||||
|
*What am I trying to build?*
|
||||||
|
|
||||||
|
### US-3 — The missing list follows what I have
|
||||||
|
|
||||||
|
As a player
|
||||||
|
I want the missing list to shrink as I gather
|
||||||
|
so I can see progress without opening a menu.
|
||||||
|
|
||||||
|
[[🎒 Inventory State]] changes. [[📈 Progress Calculation]] updates the living surface.
|
||||||
|
|
||||||
|
### US-4 — Ready is visible, work is still mine
|
||||||
|
|
||||||
|
As a player
|
||||||
|
I want to know when a goal is [[🛠️ Ready To Craft]]
|
||||||
|
so I can do the crafting. The overlay does not craft for me.
|
||||||
|
|
||||||
|
### US-5 — Change how many I want
|
||||||
|
|
||||||
|
As a player
|
||||||
|
I want `[+]` / `[-]` on a goal
|
||||||
|
so I can set Target Quantity while I play.
|
||||||
|
|
||||||
|
Screen 2. Capture starts at 1 (or +1). `[-]` at 1 removes the goal.
|
||||||
|
|
||||||
|
### US-6 — Clear the plan
|
||||||
|
|
||||||
|
As a player
|
||||||
|
I want `X Clear Items`
|
||||||
|
so I can drop the tracked goals from the overlay.
|
||||||
|
|
||||||
|
No confirm. No quantity 0.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Interrupt — name a goal
|
||||||
|
|
||||||
|
### US-7 — Add from an item I am looking at
|
||||||
|
|
||||||
|
As a player
|
||||||
|
I want to hover an item and press `+ Add to Crafting Goals`
|
||||||
|
so I can name a [[🎯 Goal]] without a Satistaskory menu.
|
||||||
|
|
||||||
|
Screen 1 → [[▶️ Create Goal]] → Screen 2 (new row, or quantity +1).
|
||||||
|
|
||||||
|
### US-8 — Same add, three places I already use
|
||||||
|
|
||||||
|
As a player
|
||||||
|
I want that button in inventory, the crafting bench craft pane, and the craft book
|
||||||
|
so I can capture the item wherever I noticed it.
|
||||||
|
|
||||||
|
One control. Three hosts we do not own.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Not stories (yet): full-screen planner, which-goals-need-this, recipe trees as a browser, all three capture hosts in the first wiring.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🚶 Day in the Life]]
|
||||||
|
|
||||||
|
[[🖼️ Wireframes]]
|
||||||
|
|
||||||
|
[[🖥️ Experience]]
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[🌟 Project Vision]]
|
||||||
|
|
||||||
|
[[▶️ Create Goal]]
|
||||||
@@ -0,0 +1,116 @@
|
|||||||
|
# 🖥️ Experience
|
||||||
|
|
||||||
|
The living surface is the **play screen**. Capture happens **in place** on item views Minecraft already owns.
|
||||||
|
|
||||||
|
Satistaskory does not own a daily menu. The overlay panel sits on the world. The player is not inside it.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Two surfaces
|
||||||
|
|
||||||
|
| Surface | When | What Satistaskory adds |
|
||||||
|
|---------|------|------------------------|
|
||||||
|
| **Capture** | Inventory, crafting bench craft pane, craft book | On hover: `+ Add to Crafting Goals` |
|
||||||
|
| **Living** | Walking around, playing | Overlay panel: [[🎯 Goal\|goals]] with quantity, then [[📉 Missing Material\|missing materials]] |
|
||||||
|
|
||||||
|
Capture is an interrupt. The living surface is the product.
|
||||||
|
|
||||||
|
Chrome and the two-region layout come from the player’s concept art. The lower region was unfinished; it is the aggregated needed-counts list. See [[🖼️ Wireframes]] Screen 2.
|
||||||
|
|
||||||
|
First slice: overlay on the **right** of the play screen.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Capture
|
||||||
|
|
||||||
|
We do not own these views. We attach one control to an item the player is already looking at.
|
||||||
|
|
||||||
|
Places:
|
||||||
|
|
||||||
|
- Player inventory
|
||||||
|
- Crafting bench craft pane
|
||||||
|
- Craft book
|
||||||
|
|
||||||
|
Interaction:
|
||||||
|
|
||||||
|
1. Hover the item
|
||||||
|
2. `+ Add to Crafting Goals` appears
|
||||||
|
3. That is [[▶️ Create Goal]] — quantity **1**, or **+1** if that item is already a goal
|
||||||
|
4. Player closes the view and is back in the world
|
||||||
|
5. The item is a row on the overlay’s goal list
|
||||||
|
|
||||||
|
Player copy: **Crafting Goals**. Domain: **Goal**. Do not fork the language in code or docs.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Living
|
||||||
|
|
||||||
|
The overlay answers both halves of the vision question:
|
||||||
|
|
||||||
|
> What am I trying to build, and what materials do I still need?
|
||||||
|
|
||||||
|
| Region | Answers |
|
||||||
|
|--------|---------|
|
||||||
|
| Upper — goal list | What I am trying to build. Target Quantity via `[+]` / `[-]` |
|
||||||
|
| Lower — needed list | What I still need. One row per material. Count is aggregated (`Missing = Required - Available`) |
|
||||||
|
|
||||||
|
`X Clear Items` clears the tracked goals. No confirm in this slice.
|
||||||
|
|
||||||
|
`[-]` at quantity 1 removes that goal.
|
||||||
|
|
||||||
|
Same material from two goals is one row. Changing a goal quantity recalculates the lower list. As inventory fills, counts shrink.
|
||||||
|
|
||||||
|
Expanded views (which goals need a material, recipe breakdowns, dependency chains) exist as disclosure. They are not this panel’s first drawing. The lower region is not a recipe browser.
|
||||||
|
|
||||||
|
A full-screen planner is not this surface. It is not discovered.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Quantity
|
||||||
|
|
||||||
|
Capture always applies **1** (new goal) or **+1** (existing). No picker on Screen 1.
|
||||||
|
|
||||||
|
`[+]` / `[-]` on the overlay change quantity. `[-]` at 1 removes the goal. There is no 0.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## What we do not own
|
||||||
|
|
||||||
|
- Inventory
|
||||||
|
- Crafting bench
|
||||||
|
- Craft book
|
||||||
|
- A pause menu or planner pane as the daily desk
|
||||||
|
- Crafting, gathering, or routing
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Not discovered
|
||||||
|
|
||||||
|
- Row selection / per-goal filter of the missing list
|
||||||
|
- Full-screen planner
|
||||||
|
- Expanded disclosure chrome
|
||||||
|
- Pixel-perfect overlay metrics (right side is the freeze; padding/size is not)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🚶 Day in the Life]]
|
||||||
|
|
||||||
|
[[📖 User Stories]]
|
||||||
|
|
||||||
|
[[🖼️ Wireframes]]
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[📉 Missing Material]]
|
||||||
|
|
||||||
|
[[➕ Material Aggregation]]
|
||||||
|
|
||||||
|
[[🏛️ Architecture]]
|
||||||
|
|
||||||
|
[[📝 Decisions]]
|
||||||
|
|
||||||
|
[[🌟 Project Vision]]
|
||||||
|
|
||||||
|
[[▶️ Create Goal]]
|
||||||
@@ -0,0 +1,136 @@
|
|||||||
|
# 🖼️ Wireframes
|
||||||
|
|
||||||
|
Boxes and arrows. Not pixels. Not components.
|
||||||
|
|
||||||
|
Two screens. Capture is not a Satistaskory window — it is a button on views we do not own. The living screen is play.
|
||||||
|
|
||||||
|
The world is the shell. The overlay has chrome. The player is not inside a pause menu.
|
||||||
|
|
||||||
|
Screen 2 is the player’s concept art, finished with the domain: goals on top; below, each aggregated material and how many are needed.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Screen 1 — Capture (in place)
|
||||||
|
|
||||||
|
The player is already in inventory, the crafting bench craft pane, or the craft book.
|
||||||
|
|
||||||
|
Satistaskory draws only the hover control.
|
||||||
|
|
||||||
|
```text
|
||||||
|
(host view we do not own)
|
||||||
|
|
||||||
|
[ item ]
|
||||||
|
|
||||||
|
┌─────────────────────────┐
|
||||||
|
│ + Add to Crafting Goals │
|
||||||
|
└─────────────────────────┘
|
||||||
|
```
|
||||||
|
|
||||||
|
**Primary action:** Add → [[▶️ Create Goal]] (quantity 1, or +1 if present) → player closes the host view → the item appears in Screen 2’s goal list.
|
||||||
|
|
||||||
|
Same button in all three hosts. We do not restyle the inventory, the bench, or the book.
|
||||||
|
|
||||||
|
Target Quantity is not drawn here. First quantity is 1. Further edits are `[+]` / `[-]` on Screen 2.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Screen 2 — Play overlay (golden day)
|
||||||
|
|
||||||
|
The player is walking. This panel sits on the **right** of the play screen.
|
||||||
|
|
||||||
|
Concept art supplies the chrome. The lower region was unfinished (a material name, no counts). Finished: [[➕ Material Aggregation]] — one row per material, with how many are needed.
|
||||||
|
|
||||||
|
```text
|
||||||
|
(the world — player is walking)
|
||||||
|
|
||||||
|
┌──────────────────────────────────┐
|
||||||
|
│ SATISTASKORY │
|
||||||
|
├──────────────────────────────────┤
|
||||||
|
│ [+] [-] FURNACE 3 │
|
||||||
|
│ [+] [-] CRAFTING BENCH 5 │
|
||||||
|
│ [+] [-] CHEST 8 │
|
||||||
|
├──────────────────────────────────┤
|
||||||
|
│ Wooden Planks 84 │
|
||||||
|
│ Cobblestone 24 │
|
||||||
|
│ │
|
||||||
|
│ │
|
||||||
|
├──────────────────────────────────┤
|
||||||
|
│ [ X Clear Items ] │
|
||||||
|
└──────────────────────────────────┘
|
||||||
|
```
|
||||||
|
|
||||||
|
Annotations (not on-screen labels):
|
||||||
|
|
||||||
|
| Region | What it is |
|
||||||
|
|--------|------------|
|
||||||
|
| Title `SATISTASKORY` | Overlay chrome |
|
||||||
|
| Upper list | [[🎯 Goal\|Goals]] the player named. Number is Target Quantity. `[+]` / `[-]` adjust it |
|
||||||
|
| Lower list | Aggregated materials. One row per material. Number is how many are still needed (`Missing = Required - Available`) |
|
||||||
|
| `X Clear Items` | Clears the tracked goals on this overlay |
|
||||||
|
|
||||||
|
Example reading: three goals (3 furnaces, 5 crafting benches, 8 chests). [[🧾 Recipe Resolution]] then [[➕ Material Aggregation]] fold those into one list — planks from benches and chests become one Wooden Planks row, not two. Counts in this drawing are illustrative, not a recipe table.
|
||||||
|
|
||||||
|
The lower list is not a recipe tree. No “8 cobble per furnace.” Just the individual materials and how many are needed.
|
||||||
|
|
||||||
|
As the player gathers, the needed counts shrink. A material at 0 leaves the list. Changing a goal’s `[+]` / `[-]` recalculates the lower list.
|
||||||
|
|
||||||
|
**While playing:** the lists are memory. The player mines and crafts.
|
||||||
|
|
||||||
|
**On this chrome:**
|
||||||
|
|
||||||
|
- `[+]` / `[-]` change that goal’s Target Quantity
|
||||||
|
- `X Clear Items` clears the goal list (missing list follows)
|
||||||
|
|
||||||
|
No row selection is drawn. The lower list is aggregated across active goals, not a per-goal recipe pane.
|
||||||
|
|
||||||
|
Placement: **right** side (first-slice freeze). Exact pixels are not specified.
|
||||||
|
|
||||||
|
`[-]` at 1 removes the row. `X Clear Items` does not ask first.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Roads
|
||||||
|
|
||||||
|
**Golden day:** the player is already on Screen 2.
|
||||||
|
|
||||||
|
```text
|
||||||
|
2 Play overlay (goals + missing materials)
|
||||||
|
player gathers / crafts
|
||||||
|
missing list shrinks
|
||||||
|
+/- if the target count was wrong
|
||||||
|
```
|
||||||
|
|
||||||
|
**Interrupt (name a goal):**
|
||||||
|
|
||||||
|
```text
|
||||||
|
1 Capture (hover + add)
|
||||||
|
→ 2 Play overlay (new row in the goal list)
|
||||||
|
```
|
||||||
|
|
||||||
|
There is no Screen 3. A full-screen planner is not on this road. Recipe breakdowns and “which goals need this” are expanded views. They are not this panel’s first drawing.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🖥️ Experience]]
|
||||||
|
|
||||||
|
[[🚶 Day in the Life]]
|
||||||
|
|
||||||
|
[[📖 User Stories]]
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[📉 Missing Material]]
|
||||||
|
|
||||||
|
[[➕ Material Aggregation]]
|
||||||
|
|
||||||
|
[[🧾 Recipe Resolution]]
|
||||||
|
|
||||||
|
[[🌟 Project Vision]]
|
||||||
|
|
||||||
|
[[📝 Decisions]]
|
||||||
|
|
||||||
|
[[▶️ Create Goal]]
|
||||||
|
|
||||||
|
[[🔌 Recipe Provider]]
|
||||||
@@ -0,0 +1,131 @@
|
|||||||
|
# 🚶 Day in the Life
|
||||||
|
|
||||||
|
The spine of the product. If this walk is boring, the UI is a rendering problem.
|
||||||
|
|
||||||
|
Player language. Recipe mods, save formats, and NeoForge do not appear here.
|
||||||
|
|
||||||
|
The golden day is **playing**. Naming a [[🎯 Goal]] is an interrupt, not a desk.
|
||||||
|
|
||||||
|
Screens: [[🖼️ Wireframes]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Golden day — walk with the plan in view
|
||||||
|
|
||||||
|
A [[🎯 Goal]] already exists. The player is in the world.
|
||||||
|
|
||||||
|
The job is two questions, one overlay:
|
||||||
|
|
||||||
|
> What am I trying to build, and what materials do I still need?
|
||||||
|
|
||||||
|
```text
|
||||||
|
Player is walking, mining, fighting, building
|
||||||
|
↓
|
||||||
|
Play overlay shows goals (with quantities)
|
||||||
|
and [[📉 Missing Material|missing materials]]
|
||||||
|
↓
|
||||||
|
Player gathers and crafts
|
||||||
|
↓
|
||||||
|
[[🎒 Inventory State]] changes
|
||||||
|
↓
|
||||||
|
Missing list shrinks
|
||||||
|
↓
|
||||||
|
[[🛠️ Ready To Craft]] when nothing is missing for that goal
|
||||||
|
↓
|
||||||
|
Player still does the work
|
||||||
|
↓
|
||||||
|
[[✅ Completed Goal]] when they consider it finished
|
||||||
|
```
|
||||||
|
|
||||||
|
### 1. Playing
|
||||||
|
|
||||||
|
The world stays the screen. The overlay panel sits on it. The player is not inside a Satistaskory menu.
|
||||||
|
|
||||||
|
### 2. The plan in view
|
||||||
|
|
||||||
|
**Where:** Screen 2 — Play overlay.
|
||||||
|
|
||||||
|
**Sees:**
|
||||||
|
|
||||||
|
- Goals they named — e.g. Furnace 3, Crafting Bench 5, Chest 8
|
||||||
|
- Aggregated materials still needed — e.g. Wooden Planks 84, Cobblestone 24 (one row per material, counts combined across goals)
|
||||||
|
|
||||||
|
Not a quest log. Not a recipe tree.
|
||||||
|
|
||||||
|
`[+]` / `[-]` on a goal changes how many they want, without opening a menu.
|
||||||
|
|
||||||
|
### 3. The player acts
|
||||||
|
|
||||||
|
They mine, pick up, craft. Satistaskory does not.
|
||||||
|
|
||||||
|
As [[🎒 Inventory State]] changes, [[📈 Progress Calculation]] updates the missing list.
|
||||||
|
|
||||||
|
### 4. Ready is not done
|
||||||
|
|
||||||
|
When the missing list is empty for a goal, that goal is [[🛠️ Ready To Craft]].
|
||||||
|
|
||||||
|
The player still crafts it, places it, or otherwise finishes the work. Then it is a [[✅ Completed Goal]].
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Interrupt — name a goal (not the product loop)
|
||||||
|
|
||||||
|
This is how a [[🎯 Goal]] **enters** the plan. It can happen many times. It is not the golden day.
|
||||||
|
|
||||||
|
The player already has Minecraft's own item views open. Satistaskory does not replace those views.
|
||||||
|
|
||||||
|
```text
|
||||||
|
Looking at an item
|
||||||
|
in inventory
|
||||||
|
or the crafting bench craft pane
|
||||||
|
or the craft book
|
||||||
|
↓
|
||||||
|
Hover the item Screen 1
|
||||||
|
↓
|
||||||
|
+ Add to Crafting Goals
|
||||||
|
↓
|
||||||
|
A [[🎯 Goal]] is created for that item
|
||||||
|
↓
|
||||||
|
Close the view
|
||||||
|
↓
|
||||||
|
The item is a row on the overlay Screen 2
|
||||||
|
```
|
||||||
|
|
||||||
|
**Does:** Points at the thing they want. Presses the button. Returns to play.
|
||||||
|
|
||||||
|
**Does not:** Type a goal name into a Satistaskory menu. Open a planner pane to start tracking.
|
||||||
|
|
||||||
|
The button label is player copy. The domain name is [[🎯 Goal]]. See [[🖥️ Experience]].
|
||||||
|
|
||||||
|
### Quantity
|
||||||
|
|
||||||
|
A goal has a Target Quantity. Hover-add starts at **1**, or **+1** if that item is already a goal. The overlay changes it with `[+]` / `[-]`. `[-]` at 1 removes the goal.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## What this walk is not
|
||||||
|
|
||||||
|
- A pause-menu planner as the daily desk
|
||||||
|
- A recipe browser
|
||||||
|
- Auto-craft after Ready To Craft
|
||||||
|
- Satistaskory owning inventory, the crafting bench, or the craft book
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🖥️ Experience]]
|
||||||
|
|
||||||
|
[[📖 User Stories]]
|
||||||
|
|
||||||
|
[[🖼️ Wireframes]]
|
||||||
|
|
||||||
|
[[🎯 Goal]]
|
||||||
|
|
||||||
|
[[📉 Missing Material]]
|
||||||
|
|
||||||
|
[[➕ Material Aggregation]]
|
||||||
|
|
||||||
|
[[🌟 Project Vision]]
|
||||||
|
|
||||||
|
[[▶️ Create Goal]]
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
# 🚧 Future Ideas
|
||||||
|
|
||||||
|
Things that are cool.
|
||||||
|
|
||||||
|
Not a build queue.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
- EMI / JEI / REI `RecipeProvider` adapters
|
||||||
|
- Vanilla `RecipeProvider` beyond the stub table
|
||||||
|
- Persistence (world save / server / cloud)
|
||||||
|
- Inventory-detection completion (alongside manual)
|
||||||
|
- Ender chest / later storage in the inventory snapshot
|
||||||
|
- Projects packaged
|
||||||
|
- Full-screen planner
|
||||||
|
- Overlay pixel metrics (right side is frozen; size/padding is not)
|
||||||
|
- Which-goals-need-this expanded view
|
||||||
|
- Recipe breakdowns and dependency chains as disclosure, not as a recipe browser
|
||||||
|
|
||||||
|
Integrations that are **not domain** (may be wired later, never owned):
|
||||||
|
|
||||||
|
- Auto crafting
|
||||||
|
- AE2 job submission
|
||||||
|
- Storage automation
|
||||||
|
- Item routing
|
||||||
|
- Quest management
|
||||||
|
- Factory automation
|
||||||
|
- Inventory sorting
|
||||||
|
- Recipe viewing
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Reminder:
|
||||||
|
|
||||||
|
Just because an idea is cool doesn't mean it needs to be built this week.
|
||||||
|
|
||||||
|
Goals first.
|
||||||
|
Do not invent a second bounded context unless Goal Planning fails a real domain problem.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Related Documents
|
||||||
|
|
||||||
|
[[🗺️ Roadmap]]
|
||||||
|
|
||||||
|
[[🌟 Project Vision]]
|
||||||
|
|
||||||
|
[[🗣️ Ubiquitous Language]]
|
||||||
|
|
||||||
|
[[🖥️ Experience]]
|
||||||
Reference in New Issue
Block a user