refactor(cleanup): remove or implement empty stub packages #1266
@@ -13,7 +13,6 @@ Feature: Architecture validation
|
||||
Then I should find these main packages:
|
||||
| package | description |
|
||||
| cli | Command line interface |
|
||||
| runtime | Server and background workers |
|
||||
| application | Business logic and workflows |
|
||||
| domain | Domain models and contracts |
|
||||
| infrastructure | External integrations |
|
||||
|
||||
@@ -90,16 +90,12 @@ def step_test_empty_inits(context):
|
||||
modules_to_test = [
|
||||
"cleveragents.application",
|
||||
"cleveragents.application.services",
|
||||
"cleveragents.application.workflows",
|
||||
"cleveragents.cli.commands",
|
||||
"cleveragents.domain",
|
||||
"cleveragents.domain.contexts",
|
||||
"cleveragents.domain.models",
|
||||
"cleveragents.domain.plans",
|
||||
"cleveragents.domain.repositories",
|
||||
"cleveragents.infrastructure",
|
||||
"cleveragents.providers",
|
||||
"cleveragents.runtime",
|
||||
"cleveragents.shared",
|
||||
]
|
||||
|
||||
|
||||
@@ -78,7 +78,6 @@ def step_import_all_modules(context):
|
||||
"cleveragents",
|
||||
"cleveragents.application",
|
||||
"cleveragents.application.services",
|
||||
"cleveragents.application.workflows",
|
||||
"cleveragents.cli",
|
||||
"cleveragents.cli.commands",
|
||||
"cleveragents.config",
|
||||
@@ -86,11 +85,8 @@ def step_import_all_modules(context):
|
||||
"cleveragents.domain",
|
||||
"cleveragents.domain.contexts",
|
||||
"cleveragents.domain.models",
|
||||
"cleveragents.domain.plans",
|
||||
"cleveragents.domain.repositories",
|
||||
"cleveragents.infrastructure",
|
||||
"cleveragents.providers",
|
||||
"cleveragents.runtime",
|
||||
"cleveragents.shared",
|
||||
]
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ Package Structure Should Follow Layered Architecture
|
||||
|
||||
# Check main packages exist
|
||||
Directory Should Exist ${SRC_DIR}/cli
|
||||
Directory Should Exist ${SRC_DIR}/runtime
|
||||
Directory Should Exist ${SRC_DIR}/application
|
||||
Directory Should Exist ${SRC_DIR}/domain
|
||||
Directory Should Exist ${SRC_DIR}/infrastructure
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
"""Application workflows.
|
||||
|
||||
Contains workflow implementations for complex business processes.
|
||||
"""
|
||||
|
||||
__all__ = []
|
||||
@@ -1,6 +0,0 @@
|
||||
"""Plans domain module.
|
||||
|
||||
Contains domain models and business logic related to development plans.
|
||||
"""
|
||||
|
||||
__all__ = []
|
||||
@@ -1,7 +0,0 @@
|
||||
"""Repository interfaces.
|
||||
|
||||
Contains abstract repository interfaces that define data access contracts.
|
||||
Concrete implementations live in the infrastructure layer.
|
||||
"""
|
||||
|
||||
__all__ = []
|
||||
@@ -1,16 +0,0 @@
|
||||
"""Runtime Layer - Server and Background Workers.
|
||||
|
||||
This layer handles:
|
||||
- HTTP/WebSocket server implementation (80 endpoints)
|
||||
- Background worker orchestration (61 behaviors)
|
||||
- Process lifecycle management
|
||||
- Shared DI container configuration
|
||||
|
||||
Responsibilities:
|
||||
- Start/stop server processes
|
||||
- Manage background tasks
|
||||
- Handle HTTP/WebSocket requests
|
||||
- Coordinate worker lifecycles
|
||||
"""
|
||||
|
||||
__all__ = []
|
||||
Reference in New Issue
Block a user