Context
Critical configuration (DB connection, API keys, etc.) is currently validated only when the feature is used. Misconfiguration can surface in the middle of gameplay instead of failing early during startup.
Goal
Validate critical configuration at bootstrap using a clear, typed schema and stop the server early when configuration is invalid.
Tasks
Acceptance Criteria
Context
Critical configuration (DB connection, API keys, etc.) is currently validated only when the feature is used. Misconfiguration can surface in the middle of gameplay instead of failing early during startup.
Goal
Validate critical configuration at bootstrap using a clear, typed schema and stop the server early when configuration is invalid.
Tasks
initServer(or equivalent) that:Acceptance Criteria