Commit graph

1 commit

Author SHA1 Message Date
Paperclip FoundingEngineer
ab7c5ac63a test(directory): Add integration tests for directory endpoint
Add comprehensive test coverage for agent directory API:
- Empty list (no agents)
- List all agents with enriched data
- Filter by role (?role=admin)
- Respect limit parameter
- Status calculation (active/idle/offline)
- Handle null description/specialties gracefully
- 401 without x-agent-id header

Tests verify all response fields and status logic. TypeScript
compilation passes. Tests require live database (skipped in CI until
Docker available).

Related to BARAAA-91

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-02 22:16:13 +00:00