b56403388c
Build / build (push) Failing after 29s
ADR-016: RecipeManager is the lookup source. Viewers are optional only if a recipe never registers with Minecraft.
2.0 KiB
2.0 KiB
📦 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
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/
Planner # create / increment / decrement / clear / snapshot
InMemoryGoalStore
infrastructure/
recipe/
StubRecipeProvider # furnace, crafting_table, chest; else gather
inventory/
PlayerInventoryAdapter # player inventory → InventoryState
client/
PlayOverlay # Screen 2 HUD (not a Screen)
CaptureHook # tooltip + KeyMapping ADD_GOAL
PlannerSession
ClientCommands # debug /satistaskory add|clear
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 |
VanillaRecipeProvider |
Next recipe impl; RecipeManager |
| Persistence | In-memory goals. ADR-004 still holds; no save adapter yet |
| Full-screen planner | Not discovered |
The NeoForge template example block/item is gone. Do not put it back.