Status legend: [done], [partial], [missing]
- [done]
game-domain— core types: Resources, Coordinates, Player, Planet, Building/Ship/Defense/Research enums (56 variants), FleetMission, queue items, FleetMovement, DebrisField, BattleReport, Message, UniverseSettings. (56 tests) - [done]
game-economy— OGame production formulas, building/research/ship/defense costs, construction times, storage capacity, lazy resource evaluation, trade ratios. (41 tests) - [done]
game-galaxy— GalaxyConfig, GalaxyStore (HashMap-backed), coordinate validation, planet placement, debris fields, free position finding, NPC generation. (18 tests) - [done]
game-universe— UniverseSettings, UniverseStatus state machine, UniverseManager, merge support, presets. (26 tests) - [done]
game-alliance— Alliance CRUD, role hierarchy, membership, applications, diplomacy pacts. (24 tests) - [done]
game-moon— Moon creation from debris (OGame formula), RIP destruction, sensor phalanx, jump gate cooldown. (32 tests) - [done]
game-messaging— 8 MessageTypes, MessageStore, combat/espionage reports, spam guard, bulk operations. (27 tests) - [done]
game-leaderboard— 8 ScoreCategories, ranking stores, recalculation, search, history snapshots. (20 tests) - [done]
game-antiabuse— Noob protection, pushing detection, rate limiting, IP/account monitoring, violation tracking, bot detection. (26 tests)
- [done]
platform-auth— SHA-256/HMAC-SHA256 JWT, password hashing, SessionStore, role hierarchy, auth middleware helpers. (25 tests) - [done]
platform-cache— Cache trait, InMemoryCache (LRU/FIFO/TTL), TypedCache, TwoLevelCache, glob patterns, stats. (27 tests) - [done]
platform-common— ID generation, time utilities, validation, pagination, string/math utils, env helpers. (42+ tests) - [done]
platform-proto— ApiRequest/Response, 18-variant GameEvent enum, WorkerTask/Result, RealtimeMessage, ServiceHealth, pagination. (18 tests)
- [done]
adapter-provider-payments— PaymentProvider trait, LoggingPaymentProvider, product catalog, webhook parsing/verification. (32 tests) - [done]
adapter-provider-bot— 6 BotPersonality types, BotDecisionEngine AI, BotScheduler, activity simulation. (25 tests) - [done]
adapter-http-compat— HttpCompatAdapter trait, LegacyCompatAdapter, PathMapper, camelCase/snake_case conversion. (26 tests)
- [done] Fixed pre-existing build error in
platform-adapter(pattern matching forlog_pathfield andSqlitevariant). - [done] Fixed
.github/workflows/ci.yml— removed broken Node/pnpm/frontend steps, switched todtolnay/rust-toolchain, consolidated cache steps. - [done] Removed residual root
package.json(Node.js artifact from pre-migration era). - [done] Created
.env.example(was referenced by README but missing).
- [partial] Ensure
platform-tenancyinjects tenant IDs/logging metadata into Axum/Tower/middleware and queue handlers; audit all HTTP routes to verify they readTenantContext. - [partial]
platform-tenant-routingmaps tenant requests to worker pools with quotas/backpressure and optional leases; remaining work is end-to-end worker adoption and failover test automation. - [partial]
platform-consensusnow emits lease lifecycle events/metrics and supports acquire/renew/release/status paths; scheduler/sharding workers now log consensus snapshots viaplatform-observability, with dashboard/alert plumbing still pending. - [partial]
app-scheduler-workerandapp-sharding-workernow acquire cycle/task leases viaplatform-consensus; broader worker/runtime lease adoption remains.
- [done]
adapter-dbnow wires Postgres, MySQL, JSON file, and SQLite adapters and exposesexecute_scriptfor migration runners. - [done]
platform-adapterwrapsadapter-db, honors the JSON registry (database/runtime-adapters.json), and reports adapter readiness/health through its definitions snapshot. Now handles all adapter drivers including SQLite. - [done] Documented how
platform-adapterconsumes JSON registry metadata (driver,tenant,url/path,lease_resource_hint, diagnostics tags) and maps lease hints intoplatform-consensusguards. - [done]
adapter-http-compatnow providesHttpCompatAdaptertrait withSnakeToCamelAdapter,CamelToSnakeAdapter, andPassthroughAdapterimplementations for JSON key format conversion. - [done]
adapter-provider-botnow providesBotProviderAdapterwith bot registration, webhook management, and event logging. - [done]
adapter-provider-paymentsnow providesPaymentsProviderAdapterwith full transaction lifecycle (create, complete, fail, refund) and revenue tracking.
- [partial]
platform-shardingnow captures shard ownership, lease-backed leaders, and tenant placement;app-sharding-workernow syncs shard leader/catalog state, with deeper scheduler/runtime interoperability still pending. - [partial]
platform-schedulernow registers and triggers tenant jobs viaplatform-tenant-routing/platform-sharding, andapp-scheduler-workernow runs those handlers throughplatform-worker-runtime; next step is broader end-to-end scheduler/shard integration coverage. - [partial]
platform-worker-runtimenow provides the shared runtime instrumentation for tenants;app-scheduler-worker,app-sharding-worker,app-notifications-worker,app-chat-worker,app-email-worker,app-analytics-worker, andapp-bot-workerare wired through it, with remaining workers still to migrate. - [partial]
platform-adapterwrapsadapter-db, loads JSON adapter configs, and gates each tenant within consensus leases; verify health hooks in dashboards/tests.
- [done]
platform-migrationsnow tracks per-tenant migration state, acquires consensus leases, and exposesMigrationStatusw/ lease metadata. - [done]
app-admin-apisurfaces/api/admin/tenants/{tenant_id}/migrations,/run, and/rollbackso operators can launch tenancy-safe migration runs. - [done] Update
scripts/rust/live-rust-cutover-check.ps1to call migration endpoints and verify tenant health before smoke tests.
- [partial] Tenant isolation and migration guard tests now cover the admin API flows and migration runner, but broader queue/HTTP isolation suites remain outstanding.
- [partial] Lease contention/resilience tests now exist at the
platform-consensuscrate level, plus scheduler/tenant-routing failover coverage inplatform-scheduler; expand further into end-to-end worker integration scenarios. - [done]
platform-migrationsregression suite now covers rollback paths throughMigrationRunner. - [partial] Compare Postgres/MySQL/JSON behavior in
adapter-dbvia parity tests (Postgres/MySQL drivers now have test-container coverage but production adapters still need operational validation). - [partial] Added
platform-worker-runtimeregression tests for leak-counter reset, backpressure (MaxInflight), shutdown gating, and leased-task release semantics; extend with CPU/heap integration suites. - [done] The 1M-action benchmark has a fresh run recorded under
specification/validation-reports/1m-action-benchmark.md. - [partial] Ship the
platform-migrationstransfer CLI plus docs to show how to export/import tenants across adapters (JSON/SQLite and the upcoming SQL drivers); capture the new flow in testing docs and scripts. - [done] Provide a consensus + worker runtime validation harness under
scripts/rust/run-consensus-worker-validation.ps1and document its usage. - [partial]
specification/test-scenarios.mdexists and tracks major suites; continue syncing it with new consensus/worker-runtime automation as tests land. - [partial] Rust startup automation exists (
scripts/rust/start-rust-only.ps1) and JSON-only local crate flows are documented; still missing a dedicated one-command JSON-only smoke harness that avoids Postgres/Redis/RabbitMQ bring-up.
- [partial]
docs/architecture.mdnow highlights the Rust platform plan and the new adapter/migration endpoints; the legacy Node docs still await archival. - [partial]
specification/spec-rust-backend.mdandspec-rust-crate-partition.mdcontinue to capture the crate layout; keep them synchronized withdocs/rust-backend-plan.md. - [done] Legacy Node-era docs are cataloged in
docs/LEGACY_NODE_ARCHIVE.md, so updates should target the Rust documentation instead. - [done] The 1M-action benchmark (see
specification/validation-reports/1m-action-benchmark.md) now documents the latest run and stability notes. - [missing] Keep the Rust documentation/README references in sync with the new
specification/test-scenarios.mdso operators know where to find fresh integration/benchmark coverage; deprecate Node-era HOWTOs once the Rust docs are stable. - [done] Documented the
platform-tenant-routinginterface and validation harness indocs/tenant-routing.md.