# Matriosha v2 ignore rules
# Security-first defaults: keep credentials, local config, caches, and editor state out of git.

# ------------------------------
# Secrets / credentials
# ------------------------------
# Service account keys and credential blobs
*.json
!tests/snapshots/*.json
gcp-sa-key.json
service-account*.json
sa-key*.json

# Local credentials and key material
.matriosha/credentials/
.matriosha/**/*.key
.matriosha/**/*.pem
.matriosha/**/*.p12
*.pem
*.p12
*.key
*.crt
*.cer

# Environment / local config
# Keep local secret values out of git. Track only the safe template (.env.example).
.env
.env.*
!.env.example
config.toml
*.local.toml

# ------------------------------
# Python
# ------------------------------
__pycache__/
*.py[cod]
*.pyo
*.pyd
*.so
.pytest_cache/
.mypy_cache/
.ruff_cache/
.pyre/
.hypothesis/
.coverage
.coverage.*
htmlcov/

# Virtual environments
venv/
.venv/
env/

# Build / packaging
build/
dist/
*.egg-info/
.eggs/
pip-wheel-metadata/

# ------------------------------
# IDE / editor
# ------------------------------
.vscode/
.idea/
*.iml

# ------------------------------
# OS / logs / temp
# ------------------------------
.DS_Store
Thumbs.db
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
*.tmp
*.swp

# ------------------------------
# Legacy Node/Next artifacts (if present)
# ------------------------------
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
/coverage
/.next/
/out/
next-env.d.ts
*.tsbuildinfo

# Tooling-specific dirs
.aidesigner/*
!.aidesigner/.gitkeep
/.clerk/
.vercel

# Benchmark generated artifacts and external corpora
benchmarks/fixtures/hf_cache/
benchmarks/results/
benchmarks/__pycache__/
benchmarks/**/*.pyc

# Local test virtual environments
.pypi-test-venv/
.install-test-venv/
.release-venv/

# Local smoke-test virtual environments
.install-smoke-venv/
*-smoke-venv/
