Align the vault with shipped capture, HUD overlay, and Planner.
Build / build (push) Failing after 33s

Roadmap no longer lists hover-add as next. ADR-015: tooltip plus rebindable key; overlay is not a Screen.
This commit is contained in:
Stephen Fasciani
2026-09-08 05:11:40 -04:00
parent 6007d62dfa
commit a66043915e
13 changed files with 82 additions and 40 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ 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 in code: [[▶️ Create Goal]], stub [[🔌 Recipe Provider]], play overlay. Capture is `/satistaskory add`. RAM only.
The first slice is in code and has been played: [[▶️ Create Goal]], stub [[🔌 Recipe Provider]], play overlay. Capture is hover + Add key. `/satistaskory add` is debug. RAM only.
See [[🗺️ Roadmap]].
+3 -3
View File
@@ -2,7 +2,7 @@
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.
Capture (hover item → Add key) is one caller. The use case does not know about inventory screens.
---
@@ -60,9 +60,9 @@ No confirm on Clear.
## First wiring
Capture: hover an item in inventory, the crafting bench craft pane, or the craft book, then `+ Add to Crafting Goals`. That calls this use case.
Capture: hover an item in inventory, the crafting bench craft pane, or the craft book; tooltip shows the bound key; press it. That calls this use case.
`/satistaskory add` remains a debug caller. Overlay on the **right** of the play screen.
`/satistaskory add` remains a debug caller (unknown ids are rejected). Overlay on the **right** of the play screen.
Do not start EMI. Do not start a planner menu.
+5 -5
View File
@@ -96,9 +96,7 @@ Recipe resolution uses a `RecipeProvider` port. It does not call a recipe mod.
Coordinates use cases.
First use case: [[▶️ Create Goal]].
Same slice: Adjust Goal Quantity, Remove Goal, Clear Goals, Refresh Progress.
First use case: [[▶️ Create Goal]]. In code this slice is one `Planner` facade (create / increment / decrement / clear / snapshot), not one class per use case.
Mark Goal Complete is named. It is not in the first slice.
@@ -123,6 +121,8 @@ Examples:
- Save data storage
- Inventory scanning
Shipped this slice: `StubRecipeProvider`, player-inventory snapshot, HUD overlay, tooltip+key capture. No save adapter yet.
Infrastructure is never the source of domain truth.
---
@@ -173,8 +173,8 @@ The UI should be replaceable. It renders domain information. It does not contain
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.
- **Capture** — in-place on inventory, crafting bench craft pane, and craft book. Tooltip + rebindable Add key (default `=`). We do not own those views. Not a clickable chip beside the slot.
- **Living** — play overlay HUD on the **right** of the play screen (not a `Screen`). 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. Vanilla button sprites + click sound; cursor via chat. See [[🖼️ Wireframes]] Screen 2.
Not discovered:
+18
View File
@@ -240,6 +240,24 @@ First impl: `StubRecipeProvider`. Production EMI/JEI/REI adapters come after the
---
### ADR-015 — Capture is tooltip + key; overlay is a HUD
**Date:** 2026-09-08
**Decision:** Capture is a tooltip line plus a rebindable `KeyMapping` (default `=`, Controls → Satistaskory). The mouse stays on the item. There is no clickable chip beside the slot.
The play overlay stays a HUD layer, not a `Screen`. `[+]` / `[-]` / Clear use vanilla `widget/button` sprites and `UI_BUTTON_CLICK`. A cursor is required (chat). Walking does not unlock the mouse.
**Reason:**
A button next to the slot vanishes when the cursor leaves the item. A `Screen` rewrite would replace a working HUD. Vanilla `Button` widgets belong on screens we do not own.
**Status:** ✅ Accepted
**Refines:** ADR-010 (in-place capture; the control is a key, not a click-off button). **Supersedes** ADR-013’s “first wiring may be one caller” — inventory, craft pane, and craft book all call [[▶️ Create Goal]].
---
## Related Documents
[[🏛️ Architecture]]
+8 -9
View File
@@ -24,20 +24,19 @@ com.sufficient.satistaskory
ProgressCalculation # domain service
application/
CreateGoal
AdjustGoalQuantity
RemoveGoal
ClearGoals
RefreshProgress
Planner # create / increment / decrement / clear / snapshot
InMemoryGoalStore
infrastructure/
recipe/
StubRecipeProvider # first impl. Not EMI/JEI/REI.
StubRecipeProvider # furnace, crafting_table, chest; else gather
inventory/
PlayerInventoryAdapter # player inventory → InventoryState
client/
PlayOverlay # Screen 2
CaptureHook # Screen 1 — hover add on inventory, craft pane, craft book
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`.
@@ -54,7 +53,7 @@ Dependencies point inward: `infrastructure` and `application` may import `domain
| 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.
The NeoForge template example block/item is gone. Do not put it back.
---
+4 -6
View File
@@ -12,17 +12,16 @@ What exists, and what is next. Implementation detail will live in an Implementat
- Packages named; [[🔌 Recipe Provider]] sketched; [[▶️ Create Goal]] written
- Experience: capture in place; overlay on the right (goals + aggregated needed counts)
First slice **code exists**: domain, stub `RecipeProvider`, in-memory Create Goal, player inventory, play overlay. Capture is `/satistaskory add <item>`. Plan does not survive restart.
First slice **code exists** and has been played: domain, stub `RecipeProvider` (furnace / crafting table / chest; else gather), in-memory `Planner`, player inventory, play overlay on the right. Capture is hover + rebindable Add key (default `=`). `/satistaskory add` is a debug caller. Plan does not survive restart.
---
## 🔲 Next
Play the slice. Then, only if the walk is real:
The walk is real.
1. Hover-add on one inventory host (the other two later)
2. World-save persistence
3. Real recipe adapter (still not required to start with EMI)
1. World-save persistence
2. Vanilla `RecipeProvider` (one crafting level). Still not EMI.
Do not start EMI because the port exists.
@@ -30,7 +29,6 @@ Do not start EMI because the port exists.
## ⏸ Not opened
- Hover-add on inventory / bench / craft book
- World save
---
@@ -296,6 +296,26 @@ Avoid: EMI next “because we can.”
---
## 📜 2026-09-08 (prose caught up)
Greetings, Wayfinder.
The walk is real. The vault had drifted.
What the code actually does:
- Capture: tooltip + rebindable Add key (`=`). Inventory, craft pane, craft book. Not a click-off-the-slot chip.
- Overlay: HUD, not a `Screen`. Vanilla `widget/button` sprites + `UI_BUTTON_CLICK`. Cursor via chat.
- Application: one `Planner`, not five use-case classes.
- Stub: three recipes. Oak planks as a goal is gather, not logs.
- Command add is debug. Unknown ids fail.
ADR-015 records capture-as-key and HUD-not-Screen.
Next: world save, then vanilla RecipeProvider. Not EMI. Not a Screen rewrite.
---
## Related Documents
[[🌟 Project Vision]]
+6 -5
View File
@@ -65,22 +65,23 @@ No confirm. No quantity 0.
### 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.
I want to hover an item and press the Add key (shown on the tooltip, default `=`)
so I can name a [[🎯 Goal]] without a Satistaskory menu and without moving off the item.
Screen 1 → [[▶️ Create Goal]] → Screen 2 (new row, or quantity +1).
Screen 1 → [[▶️ Create Goal]] → Screen 2 (new row, or quantity +1).
Rebind under Controls → Satistaskory.
### 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
I want that key 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.
Not stories (yet): full-screen planner, which-goals-need-this, recipe trees as a browser.
---
+3 -1
View File
@@ -10,7 +10,7 @@ Satistaskory does not own a daily menu. The overlay panel sits on the world. The
| Surface | When | What Satistaskory adds |
|---------|------|------------------------|
| **Capture** | Inventory, crafting bench craft pane, craft book | On hover: `+ Add to Crafting Goals` |
| **Capture** | Inventory, crafting bench craft pane, craft book | Tooltip line + rebindable Add key (default `=`) |
| **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.
@@ -58,6 +58,8 @@ The overlay answers both halves of the vision question:
`[-]` at quantity 1 removes that goal.
Walking has no cursor. Overlay `[+]` / `[-]` / Clear are HUD hit-tests (vanilla button sprites + click sound), not a `Screen`. Open chat (`T` or `/`) to click them. Capture does not use a clickable chip you leave the item to hit.
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.
+3 -1
View File
@@ -2,7 +2,7 @@
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.
Two screens. Capture is not a Satistaskory window — it is a tooltip line and a key 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.
@@ -86,6 +86,8 @@ Placement: **right** side (first-slice freeze). Exact pixels are not specified.
`[-]` at 1 removes the row. `X Clear Items` does not ask first.
Overlay controls are HUD hit-tests with vanilla button sprites and click sound. They are not `Button` widgets on a `Screen`. Open chat for a cursor.
---
## Roads
+7 -5
View File
@@ -52,7 +52,7 @@ The world stays the screen. The overlay panel sits on it. The player is not insi
Not a quest log. Not a recipe tree.
`[+]` / `[-]` on a goal changes how many they want, without opening a menu.
`[+]` / `[-]` on a goal changes how many they want. A cursor is required (chat). The overlay is not a pause menu.
### 3. The player acts
@@ -82,7 +82,9 @@ Looking at an item
↓
Hover the item Screen 1
↓
+ Add to Crafting Goals
Tooltip: [bound key] Add to Crafting Goals
↓
Press that key (default `=`)
↓
A [[🎯 Goal]] is created for that item
↓
@@ -91,11 +93,11 @@ 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:** Points at the thing they want. Presses the Add key. Returns to play.
**Does not:** Type a goal name into a Satistaskory menu. Open a planner pane to start tracking.
**Does not:** Type a goal name into a Satistaskory menu. Open a planner pane to start tracking. Chase a button off the item.
The button label is player copy. The domain name is [[🎯 Goal]]. See [[🖥️ Experience]].
Player copy **Crafting Goals**. Domain: [[🎯 Goal]]. See [[🖥️ Experience]].
### Quantity