Document the domain vault and first-slice design.
Build / build (push) Failing after 6m27s

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:
Stephen Fasciani
2026-09-08 01:47:06 -04:00
parent b904595114
commit a045281f76
31 changed files with 2727 additions and 0 deletions
@@ -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]]