# Old reference files (to be removed)
Old/

# macOS
.DS_Store
._*

# Python
__pycache__/
*.pyc
*.pyo
*.egg-info/
dist/
build/
.eggs/
*.egg
.venv/
venv/
env/

# Environment variables
.env
.env.*

# SQLite databases
*.sqlite3
# PostgreSQL-only project — empty/legacy SQLite snapshot at repo root
backend/db.sqlite

# Local wave scratch artifacts
.wave_1b_timestamp.txt
error.log

# Local CodeGraph index + runtime logs (operator artifacts, not for commit)
.codegraph/
logs/
backend/logs/
# 백엔드·운전 루프가 그 자리에 떨구는 로그 (uvicorn.log / autodrive.log 등)
backend/*.log
uvicorn.log

# Generated audit outputs (semantic string debt runs)
backend/tests/_audit_outputs/semantic_string_debt/

# CocoIndex local DB (MCP server)
.cocoindex_code/

# Generated prototype outputs
prototype/

# Screenplay source PDFs (large binaries)
screenplay/*.pdf
screenplay/uploads/

# IDE
.idea/
.vscode/
*.swp
*.swo
.claude/

# Temporary files
tmp_*/
*.tmp
/temp/

# Superpowers brainstorm
.superpowers/

# Playwright
.playwright-mcp/

# Screenshots
*.png
!prototype_ui/static/*.png
*.jpeg
*.jpg

# Backend
backend/.venv/
backend/.env
data/

# Frontend
frontend/node_modules/
frontend/dist/

# Original screenplays and reference webbooks (large binaries)
org/
pdfs/
projects/
data/
_backup_*
backups/

# Experiment results (large JSON)
backend/experiments/*.json

# Experiment scripts (scenario-specific, not for commit)
backend/scripts/experiment_*
backend/scripts/spike_*
backend/scripts/generate_line_art_*.py
backend/scripts/test_t2i_review*.py
backend/scripts/regen_*.py
backend/scripts/output/

# Experiment slice tests (depend on ignored backend/scripts/experiment_*
# sources; local-only lane, never on remote — committing would lock-in
# broad red on every fresh clone).
backend/tests/scripts/

# Root-level experiment scripts + outputs (Phase 9 viewer/regen, fp_ref_bias_test).
# `scripts/*` (not `scripts/`) so re-includes below can traverse the directory.
scripts/*
scripts_output/
# Exception: canary measurement scripts are spec-driven, version-controlled.
!scripts/canary/
!scripts/canary/*.py
# Exception: phase fixture capture / baseline scripts + configs (spec-driven, version-controlled).
!scripts/g4_6_capture_fixtures.py
!scripts/g4_6_baseline_refs.py
!scripts/configs/
!scripts/configs/*.json

# image_capture spool (Phase A) — temp, renamed out on flush
.capture_spool/

# Node deps/cache
node_modules/

# 실험 전용 산출물 (커밋 금지 관례 — 이미지·러너 대용량)
scratchpad/
backend/scratchpad/

# 산출물 아카이브 (갤러리·리포트·ZIP — 대용량, 커밋 금지)
artifact/

# 버리기 전 보관함 — 지우는 대신 여기로 옮긴다(혹시 모르니 남겨두는 자리)
trash/
backend/autodrive_state/
