# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
/lib/
/lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# Virtual environments
venv/
ENV/
env/
.venv/

# IDE
.idea/
.vscode/
.run/
*.swp
*.swo
*~

# Logs
*.log
logs/

# Database
*.db
*.sqlite3

# Environment variables
.env
.env.local
.env.*.local

# Backend sensitive config (contains credentials)
backend/config/env.yaml
backend/config/env.local.yaml

# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Build output
frontend/dist/
frontend/build/
*.tsbuildinfo
frontend/vite.config.js

# Temporary files
tmp/

# OS
.DS_Store
Thumbs.db

# Test coverage
htmlcov/
.coverage
.coverage.*
coverage.xml
*.cover

# Pytest
.pytest_cache/

# mypy
.mypy_cache/

# Agent UI review screenshots (temporary artifacts)
/*.png
/*.jpg
/*.jpeg
.playwright-mcp/


# Celery Beat schedule database
celerybeat-schedule*
*.celerybeat-schedule*

# Dev environment runtime data
backend/data/dev-environments/
backend/data/agent-workspaces/
backend/data/workspace-auth/

# Claude Code runtime lock
.claude/scheduled_tasks.lock
.claude/agents/*
!.claude/agents/briefings/
!.claude/agents/briefings/**
!.claude/agents/ACTIVE_TASKS.md

# Agent runtime working dir (镜像内 codex 副本，运行时生成，不入库)
.agents/

# Cursor task queue
.cursor/task-queue.md
backend/data/agent-configs/

# Large font files (download during setup)
frontend/public/fonts/*.ttf
frontend/public/fonts/*.otf

# Qoder
.qoder/

# Supie (AI Badge) runtime data
backend/data/models/*.onnx
backend/data/supie-firmware/
backend/data/supie-audio-fallback/

# Badge stress test runtime artifacts
tests/badge-stress/output/
tests/badge-stress/audio_cache/
tests/badge-stress/__pycache__/

# Traefik TLS material (copy from CA, do not commit)
deploy/traefik/certs/*.pem
deploy/traefik/certs/*.key
deploy/traefik/certs/*.crt

# Supiecode build artifact (copied by build-images.sh before Docker build)
docker/agent-sandbox/supiecode/dist/

# pios CLI staging (local dev build, not committed)
docker/agent-sandbox/pios_cli_stage/

# Redis RDB snapshots (runtime artifacts from local redis-server / redis-cli save)
*.rdb

# Design mockups (local-only HTML/PNG drafts)
design-mockups/
docker/agent-sandbox/vendor/
backend/data/traefik/

# IDE cookie Ed25519 private keys (Phase 1+2 auth, never commit)
backend/secrets/*
!backend/secrets/.gitkeep
/data/secrets/
*.priv
!frontend/**/*.priv
