Opt-in auto-remove: picking up the goal item counts it done.
Build / build (push) Failing after 27s

/satistaskory auto-remove. Off by default. A gain in held target items reduces quantity and removes the goal at 0. Player inventory only. Already-held stacks are a baseline, not a wipe.
This commit is contained in:
Stephen Fasciani
2026-09-08 06:48:57 -04:00
parent bac020f335
commit d63f1aa745
20 changed files with 311 additions and 17 deletions
+21 -1
View File
@@ -114,7 +114,7 @@ Resolution converts one goal into requirements. Aggregation combines active goal
Having the diamonds is not the same as considering the work finished.
**Status:** ✅ Accepted
**Status:** ✅ Accepted. Opt-in inventory detection: ADR-020.
---
@@ -348,6 +348,26 @@ A chest crafts from any `#minecraft:planks`. Picking `getItems()[0]` made spruce
---
### ADR-020 — Opt-in: picking up the goal item can complete it
**Date:** 2026-09-08
**Decision:** Inventory-detection completion is a **player toggle**: `/satistaskory auto-remove` `[on|off]`. Default **off**.
When on, an **increase** in how many of the goal item the player is holding counts that many toward the goal. Quantity drops. At 0 the goal is removed. Player inventory only. Putting the item in a chest does not restore quantity. Enabling the toggle, or joining a world, baselines current holdings so already-held stacks do not wipe the list.
Manual `[−]` / Clear remain. Ready is still not complete.
**Reason:**
The walk: finished items stayed on the overlay until a click. For a prosthetic that is extra working memory. Auto-removing whenever `held >= target` would also delete a new goal the moment they add it while carrying any of that item. Counting **gains** avoids that.
**Status:** ✅ Accepted
**Refines:** ADR-008 (completion is configurable; this is the inventory-detection option)
---
## Related Documents
[[🏛️ Architecture]]