CI / test (pull_request) Successful in 3m18s
The re-exec'd daemon inherits the buffered stderr writer over logs/zag.log from main.zig, so the deprecation warnings printed by Context.loadConfigOnce stayed in the buffer until the process exited and 'zag service logs' showed nothing right after starting with an old config. Flush stderr right after printing the warnings so they reach the log at startup, as the issue requires. e2e now starts the daemon with a config that still carries the deprecated load-level settings and asserts the warnings are in the log while the daemon is running; the settings themselves are ignored, so the effective config is unchanged for the rest of the suite.