# Build context exclusions — deploy/docker/*.Dockerfile COPY whole
# component directories (`COPY vav_pipeline/ vav_pipeline/`,
# `COPY shoresh-engine/ ./`, ...). Without this file the HOST's
# compiled artifacts are copied into the image and the in-container
# toolchain then tries to REUSE them.
#
# That is a real defect, not a size optimization:
#   - vav_pipeline/_build holds .beam compiled by the host's ERTS;
#     mix treats them as current and skips recompiling. The
#     container's mix then fails on a stale manifest
#     ("Failed to restore .../source.dag file. Discarding it.")
#     or ships host-built artifacts into an amd64 release.
#   - shoresh-engine/dist-newstyle (129 MB) holds arm64 GHC objects;
#     cabal would link them into an amd64 binary.
#   - korban_processor/.venv and __pycache__ carry host-arch
#     bytecode and native wheels.
#
# The image must be built from SOURCE inside the container, on the
# target architecture. Ka'asher tzivah — built as commanded, not
# assembled from whatever happened to be lying on the workbench.
#
# NOTE: l1/ is deliberately NOT ignored. The scroll ships with the
# vessel (every Dockerfile COPYs l1/ into /mnt/torah). Do not add it.

# --- VCS and agent state ---
.git
.gitignore
.claude
.opencode

# --- Elixir / Erlang ---
vav_pipeline/_build
vav_pipeline/deps
vav_pipeline/.elixir_ls
vav_pipeline/cover
vav_pipeline/var
sanhedrin/_build
sanhedrin/rebar3.crashdump
erl_crash.dump
**/erl_crash.dump

# --- Haskell ---
shoresh-engine/dist-newstyle
shoresh-engine/.stack-work
shoresh-engine/.ghc.environment*

# --- Prolog ---
talmudic_engine/_build
talmudic_engine/deps

# --- Python ---
**/__pycache__
**/*.pyc
**/*.pyo
**/.venv
**/venv
**/.pytest_cache
**/.mypy_cache
**/.ruff_cache
**/*.egg-info

# --- Secrets and local config ---
.env
**/.env
*.pem
*.key

# --- OS / editor noise ---
.DS_Store
*.swp
*.swo
*~

# --- Not needed inside any image ---
transcripts
Untitled
aws-export
kushya_generator/data/train.jsonl
kushya_generator/data/eval.jsonl
kushya_generator/fine_tune/adapter
