# =============================================================================
# AWOOOI - .gitignore
# =============================================================================

# 依賴套件
node_modules/
.pnp
.pnp.js
yarn.lock
package-lock.json

# 測試與建置產物
coverage/
.next/
out/
build/
dist/
.turbo/

# Playwright 測試產物 (動態生成，不需版本控制)
**/playwright-report/
**/test-results/
**/.auth/
# 保留 Phase 19 參考截圖
!apps/web/test-results/phase19/

# Python
__pycache__/
*.py[cod]
*$py.class
.Python
*.so
.venv/
venv/
ENV/

# 環境變數與機密 (絕對不能進 Git)
.env
.env.*
.env.local
.env.*.local
!.env.example
!apps/**/.env.example
*.pem
*.key
secrets/

# 日誌
npm-debug.log*
yarn-debug.log*
.pnpm-debug.log*
*.log

# 編輯器設定
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
.idea/
*.swp
*.swo

# 系統檔案
.DS_Store
Thumbs.db

# Workspace 檔案 (本地使用，不需提交)
*.code-workspace

# Kubernetes 機密
*-secret.yaml
*-secrets.yaml

# SQLite（HARD_RULES 禁止，必須用 PostgreSQL）
*.db
*.sqlite
*.sqlite3

# 暫存檔案
tmp/
temp/
*.tmp

# AI Tools & Agents (本地使用，不需提交到 Git)
# 防止 Claude Code worktrees 干擾 CI/CD checkout
.claude/worktrees/
.claude/scheduled_tasks.lock
.cursor/
.agents/memory/
playwright-mcp/
tsconfig.tsbuildinfo
.superpowers/
.aider*
!.aiderignore
.claude/settings.local.json
.claude/settings.json
