# ========================================
# Environment & Secrets
# ========================================
.env
.env.*
.envrc
.ica.env
.htpasswd
token.txt

# ========================================
# Virtual Environments
# ========================================
.venv
.venv/
venv/
env/
ENV/
env.bak/
venv.bak/
.python37/
.python39/
.icaenv

# ========================================
# Python Bytecode & Cache
# ========================================
__pycache__/
**/__pycache__/
*.py[cod]
*$py.class
.cache
.pylint-cache
.ruff_cache/
.mypy_cache/
.dmypy.json
dmypy.json
.pyre

# ========================================
# Build & Distribution
# ========================================
build/
dist/
develop-eggs/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
.Python
*.so
*.dylib
*.dylib.yml

!scripts/lib

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
.wily/
.pdm-build
target/

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# ========================================
# Testing & Coverage
# ========================================
.playwright-mcp/
.playwright-mcp
output
output/
htmlcov
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
nosetests.xml
coverage.xml
*.cover
*,cover
.hypothesis/
.pytest_cache/
mutants
.mutmut-cache
test-results/
tests/playwright/reports/
tests/playwright/videos/
tests/playwright/screenshots/
tests/jmeter/results/
tests/async/reports/
tests/async/profiles/
tests/migration/reports/
tests/migration/logs/
test-results-*.xml
playwright-report-*.html
.playwright-cli/

# Vitest
coverage/
.vitest/

# ========================================
# Fuzzing
# ========================================
reports/
corpus/
tests/fuzz/fuzzers/results/
snyk-code-results.json
snyk-container-results.json
snyk-iac-compose-results.json
snyk-iac-docker-results.json
snyk-helm-results.json
aibom.json
sbom-cyclonedx.json
sbom-spdx.json
# ========================================
# Security reports
# ========================================
docs/docs/security/report.md

# ========================================
# IDE & Editor
# ========================================
.codex
.vscode
.vscode/
.idea/
*.swp
.spyderproject
.spyproject
.ropeproject
.ipynb_checkpoints
profile_default/
ipython_config.py

# ========================================
# Logs & Temporary Files
# ========================================
*.log
logs/
logging/
logs/db-queries.jsonl
tmp
tmp/
temp/
.tmp*
*.bak
*.backup
*.old

# ========================================
# Archives
# ========================================
*.tgz
*.gz
*.bz
*.bz2
*.tar

# ========================================
# Database
# ========================================
*.db
mcp.db-journal
mcp.db-shm
mcp.db-wal
db.sqlite3
db_path/
pdm.lock
.pdm-python

# ========================================
# Node.js
# ========================================
node_modules/
packages-lock.json
packages.json
.npm-cache

# ========================================
# AI & Code Assistant Tools
# ========================================
.aider*
aider*
.ai*
.bob
.claude/*
CLAUDE.local.md
.continue

# ========================================
# Security & Static Analysis
# ========================================
.scannerwork
.scanner/
*.sarif
devskim-results.sarif

# ========================================
# Documentation Build
# ========================================
docs/_build/
/site
paper/
spec/
stats/

# ========================================
# macOS
# ========================================
.DS_Store
Info.plist

# ========================================
# Translations
# ========================================
*.mo
*.pot

# ========================================
# Framework-Specific (Django/Flask/Scrapy)
# ========================================
local_settings.py
instance/
.webassets-cache
.scrapy

# ========================================
# Task Runners & Schedulers
# ========================================
celerybeat-schedule

# ========================================
# SageMath
# ========================================
*.sage.py

# ========================================
# Python Version Management
# ========================================
.python-version

# ========================================
# uv Package Manager
# ========================================
uv.lock
**/uv.lock
.uv-cache/
.uv-tmp/

*.rs.bk

# ========================================
# Project-Specific (ContextForge)
# ========================================

# Certificates & JWT
certs/
jwt/

# Static assets (downloaded or built during container build)
mcpgateway/static/vendor/
mcpgateway/static/bundle-*.js
mcpgateway/static/.vite/
public/

# Generated Tailwind CSS (built during development or container build)
mcpgateway/static/css/tailwind.min.css

# Export & SBOM files
mcpgateway-export*
mcpgateway.sbom.xml
ica_integrations_host.sbom.json

# Lock files
gateway_service_leader.lock

# Feature documentation

# Cookie files
*cookies*txt
cookies*

# LLM output
llms-full.txt

# Task tracking
todo/
TODO.md
FIXMEs

# Upgrade validation outputs
artifacts/
artifacts/upgrade-validation*/

# Debug & profiling artifacts
debug_login_page.png
docs/pstats.png
docs/docs/coverage/
docs/docs/images/coverage.svg
docs/docs/images/contextforge-*.svg
docs/docs/design/images/code2flow.dot
docs/docs/test/
mcp.prof
mcp.pstats
coverage_re

# Dependency tools
.depsorter_cache.json
.depupdate.*
depsort*
depupdate*

# Kubernetes
minikube-*

# Command output files
commands_output.txt
commands_output.md
command_output.md
command_output.txt
command_outputs.md
test_commands.md
cover.md
*history.md

# Visualization
snakefood.png
snakefood.svg

# Playground & attic
playground/
.attic

# Miscellaneous
scribeflow.log
bin/flagged
flagged/
dictionary.dic
.config

# Generated reports
license-check-report.json
docs/docs/test/license-check-report.json

# Generated performance test files
nginx.conf
docker-compose.perf.yml

# Rust MCP runtime profiling artifacts
tools_rust/mcp_runtime/profiles/
tools_rust/mcp_runtime/flamegraph*.svg
tools_rust/mcp_runtime/flamegraph*.html
tools_rust/mcp_runtime/perf.data*

# JMeter test results and local installation
tests/jmeter/results/*.jtl
tests/jmeter/results/*/
.jmeter/
.bob

# OCP deployment secrets (never commit)
*-secrets.yaml
