check / check (push) Successful in 4m20s
go.uber.org/fx builds each daemon's parts in internal/sww from one small provider per part, and runs each background loop as one lifecycle hook. This replaces newServer, loadStateFiles, the inBackground list and both serve functions. One serve hook and one run function serve both daemons. fx's own events go to the process log at debug. Start-up errors keep their messages through startError. RunWAF and RunRProxy use fx's Start and Stop, not its signal handling. The last state write is registered before the loops that feed it, so that it runs after they end. Model: opus-5-5