# Archive (pre-v1.0 files moved during repo cleanup)
archive/

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

# C extensions
*.so

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

# 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

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

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
coverage_report.json
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/
docs/*/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
#   install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
agents_venv/
ENV/
env.bak/
venv.bak/

# API Keys and Secrets
API_Keys.txt
**/API_Keys.txt
api_keys.txt
**/api_keys.txt
secrets.txt
**/secrets.txt

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# IDE / Editor tools
.vscode/
.idea/
.kilocode/
*.swp
*.swo
*~

# OS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Generated reports and timestamped files
telemetry-id

# Generated reports and timestamped files
*_20[0-9][0-9][0-9][0-9][0-9][0-9]_*
audit_reports/
compliance-evidence*/
performance-validation/
infrastructure-test-reports/
multi-cloud-reports/
security-validation-results/
reports/

# Performance and monitoring data
quick_*_summary.json
performance-optimization-report-*.json
*baseline*.json
real_world_scenario_results_*.json
comprehensive_*_report.json
performance_benchmark_report.json
data/chroma_db/

# Test artifacts and temporary data
test_environments/*/data/
tests/*/test_*_cache/
tests/**/embeddings.db
tests/fixtures/prsm_test.db
tests/fixtures/test_embedding_cache/
test_investor_cache/

# Local working files
Start_Prompt.txt
tests/fixtures/test_investor_cache/
results/

# Docker
.docker/

# Logs
logs/
logs_archive/
*.log

# Database
*.db
*.sqlite

# Node modules (for any JS components)
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Next.js build output
.next/
out/

# Build artifacts
build/
dist/
# Archive folder - local backup only, not for repo
/archive/
# Allow planning/archive (completed plan docs belong in the repo)
!planning/archive/
# Examples/demos archive directories - development artifacts, not for repo
examples_and_demos/archive/
examples_and_demos/demos/analogical_reasoning/archive/

# NWTN Data Files - exclude corpus and processed data
prsm/nwtn/corpus/
prsm/nwtn/processed_corpus/
utilities/knowledge_extraction/*.zim
utilities/knowledge_extraction/wikipedia_*.zim
**/embeddings/
**/embeddings.db
**/processed_data/
**/raw_data/
**/world_model_knowledge/
**/structured_knowledge/
*.zim

# Large data files and results
real_papers_progress.json
integration_validation_report.json
simplified_integration_validation_report.json

# New Architecture Data Exclusions
# Allow Python files in corpus/ for codebase indexing, ignore data files
prsm/compute/nwtn/corpus/*
!prsm/compute/nwtn/corpus/*.py
!prsm/compute/nwtn/corpus/__init__.py
prsm/compute/nwtn/processed_corpus/

# PRSM local data directory
.prsm/

# Runtime data directories
.nwtn_cache/
cache/
db/
logs/
marketplace_data/
model_data/
models/deployed/
models/distilled/
plugin_data/
prsm_embedding_cache/
temp/

# Build artifacts
prsm_network-*/

# Netlify build artifacts
.netlify/
docker/.env

# Node identity (contains private keys — never commit)
config/node_identity.json
# Node config (generated by onboarding wizard — local only)
config/node_config.json
dashboards/

# Runtime data directories created by tests/services
bi_data/
etl_pipelines/
integration_data/
metrics_data/
orchestration_data/
sync_data/

# SQLite artifact with literal colon in name
:memory:.db

# IDE config files
.kilocode/
.kilocodemodes

# NWTN runtime checkpoints
NWTN_CHECKPOINTS/

# Codebase vector index
.codebase_index/

# NWTN execution traces (Meta-Harness optimization data)
.nwtn_traces/

# Claude Code local config
.claude/

# OpenZeppelin build artifacts
contracts/.openzeppelin/

# JS lock files (managed per-environment)
sdks/javascript/package-lock.json

# Editor / IDE state
.obsidian/
