Compose the deferred Terror arrival and green the mixed E3 programmes

Queue a committed Terror entry whose arrival also opened its own
interaction — Guild income, a Bene Gesserit fighter Intrusion or advisor
choice, or Fremen storm protection — in the additive
Game.pendingArrivalReaction list, and open the oldest queued entry from
settleAutomaticContinuations once nothing is pending. Payment, force
transfer and the original movement never replay; a Terror entry already in
flight and every Ambassador combination still reject.

Both withdrawn mixed E3 programme pairs are green: Moritani 9/9 and Ecaz
14/14, stable across 20 consecutive full-file runs. Their recorded resume
constraints became real fixture repairs, and the two restored consumer
omissions were corrected against the engine rather than re-pinned.

Repair pre-existing failures inherited at 45e6084 against current engine
behavior: stale Discovery and module gates in the native skills, Ix and
expansion-faction prototypes, the advanced Moritani skill boundary, the
Richese Nexus betrayal sale-credit expectation, one incidental gate
message and one flaky Collection-readiness assertion that reproduced at
HEAD.

Offline suite 7,793/7,793 with typecheck and lint clean. No game, seat,
saved-state, deployment, public-start or played-save conversion changes.
This commit is contained in:
Quintine committed 2026-10-07 17:24:23 +11:00
1 parent 45e6084424
commit e05a205a47
30 files changed
+2467 -117

No files matched your search

+12 -4
View File
@@ -114,7 +114,7 @@ void test('all fourteen physical skills reach genuine Ix card selection, Traitor
assert.equal(player(offers, 't').faceDancers, undefined);
});
void test('genuine ready Ix lobbies keep public starts, Advanced and additional module profiles closed', () => {
void test('genuine ready Ix lobbies keep public starts closed and initialize the supported native module profiles', () => {
const lobby = () => {
let g = createGame('IXGATED', newPlayer('i', 'Ixians', 'ixians'), false, ['ix']);
joinGame(g, newPlayer('t', 'Tleilaxu', 'tleilaxu'));
@@ -123,19 +123,27 @@ void test('genuine ready Ix lobbies keep public starts, Advanced and additional
return g;
};
reject(lobby(), 'i', {type: 'start'});
// The supported native Advanced, Discovery, Tech Token and Homeworld
// profiles now initialize for a fresh Ix lobby without mutating it.
for (const change of [
(g: Game) => { g.advanced = true; },
(g: Game) => { g.discoveryEnabled = true; },
(g: Game) => { g.techTokens = createTechTokens(); },
(g: Game) => { g.expansions.push('choam'); },
(g: Game) => { g.homeworlds = {custody: null}; },
]) {
const g = lobby();
change(g);
const before = structuredClone(g);
assert.throws(() => initializeLeaderSkillsGameForAudit(g));
assert.deepEqual(g, before);
assert.ok(initializeLeaderSkillsGameForAudit(g).leaderSkills,
'The supported native module profile initializes.');
assert.deepEqual(g, before, 'The authoritative lobby is never mutated.');
}
// A combined CHOAM expansion still rejects.
const combined = lobby();
combined.expansions.push('choam');
const before = structuredClone(combined);
assert.throws(() => initializeLeaderSkillsGameForAudit(combined));
assert.deepEqual(combined, before);
});
void test('Planetologist gives selected suboids range two independently and cyborg range three through saved native permission', () => {