# ============================================================
# SOMA CLI — .gitignore
# ============================================================

# ------------------------------------------------------------
# SOMA USER DATA — never in repo, ever
# ------------------------------------------------------------
~/.soma/
.soma/
events/
*.jsonl
projects.toml

# ------------------------------------------------------------
# CREDENTIALS — hard stop
# ------------------------------------------------------------
.env
.env.*
*.env
secrets.toml
config.local.toml
**/*secret*
**/*credential*
**/*api_key*

# ------------------------------------------------------------
# PYTHON
# ------------------------------------------------------------
__pycache__/
**/__pycache__/
*.py[cod]
*.pyo
*.pyd
.Python

# Distribution / packaging
dist/
build/
*.egg-info/
*.egg
.eggs/
wheels/
*.whl
MANIFEST

# Virtual environments
.venv/
.venv*/
venv/
env/
ENV/

# PyPI / pip
pip-log.txt
pip-delete-this-directory.txt

# Type checking
.mypy_cache/
.dmypy.json
dmypy.json
.pytype/
.pyre/

# Coverage
.coverage
.coverage.*
coverage.xml
*.cover
htmlcov/

# ------------------------------------------------------------
# TESTING
# ------------------------------------------------------------
.pytest_cache/
.tox/
nosetests.xml
test-results/
junit*.xml

# ------------------------------------------------------------
# EDITORS / IDE
# ------------------------------------------------------------
.vscode/
.idea/
*.swp
*.swo
*~
*.sublime-project
*.sublime-workspace

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

# ------------------------------------------------------------
# LOGS & TEMP
# ------------------------------------------------------------
*.log
logs/
soma.log
soma_realworld_test*.log
"!LOG_FILE!"
\!LOG_FILE!
*.tmp
docs/file.tmp

# ------------------------------------------------------------
# SCRATCH / SESSION NOISE
# ------------------------------------------------------------
scratch/
documentation.md
suggest.md
codex_section.md
context_gate.md
PHASEV2.CSV

# ------------------------------------------------------------
# AI AGENT TOOL DIRS (not part of SOMA source)
# ------------------------------------------------------------
.agents/
.claude/
.codex/

# ------------------------------------------------------------
# DOCS — DRAFTS / RUNTIME (internal, not for contributors)
# ------------------------------------------------------------
docs/HANDOFF_RUNTIME_REGISTRY.md
docs/NEXT_PHASE_IDEA.md
docs/SOMA_SCOPE_v2.md

# ------------------------------------------------------------
# BUILD ARTIFACTS
# ------------------------------------------------------------
*.o
*.so
*.dylib
*.dll
*.class
node_modules/
target/

# ------------------------------------------------------------
# VS CODE EXTENSION BUILD
# ------------------------------------------------------------
vscode-soma/out/
vscode-soma/*.vsix

# ------------------------------------------------------------
# DEMO / RELEASE RECORDINGS
# ------------------------------------------------------------
demo/
recordings/
*.rec
*.cast

# ------------------------------------------------------------
# EXPLICIT ALLOWS (override blanket rules above)
# ------------------------------------------------------------
!pyproject.toml
!poetry.lock