Implement Homeworld mechanics through Caladan reinforcement checkpoint

Connect typed Homeworld custody, transport, battle, income, revival and Caladan reinforcement flows with private multiplayer recovery and controls. Preserve the optimized test workflow and keep unfinished rules modes gated. Verified with 3682 offline tests, typecheck, lint, production build and 40 HTTP tests; existing saved games remain unchanged.
This commit is contained in:
Quintine committed 2026-09-10 08:12:26 +10:00
1 parent 3be49512f7
commit 28ba1618ba
266 files changed
+47680 -16851

No files matched your search

+10 -4
View File
@@ -12,10 +12,15 @@
"lint": "oxlint",
"format": "oxfmt",
"db:generate": "drizzle-kit generate",
"test": "tsx --test tests/engine.test.ts tests/bots.test.ts tests/reference.test.ts tests/combat.test.ts tests/advanced-phases.test.ts tests/advanced-guild.test.ts tests/kwisatz.test.ts tests/capture.test.ts tests/combat-karama.test.ts tests/advisors.test.ts tests/bg-karama.test.ts tests/special-karama.test.ts tests/guild-stop.test.ts tests/full-plan.test.ts tests/summoned-worm.test.ts tests/tech-tokens.test.ts tests/ix-battle-cards.test.ts tests/tooth-artillery.test.ts tests/sandtrout.test.ts tests/thumper.test.ts tests/cheap-hero-traitor.test.ts tests/amal.test.ts tests/tleilaxu.test.ts tests/tleilaxu-revival.test.ts tests/foreign-gholas.test.ts tests/tleilaxu-special.test.ts tests/ix-forces.test.ts tests/ix-economy.test.ts tests/mobile-stronghold.test.ts tests/ix-technology.test.ts tests/ix-deck.test.ts tests/truthtrance.test.ts tests/battle-promises.test.ts tests/battle-preparation-paths.test.ts tests/choam-charity.test.ts tests/choam-revival.test.ts tests/choam-inflation.test.ts tests/choam-market.test.ts tests/choam-karama.test.ts tests/choam-combat.test.ts tests/choam-worthless.test.ts tests/choam-gamont.test.ts tests/choam-baliset.test.ts tests/choam-jubba.test.ts tests/client-request.test.ts tests/seat-recovery-client.test.ts tests/room-entry-client.test.ts tests/karama-intents.test.ts tests/first-storm.test.ts tests/card-availability.test.ts tests/revival-usage.test.ts tests/fremen-revival.test.ts tests/recruits.test.ts tests/ecaz-cards.test.ts tests/autopilot.test.ts tests/moritani-leaders.test.ts tests/ecaz-leaders.test.ts tests/moritani-terror.test.ts tests/moritani-placement.test.ts tests/moritani-entry.test.ts tests/moritani-entry-overlays.test.ts tests/moritani-force-leader.test.ts tests/moritani-alliance.test.ts tests/duke-vidal.test.ts tests/duke-vidal-engine.test.ts tests/duke-truthtrance.test.ts tests/normal-revival-options.test.ts tests/normal-revival-bots.test.ts tests/moritani-retention.test.ts tests/moritani-retention-bots.test.ts tests/moritani-extortion.test.ts tests/bot-shipment-budget.test.ts tests/ecaz-ambassadors.test.ts tests/ecaz-placement.test.ts tests/automatic-casualties.test.ts tests/automatic-responses.test.ts tests/automatic-decisions.test.ts tests/ecaz-entry.test.ts tests/ecaz-entry-bots.test.ts tests/ecaz-entry-continuations.test.ts tests/choam-richese-leaders.test.ts tests/richese-cards.test.ts tests/richese-auction.test.ts tests/richese-auction-review.test.ts tests/richese-funding.test.ts tests/richese-card-presentation.test.ts tests/richese-engine.test.ts tests/richese-auction-bots.test.ts tests/richese-engine-review.test.ts tests/richese-no-field.test.ts tests/richese-acquisition.test.ts tests/richese-acquisition-review.test.ts tests/richese-acquisition-bots.test.ts tests/force-presence.test.ts tests/richese-no-field-engine.test.ts tests/richese-no-field-review.test.ts tests/richese-no-field-bots.test.ts tests/richese-gift.test.ts tests/richese-allied-no-field.test.ts tests/richese-allied-no-field-review.test.ts tests/richese-allied-no-field-bots.test.ts tests/richese-gift-engine.test.ts tests/richese-gift-review.test.ts tests/richese-gift-bots.test.ts tests/distrans.test.ts tests/distrans-engine.test.ts tests/distrans-engine-review.test.ts tests/distrans-bots.test.ts tests/nullentropy-box.test.ts tests/leader-art.test.ts tests/nullentropy-box-engine.test.ts tests/nullentropy-box-engine-review.test.ts tests/nullentropy-box-bots.test.ts tests/ornithopter.test.ts tests/ornithopter-engine.test.ts tests/ornithopter-engine-review.test.ts tests/ornithopter-bots.test.ts tests/residual-poison.test.ts tests/residual-poison-engine.test.ts tests/residual-poison-engine-review.test.ts tests/residual-poison-bots.test.ts tests/portable-snooper.test.ts tests/portable-snooper-engine.test.ts tests/portable-snooper-review.test.ts tests/portable-snooper-bots.test.ts tests/stone-burner.test.ts tests/stone-burner-engine.test.ts tests/stone-burner-review.test.ts tests/stone-burner-bots.test.ts tests/special-leader-art.test.ts tests/bot-transport-budget.test.ts tests/bot-reachability-review.test.ts tests/bot-plan-commitment.test.ts tests/bot-plan-legality-review.test.ts tests/bot-battle-choice.test.ts tests/bot-worm-ride.test.ts tests/bot-advisor-setup.test.ts tests/fremen-movement-karama.test.ts tests/fremen-movement-review.test.ts tests/base-setup-order.test.ts tests/bot-staged-setup.test.ts tests/truthtrance-spice.test.ts tests/guild-payment-routing.test.ts tests/guild-transport-quote.test.ts tests/pending-shipment-integrity.test.ts tests/effective-weapons.test.ts tests/effective-battle-effects.test.ts tests/stronghold-cards.test.ts tests/stronghold-engine.test.ts tests/stronghold-bots.test.ts tests/stronghold-battle.test.ts tests/choam-auditor.test.ts tests/choam-auditor-engine.test.ts tests/choam-auditor-bots.test.ts tests/choam-auditor-lifecycle.test.ts tests/bot-revival-timing.test.ts tests/choam-market-automatic.test.ts tests/truthtrance-card-count.test.ts tests/shipment-proLine truncated
"test:multiplayer": "tsx --test tests/multiplayer.test.ts tests/multiplayer-recovery.test.ts tests/seat-recovery.test.ts tests/room-entry-recovery.test.ts tests/bot-continuation.test.ts tests/autopilot-recovery.test.ts tests/bot-pacing.test.ts tests/paced-games.test.ts tests/automatic-response-recovery.test.ts tests/ecaz-entry-recovery.test.ts tests/richese-auction-recovery.test.ts tests/richese-no-field-recovery.test.ts tests/richese-allied-no-field-recovery.test.ts tests/richese-gift-recovery.test.ts tests/distrans-recovery.test.ts tests/nullentropy-box-recovery.test.ts tests/ornithopter-recovery.test.ts tests/residual-poison-recovery.test.ts tests/portable-snooper-recovery.test.ts tests/stone-burner-recovery.test.ts tests/fremen-movement-recovery.test.ts tests/base-setup-recovery.test.ts tests/truthtrance-spice-recovery.test.ts tests/guild-payment-recovery.test.ts tests/pending-shipment-integrity-recovery.test.ts tests/stronghold-recovery.test.ts tests/choam-auditor-recovery.test.ts tests/shipment-promises-recovery.test.ts tests/juice-of-sapho-recovery.test.ts tests/multiplayer-discard-continuations.test.ts tests/battle-discard-recovery.test.ts tests/terror-discard-recovery.test.ts tests/box-discard-recovery.test.ts tests/ornithopter-discard-recovery.test.ts tests/truthtrance-discard-recovery.test.ts tests/ordinary-card-discard-recovery.test.ts tests/bg-karama-opportunity-recovery.test.ts tests/bg-karama-cancel-recovery.test.ts tests/disaster-revival-recovery.test.ts tests/battle-aftermath-recovery.test.ts tests/combat-terminal-recovery.test.ts tests/restored-cancellation-recovery.test.ts tests/auction-cancellation-recovery.test.ts tests/choam-worthless-cancellation-recovery.test.ts tests/placement-cancellation-recovery.test.ts tests/ecaz-duke-recovery.test.ts tests/ghola-lifecycle-recovery.test.ts tests/fremen-ambassador-recovery.test.ts tests/guild-ambassador-recovery.test.ts tests/ecaz-occupy-recovery.test.ts tests/ecaz-victory-recovery.test.ts",
"test": "node --import tsx tools/test.ts",
"test:multiplayer": "node --import tsx tools/test.ts --suite multiplayer",
"typecheck": "tsc --noEmit",
"db:local": "wrangler d1 migrations apply DB --local --config tools/wrangler.local.json --persist-to .wrangler/state"
"db:local": "wrangler d1 migrations apply DB --local --config tools/wrangler.local.json --persist-to .wrangler/state",
"test:unit": "node --import tsx tools/test.ts --suite unit",
"test:recovery": "node --import tsx tools/test.ts --suite recovery",
"test:integration": "node --import tsx tools/test.ts --suite integration",
"test:all": "node --import tsx tools/test.ts --suite all",
"check": "npm run typecheck && npm run lint && npm test"
},
"dependencies": {
"react": "19.2.6",
@@ -56,7 +61,8 @@
"typescript": "5.9.3",
"vite": "8.0.13",
"wrangler": "4.92.0",
"drizzle-kit": "0.31.10"
"drizzle-kit": "0.31.10",
"tsx": "4.23.13"
},
"type": "module"
}