# secrets
.env
.env.local
.env.*.local
.env.sandbox
.envrc
.secret/
mcp-bridge.secrets.env

# sibling projects nested into this tree but managed as independent repos
# (they have their own remotes; main schift should not track their contents)
/apps/dot/
/mecab-ko-dic/build/output/
/mecab-ko-dic/base/build/
/.worktrees/
/bench/
/schift-terminal-opencode/
/services/pii/research/
/services/pii/artifacts/

# python
*.pyc
__pycache__/
*.egg-info/
.pytest_cache/
venv/
.venv/

# node
node_modules/
**/node_modules/
docs/node_modules/
dist/
**/dist/
.astro/
.playwright-mcp/

# os
.DS_Store
**/.DS_Store

# build artifacts
api/.aws-sam/
*.db
.build/
target/
web/.test-dist/
.wrangler/
infra/tfplan
research/legal/korean-legal-bench/kbl/
research/legal/korean-legal-bench/kcl/

# ingestion logs
fixtures/template_db/korean_law/scripts/*.log

# engine runtime data
engine/data/
engine/data-sq8/

# large binary / model data
*.bin
*.pt
*.npy
*.npz
*.pkl
*.webm
*.faiss
*.ttf

# large research / sample data
research/longmemeval/data/
research/nli_distill/data/
research/nli_distill/output/
research/embedding/polarity-relation/data/
research/embedding-projection-poc/*.pkl
# benchmark / training run outputs (regenerable, local-only)
research/**/runs/
research/**/output/
research/**/cache/
research/**/cache-no-xet/
# model checkpoints (HF safetensors / .pt) — too large for git, regenerable from
# scripts. The 2026-04-29 history rewrite via BFG removed these from the past
# commits too; keeping them out of the index going forward.
research/**/models/
research/**/checkpoints/
fixtures/template_db/korean_law/scripts/data/
models/s2s/data/
infra/embedding-worker/model/
sample-sets/lecture/
sample-sets/accounting/*.pdf

# terraform
infra/.terraform/
*.tfstate
*.tfstate.backup
*.tfstate.*.backup
.terraform.lock.hcl

# temp / scratch files
tmp/
tmp-*.png
*.prev.json
*.prev.tsv
engine-exp/

# autoresearch scratch
autoresearch-*.json
autoresearch-*.md

# research caches (legacy explicit paths; covered by research/**/cache/ glob above)
research/embedding-projection-poc/gold_data/

# data dir (large/generated)
data/

# reports (generated)
reports/

# internal tools
.omx/
.claude/
.sisyphus/
.superpowers/
.tmp-*/

# vendored Korean tokenizer (large generated dict files)
engine/mecab-ko-dict/

# loose screenshots / one-off captures (.local/ is the staging area)
*.png
!docs/**/*.png
!apps/**/public/**/*.png
!web/**/public/**/*.png
!web/src/**/*.png
!packages/**/*.png
.local/

# misc
net-all.txt

# defensive: scripts run from the wrong cwd (api/) end up creating
# `api/api/scripts/...`. Don't track that misplaced subtree.
api/api/
.env.polar.skus
/schift-terminal/
