Complete forced Harkonnen returns with private saved inspection

Automatically return the full combined hand when it is the only legal
special-Karama return. Preserve real choices and restore the suspended
response or auction payment through the same settlement. Record the actual
blind draw as owner-only historical card faces, with a bound integrity
receipt; legacy forced saves describe held-card history truthfully.

Add readable private history and enlarged inspectors. Both manual and
forced returns publish only a faction/action completion tag. Wake idle
legacy exchanges through production recovery without writes for real
choices. Keep provisional auction funding rules and release gates.

Validation: types, lint, 5150 offline tests, build and 49 HTTP tests
passed. Independent review resolved history substitution and root review
completed idle recovery wiring. New tests cover 1-4 forced draws, real
choices, overlays, exact saved history, immutable rejection, all four legal
AI paths, production competing actions/recovery, private views and custody.
One genuine Advanced four-player sample completed 158 actions with
4 JSON restores and no rejected action; no difficulty tuning.

Browser QA QUTHVPTT used genuine Advanced setup and conserved Bidding
positions. The actual power returned four cards without a prompt; private
history/enlargement and exact refresh worked. Phone panel fit without
horizontal overflow with 44px inspector controls. Screenshot capture timed
out; complete visual acceptance and transient notice capture remain open.
Preserved every prior row across all ten tables, including 1586
rooms and 3354 seats. New QA/integration records bring totals to
1626 rooms and 3442 seats. No reset, restart or automation.
This commit is contained in:
Quintine committed 2026-09-21 16:45:20 +10:00
1 parent a3bc0ac837
commit 0f79f28ccb
21 files changed
+847 -52

No files matched your search

+9 -1
View File
@@ -128,7 +128,15 @@ void test('physical force facts include Bene Gesserit advisors without exposing
void test('a force fact combined with a private hand fact projects only its aggregate answer to the respondent', () => {
const initial = typedGame();
const target = player(initial, 'f');
const privateName = target.hand[0].name;
// Setup may move the target's only opening Truthtrance to the asker.
// Stage a definite held card without changing the physical inventory.
const inventory = knowledgePhysical(initial);
initial.deck.push(...target.hand);
const privateCard = initial.deck.shift();
assert.ok(privateCard);
target.hand = [privateCard];
assert.deepEqual(knowledgePhysical(initial), inventory);
const privateName = privateCard.name;
const combined: TruthFact = { kind: 'or', terms: [
fact({ kind: 'reserves' }, 'total', 11), { kind: 'hand', name: privateName },
] };