You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: expose semantic capability status + typed hybrid errors for clients #583
Semantic enablement depends on config + dependency availability + provider initialization state, but currently that state is not exposed as a compact machine-readable capability payload for clients.
Analyze issue and classify type/priority/component/complexity
Check for duplicate issues
Explore relevant source files
Add appropriate labels
Provide triage summary
Triage Summary
Type: Feature request / Enhancement Priority: Medium - affects downstream client reliability, but workaround exists (fallback to FTS) Component: Search API, MCP tools, CLI status Complexity: Medium - infrastructure is largely in place, needs new endpoint and schema
Classification
Field
Value
Type
Feature / Enhancement
Priority
Medium
Components
api, mcp-tool, cli
Complexity
Medium
Current State (from code exploration)
The codebase already has solid groundwork for this feature:
What exists:
config.py: Fields for semantic_search_enabled, semantic_embedding_provider, semantic_embedding_model, etc. Default auto-detects if fastembed is installed
semantic_errors.py: Two typed exceptions — SemanticSearchDisabledError and SemanticDependenciesMissingError
search_router.py: Catches both exceptions and returns HTTP 400 (but with generic text, not a typed code)
mcp/tools/search.py: Smart error formatting with remediation guidance in MCP responses
What's missing (the gap):
No GET capability/status endpoint — clients must attempt a search to discover semantic availability
No machine-readable error codes on HTTP 400 responses (only human-readable detail strings)
CLI status command doesn't include semantic search status
No last_semantic_error tracking if initialization fails
Duplicate Check
No duplicates found. Related issue #577 covers a different semantic search problem (RRF score dilution). Related issue #578 covers silent embedding skip on sqlite-vec load failure — this is closely related and could feed into last_semantic_error.
Implementation Notes
The feature can be implemented additively without breaking changes:
New schema: SemanticCapabilityStatus with the 4 requested fields
New endpoint: GET /v2/search/capabilities (or per-project variant)
Detection logic: Reuse existing _assert_semantic_available() patterns; expose via a public method
Typed error codes: Extend HTTP 400 responses with an error_code field (e.g., SEMANTIC_DISABLED, SEMANTIC_DEPENDENCIES_MISSING) alongside the human-readable detail
CLI extension: Add semantic status block to basic-memory status output
Activity
claude commentedon Feb 18, 2026
Claude finished @phernandez's task in 2m 47s —— View job
Issue Triage Analysis
Triage Summary
Type: Feature request / Enhancement
Priority: Medium - affects downstream client reliability, but workaround exists (fallback to FTS)
Component: Search API, MCP tools, CLI status
Complexity: Medium - infrastructure is largely in place, needs new endpoint and schema
Classification
api,mcp-tool,cliCurrent State (from code exploration)
The codebase already has solid groundwork for this feature:
What exists:
config.py: Fields forsemantic_search_enabled,semantic_embedding_provider,semantic_embedding_model, etc. Default auto-detects iffastembedis installedsemantic_errors.py: Two typed exceptions —SemanticSearchDisabledErrorandSemanticDependenciesMissingErrorsearch_repository_base.py: Private_assert_semantic_available()check methodsearch_router.py: Catches both exceptions and returns HTTP 400 (but with generic text, not a typed code)mcp/tools/search.py: Smart error formatting with remediation guidance in MCP responsesWhat's missing (the gap):
detailstrings)statuscommand doesn't include semantic search statuslast_semantic_errortracking if initialization failsDuplicate Check
No duplicates found. Related issue #577 covers a different semantic search problem (RRF score dilution). Related issue #578 covers silent embedding skip on sqlite-vec load failure — this is closely related and could feed into
last_semantic_error.Implementation Notes
The feature can be implemented additively without breaking changes:
SemanticCapabilityStatuswith the 4 requested fieldsGET /v2/search/capabilities(or per-project variant)_assert_semantic_available()patterns; expose via a public methoderror_codefield (e.g.,SEMANTIC_DISABLED,SEMANTIC_DEPENDENCIES_MISSING) alongside the human-readabledetailbasic-memory statusoutputlast_semantic_errorfield could capture the initialization failure from that issueLabels added:
enhancementphernandez commentedon Feb 18, 2026
Downstream tracking