From ae2d0371ceb0b9119b929ba0eef616df565ace56 Mon Sep 17 00:00:00 2001 From: Quintine <15965533+Quintine@users.noreply.github.com> Date: Sat, 24 Oct 2026 12:07:05 +1100 Subject: [PATCH] Bind Truthtrance shipments before respondent turns Admit supported active or originally queued unused shipments during the current Shipment & Movement phase. Answering preserves the real active player and queue; private future reachability uses owned resources, joint whole promises and the actual respondent profile. Hide executable guidance until that owner is active. Keep native Guild WAIT/TAKE, frozen mixed facts, interception, costs and actual delivery. Do not release a waiting promise while another declaration is unresolved or count its approved ally contribution as freely recoverable. Before response declaration, reject Emperor gifts or optional BG accompaniment that remove the last legal completion; affordable options remain legal. Minimal AI declines optional accompaniment while bound rather than attempting to spend required reserves. No strategy tuning or new profile/module/earlier-phase opening. Validation and exact frozen-source evidence are recorded in the canonical Truthtrance shipment contract. Three real public Basic/Advanced programmes use original unopened starting deals, paid intervening turns and a later Emperor or native out-of-order Guild fulfillment. Four minimal policies answer while waiting and ship only on their actual turn. Controlled funding, temporary price, gift and advisor probes remain separate. Existing stale scope fixtures and two type declarations were repaired during feedback. Earlier phases, broader modules/actions, full Truthtrance/modes, final assurance and browser/deployed acceptance remain open. No saved-room/database/reset/restart/deployment operation. --- components/shipment-promises.tsx | 4 + components/truthtrance.tsx | 17 +- docs/CURRENT_STATUS.md | 23 ++- docs/IMPLEMENTATION_STATUS.md | 22 +++ docs/RULE_DECISIONS.md | 2 +- docs/TRUTHTRANCE_SHIPMENT_PROMISES.md | 89 ++++++++- game/bots.ts | 4 + game/engine.ts | 86 ++++++--- game/reference.ts | 13 +- game/shipment-promises.ts | 14 +- game/truthtrance.ts | 15 +- tests/fixture-truthtrance-future-shipment.ts | 181 ++++++++++++++++++ tests/shipment-promises-recovery.test.ts | 2 + tests/shipment-promises.test.ts | 3 +- ...truthtrance-future-shipment-engine.test.ts | 153 +++++++++++++++ tests/truthtrance-future-shipment.test.ts | 173 +++++++++++++++++ 16 files changed, 745 insertions(+), 56 deletions(-) create mode 100644 tests/fixture-truthtrance-future-shipment.ts create mode 100644 tests/truthtrance-future-shipment-engine.test.ts create mode 100644 tests/truthtrance-future-shipment.test.ts diff --git a/components/shipment-promises.tsx b/components/shipment-promises.tsx index 72d791ab..3ad4c2e3 100644 --- a/components/shipment-promises.tsx +++ b/components/shipment-promises.tsx @@ -62,6 +62,10 @@ export function ShipmentPromises({ id="shipment-promise-guidance" >

Your shipment promises

+ {g.active !== g.me &&

+ Your shipment turn is still ahead. This answer stays binding while + other players finish; shipment actions become available on your turn. +

}