beads/integrations/beads-mcp/tests
Steve Yegge e20de54cb2 fix: MCP plugin follows .beads/redirect files (bd-7t9a, gt-tnw)
The _find_beads_db_in_tree() function now follows .beads/redirect files
to find shared beads databases. This is essential for polecat/crew
directories that use redirect files to share a central database.

Changes:
- Added _resolve_beads_redirect() helper function
- Updated _find_beads_db_in_tree() to check for redirect files before
  looking for local .db files
- Added comprehensive tests for redirect functionality

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 00:06:17 -08:00
..
__init__.py feat: Add Beads MCP Server [bd-5] 2025-10-14 11:13:52 -07:00
conftest.py Add test safeguards to prevent production database pollution (bd-2c5a) 2025-11-07 21:58:22 -08:00
test_bd_client.py Fix MCP dep tool parameter names to match CLI (issue_id/depends_on_id) 2025-10-23 13:07:44 -07:00
test_bd_client_integration.py fix(beads-mcp): resolve all mypy type checking errors 2025-11-26 21:54:23 -08:00
test_compaction_config.py feat(mcp): Add compaction config and extended context engineering docs 2025-12-14 15:12:43 -08:00
test_config.py Fix remaining linting issues - combine nested with statements 2025-10-15 11:44:59 -07:00
test_daemon_health_check.py Fix bd-8zf2: MCP server auto-detects workspace from CWD 2025-11-07 23:59:57 -08:00
test_lifecycle.py fix(beads-mcp): resolve all mypy type checking errors 2025-11-26 21:54:23 -08:00
test_mcp_compaction.py feat(mcp): Add compaction config and extended context engineering docs 2025-12-14 15:12:43 -08:00
test_mcp_server_integration.py feat(mcp): add output control parameters for token efficiency (#667) 2025-12-20 21:33:38 -08:00
test_multi_project_switching.py fix(beads-mcp): resolve all mypy type checking errors 2025-11-26 21:54:23 -08:00
test_subprocess_stdin.py fix(beads-mcp): prevent subprocess stdin inheritance breaking MCP protocol 2025-11-26 20:42:29 -08:00
test_tools.py fix(beads-mcp): resolve all mypy type checking errors 2025-11-26 21:54:23 -08:00
test_workspace_auto_detect.py fix: MCP plugin follows .beads/redirect files (bd-7t9a, gt-tnw) 2025-12-30 00:06:17 -08:00
test_worktree_separate_dbs.py feat(mcp): Consolidate context tools into unified 'context' tool 2025-12-20 01:57:56 -08:00