Files
lukeandClaude Opus 5 b85e1c6ea7 Fix caller lineup never loading and add Wellspring cult callers
The lineup fix and the new characters both land in main.py, so they share a
commit rather than being split artificially.

Lineup fix — populate_backgrounds() was reachable only through
POST /api/session/reset, so taking calls without hitting reset left
session.caller_backgrounds empty for a whole show. Every caller got a hollow
prompt, collapsed into generic relationship filler, and Silas lost his lore.
Now start_call populates on demand, get_caller_prompt raises
EmptyCallerBackgroundError instead of emitting an empty prompt, /api/callers
reports lineup readiness to a header badge, and cross-episode topic dedup
widened from 2 shows to 10.

Wellspring callers — Doyle as the anchor defector plus a six-member pool,
grouped by new frontmatter fields (group, group_lead, group_weight, register,
explicitness). A faction is capped at one caller per show, with a 15% roll for
two pairing the lead with one other member. group_weight lets an anchor carrying
an arc get slots faster than texture characters.

Also detects model refusals, which arrive as ordinary 200s and previously
reached air as broken-character text or dead silence.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 03:33:08 -05:00

87 lines
1.0 KiB
Plaintext

# Environment
.env
*.env
# Python
__pycache__/
*.py[cod]
*$py.class
.venv/
venv/
env/
*.egg-info/
# Audio/Media (large files)
*.mp3
*.wav
*.m4a
*.ogg
# Sessions
sessions/
# IDE
.idea/
.vscode/
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
# Whisper models (downloaded automatically)
*.pt
# Temporary
*.tmp
*.log
# Large model files (download separately)
*.onnx
*.safetensors
*.tar.bz2
*.bin
models/
asset/
kokoro-v1.0.onnx
voices-v1.0.bin
# Reference voices for TTS
ref_audio/
# YouTube OAuth credentials
youtube_client_secrets.json
youtube_token.json
# Clip upload history (local)
upload-history.json
# Claude settings (local)
.claude/
# Git worktrees
.worktrees/
# Scratch/smoke tests (not committed)
scratch/
# Generated media and model weights (~13GB — never commit)
clips/
music/
mlx_models/
remotion-demo/
social_posts/
# Generated analytics artifacts (rebuilt from cost_tracker)
data/costs.db
data/costs.db-shm
data/costs.db-wal
data/cost_reports/
# Generated caller avatars
data/avatars/
# Reaper waveform peak cache
reaper/peaks/