Opus
Middleware test shares a single response across all `it` blocks, defeating per-test isolation
- apps/web/middleware.test.ts:19-22
`const res = middleware(makeReq())` runs once at describe-time. If a future change makes middleware stateful (e.g., mutating headers based on request URL or cloning a shared Response), tests would silently share state. The current implementation is stateless so there is no functional bug, but the pattern invites future flakes.
Recommendation
Move `const res = middleware(makeReq())` into a `beforeEach` or call it inside each `it`, so each assertion uses a fresh response.