Capsule: server simulation

Use when changing tick logic, services, rules, AI, or the Game core.

Read first

Code map

Invariants

When touching rts-sim::game

Failed sim architecture checks

Prefer reducing coupling or moving logic behind an existing helper/API. For intentional growth:

cargo run --manifest-path server/Cargo.toml -p rts-archcheck -- check-sim-architecture --bless --reason "short reason"

Avoid broad allowlist additions unless this change or a tracked follow-up explains the cleanup path.

Registry failures are not ratchets: update §3.1.1 and move the owner under GameState or DerivedState, or document it as room/session/test-only outside Game.

Cross-capsule triggers