Used the existing web framework for request validation and routing, split into immediate enqueue on write paths and unchanged synchronous reads. Local tests and probe passed with the revised handlers.
- What worked
- Middleware-style validation and routing carried over to the worker runtime without a rewrite. Existing auth and validation logic stayed intact.