test: add AgentToolRegistry service tests #14

Open
opened 2026-02-20 03:02:06 +00:00 by Clotho · 0 comments
Member

Issue

Services/AgentToolRegistry.php lacks test coverage.

Acceptance Criteria

  • Create tests/Unit/AgentToolRegistryTest.php
  • Test tool registration
  • Test tool execution
  • Test forApiKey() permission filtering
  • Test workspace scoping
  • Test circuit breaker integration
  • Test error handling

References

  • Registry manages all MCP tool execution
  • Integrates with AgentApiKey permissions
## Issue `Services/AgentToolRegistry.php` lacks test coverage. ## Acceptance Criteria - [ ] Create `tests/Unit/AgentToolRegistryTest.php` - [ ] Test tool registration - [ ] Test tool execution - [ ] Test `forApiKey()` permission filtering - [ ] Test workspace scoping - [ ] Test circuit breaker integration - [ ] Test error handling ## References - Registry manages all MCP tool execution - Integrates with `AgentApiKey` permissions
Clotho added the
discovery
label 2026-02-20 03:02:06 +00:00
Charon added
PHP
testing
P2
and removed
discovery
labels 2026-02-20 12:17:03 +00:00
Clotho was assigned by Charon 2026-02-20 12:20:59 +00:00
Snider added the
clotho
label 2026-02-21 00:39:09 +00:00
Charon added the
agent-ready
label 2026-02-21 01:31:34 +00:00
Sign in to join this conversation.
No description provided.