Runtime hygiene: fix RefCounted cycles (clean suite exit), full-length shifts, wand cooldown
- FSM holds owner via WeakRef; ShiftCoordinator is RefCounted (logic-only); persistence tests free the Save node -> test suite exits with zero 'resources still in use' warnings (was ~13) and 57/57 pass - GameManager uses each scenario's shift_duration_s (900s ~ 10-15 min) for real shifts instead of the 300s test duration - Wand screening gets a 0.8s recharge cooldown with a wand.recharge message - TODO/DONE/MEMORY/README synced
This commit is contained in:
1 parent
ba76c0febf
commit
08b3292b80
10 files changed
+57
-17
No files matched your search
@@ -185,6 +185,16 @@ Completed task sections moved from `TODO.md`. Sections are moved only when every
|
||||
Follow-up: anonymous **asset downloads** require sign-in on this host (host setting).
|
||||
- [x] CI packaging follow-up was already live (`.gitea/workflows/build.yml` on tags).
|
||||
|
||||
## 🧹 Runtime hygiene + timeline/polish items
|
||||
|
||||
- [x] RefCounted cycle cleanup: `FSM` now holds its owner via `WeakRef`; `ShiftCoordinator` is
|
||||
`RefCounted` (logic-only, no tree needs); persistence tests free the `Save` node.
|
||||
Test suite now exits with **zero** “resources still in use” warnings.
|
||||
- [x] Full-length shifts: the prototype now uses each scenario's `shift_duration_s` (900s ≈
|
||||
10-15 min per PLAN.md) instead of a hardcoded 300s test duration.
|
||||
- [x] Wand cooldown feel: a short `WAND_COOLDOWN_S` recharge between wand scans with a
|
||||
`wand.recharge` message (Open Polish item).
|
||||
|
||||
## 📦 Installer packaging (Windows NSIS + Linux AppImage)
|
||||
|
||||
- [x] Export presets: `binary_format/embed_pck=true` on all platforms — every binary is now
|
||||
|
||||
Reference in new issue
Block a user