dbgWriteMessage records a chmctx.Message readably: content and tool calls each get a labeled section. No-op when logging is off, so callers needn't guard.
(category string, msg chmctx.Message)
source not stored for this graph (policy: none)
no test coverage detected