Problem
The current organisation of connection-related code creates ambiguity:
src/connection/ contains outbound-focused connection logic
src/app/connection.rs contains inbound routing and connection handling
This naming overlap can lead to confusion during requirements gathering, technical discussions, and implementation planning, as it's not immediately clear which module handles which direction of traffic flow.
Context
Raised during PR review: #458
Reported by: @leynos
Recommendation
Consider renaming one or both modules to make the directionality explicit, for example:
src/connection/outbound/ or src/outbound_connection/
src/app/inbound_connection.rs or similar
This would make the separation of concerns clearer and reduce cognitive load when navigating the codebase.
Problem
The current organisation of connection-related code creates ambiguity:
src/connection/contains outbound-focused connection logicsrc/app/connection.rscontains inbound routing and connection handlingThis naming overlap can lead to confusion during requirements gathering, technical discussions, and implementation planning, as it's not immediately clear which module handles which direction of traffic flow.
Context
Raised during PR review: #458
Reported by: @leynos
Recommendation
Consider renaming one or both modules to make the directionality explicit, for example:
src/connection/outbound/orsrc/outbound_connection/src/app/inbound_connection.rsor similarThis would make the separation of concerns clearer and reduce cognitive load when navigating the codebase.