Remove embedding pipeline, use uv, staged incidents#52
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[v2.0.0] — 2026-06-22
Added
LLMclass with auto-detection for provider from model string. Supports OpenAI, Anthropic, AWS Bedrock, Google Gemini, Groq, and Azure out of the box. New presets added:openai,anthropic,gemini.primary_ownerin the domain registry, driving a knowledge recovery arc.questions/eval_questions.jsonlfor benchmark evaluation.DepartmentDayPlannow carriesavg_stressfor visibility into team-wide morale.(conf_id, author, title)for downstream lifecycle credit.Changed
requirements.txttouv/pyproject.toml: The project now usesuvfor dependency management with apyproject.tomldeclaring all dependencies. Removedrequirements.txt,requirements-cloud.txt, andrequirements-test.txt.$textsearch for event retrieval. Removedembed_worker.py, all embedder classes (Ollama, OpenAI, Bedrock, Infinity), and fallback hash embeddings.uvcopy,pyproject.toml-based install, anduv runexecution. Removed separaterequirements-cloud.txtinstall step.$textindex exclusively (text-only), removing the vector/hybrid fusion pipeline, RRF scoring, and all vector-specific thresholds.confluence_pagescollection: No longer stored in the genericartifactscollection. Zoom transcripts similarly moved tozoom_transcripts.embed_artifact()is now a routing function dispatching to type-specific stores.TicketAssignernow computes skill scores via normalized term overlap between ticket title tokens and engineer domain-registry expertise tokens.base_urlfor non-standard OpenAI endpoints, removedembed_provider/embed_model/embed_dimsfields from presets. Simulation defaults updated (60-day runs, higher incident probability, adjusted morale decay).markdown_docandaliaseskeys, replacing freeform Markdown output.topics_in_doc,topics_outside_my_expertise,claims_i_approximated,sections_i_left_thin) and the engine classifies gaps deterministically using domain registry coverage thresholds.context_for_prompt()replaced with tiered context builder: Three tiers — pinned tech stack + active gaps, alias-weighted BM25 search, and open knowledge gap questions. Noise-stripping applied before BM25 search.scan_for_knowledge_gapson the PR text.dotenvauto-loaded:.envis now loaded automatically inconfig_loader.pyon import.postmortem_writerrole.Removed
embed_worker.py(242 lines), all embedder classes (OllamaEmbedder,OpenAIEmbedder,BedrockEmbedder,InfinityEmbedder),build_embedder()factory,_embed()method,_init_vector_indexes(), and all vector search aggregation pipelines._rewrite_query()removed. Noise-stripping in_strip_query_noise()replaces the HyDE pattern.author_domain_fit,gap_classification,topics_beyond_author_expertise,hedged_claims, anddeferred_or_incompletefields removed from PR review and design doc JSON output schemas._SKIP_EMBED_TYPES: Removed the event type embedding skip list since no events are embedded.find_confluence_experts(): Replaced bysearch_persona_skills_text()anddomain_context_for_topic().recall()andrecall_events()vector search methods: Replaced bysearch_artifacts_text()and structured MongoDB queries.Fixed
_write_postmortemnow correctly uses incident actors to determine the writer, fixing timestamp attribution.write_adhoc_page()now returns(conf_id, author, title)tuple instead ofNone, enabling callers inNormalDayHandlerto credit domain knowledge.docker-compose.yamlversion field: Removed deprecatedversion: "3.9"top-level key.