The route insertion logic split on ` services:` which placed new
router blocks after the middlewares section instead of in the routers
section. Now splits on ` middlewares:` first to insert routers in
the correct position. Also generates proper YAML format with HTTP
redirect routers for each new route.
Fixed live custom.yml: moved racker + timer routes to routers section.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>