Description
Current middleware is monolithic with mixed concerns. Refactor into focused, composable middleware functions with proper error handling and comprehensive test coverage.
Acceptance Criteria
Technical Scope
- backend/src/middleware/
- Edge: middleware ordering dependencies, request context propagation
Description
Current middleware is monolithic with mixed concerns. Refactor into focused, composable middleware functions with proper error handling and comprehensive test coverage.
Acceptance Criteria
Technical Scope