# --- Confidential / private user data -------------------------------------
# Anything under private/ is a per-user document map, entity roster, or
# glossary override. It must never be committed. Two independent excludes
# on purpose: this one, and private/.gitignore itself (written by
# `palimpsest config init`).
private/
*.private.toml

# A palimpsest.toml at the repo root is a personal project-config override
# (thresholds, backend choice, etc.) -- not the project's own default, even
# though this repo IS the tool's source. Anchored to the root only so
# examples/palimpsest.toml (a tracked, documented example) is unaffected.
/palimpsest.toml

# Runtime state: OCR intermediates, translation cache, run reports.
# The cache is the most valuable and most confidential artifact this tool
# produces -- it is a parallel corpus of the user's real documents.
.palimpsest/

# Working corpora (user's own source/output documents)
corpus/
*.pdf
*.docx
*.xlsx
*.pptx
!examples/**/*.pdf
!examples/**/*.docx
!examples/**/*.xlsx
!examples/**/*.pptx

# --- Python ------------------------------------------------------------
__pycache__/
*.py[cod]
*.egg-info/
.eggs/
build/
dist/
.venv/
venv/
.mypy_cache/
.ruff_cache/
.pytest_cache/
htmlcov/
.coverage

# --- Secrets -------------------------------------------------------------
.env
*.key

# --- Editor / OS ---------------------------------------------------------
.vscode/
.idea/
.DS_Store
Thumbs.db

# --- Local-only assistant notes -------------------------------------------
# Working notes for AI coding assistants -- local to this machine's
# session, not part of the project's own documentation.
/CLAUDE.md
/CODEX.md
/handoff.md
/changes.md
.agents/

# --- JS (web/prototype) ---------------------------------------------------
node_modules/

# The built SPA, copied here by tools/build_frontend.py for `palimpsest
# serve` to mount in production mode -- a build artifact of
# web/prototype/dist, not source.
src/palimpsest/server/static/
