# ---------------------------------------------------------------------------
# Credentials and secrets — never commit these.
#
# Note: the remote URL in .git/config may embed a username and password. That
# file is local-only and is never pushed, but it does mean `git remote -v`
# prints your password to the terminal. Prefer a credential helper or a token.
# ---------------------------------------------------------------------------
.env
.env.*
*.env
!.env.example
secrets.json
credentials.json
*.credentials
.netrc
.htpasswd
*.pem
*.key
!*.pub
id_rsa*
id_ed25519*
*.p12
*.pfx
*_token
*.token
token.txt
auth.json

# ---------------------------------------------------------------------------
# Local machine state — paths, tuning and service config specific to one host.
# Commit the .example variants instead.
# ---------------------------------------------------------------------------
*.local.json
*.local.sh
settings.local.*
config.local.*
overclock_profiles.local.json
hyperswap.conf
.hyperswap_env

# ---------------------------------------------------------------------------
# Persistent telemetry store (SQLite + WAL sidecars).
# Grows ~0.4 MB/hour; contains this machine's hardware history, not source.
# ---------------------------------------------------------------------------
hyperswap.db
hyperswap.db-wal
hyperswap.db-shm
*.sqlite
*.sqlite3
*.db-journal

# ---------------------------------------------------------------------------
# Logs and captured run output
# ---------------------------------------------------------------------------
*.log
logs/
manager.log
nohup.out

# ---------------------------------------------------------------------------
# Benchmark, sweep and profiling artefacts
# ---------------------------------------------------------------------------
sweep_*.json
autotune_*.json
pl_*.json
benchmark_*.json
*.prof
*.pstats
perf.data*

# ---------------------------------------------------------------------------
# Backups and scratch files (timestamped .bak files have appeared here before)
# ---------------------------------------------------------------------------
*.bak
*.bak-*
*.backup
*.pre-tuning
*.orig
*.rej
*.tmp
*.swp
*.swo
*~
.#*
scratch/
tmp/

# ---------------------------------------------------------------------------
# Python
# ---------------------------------------------------------------------------
__pycache__/
*.py[cod]
*$py.class
*.so
.venv/
venv/
env/
.Python
build/
dist/
*.egg-info/
.eggs/
.pytest_cache/
.mypy_cache/
.ruff_cache/
.coverage
htmlcov/
.tox/

# ---------------------------------------------------------------------------
# Editors and OS
# ---------------------------------------------------------------------------
.vscode/
.idea/
*.iml
.DS_Store
Thumbs.db
desktop.ini
