server: adopt lint block, fix clippy, fmt
Format the tree with rustfmt and add the lint + supply-chain gates
Harden invites and TOTP replay; add enum-drift guard