# =============================================================================
# QCOS .gitignore
# =============================================================================

# Environment (NEVER commit)
.env
.env.*
!.env.example
!.env.*.example
.env.local
.env.production
*.env
*.env.*
config/*.env
config/*.env.*

# AI context file (may contain local env references, use .ai-context.example instead)
.ai-context.md

# SRP run records are per-machine evidence, never committed with the example packages
examples/srp/**/runs/

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
build-output/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# Virtual environments
.venv/
venv/
ENV/

# IDE
.idea/
.vscode/
*.swp
*.swo
*~

# Testing
.pytest_cache/
.coverage
htmlcov/
.tox/
.nox/

# Jupyter
.ipynb_checkpoints/

# OS
.DS_Store
Thumbs.db

# Frontend/Node
.next/
node_modules/
.cache/

# Docker
docker/*.tar.gz

# Nuitka build artifacts
*.build/
*.dist/
*.onefile-build/

# Results and logs
results/
# The exported result-shape schemas (QDD §4.4) are source, not run output.
!/docs/architecture/schemas/results/
logs/
*.log
*.jsonl
data/logs/
# reports/ is run output at any depth; the one exception below holds committed
# spike EVIDENCE (sealed bundles). A directory excluded outright cannot have
# children re-included, hence the un-ignore of the top-level directory first.
reports/
!/reports/
/reports/*
!/reports/qub-spike-a/

# Compiled binaries
softqcos-worker
softqcos-api

# Secrets
secrets/
config/licensing/bootstrap_keys/.passphrase
ops/licensing/keys/
ops/deploy/azure/.env*
scripts/**/.env*
*.pem
*.key
*.p12
*.pfx
*.crt
*.cer
*.kubeconfig

# Notebooks checkpoints
.ipynb_checkpoints/
docs-site/node_modules/
docs-site/build/
docs-site/.docusaurus/
**/.terraform/*
quantumlock.db

# LUMI Worker secrets
.claude/worktrees/

# Fern OpenAPI export
openapi.json

# Build artifacts and dist files
dist_test/
dist/
dist_temp/
dist-raw-cp*/
build/
# ops/build/ holds build RECIPES (Dockerfiles, scripts), not build output
!ops/build/
softqcos-cli/dist/
softqcos-sdk/dist/
softquantus/dist/
data/artifacts/
run1.txt
run2.txt
scratch/

# Local databases and third-party research drops
*.db
*.sqlite
*.sqlite3
*.db-shm
*.db-wal
vendor/

# Additional secrets and keys
keys/
**/*.pem
**/*.key
**/*.db
/dist/
