# archon-search build-context excludes.
# Keeps the image small and the build deterministic by stripping anything
# that is not needed to install and run the package.

# VCS metadata
.git
.gitignore

# Python build / cache artefacts (spec-listed)
__pycache__/
*.pyc
*.pyo
*.egg-info/
dist/

# Local virtualenv (spec-listed)
.venv/

# Test, coverage, lint caches (spec-listed)
.pytest_cache/
.coverage

# Tests, docs, and CI definitions are not needed inside the runtime image (spec-listed)
tests/
Documentation/
.github/

# Telemetry artefacts (spec-listed)
*.jsonl

# Local dev artefacts that may sit at the repo root and would otherwise
# inflate the build context.
*.lance/
*.db
search-logs/
archon-search-jobs.json
.DS_Store

# The Dockerfile itself does not need to ship into the image
Dockerfile
.dockerignore

# Dev-only scripts that must not ship in the production image
scripts/claude-proxy.py
scripts/claude-container-wrapper
docker-compose.override.yml

# Large hidden directories that must never enter the build context
.claude/
.uv-cache/
.tokensave/
.serena/
.hypothesis/
.code-review-graph/

# Tool caches and agent/editor state at the repo root. They are not in the VCS, so a clean CI
# checkout never has them, but a local build used to ship them: `.mypy_cache` alone was 102 MB.
# `__pycache__/` above only matches at the context root, the second pattern matches every level.
**/__pycache__/
.mypy_cache/
.ruff_cache/
.obsidian/
:memory:
.brooks-lint-history.json
.double-check.json

# Credentials must never enter an image layer
.env
.env.*
!.env.example
.search.env
.secrets.env
keys.json
*.pem
