Capsule: deployment & hardening

Use when changing server bind/config, the build pipeline, or the input-hardening surface.

Read first

Run / build

cd server && cargo run            # serves client + /ws on RTS_ADDR; open the printed URL
cd server && cargo run --release  # fast build
cd server && cargo build && cargo clippy && cargo fmt
node scripts/check-wiki.mjs       # wiki routes, links, generated stats, and catalog parity
node scripts/check-crate-boundaries.mjs

No JS build step (plain ES modules + PixiJS from CDN). The client is served from ../client relative to the server crate, so cargo run from server/ is the whole dev loop.

Invariants

Cross-capsule triggers