Skip to content

[refactor] Split oversized infrastructure and application modules #177

Closed

Description

@hsliuustc0106

Context

Two modules are oversized and mix responsibilities:

  • infrastructure/creation_projects.py is 895 lines with 56 def/class and also acts as a command dispatcher, which is an application-layer responsibility.
  • application/tool_operations.py is 873 lines.

Scope

  • Split the modules by command/domain.
  • Move the command-dispatch responsibility out of infrastructure and into the application layer.

Acceptance criteria

  • Module size and responsibility converge to a maintainable level.
  • The dispatcher lives in the application layer.
  • The full test suite passes after the split.

Dependencies / notes

Activity

  1. added a commit that references this issue on Nov 8, 2026
    abf3db3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p1Important, scheduled nexttype:refactorInternal restructuring with unchanged behaviour

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions