# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# ===================
# Editor
# ===================
*.swp
*.swo
*~

# ===================
# Python
# ===================

# Byte-compiled / optimized / DLL files
__pycache__/
*__pycache__*
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

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

# Testing
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
**/.pytest_cache
cover/

# Type checkers
.mypy_cache/
.dmypy.json
dmypy.json
.pytype/
.pyre/

# Linters
.ruff_cache/

# Jupyter
.ipynb_checkpoints
**/.ipynb_checkpoints/

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# pdm
.pdm.toml
.pdm-python
.pdm-build/
__pypackages__/

# Cython debug symbols
cython_debug/

# PyPI
.pypirc

# ===================
# Node.js / Next.js
# ===================

# Dependencies
node_modules/
**/node_modules
/.pnp
.pnp.js
/.pnpm-store
.pnpm-store

# Next.js
.next/
**/.next/*
/out/
next-env.d.ts

# Turbo
.turbo
**/.turbo/*

# Build
/build
**/dist

# Debug logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# Yarn
.yarn

# TypeScript
*.tsbuildinfo

# Vercel
.vercel

# Generated
/generated

# ===================
# Environment Files
# ===================

# Local env files - do not commit any .env files except examples
.env*
!.env.example
!.env.development
!.env.test.example

# Local config files
*.local.*

# ===================
# IDE / Editors
# ===================

# JetBrains (IntelliJ, PyCharm, WebStorm)
.idea/

# VS Code (keep extensions.json if needed)
# .vscode/

# Cursor
.cursorrules
.cursorignore
.cursorindexingignore

# ===================
# Database
# ===================

# SQLite
*.sqlite
*.sqlite-journal
*.db
*.db-journal
traceroot.db

# Prisma
/prisma/db.sqlite
/prisma/db.sqlite-journal


# ===================
# Testing / Coverage
# ===================

/coverage
/certs/
test-results/
web/test-results/*

# ===================
# System Files
# ===================

.DS_Store
**/.DS_Store
*.pem

# ===================
# Claude / AI Tools
# ===================

.claude/tsc-cache
**/.refactor/
**/.playwright-mcp/

# ===================
# Project Specific
# ===================

# OpenAPI spec copied during build
/public/openapi*.yml

# Data files (keep test fixtures)
*.csv
!tests/**/fixtures/*.csv
*.hdf
*.hdf5
*.parquet

# Scratch/working directories
/.scratch/
/.worktrees/

# References (third-party code for study)
# Keep tracked but ignore generated content within
references/**/venv/
references/**/__pycache__/
references/**/.venv/
references/**/node_modules/

# ===================
# Terraform
# ===================
*.tfvars
!*.tfvars.example
.terraform/
*.tfstate
*.tfstate.backup
.terraform.lock.hcl
.worktrees/
