Support Truthtrance shipment promises with Advanced Guild

Admit base Advanced Guild through the existing active unused-shipment predicate. Preserve native interception, typed transport permission, rate cancellation and actual payment/arrival. Opposing stops evaluate the complete promise against absent shipment; self-interception cannot voluntarily evade a required shipment. Share the authoritative self-stop reason with controls, and hide executable completion guidance during pending native windows. No other profile opens or strategic AI tuning is added.

Validation and exact frozen-source evidence are in the canonical Truthtrance shipment contract. Public classic Advanced starts earn real physical Truthtrance/Karamas via the unopened original starting deal, native Guild TAKE/WAIT, typed Emperor delivery or opposing stop, and Guild half/full-price routes. Four minimal profiles use legal native continuations. Separate controlled probes cover No/mixed claims, self-stop, unaffordable repricing/owned alternatives and Fremen route denial. Update existing scope expectations; no new recovery campaign.

Broader timings/routes/modules, complete modes, final assurance and browser/deployed acceptance remain open. No saved-room/database/reset/restart/deployment operation.
This commit is contained in:
Quintine committed 2026-10-18 14:29:18 +11:00
1 parent 377e9c5160
commit 2939ffa900
16 files changed
+678 -53

No files matched your search

+23 -25
View File
@@ -568,29 +568,27 @@ void test('unrelated opponent cards and wealth cannot change Advanced answer or
}
});
void test('Advanced Guild and selected expansions reject unsupported questions immutably before binding or discard', () => {
for (const scope of ['guild', 'expansion'] as const) {
const g = fixture('emperor', scope === 'guild' ? ['guild'] : []);
if (scope === 'expansion') g.expansions = ['ix'];
const pending = openQuestion(g);
reject(pending, 'a', {
type: 'truthAsk',
question: {
kind: 'shipment',
target: 'p',
territory: 'carthag',
minimum: 6,
},
});
assert.equal(pending.shipmentPromises?.length ?? 0, 0);
assert.equal(
pending.discard.filter((c) => c.effect === 'truthtrance').length,
0,
);
assert.equal(
player(pending, 'a').hand.filter((c) => c.effect === 'truthtrance')
.length,
1,
);
}
void test('selected expansions still reject unsupported questions immutably before binding or discard', () => {
const g = fixture('emperor');
g.expansions = ['ix'];
const pending = openQuestion(g);
reject(pending, 'a', {
type: 'truthAsk',
question: {
kind: 'shipment',
target: 'p',
territory: 'carthag',
minimum: 6,
},
});
assert.equal(pending.shipmentPromises?.length ?? 0, 0);
assert.equal(
pending.discard.filter((c) => c.effect === 'truthtrance').length,
0,
);
assert.equal(
player(pending, 'a').hand.filter((c) => c.effect === 'truthtrance')
.length,
1,
);
});