test(phase3): add comprehensive tests for multi-agent coordination

Protocol tests (16):
- AgentRequest/AgentResponse serialization
- DelegationIntent and DelegationReason validation
- CoordinationResult aggregation
- Error type tests

Coordination tests (14):
- Engine initialization and agent availability
- Delegation execution (success, error, timeout)
- Multi-intent coordination
- Streaming delegation

Librarian tests (42):
- Library-desk client (all endpoints)
- Wiki operations (search, get, create, update)
- Smart-create with HybridRAG
- Capability registration
- Response model validation

Total: 72 new tests, all passing

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-11 21:30:43 +01:00
co-authored by Claude Opus 4.5
parent 27b46a9fe7
commit 22d44b3071
5 changed files with 1320 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
"""Tests for The Librarian agent."""