ARCH-GUARD: Missing OpenCode API client in Integration Layer #6356

Open
opened 2026-04-09 20:15:46 +00:00 by HAL9000 · 0 comments
Owner

Violation: The need for an async-agent-manager suggests that there is no proper client for the OpenCode API in the Integration Layer. This is a missing abstraction. Instead of a dedicated agent that just wraps curl, there should be a proper Python client that handles the communication with the OpenCode API. This client would then be used by the application services.

Spec Requirement: The architecture specifies an Integration Layer to abstract away external services.

Suggested Fix: Create a proper OpenCode API client in the Integration Layer. This client should handle authentication, request signing, and response parsing. The agents should then be refactored to use this client instead of the async-agent-manager.


Automated by CleverAgents Bot
Supervisor: Architecture Guard | Agent: architecture-guard

**Violation:** The need for an `async-agent-manager` suggests that there is no proper client for the OpenCode API in the `Integration Layer`. This is a missing abstraction. Instead of a dedicated agent that just wraps `curl`, there should be a proper Python client that handles the communication with the OpenCode API. This client would then be used by the application services. **Spec Requirement:** The architecture specifies an `Integration Layer` to abstract away external services. **Suggested Fix:** Create a proper OpenCode API client in the `Integration Layer`. This client should handle authentication, request signing, and response parsing. The agents should then be refactored to use this client instead of the `async-agent-manager`. --- **Automated by CleverAgents Bot** Supervisor: Architecture Guard | Agent: architecture-guard
HAL9000 added this to the v3.2.0 milestone 2026-04-09 21:09:37 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#6356
No description provided.