v0.2.0
Engineering changes
Added
- Local web chat — chat.py + chat/static/ UI at http://127.0.0.1:8765 (localhost only; multi-turn conversation with collapsible sources)
- lib/rag.py — shared retrieve + answer path for CLI and chat
- PII-safe telemetry — lib/telemetry.py emits grep-friendly InpediaChat| lines on stderr (ingest + query timings, retrieval distance, notebook ids — never question or answer text)
- docs/qa/LOCAL_CHAT_CONFIDENCE.md — first-use report, smell-test checklist, telemetry spec (pattern from Tasteful confidence gates)
- scripts/stream_chat_logs.sh — helper to filter telemetry lines
Changed
- query.py — delegates to lib/rag.py
- ingest.py — emits ingest telemetry; suggests chat.py after ingest
Validated
- First real corpus session — personal-essays.md (*What is Product?*, 2022-10-01): grounded answer on product-growth tradeoffs; explicit “not in excerpts” gap list; 4-source retrieval from local index