fix: server crash from syntax error in challenges.ts, voice overlap, human fight UX

- Remove stray duplicate template block outside TEMPLATES array that caused parse error preventing server startup (fixes /api/queue/status 500)
- Add choices field to Challenge/PromptEntry interfaces for multiple choice support
- Allow voice lines to overlap naturally instead of cancelling previous speech on every call, with safety flush at depth > 3
- Buffer challenges during cooldown in polling path, auto-submit random choice on timeout
- Block auto-battle for human fights, guard replay-done auto-transition

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-07 21:15:42 +00:00
co-authored by Claude Opus 4.6
parent c5f6c6bbf9
commit 4307a02d25
3 changed files with 767 additions and 213 deletions
File diff suppressed because it is too large Load Diff