From f0d3d9c4646ed44b4c040b61d9739b42fe7788aa Mon Sep 17 00:00:00 2001 From: Quintine <15965533+Quintine@users.noreply.github.com> Date: Sun, 13 Sep 2026 14:50:09 +1000 Subject: [PATCH] Prototype Jacurutu income, Testing Station and Shrine effects Connect automatic unambiguous Jacurutu physical-force income, a sole-occupant Testing Station storm choice and Shrine reciprocal physical card roles to engine actions, player controls, legal AI and saved continuation. Preserve Weather Control exclusion, exact card/force custody, private hand boundaries and committed effects after restart. Shared role checks cover existing ordinary and special Karama paths; reserved cards cannot enter another pending use. Keep Orgiz, mixed-force Jacurutu allocation and contested Cistern/Testing Station benefits explicitly pending. These are bounded prototypes; complete Discovery/Advanced/expansion and publication gates remain closed. Validation: types, lint and 4,345 offline tests passed (32 added), production build passed, and 40 HTTP tests passed. Independent cross-reviews repaired reserved-card deadlock, physical-card selection, alternate-role permission, storm source/token binding and public-entitlement bot ordering. The first broad run found five failures; focused repairs preceded the stable repeated check. Browser A5EJQ2W4 used genuine Discovery setup/reveal/free entry with targeted QA positioning. A human increased storm movement from two to three sectors, moving sector 6 to 9. Refresh restored station forces and the private Snooper. This was targeted control/recovery evidence, not an unmodified full game. All 187 opening saved rooms remained unchanged; 31 QA/HTTP rooms were added (218 total). Reused the running server; no restart or save reset. Source-bound report: /home/quintine/.local/share/dune/checkpoints/20260913-discovery-location-effects/verification-final/report.json Source fingerprint: beecb85ab7ec39319115389c115434d161591e8549802c542a6343a0fc19bea6 Durations: check 140540ms; build 6741ms; integration 24956ms. Aggregate goal counter 63,116,444 to 64,295,091 at final verification: 1,178,647 tokens before final Git/push overhead for three bounded functions. Standing authorization: Push all from now on. --- components/choam-cash-in.tsx | 4 +- components/discoveries.tsx | 2 +- components/discovery-storm.tsx | 53 +++ components/game-table.tsx | 75 ++-- components/truthtrance.tsx | 45 ++- docs/CURRENT_STATUS.md | 31 +- docs/DISCOVERY_PROTOTYPE.md | 74 +++- docs/EFFICIENCY_PILOT.md | 19 + docs/IMPLEMENTATION_STATUS.md | 20 ++ docs/RULE_DECISIONS.md | 4 +- game/bots.ts | 19 +- game/discovery-battle.ts | 125 +++++++ game/discovery-storm-options.ts | 25 ++ game/discovery-storm.ts | 250 ++++++++++++++ game/engine.ts | 174 ++++++++-- game/reference.ts | 29 +- game/richese-cancellation.ts | 1 + game/shrine.ts | 113 ++++++ game/truthtrance.ts | 115 +++++- tests/automatic-decisions.test.ts | 8 +- tests/automatic-responses.test.ts | 9 +- tests/discovery-battle-recovery.test.ts | 112 ++++++ tests/discovery-battle.test.ts | 200 +++++++++++ tests/discovery-controls.test.ts | 2 +- tests/discovery-shrine-engine.test.ts | 442 ++++++++++++++++++++++++ tests/discovery-shrine-recovery.test.ts | 194 +++++++++++ tests/discovery-storm-recovery.test.ts | 146 ++++++++ tests/discovery-storm.test.ts | 200 +++++++++++ tests/fixture-discovery-battle.ts | 97 ++++++ tests/fixture-discovery-storm.ts | 72 ++++ tests/richese-engine-review.test.ts | 2 +- 31 files changed, 2524 insertions(+), 138 deletions(-) create mode 100644 components/discovery-storm.tsx create mode 100644 game/discovery-battle.ts create mode 100644 game/discovery-storm-options.ts create mode 100644 game/discovery-storm.ts create mode 100644 game/shrine.ts create mode 100644 tests/discovery-battle-recovery.test.ts create mode 100644 tests/discovery-battle.test.ts create mode 100644 tests/discovery-shrine-engine.test.ts create mode 100644 tests/discovery-shrine-recovery.test.ts create mode 100644 tests/discovery-storm-recovery.test.ts create mode 100644 tests/discovery-storm.test.ts create mode 100644 tests/fixture-discovery-battle.ts create mode 100644 tests/fixture-discovery-storm.ts diff --git a/components/choam-cash-in.tsx b/components/choam-cash-in.tsx index cb6a8a00..7ebbf14b 100644 --- a/components/choam-cash-in.tsx +++ b/components/choam-cash-in.tsx @@ -29,9 +29,9 @@ export function ChoamCashIn({