Skip to content

Commit 92ef48a

Browse files
authored
feat: refactor doctor to use SDK error detection instead of manual validation (fixes #26) (#27)
- Add SdkErrorDetector class to capture and translate MCP SDK errors into doctor test results - Create SDK-based JSON-RPC compliance tests that leverage SDK error handling - Replace manual validation in base-protocol tests with SDK error detection - Add comprehensive test coverage for new SDK error detection system - Add performance_issue type to ISSUE_TYPE enum for timeout error classification - Add connection feature to ProtocolFeature type for lifecycle tests - Enable SDK error detection by default in DoctorConfig experimental options This eliminates duplicate validation logic by leveraging the SDK's built-in error detection and provides the same comprehensive spec compliance testing through SDK error translation rather than manual validation.
1 parent 9776f01 commit 92ef48a

File tree

104 files changed

+2774
-3596
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+2774
-3596
lines changed

.claude

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../claude-setups/claude-2/

.claude/commands/code.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

.claude/commands/commit.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

.claude/commands/create-issue.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

.claude/commands/debug.md

Lines changed: 0 additions & 82 deletions
This file was deleted.

.claude/commands/get-pr-feedback.sh

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)