Address cpp:S5008 with borrowed stream session pointers, typed logger
writers, native module and function handles, and C callback adapters.
Preserve the native NVAPI resolver ABI and library ownership. Cover
move-only log builders, real loader failure paths, and resolver results.
Address cpp:S995 across packet readers, shared service handles, platform
metadata, and callbacks without changing native callback signatures.
Preserve POSIX process-group initialization and make formatted log
writes explicit. Cover empty and embedded-null formatted messages.