- Fix template literal parsing bug in
src/prompts/migrate-existing.js:215: the conditional placeholder now renders safely and passesnode --check. - Update MCP entry points to reference the new
src/mcpstructure rather than the flagged-for-removal_mcppaths.bin/mcp-http.js,bin/mcp.js,bin/semem.js, andindex.jsnow targetsrc/mcp/**. - Resolve missing Embedding handler export: reinstated a compatibility handler in
src/handlers/EmbeddingHandler.js, restored exports, and aligned migration scripts with the renamedsrc/utils/EmbeddingMigration.js. - Revisit the embedding migration utilities: the CLI (
scripts/migrate-embeddings.js) still targets live SPARQL data and relies onsrc/utils/EmbeddingMigration.jsfor dimension cleanup, so we’re keeping both in place and noting the TODO for eventual retirement once vector ingests are stable. - Audit MCP legacy compatibility layers: normalized augmentation response types in
LegacyOperationsStrategy(no more*_legacysuffix) and left TODO to migrate callers off that strategy entirely. - Clean up deprecated MCP tool shims: the router now exposes only the verb-based tools, logs warnings for legacy aliases, and no longer loads the old module bundles.
- Updated concept embedding integration/unit tests to consume the new verb response shape (top-level totals, no
*_legacyaugmentation types). - Extended augment options schema with
includeEmbeddingsand enriched concept embedding responses (totalProcessed,targetGraph) so verb outputs match the modern tests/clients. - Moved concept embedding SPARQL write into
sparql/templates/store/insert-concept-embedding.sparqland load it viaSPARQLTemplateLoaderto eliminate inline queries. - Slimmed
ToolRouterto core verbs plus chat shims; legacysemem_*tool names now map through workflow orchestration rather than bespoke router branches. - Removed unused legacy argument transformers from
ToolRouter; only/chatand/chat/enhancedremain as thin aliases overask. - [~] Confirm we still need PromptManager’s legacy adapters.
src/prompts/compatibility.jscalls into the adapters forPromptTemplates,PromptFormatter, andMCP, so a wider migration plan is needed before removing them. - [~] Evaluate
EmbeddingService’s legacy constructor path (src/services/embeddings/EmbeddingService.js:23).SearchService,SearchServer, and several test helpers still instantiate the service without aConfig, so we need to refactor those callers before dropping the fallback. - Audit leftover
_mcpimports as likely-dead entry points:compare-search.js,fix-embedding-dimensions.js,test-dogfort.js, and the MCP test suites now import fromsrc/mcp/**.