TestToolCallLeakWarningDetectsStrandedXML: a turn ending with leaked tool-call XML stranded in the newest assistant message warns the user; clean text doesn't, and only the NEWEST assistant message is inspected.
(t *testing.T)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected