Re-resolve the creator's deck before seating the joiner, so a stale lobby
expires without listing the joiner, and quick match moves on to the next
candidate (or opens a lobby) instead of failing the quick-matcher.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Mode schema wikideck.mode/2: required `engine` (editwar | duel); Night 1
wikideck.mode/1 documents are rejected with a clear message. Deck policies:
constructed (owned NFT token ids, minConfirmations), starter (Edit War only),
draft with source preview (Edit War only) or collections. limits.rated and
limits.accountsOnly.
- ModeHost runs every engine it is given, chosen per mode. Duel modes refuse
loaner policies at startup (BRIEF decision 1).
- Seats: eom.dev account via Dex ID token (body or JWT bearer on seat-creating
routes), player id sha256('acct:'+iss+'\n'+sub); guests only in Edit War.
- Constructed decks resolved through an injected OwnershipPort (#57), cards built
by the engine's fromChain; creator's deck re-resolved at join.
- Private lobbies + invite codes (GET /invites/:code, POST /invites/:code/join),
quick match (POST /modes/:id/quick), lobby state version with 204 on ?v=.
- Elo (1200, K 24) per mode for rated account-vs-account matches, recomputed
from matches.jsonl; records carry engine, rated, tokens. /modes/:id/ladder.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>