# Python
__pycache__/
*.py[cod]
*$py.class
*.egg-info/
.eggs/
dist/
build/
.venv/
venv/
env/

# uv
.uv-cache/

# Test / coverage
.pytest_cache/
pytest-of-*/
.coverage
.coverage.*
coverage.xml
htmlcov/
.tox/
.mypy_cache/
.ruff_cache/
.pyright/

# Editors
.vscode/
.idea/
*.swp
.DS_Store

# Project-specific — secrets / session storage (NEVER commit)
# NOTE: git does NOT support trailing inline comments in .gitignore — a `#` only
# starts a comment at the START of a line. Keep each pattern on its own line so
# the comment text isn't folded into the pattern (which silently un-ignores it).
/auth/
profile_*/
*.cookies.json
storage_state.json
secrets.json
.env
.env.local
.env.*.local

# Generated outputs
out/
tmp/
gflow-output/
*.mp4
*.png
*.jpg
*.jpeg
!docs/**/*.png         # docs images are OK
!tests/fixtures/**/*.png
!test_assets/fixtures/**/*.jpg
!test_assets/fixtures/**/*.jpeg
samples/*.captured.json # sandbox-recorded API exchanges may contain PII

# Runtime artefact dirs written by smoke/debug scripts — belong under tmp/ only
test_assets/smoke_*/
test_assets/debug_*/

# Phase-2 live-spike capture outputs — NEVER commit (may contain real API payloads)
scripts/dev/_spike_out/

# Agent session marker — machine/session-local handoff state, regenerated per run
.continue-here.md

# Live Flow traffic captures — NEVER commit (contain real Bearer tokens / API keys).
# Diagnostic scripts MUST default-write here, NOT to samples/captured/.
# Sanitised reference samples (no secrets) can still live under samples/captured/.
tmp/captured/
samples/captured/flow_outgoing_*.jsonl
samples/captured/flow_outgoing_*.json

# Claude Code worktrees and lock files
.claude/settings.json
.claude/settings.local.json
.claude/worktrees/
.claude/scheduled_tasks.lock

# Doc-council scratch dir (bundles + raw reviews + consensus matrix)
.doc-council/

worktrees/

# E2E test logs (live Flow runs — may contain account/profile names)
.planning/e2e-logs/

# Understand Anything (local knowledge graph)
.understand-anything/
.worktrees

# Subagent-driven-development scratch (ledger + task reports)
.superpowers/

# MkDocs build output
website/site/
