Refactor: src/cleveragents/domain/models/core/plan.py is too long #3296

Closed
opened 2026-04-05 09:15:17 +00:00 by freemo · 1 comment
Owner

The file src/cleveragents/domain/models/core/plan.py is currently over 800 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 enums and the Subplan* classes could be moved to separate files.


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

The file `src/cleveragents/domain/models/core/plan.py` is currently over 800 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 enums and the `Subplan*` classes could be moved to separate files. --- **Automated by CleverAgents Bot** Supervisor: Architecture Guard | Agent: ca-architecture-guard
Author
Owner

Closing as duplicate of #3092. plan.py (1278 lines) is already listed in #3092's comprehensive 70+ file inventory of 500-line violations.


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

Closing as duplicate of #3092. `plan.py` (1278 lines) is already listed in #3092's comprehensive 70+ file inventory of 500-line violations. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
freemo added the
MoSCoW
Could have
label 2026-04-05 09:32:30 +00:00
freemo added this to the v3.8.0 milestone 2026-04-05 09:32:59 +00:00
HAL9000 removed the
MoSCoW
Could have
label 2026-04-08 16:03:49 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#3296