# Version control
.git
.gitignore
.gitattributes

# Python cache and build artifacts
__pycache__
*.pyc
*.pyo
*.pyd
*.egg-info
*.egg
dist/
build/
.eggs/
.mypy_cache/
.ruff_cache/
.pytest_cache/

# Tests — not needed in the image
tests/

# Docs — served statically from swarm.at, not from the API container
docs/
# SPEC.md is referenced by README so the builder copies it explicitly via COPY
# docs/SPEC.md; the rest of docs/ is excluded above.

# Local config and secrets — never bake these into an image
.env
.env.*
*.toml.local
~/.swarm/

# Plans and internal notes
plans/
*.md
# Re-include the files the build actually needs
!README.md
!CLAUDE.md

# IDE / editor artifacts
.vscode/
.idea/
*.swp
*.swo

# OS artifacts
.DS_Store
Thumbs.db

# Claude Code local state
.claude/

# MCP registry tokens — sensitive, never in image
.mcpregistry_*

# Scripts used for batch ops / ledger sync — not part of the server
scripts/
