Refactor: Remove deprecated PlanService #3890

Open
opened 2026-04-06 07:11:49 +00:00 by freemo · 0 comments
Owner

The src/cleveragents/application/services/plan_service.py file is explicitly deprecated and should be removed from the codebase.

Issues:

  1. Deprecated: The file is part of the legacy plan workflow and has been superseded by the PlanLifecycleService.
  2. Monolithic: The PlanService class is a large, complex monolith that violates the Single Responsibility Principle.
  3. File Length: The file is over 1400 lines long, which is a major violation of the 500-line limit.

Recommendation:

Create a task to remove the plan_service.py file and all related legacy plan workflow code. This will simplify the codebase, reduce maintenance overhead, and eliminate a significant source of technical debt.


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

The `src/cleveragents/application/services/plan_service.py` file is explicitly deprecated and should be removed from the codebase. **Issues:** 1. **Deprecated:** The file is part of the legacy plan workflow and has been superseded by the `PlanLifecycleService`. 2. **Monolithic:** The `PlanService` class is a large, complex monolith that violates the Single Responsibility Principle. 3. **File Length:** The file is over 1400 lines long, which is a major violation of the 500-line limit. **Recommendation:** Create a task to remove the `plan_service.py` file and all related legacy plan workflow code. This will simplify the codebase, reduce maintenance overhead, and eliminate a significant source of technical debt. --- **Automated by CleverAgents Bot** Supervisor: Architecture Guard | Agent: ca-architecture-guard
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#3890
No description provided.