Connect Spice Banker sealed battle spending and saved settlement

Prototype one through three own spice as a separate sealed battle commitment. Reserve funds alongside actual force support, add strength only for the surviving skilled leader, and settle once through existing versioned writes. Apply the documented card/core-rule interpretation: payment survives leader death or loss, except for the sole successful traitor caller. Keep printed disc strength and bounty unchanged. Normal income awaits its deferred-custody ruling; combined modules remain gated.

Validation: 54 focused tests; typecheck, lint, 4490 offline tests, production build and 43 HTTP tests passed. Independent rules, privacy, persistence and UI review completed. SQLite tests cover reserved-spice diversion, concurrent settlement, traitor waiver and legacy plans. Browser exercised a three-spice commitment, pending refresh, actual +3 strength and payment, and restored private cards and the next decision. Two genuine four-profile Basic/Advanced samples completed without rejected candidates but did not use Banker spending.

Following another reported outage, the server remained healthy. Preserved all 461 opening rooms and original seat/recovery rows (495 rooms after QA/HTTP). SQLite integrity and foreign keys passed. A fresh online backup captured all 495 rooms, and browser refresh restored the QA seat. No restart or reset was needed.

Verified source tree: 208bf9324ab994b5e59ed50d78998b4dbf8810b3b6799b1a577ef3b84479335f
This commit is contained in:
Quintine committed 2026-09-13 20:45:42 +10:00
1 parent 9381ef140d
commit 1380271bb6
22 files changed
+1166 -25

No files matched your search

+22
View File
@@ -1,5 +1,27 @@
# Dune implementation status
## 13 September 2026 — Spice Banker battle commitment prototype
[Spice Banker](SPICE_BANKER_RUNTIME.md) connects one through three sealed own
spice to a selected skilled leader's surviving battle strength. Funds remain
separate from force support and unavailable for other spending. A sole successful
traitor caller keeps the commitment; other outcomes pay the Bank even on leader
death, while death removes the bonus. Printed disc values and bounties stay fixed.
Owner/full-plan inspection and public reveal display the amount at their proper
times; all four AI profiles submit funded choices. Independent source and
persistence review, private SQLite restart, rejected diversion, concurrent final
resolution and legacy omitted-field continuation cover this boundary. Two seeded
Basic/Advanced samples finished without rejected candidates but did not use
Banker spending; targeted tests establish the effect. The browser checked a
three-spice commitment, pending refresh, actual +3 strength and payment, then
restored one board force, fifteen reserves, four Tanks, two spice and the same
private cards. Broad results and final preservation are in the checkpoint commit.
Normal income remains pending a user ruling about already-earned public spice
when the trainer dies or is captured before Mentat Pause. Combined modules and
complete skill acceptance remain unfinished; no mode/publication gate is opened.
## 13 September 2026 — Smuggler reserve shipment prototype
[Smuggler shipping](SMUGGLER_SHIPMENT.md) connects one optional free accompanying