turnstone/tests/context
pyr0ball f19f896300 feat: inject environment context into diagnose pipeline and LLM prompt
- Add context_block param to summarize() and thread it into _PROMPT_TEMPLATE
- Wire retrieve_context/format_context_block into diagnose_stream() before
  log search; emit context SSE event (facts + chunks) to the client
- 3 new tests covering prompt injection and SSE event emission (155 total, all pass)
2026-05-13 16:29:26 -07:00
..
__init__.py feat: add context_facts, context_documents, context_chunks tables to schema 2026-05-13 15:51:19 -07:00
test_chunker.py feat: context chunker — type detection, YAML extraction, text chunking 2026-05-13 15:54:51 -07:00
test_diagnose_context.py feat: inject environment context into diagnose pipeline and LLM prompt 2026-05-13 16:29:26 -07:00
test_doc_upload.py feat: doc upload adapter — writes facts, document, and chunks to context store 2026-05-13 16:21:55 -07:00
test_retriever.py feat: context retriever — keyword fact lookup and chunk search 2026-05-13 16:23:54 -07:00
test_schema.py feat: add context_facts, context_documents, context_chunks tables to schema 2026-05-13 15:51:19 -07:00
test_store.py feat: context store — fact and document CRUD 2026-05-13 15:53:03 -07:00
test_wizard.py feat: wizard state machine — structured Q&A writes context facts and source config 2026-05-13 16:25:52 -07:00