Skip to content

034.05 List Cases

Description

As an AI Agent, I want to list all cases so that I can understand data organization.

Acceptance Criteria

  • [x] #1 Agent can get list of all cases
  • [x] #2 Agent can see case attributes
  • [x] #3 Agent can see linked sources per case
  • [ ] #4 Agent can see coding statistics per case

Implementation Notes

Completed 2026-03-15

  • All 4 case MCP tools registered in mcp_server.py (list_cases, get_case, suggest_case_groupings, compare_cases)
  • ALL_CASE_TOOLS dict added to cases/interface/mcp_tools.py
  • CaseTools dispatch block added to _execute_tool() with lazy init and cache invalidation
  • 10 E2E tests in test_case_mcp_tools_e2e.py — all passing
  • API docs updated in docs/api/mcp-api.md
  • Coverage matrix updated in docs/DOC_COVERAGE.md
  • AC #4 (coding statistics) deferred — requires cross-context integration with coding context