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

1 Commits

Author SHA1 Message Date
brent.edwards 99ac4403b9 refactor(cleanup): remove or implement empty stub packages
CI / lint (pull_request) Successful in 3m20s
CI / build (pull_request) Successful in 15s
CI / quality (pull_request) Successful in 3m47s
CI / helm (pull_request) Successful in 22s
CI / typecheck (pull_request) Successful in 4m5s
CI / security (pull_request) Successful in 4m12s
CI / unit_tests (pull_request) Successful in 6m1s
CI / docker (pull_request) Successful in 1m18s
CI / coverage (pull_request) Successful in 12m25s
CI / e2e_tests (pull_request) Successful in 16m48s
CI / integration_tests (pull_request) Successful in 24m15s
CI / status-check (pull_request) Successful in 3s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 55m15s
Remove four empty stub packages that contained only __init__.py with
__all__ = [] and no functional code, violating CONTRIBUTING.md §Commit
Completeness. All four were audited against docs/specification.md:

- src/cleveragents/runtime/ — Spec defines four layers (Domain,
  Application, Infrastructure, Presentation) with no Runtime Layer.
  Runtime concepts (LSP Runtime, actor runtime) belong in Infrastructure.
- src/cleveragents/domain/repositories/ — Spec mentions repository
  interfaces in Domain but mandates no separate subpackage. Empty with
  no protocols defined; existing models cover the domain.
- src/cleveragents/domain/plans/ — Plan domain models already exist in
  domain/models/planconfig, planfiles, and plansettings. Empty duplicate.
- src/cleveragents/application/workflows/ — Application logic already
  served by application/services/. Empty stub added no value.

Updated test references in features/steps/module_coverage_steps.py,
features/steps/coverage_extras_steps.py, features/architecture.feature,
and robot/architecture.robot to remove the deleted packages from import
verification and architecture validation lists.

ISSUES CLOSED: #948
2026-04-02 06:29:56 +00:00