The key rotated on every server restart, stranding every phone that held the previous cookie — during active development that guaranteed a wall of refusals from stale polling tabs after each restart. The key now lives in data/.lan_key (gitignored, 0600 — the Playwright-state treatment for credential-adjacent files) and is reused across restarts; delete the file to rotate. A keyless browser navigation now gets a one-line HTML page saying what to do instead of raw JSON. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016jXZFSTZQKzAC8fqpWSz9g
26 lines
382 B
Plaintext
26 lines
382 B
Plaintext
# Secrets & credential-adjacent state
|
|
.env
|
|
*.storage_state.json
|
|
data/.lan_key
|
|
playwright/.auth/
|
|
storage_state.json
|
|
|
|
# Local inputs & cache (CSV/JSON artifacts in data/ ARE committed)
|
|
photos/
|
|
data/bgg_cache/
|
|
data/extract_raw/
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.pyc
|
|
.venv/
|
|
.pytest_cache/
|
|
.ruff_cache/
|
|
|
|
# Personal Claude Code files
|
|
CLAUDE.local.md
|
|
.claude/settings.local.json
|
|
|
|
# macOS
|
|
.DS_Store
|