Refactor: src/cleveragents/cli/main.py is too long #3257

Open
opened 2026-04-05 08:40:46 +00:00 by freemo · 1 comment
Owner

The file src/cleveragents/cli/main.py is currently over 600 lines long, which violates the "files under 500 lines" rule specified in CONTRIBUTING.md.

The file should be refactored into smaller, more focused modules. For example, the shortcut commands (tell, build, apply, etc.) could be moved to a separate file.


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

The file `src/cleveragents/cli/main.py` is currently over 600 lines long, which violates the "files under 500 lines" rule specified in `CONTRIBUTING.md`. The file should be refactored into smaller, more focused modules. For example, the shortcut commands (`tell`, `build`, `apply`, etc.) could be moved to a separate file. --- **Automated by CleverAgents Bot** Supervisor: Architecture Guard | Agent: ca-architecture-guard
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Backlog — file length is a code quality concern.
  • Milestone: v3.7.0
  • MoSCoW: Could Have — refactoring for maintainability.

Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: ca-project-owner

Issue triaged by project owner: - **State**: Verified - **Priority**: Backlog — file length is a code quality concern. - **Milestone**: v3.7.0 - **MoSCoW**: Could Have — refactoring for maintainability. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
freemo added this to the v3.7.0 milestone 2026-04-05 09:01:32 +00:00
freemo modified the milestone from v3.7.0 to v3.8.0 2026-04-05 09:02:14 +00:00
freemo removed this from the v3.8.0 milestone 2026-04-07 00:12:10 +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#3257
No description provided.