# Python
__pycache__/
*.py[cod]
*.pyo
*.pyd
venv/
.venv/

# Environment / secrets — NEVER commit real credentials
.env
.env.local
.env.staging
.env.production
.env.*
# Exception: frontend/.env.production only contains VITE_API_BASE (a public URL, no secrets).
# When moving this URL to Amplify build env vars, remove this exception and the file from git.
!frontend/.env.production
secrets/
*.pem

# Admin dashboard — OAuth tokens & secrets
admin/credentials.json
admin/token.json
admin/.env
admin/.sessions.json
admin/tasks.log
admin/inbox_manager.log
admin/decisions_review.log

# Docker
*.log
docker-data/

# Pose generator working outputs (backend/scripts/generate_pose_library.py).
# Batch inputs, resume manifests and unreviewed card drafts (out/cards/) land
# here. A person reviews a draft and moves it to content/pose-cards/ by hand;
# nothing is committed from this directory.
backend/scripts/out/

# Node / Frontend / Mobile
node_modules/
.next/
dist/
build/

# Mobile (Expo)
.expo/
mobile/dist/
*.jks
*.p8
*.p12
*.key
*.mobileprovision

# OS
.DS_Store

# IDEs
.vscode/
.idea/

# Claude Code worktrees (auto-generated, not source code)
.claude/worktrees/
.clone/

# ML artifacts
*.pt
*.pth
*.bin
*.onnx
!backend/app/ml/data/person_check/*.onnx
*.pkl
backend/credentials/
# Don't ignore all JSON files (package.json, tsconfig, etc. must be committed).
# If you have secrets in JSON, keep them under backend/credentials/ (ignored above),
# or add specific ignore patterns here:
# backend/credentials/**/*.json
.gitnexus
mobile/TopitAI.app/
mobile/build-*.tar.gz

# Claude Code one-shot approval flags (Iron Law git gate)
.claude/.approval-*
backend/source-config.json

# Machine-local Claude Code settings. Holds hooks that EXECUTE at session start,
# so it must never be committed on one machine and inherited by another. Until
# now it was ignored only by a personal global ignore file
# (~/.config/git/ignore), which does not travel with the repo: a fresh clone, a
# teammate, or CI would have seen it untracked and one `git add -A` from being
# committed. mobile/credentials/ deliberately NOT added here: mobile/.gitignore
# already carries `credentials/`, and a deeper ignore file wins anyway.
.claude/settings.local.json

# Local admin dashboard state: inbound mail records, not code (security triage 2026-09-17).
admin/emails_processed.json
# A curl cookie jar that never held a cookie and was committed by accident.
cookies.txt
mirofish_training/data/*.lock

# backend/scripts/teleprompter_batches.py output: names real recipients
/teleprompter-batches/
