tasks: check off #22 — fix batch #16-#22 merged; graph update

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-06 13:51:51 -04:00
parent 02b990d362
commit dcfc8544b9
17 changed files with 65513 additions and 3098 deletions

View file

@ -90,6 +90,15 @@ Co-op / pouch (#16):
morning (nothing is lost).
- `game/RULES.md` says the pouch holds 15; the config is 8 (16 upgraded). Stale before #16.
Partner's shops (#22):
- Judge a partner's interact press against `remote.position` (where P2 was when it pressed)
rather than the host's trailing copy. That removes the lag at its source; the 0.3 s press window
can still be outrun by a host at very low frame rate (e.g. a hidden window, ~1 FPS here).
- The ShedCounter has no visible model, so players can't see where its 2.2 m reach ends; a counter
or marker would help.
- `CoopSession._bought` is never cleared (harmless: an id only lingers if a retry rolls the
purchase back before the state arrives).
Torch (#17):
- Add a permanent partner-view torch check to test_coop `_weapons_shown` (left out to avoid
colliding with #16/#22 in that file).

View file

@ -224,7 +224,10 @@ parallel; wave 2 waits on the task named.
*Acceptance:* test_weapons same-step far hit, wall blocks, two-in-line both hit, beam visible
only while held.
- [ ] **#22 Joining player can open the store.** [user item 7] Blocked by #16.
- [x] **#22 Joining player can open the store.** [user item 7] Blocked by #16. *(merged 02b990d —
cause found in a two-process run: no client prompt + the host dropped presses its lagging copy of
P2 made at the reach's edge; `Interactions.PRESS_WINDOW` 0.3 s, `["bought", slot, id]` event,
PROTOCOL 5. A menu that never opens at all was not reproduced)*
Failing test_coop case first (both shops), then fix: client shop prompt (`_gather_node`),
host keeps a partner's press pending until focus is valid, interact closes the client menu,
partner purchases equip on the buyer's slot and pay from the buyer's pouch.