refactor(cleanup): remove or implement empty stub packages #1266

Merged
freemo merged 1 commits from refactor/m7-remove-empty-stub-packages into master 2026-04-02 16:58:37 +00:00
8 changed files with 0 additions and 45 deletions
-1
View File
@@ -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 |
-4
View File
@@ -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",
]
-4
View File
@@ -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",
]
-1
View File
@@ -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__ = []
-16
View File
@@ -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__ = []