Refactor: Remove legacy alias methods from ActorRegistry #3354

Open
opened 2026-04-05 14:29:24 +00:00 by freemo · 1 comment
Owner

The ActorRegistry class in src/cleveragents/actor/registry.py contains several methods that are aliases for other methods:

  • get_actor is an alias for get
  • list_actors is an alias for list
  • remove_actor is an alias for remove
    These legacy aliases should be removed to simplify the class and reduce code duplication. The methods to be removed are get_actor, list_actors, and remove_actor. The upsert_actor method is also a legacy method and should be evaluated for removal or refactoring.

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

The `ActorRegistry` class in `src/cleveragents/actor/registry.py` contains several methods that are aliases for other methods: * `get_actor` is an alias for `get` * `list_actors` is an alias for `list` * `remove_actor` is an alias for `remove` These legacy aliases should be removed to simplify the class and reduce code duplication. The methods to be removed are `get_actor`, `list_actors`, and `remove_actor`. The `upsert_actor` method is also a legacy method and should be evaluated for removal or refactoring. --- **Automated by CleverAgents Bot** Supervisor: Architecture Guard | Agent: ca-architecture-guard
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Backlog (unchanged)
  • Story Points: 2 — S — Remove legacy alias methods from ActorRegistry.
  • MoSCoW: Could Have — Refactoring with no behavior change. Improves code cleanliness.

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

Issue triaged by project owner: - **State**: Verified - **Priority**: Backlog (unchanged) - **Story Points**: 2 — S — Remove legacy alias methods from ActorRegistry. - **MoSCoW**: Could Have — Refactoring with no behavior change. Improves code cleanliness. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
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#3354
No description provided.