# Secrets — NEVER COMMIT .env .env.local .env.*.local *.key *.pem secrets/ # Python __pycache__/ *.py[cod] *$py.class *.so .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ # KI-058 (2026-05-15) — scope these to virtualenv layouts only. A bare # `lib/` matched `frontend/src/lib/` and made `git add` refuse new files # in that path even though existing files were already tracked. /lib/ /lib64/ /.venv/lib/ /venv/lib/ parts/ sdist/ var/ wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # Virtual envs venv/ env/ ENV/ .venv # IDE .vscode/ .idea/ *.swp *.swo *~ .DS_Store # Streamlit .streamlit/secrets.toml # Next.js .next/ frontend/node_modules/ frontend/.next/ frontend/.env.local # Large data lives in the companion HF dataset, NOT in the Space git repo. # The free-tier HF Space cap is 1 GB; rag/corpus + rag/vectors is ~310 MB. # Dataset: https://huggingface.co/datasets/rohitsar567/insurance-bot-data # Dockerfile snapshot_downloads these at build time. See D-019. rag/vectors/ rag/corpus/ rag/extracted/ # rag/policies.duckdb -- intentionally not gitignored (small) # Eval outputs eval/results_*.json eval/results_*.html # Logs *.log logs/ # Jupyter .ipynb_checkpoints/ # OS Thumbs.db # Local backup of HF dataset (not for git — too large) rag/_hf_dataset_backup/ # README.pdf is the build artifact from tools/build_readme_pdf.py; # HF Space rejects binaries in the repo (use Xet/Releases instead). # Regenerate locally any time via 'python tools/build_readme_pdf.py'. README.pdf # Runtime + heavy binary: never commit 40-data/policies/ 40-data/sessions/ # Process-local LLM probe snapshot — written by backend/llm_health.py on # every probe tick. Local-dev probebacks would otherwise stage hundreds # of stale "down" rows that overwrite the HF Space's live snapshot. The # backend tolerates missing (llm_health.py:389) and rebuilds # chains/candidates/recent_turns on first probe after startup. 40-data/llm_health.json 80-audit/full_*/ 80-audit/postfix_*/ MUST_FIX.md rag/vectors # regenerable PDF-text extraction cache (tooling artifact) tools/.pdf_text_cache/ rag/corpus rag/extracted # local-only backup of pre-transparency logo originals _logo_originals_backup/ tools/.pdf_text_cache *.tsbuildinfo