mirror of
https://github.com/coleam00/Archon
synced 2026-04-21 21:47:53 +00:00
* feat: MCP server optimization with tool consolidation and vertical slice architecture - Consolidated MCP tools from ~20 to 8 tools for improved UX - Restructured to vertical slice architecture (features/domain pattern) - Optimized payload sizes with truncation and array count replacements - Changed default include_closed to true for better task visibility - Moved RAG module to features directory structure - Removed legacy modules directory in favor of feature-based organization Key improvements: - list_tasks, manage_task (create/update/delete consolidated) - list_projects, manage_project (create/update/delete consolidated) - list_documents, manage_document (create/update/delete consolidated) - list_versions, manage_version (create/restore consolidated) - Reduced default page size from 50 to 10 items - Added search query support to list operations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * feat: Consolidate MCP tools and rename list_* to find_* Major refactoring of MCP tools to reduce complexity and improve naming: ## Tool Consolidation (22 → ~10 tools) - Consolidated CRUD operations into two tools per domain: - find_[resource]: Handles list, search, and get single item - manage_[resource]: Handles create, update, delete with "action" parameter - Removed backward compatibility/legacy function mappings - Optimized response payloads with truncation (1000 char limit for projects/tasks) ## Renamed Functions - list_projects → find_projects - list_tasks → find_tasks - list_documents → find_documents - list_versions → find_versions ## Bug Fixes - Fixed supabase query chaining bug where .or_() calls overwrote previous conditions - Fixed search implementation to handle single vs multiple terms correctly ## Test Updates - Updated all tests to use new consolidated tools - Removed problematic test_consolidated_tools.py - Fixed error type assertions to match actual responses - All 44 tests passing ## Documentation Updates - Updated CLAUDE.md with new tool names and patterns - Updated MCP instructions with consolidated tool examples - Added guidance to avoid backward compatibility code ## API Changes - Updated API route defaults: include_closed=True, per_page=10 - Aligned defaults with consolidated tool implementations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| mcp_server | ||
| progress_tracking | ||
| server | ||
| __init__.py | ||
| conftest.py | ||
| test_api_essentials.py | ||
| test_async_credential_service.py | ||
| test_async_embedding_service.py | ||
| test_async_llm_provider_service.py | ||
| test_async_source_summary.py | ||
| test_business_logic.py | ||
| test_code_extraction_source_id.py | ||
| test_crawl_orchestration_isolated.py | ||
| test_document_storage_metrics.py | ||
| test_embedding_service_no_zeros.py | ||
| test_keyword_extraction.py | ||
| test_knowledge_api_integration.py | ||
| test_knowledge_api_pagination.py | ||
| test_port_configuration.py | ||
| test_progress_api.py | ||
| test_rag_simple.py | ||
| test_rag_strategies.py | ||
| test_service_integration.py | ||
| test_settings_api.py | ||
| test_source_id_refactor.py | ||
| test_source_race_condition.py | ||
| test_source_url_shadowing.py | ||
| test_supabase_validation.py | ||
| test_task_counts.py | ||
| test_token_optimization.py | ||
| test_token_optimization_integration.py | ||
| test_url_canonicalization.py | ||
| test_url_handler.py | ||